/* ============ NEXUS AI · Pro Building ============ */
:root {
  --bg: #0a0e14;
  --bg-alt: #0e1420;
  --surface: #131a28;
  --surface-2: #1a2436;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --text-dim: #93a0b5;
  --accent: #ff8a00;
  --accent-2: #ffb340;
  --accent-3: #ff5e3a;
  --gradient: linear-gradient(120deg, #ff8a00, #ffb340, #ff5e3a);
  --radius: 18px;
  --nav-h: 72px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #0a0e14; }

/* ---------- Fundo animado 3D ---------- */
.bg-canvas {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { font-size: 2rem; font-weight: 800; letter-spacing: 4px; }
.preloader-logo span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.preloader-bar { width: 200px; height: 3px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--gradient); animation: loadbar 1s ease forwards; }
@keyframes loadbar { to { width: 100%; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient); z-index: 999;
  box-shadow: 0 0 12px rgba(255, 138, 0, 0.6);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav.scrolled {
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; color: #0a0e14;
  box-shadow: 0 4px 18px rgba(255, 138, 0, 0.35);
}
.logo-text { font-weight: 700; letter-spacing: 1px; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline; }
.logo-text small { font-weight: 500; font-size: 0.68rem; color: var(--text-dim); letter-spacing: 2.5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.25s; position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gradient); transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 10px 22px; border-radius: 999px;
  background: var(--gradient); color: #0a0e14 !important; font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(255, 138, 0, 0.35);
  transition: transform 0.25s, box-shadow 0.25s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255, 138, 0, 0.5); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: #ff8a00; top: -120px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #ff5e3a; bottom: -140px; right: -80px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #3a6bff; top: 40%; left: 60%; opacity: 0.18; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 980px; }
/* ---------- Nome da marca em 3D — entrada/saída sequenciada, variantes rotativas ----------
   NEXUS AI entra primeiro, Pro Building depois; à saída, Pro Building
   desaparece primeiro. O js/main.js troca a classe v1–v4 a cada ciclo. */
.brand3d { perspective: 800px; margin: -46px 0 44px; }
.brand3d-inner { display: inline-block; transform-style: preserve-3d; }
.brand3d-line1, .brand3d-line2 {
  display: block;
  opacity: 0; /* invisível até a variante arrancar */
  animation-duration: 9s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  will-change: transform, opacity, filter;
}
.brand3d-line1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900; letter-spacing: 10px; line-height: 1.05;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* extrusão 3D: camadas de sombra a afundar + brilho */
  text-shadow:
    0 1px 0 rgba(120, 62, 0, 0.55),
    0 2px 0 rgba(96, 50, 0, 0.45),
    0 3px 0 rgba(72, 38, 0, 0.35),
    0 5px 0 rgba(48, 25, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.55),
    0 0 52px rgba(255, 150, 30, 0.3);
}
.brand3d-line2 {
  margin-top: 8px;
  font-size: clamp(1.1rem, 2.6vw, 1.75rem);
  font-weight: 700; letter-spacing: 15px; text-transform: uppercase;
  color: #d7e1f0;
  text-shadow:
    0 1px 0 rgba(90, 100, 118, 0.5),
    0 2px 0 rgba(60, 68, 82, 0.4),
    0 5px 12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(215, 225, 240, 0.24);
}

/* Variante 1 — levantar em perspectiva */
.brand3d.v1 .brand3d-line1 { animation-name: b1v1; }
.brand3d.v1 .brand3d-line2 { animation-name: b2v1; }
@keyframes b1v1 {
  0%   { opacity: 0; transform: rotateX(52deg) translateY(36px) scale(0.9); filter: blur(8px); }
  10%  { opacity: 1; transform: rotateX(11deg) translateY(0) scale(1); filter: blur(0); }
  55%  { opacity: 1; transform: rotateX(7deg) translateY(-4px) scale(1.012); filter: blur(0); }
  88%  { opacity: 1; transform: rotateX(10deg) translateY(0) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: rotateX(-28deg) translateY(-28px) scale(1.06); filter: blur(9px); }
}
@keyframes b2v1 {
  0%, 12% { opacity: 0; transform: rotateX(44deg) translateY(24px); filter: blur(6px); }
  22%  { opacity: 1; transform: rotateX(0) translateY(0); filter: blur(0); }
  68%  { opacity: 1; transform: translateY(0); filter: blur(0); }
  78%  { opacity: 0; transform: translateY(-16px); filter: blur(6px); }
  100% { opacity: 0; transform: translateY(-16px); filter: blur(6px); }
}

/* Variante 2 — zoom vindo do espaço */
.brand3d.v2 .brand3d-line1 { animation-name: b1v2; }
.brand3d.v2 .brand3d-line2 { animation-name: b2v2; }
@keyframes b1v2 {
  0%   { opacity: 0; transform: scale(2.4); filter: blur(14px); }
  12%  { opacity: 1; transform: scale(1); filter: blur(0); }
  86%  { opacity: 1; transform: scale(1.01); filter: blur(0); }
  100% { opacity: 0; transform: scale(0.7); filter: blur(7px); }
}
@keyframes b2v2 {
  0%, 16% { opacity: 0; transform: scale(0.35); filter: blur(6px); }
  27%  { opacity: 1; transform: scale(1); filter: blur(0); }
  66%  { opacity: 1; transform: scale(1); filter: blur(0); }
  76%  { opacity: 0; transform: scale(1.6); filter: blur(8px); }
  100% { opacity: 0; transform: scale(1.6); filter: blur(8px); }
}

/* Variante 3 — porta giratória (rotateY) */
.brand3d.v3 .brand3d-line1 { animation-name: b1v3; }
.brand3d.v3 .brand3d-line2 { animation-name: b2v3; }
@keyframes b1v3 {
  0%   { opacity: 0; transform: rotateY(85deg) translateX(-46px); filter: blur(5px); }
  11%  { opacity: 1; transform: rotateY(0) translateX(0); filter: blur(0); }
  87%  { opacity: 1; transform: rotateY(-4deg); filter: blur(0); }
  100% { opacity: 0; transform: rotateY(-80deg) translateX(46px); filter: blur(6px); }
}
@keyframes b2v3 {
  0%, 15% { opacity: 0; transform: rotateY(-85deg) translateX(40px); filter: blur(5px); }
  26%  { opacity: 1; transform: rotateY(0) translateX(0); filter: blur(0); }
  65%  { opacity: 1; transform: rotateY(0); filter: blur(0); }
  76%  { opacity: 0; transform: rotateY(72deg) translateX(-36px); filter: blur(6px); }
  100% { opacity: 0; transform: rotateY(72deg) translateX(-36px); filter: blur(6px); }
}

/* Variante 4 — deslize cruzado */
.brand3d.v4 .brand3d-line1 { animation-name: b1v4; }
.brand3d.v4 .brand3d-line2 { animation-name: b2v4; }
@keyframes b1v4 {
  0%   { opacity: 0; transform: translateX(-80px) skewX(8deg); filter: blur(7px); }
  10%  { opacity: 1; transform: translateX(0) skewX(0); filter: blur(0); }
  88%  { opacity: 1; transform: translateX(0); filter: blur(0); }
  100% { opacity: 0; transform: translateX(70px) skewX(-7deg); filter: blur(7px); }
}
@keyframes b2v4 {
  0%, 14% { opacity: 0; transform: translateX(80px) skewX(-8deg); filter: blur(6px); }
  24%  { opacity: 1; transform: translateX(0) skewX(0); filter: blur(0); }
  67%  { opacity: 1; transform: translateX(0); filter: blur(0); }
  77%  { opacity: 0; transform: translateX(-64px) skewX(7deg); filter: blur(6px); }
  100% { opacity: 0; transform: translateX(-64px) skewX(7deg); filter: blur(6px); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  font-size: 0.85rem; color: var(--text-dim); margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; position: relative; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #3ddc84; animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -1px; }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 26px auto 0; max-width: 640px; color: var(--text-dim); font-size: clamp(1rem, 2vw, 1.15rem); }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-primary { background: var(--gradient); color: #0a0e14; box-shadow: 0 6px 24px rgba(255, 138, 0, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(255, 138, 0, 0.55); }
.btn-primary .btn-arrow { transition: transform 0.25s; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.btn-full { width: 100%; justify-content: center; }

.hero-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border);
}
.feature { text-align: center; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.4rem;
  background: rgba(255, 138, 0, 0.09); border: 1px solid rgba(255, 138, 0, 0.3);
  margin-bottom: 12px;
}
.feature strong { display: block; font-size: 1rem; font-weight: 700; }
.feature p { font-size: 0.83rem; color: var(--text-dim); margin-top: 3px; }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--text-dim); border-radius: 14px;
  opacity: 0.5;
}
.hero-scroll-hint span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--text);
  animation: scrollhint 1.8s ease infinite;
}
@keyframes scrollhint { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* Reveal do hero (staggered) */
.reveal-hero { opacity: 0; transform: translateY(28px); animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(0.55s + var(--d, 0) * 0.14s); }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(14, 20, 32, 0.7); padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 36px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-weight: 800; font-size: 1rem; letter-spacing: 3px; color: var(--text-dim); }
.marquee-track i { color: var(--accent); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 24px; }
.section-alt { background: rgba(14, 20, 32, 0.62); }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid rgba(255, 138, 0, 0.35); background: rgba(255, 138, 0, 0.07);
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.section-head h2 em { font-style: normal; }
.section-head p { color: var(--text-dim); margin-top: 14px; }

/* Reveal genérico por scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--d, 0) * 0.12s); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Serviços (blocos empilhados) ---------- */
.services-stack { display: flex; flex-direction: column; gap: 28px; }
.service-row {
  position: relative;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px 56px;
  border: 1px solid transparent; border-radius: var(--radius);
  /* borda em gradiente dourado→prateado (duas camadas: interior + moldura) */
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(255, 170, 40, 0.55), rgba(255, 255, 255, 0.07) 28%, rgba(185, 198, 218, 0.4) 62%, rgba(255, 138, 0, 0.5)) border-box;
  padding: 44px 46px 38px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, opacity 0.8s;
  overflow: hidden;
}
.service-row::before {
  content: ""; position: absolute; inset: 0; opacity: 0; z-index: 0;
  background: radial-gradient(700px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 0, 0.09), transparent 45%);
  transition: opacity 0.35s; pointer-events: none;
}
/* mini-céu animado dentro das caixas (canvas criado por js/cardsky.js) */
.card-sky {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.4s;
}
.service-row:hover .card-sky, .tech-card:hover .card-sky, .promise-card:hover .card-sky { opacity: 1; }
/* conteúdo por cima do céu */
.sr-main, .sr-side, .sr-dica, .featured-badge { position: relative; z-index: 1; }
.tech-card > :not(.card-sky), .promise-card > :not(.card-sky) { position: relative; z-index: 1; }
.service-row:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 40, 0.25); }
.service-row:hover::before { opacity: 1; }
.service-row.featured {
  background:
    linear-gradient(160deg, rgba(255, 138, 0, 0.08), var(--surface) 55%) padding-box,
    linear-gradient(135deg, rgba(255, 190, 60, 0.8), rgba(255, 138, 0, 0.25) 40%, rgba(255, 94, 58, 0.65)) border-box;
}
.featured-badge {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--gradient); color: #0a0e14;
}
.service-icon {
  width: 62px; height: 62px; border-radius: 16px; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform 0.35s;
}
.service-row:hover .service-icon { transform: scale(1.1) rotate(-6deg); }
.sr-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.sr-title h3 { font-size: 1.45rem; line-height: 1.2; }
.sr-tag {
  display: block; margin-top: 5px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-2);
}
.sr-main p { color: var(--text-dim); font-size: 0.97rem; line-height: 1.75; margin-bottom: 14px; }
.sr-main .service-link { display: inline-block; margin-top: 6px; }
.sr-side h4 {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-2); margin: 8px 0 12px;
}
.sr-side ul { list-style: none; margin-bottom: 24px; }
.sr-side ul li { font-size: 0.9rem; color: var(--text-dim); padding: 5px 0 5px 26px; position: relative; }
.sr-side ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.sr-steps { list-style: none; counter-reset: passo; }
.sr-steps li {
  counter-increment: passo;
  font-size: 0.9rem; color: var(--text-dim); padding: 5px 0 5px 36px; position: relative;
}
.sr-steps li::before {
  content: counter(passo, decimal-leading-zero);
  position: absolute; left: 0; top: 6px;
  font-size: 0.72rem; font-weight: 800; color: var(--accent);
  border: 1px solid rgba(255, 138, 0, 0.35); border-radius: 6px; padding: 1px 5px;
}
.sr-dica {
  grid-column: 1 / -1; margin-top: 24px;
  padding: 16px 22px; border-radius: 12px;
  background: rgba(255, 138, 0, 0.06); border: 1px solid rgba(255, 138, 0, 0.25);
  font-size: 0.93rem; color: var(--text); line-height: 1.6;
}
.sr-dica strong { color: var(--accent-2); }
.service-link { color: var(--accent-2); text-decoration: none; font-weight: 700; font-size: 0.92rem; transition: color 0.25s; }
.service-link:hover { color: var(--accent); }

/* ---------- Tecnologia: Drones & LiDAR ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 28px; }
.tech-card {
  position: relative;
  border: 1px solid transparent; border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(255, 170, 40, 0.45), rgba(255, 255, 255, 0.06) 30%, rgba(185, 198, 218, 0.35) 65%, rgba(255, 138, 0, 0.4)) border-box;
  padding: 34px 30px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, opacity 0.8s;
  overflow: hidden;
}
.tech-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 40, 0.25); }
.tech-card .service-icon { margin-bottom: 20px; }
.tech-card:hover .service-icon { transform: scale(1.1) rotate(-6deg); }
.tech-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.tech-card > p { color: var(--text-dim); font-size: 0.93rem; line-height: 1.7; margin-bottom: 16px; }
.tech-card ul { list-style: none; }
.tech-card li { font-size: 0.88rem; color: var(--text-dim); padding: 5px 0 5px 26px; position: relative; line-height: 1.55; }
.tech-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Sobre mim ---------- */
.sobre-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 52px;
}
.sobre-photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface-2);
  border: 2px dashed rgba(255, 138, 0, 0.35);
  color: var(--text-dim); text-align: center;
}
.sobre-photo-placeholder span { font-size: 2.6rem; }
.sobre-photo-placeholder p { font-size: 0.85rem; line-height: 1.4; }
.sobre-text h3 { font-size: 1.5rem; margin-bottom: 16px; }
.sobre-text p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.75; margin-bottom: 14px; }
.sobre-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sobre-chips span {
  font-size: 0.85rem; color: var(--text-dim);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 999px;
}
.sobre-chips b { color: var(--accent-2); }

/* ---------- Timeline / Processo ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline-line { position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: var(--surface-2); z-index: 0; border-radius: 2px; overflow: hidden; }
.timeline-line span { display: block; height: 100%; width: 0%; background: var(--gradient); transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.timeline-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; color: var(--accent-2);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.timeline-step:hover .step-num { border-color: var(--accent); box-shadow: 0 0 26px rgba(255, 138, 0, 0.35); transform: scale(1.08); }
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- Antes & Depois ---------- */
.ba-slider {
  position: relative; height: 380px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  cursor: ew-resize; user-select: none; margin-bottom: 40px;
  touch-action: none;
}
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-mock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ba-mock-before { background: linear-gradient(140deg, #3a3630, #241f1a 60%, #1a1512); }
.ba-mock-after { background: linear-gradient(140deg, #1c2b40, #16324a 55%, #0f2233); }
.ba-label {
  position: absolute; top: 20px; font-size: 0.75rem; font-weight: 800; letter-spacing: 3px;
  padding: 7px 16px; border-radius: 999px; backdrop-filter: blur(6px);
}
.ba-mock-before .ba-label { left: 20px; background: rgba(0,0,0,0.55); color: #cbb89a; }
.ba-mock-after .ba-label { right: 20px; background: rgba(255, 138, 0, 0.9); color: #0a0e14; }
.ba-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ba-mock-before .ba-svg { filter: brightness(0.72) saturate(0.75); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: var(--accent); transform: translateX(-50%); z-index: 5;
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.7);
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); color: #0a0e14;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.promise-card {
  position: relative;
  border: 1px solid transparent; border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(255, 170, 40, 0.45), rgba(255, 255, 255, 0.06) 30%, rgba(185, 198, 218, 0.35) 65%, rgba(255, 138, 0, 0.4)) border-box;
  padding: 34px 30px 30px; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, opacity 0.8s;
}
.promise-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient); opacity: 0.7;
}
.promise-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 170, 40, 0.25); }
.promise-num {
  display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 16px;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.85;
}
.promise-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.promise-card p { font-size: 0.92rem; color: var(--text-dim); }

/* ---------- Compromisso / Manifesto ---------- */
.manifesto {
  max-width: 720px; margin: 0 auto; text-align: center;
  position: relative; padding: 8px 24px;
}
.manifesto p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-dim); line-height: 1.75; margin-bottom: 26px; }
.manifesto p strong { color: var(--text); font-weight: 700; }
.manifesto-highlight {
  display: inline-block;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem) !important;
  font-weight: 700; color: var(--text) !important;
  padding: 22px 28px; margin-top: 8px;
  border: 1px solid rgba(255, 138, 0, 0.35); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 138, 0, 0.09), rgba(255, 94, 58, 0.05));
}

/* ---------- CTA / Contacto ---------- */
.cta-section { padding-bottom: 130px; }
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  background: linear-gradient(150deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border); border-radius: 28px;
  padding: 60px; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.14), transparent 65%);
  top: -140px; right: -100px; pointer-events: none;
}
.cta-left h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.cta-left h2 em { font-style: normal; }
.cta-left > p { color: var(--text-dim); margin-bottom: 24px; }
.phone-big { display: inline-block; font-size: 1.35rem; font-weight: 800; color: var(--accent-2); text-decoration: none; margin-bottom: 28px; transition: color 0.25s; }
.phone-big:hover { color: var(--accent); }
.contact-perks { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-perks span { font-size: 0.85rem; color: var(--text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; }
.contact-note { margin-top: 18px; font-size: 0.78rem; color: var(--text-dim); opacity: 0.85; max-width: 420px; line-height: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 15px 18px;
  background: rgba(255,255,255,0.045); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { background: var(--surface); color: var(--text); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6b7a92; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255, 138, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.15);
}
.form-success { display: none; color: #3ddc84; font-weight: 700; font-size: 0.92rem; text-align: center; }
.form-success.show { display: block; animation: heroIn 0.5s ease forwards; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: rgba(14, 20, 32, 0.75); padding: 48px 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { font-size: 0.8rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--accent-2); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; padding: 32px 26px 28px; gap: 8px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 26px; }
  .sobre-photo { max-width: 260px; margin: 0 auto; }
  .sr-side { margin-top: 10px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .timeline-line { display: none; }
  .cta-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 0;
    background: rgba(10, 14, 20, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 15px 0; }
  .nav-cta { margin: 12px 24px; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .form-row { grid-template-columns: 1fr; }
  .ba-slider { height: 280px; }
  .section { padding: 80px 20px; }
}

/* ---------- Acessibilidade: menos animação ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-hero { opacity: 1; transform: none; }
  .brand3d-line1, .brand3d-line2 { animation: none !important; opacity: 1 !important; transform: rotateX(10deg); filter: none; }
}
