/* ============================================================
   PRISMA DEVELOPMENT — style.css
   Paleta: fundo #030308 + neon ciano/azul/roxo/magenta
   ============================================================ */

:root {
  --bg: #030308;
  --bg-2: #0a0a12;
  --neon-cyan: #00f0ff;
  --neon-blue: #0072ff;
  --neon-purple: #8a2be2;
  --neon-magenta: #ff007a;
  --text: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-code: "Fira Code", monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

::selection {
  background: rgba(0, 240, 255, 0.25);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #05050c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00f0ff, #8a2be2, #ff007a);
  border-radius: 8px;
  border: 2px solid #05050c;
}

/* ---------- utilitários ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) { .container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .container { padding-left: 32px; padding-right: 32px; } }
.container-narrow { max-width: 896px; }

.icon { width: 16px; height: 16px; flex-shrink: 0; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 24px; height: 24px; }
.icon-accent { color: var(--neon-cyan); transition: color 0.3s; }

.spectrum-text {
  background: linear-gradient(100deg, #00f0ff 0%, #0072ff 30%, #8a2be2 62%, #ff007a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(10, 10, 18, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
}

.spectrum-border { position: relative; }
.spectrum-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,240,255,0.6), rgba(138,43,226,0.35), rgba(255,0,122,0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

.section { position: relative; padding: 96px 0; scroll-margin-top: 72px; }
@media (min-width: 640px) { .section { padding: 128px 0; } }
#hero { scroll-margin-top: 0; }

.caption {
  font-family: var(--font-code);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(103, 232, 249, 0.9);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  margin-top: 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 640px) { .section-title { font-size: 38px; } }
@media (min-width: 1024px) { .section-title { font-size: 46px; } }

.section-heading-center { text-align: center; }

/* ---------- animações ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-load {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.line { display: block; overflow: hidden; padding-bottom: 4px; }
.line-inner {
  display: block;
  transform: translateY(115%);
  animation: lineUp 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lineUp { to { transform: translateY(0); } }

.pulse-glow { animation: pulseGlow 5s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

.float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.spin-slow { animation: spinSlow 24s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.beam-sweep {
  position: absolute;
  top: 0; bottom: 0;
  width: 64px;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(8px);
  pointer-events: none;
  animation: beamSweep 4.5s ease-in-out infinite;
}
@keyframes beamSweep {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(500%) skewX(-18deg); }
}

.bounce { animation: bounceY 1.8s ease-in-out infinite; }
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- botões ---------- */
.btn-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(90deg, #06b6d4, #2563eb, #c026d3);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-gradient:hover {
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(255, 0, 122, 0.5);
}
.btn-gradient:active { transform: scale(0.95); }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 999px; }
.btn-block { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: rgba(0, 240, 255, 0.4); color: #67e8f9; }

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: all 0.5s;
  animation: headerIn 0.8s var(--ease) 0.2s both;
}
@keyframes headerIn {
  from { transform: translateY(-80px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 18, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-brand { display: flex; align-items: center; gap: 12px; }
.header-logo { width: 44px; height: 44px; object-fit: contain; }
.header-wordmark {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text);
  display: none;
}
@media (min-width: 640px) { .header-wordmark { display: block; } }

.nav-desktop { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.3s;
}
.nav-link:hover { color: #67e8f9; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px; width: 0;
  background: linear-gradient(90deg, #22d3ee, #d946ef);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.header-cta .icon { transition: transform 0.3s; }
.header-cta:hover .icon { transform: translate(2px, -2px); }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(10, 10, 18, 0.62);
  border: 1px solid var(--border);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-close { display: block; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 12px 16px 0;
  padding: 16px;
  border-radius: 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  transition: background 0.3s, color 0.3s;
}
.nav-mobile-link:hover { background: rgba(255, 255, 255, 0.05); color: #67e8f9; }
.nav-mobile-cta { margin-top: 8px; padding: 12px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 112px 0 64px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  top: -160px; left: 50%;
  width: 54rem; height: 34rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(6,182,212,0.25), rgba(79,70,229,0.25), rgba(192,38,211,0.25));
  filter: blur(64px);
}
.hero-glow-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 384px; height: 384px;
  border-radius: 50%;
  background: rgba(192, 38, 211, 0.1);
  filter: blur(64px);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(148,163,184,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.25) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 56px;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: repeat(12, 1fr); }
  .hero-text { grid-column: span 7; }
  .hero-logo-col { grid-column: span 5; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 16px;
}
.hero-badge .icon-xs { color: #67e8f9; }
.badge-text {
  font-family: var(--font-code);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(165, 243, 252, 0.9);
}

.hero-title {
  font-family: var(--font-display);
  margin-top: 28px;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
@media (min-width: 640px) { .hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .hero-title { font-size: 58px; } }

.hero-subtitle {
  margin-top: 28px;
  max-width: 576px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}
@media (min-width: 640px) { .hero-subtitle { font-size: 18px; } }

.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.hero-logo-col {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  animation: logoIn 1.2s var(--ease) 0.7s forwards;
}
@keyframes logoIn { to { opacity: 1; transform: scale(1); } }

.hero-logo-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-logo-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scale(1.1);
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(6,182,212,0.3), rgba(37,99,235,0.25), rgba(192,38,211,0.3));
  filter: blur(64px);
}
.hero-logo-ring {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 50%;
  border: 1px dashed rgba(34, 211, 238, 0.2);
}
.hero-logo {
  width: 288px;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(0, 114, 255, 0.45));
}
@media (min-width: 640px) { .hero-logo { width: 320px; } }
@media (min-width: 1024px) { .hero-logo { width: 416px; } }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-family: var(--font-code);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  transition: color 0.3s;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.hero-scroll:hover { color: #67e8f9; }
@media (min-width: 768px) { .hero-scroll { display: flex; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #050510;
  padding: 24px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  width: max-content;
  animation: marqueeScroll 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(148, 163, 184, 0.28);
  color: transparent;
}
@media (min-width: 640px) { .marquee-item { font-size: 34px; } }
.marquee-star {
  font-family: var(--font-display);
  font-size: 24px;
  background: linear-gradient(100deg, #00f0ff, #0072ff, #8a2be2, #ff007a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 128px;
  pointer-events: none;
}
.marquee-fade-left { left: 0; background: linear-gradient(90deg, #050510, transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(-90deg, #050510, transparent); }

/* ---------- blobs decorativos ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.blob-left { left: 0; top: 33%; width: 384px; height: 384px; background: rgba(37, 99, 235, 0.1); }
.blob-right { right: 0; top: 0; width: 448px; height: 448px; background: rgba(192, 38, 211, 0.1); }
.blob-top {
  left: 50%; top: 0;
  width: 40rem; height: 288px;
  transform: translateX(-50%);
  background: rgba(37, 99, 235, 0.1);
}

/* ---------- por que prisma ---------- */
.chapters {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) { .chapters { grid-template-columns: 1fr 1fr; gap: 80px; } }

.chapter { display: flex; gap: 24px; }
@media (min-width: 640px) { .chapter { gap: 40px; } }

.chapter-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  flex-shrink: 0;
  -webkit-text-stroke: 1.5px rgba(0, 240, 255, 0.35);
  color: transparent;
  line-height: 1;
}
@media (min-width: 640px) { .chapter-number { font-size: 88px; } }

.chapter-body {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}
@media (min-width: 640px) { .chapter-body { padding-left: 40px; } }
.chapter-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
@media (min-width: 640px) { .chapter-body h3 { font-size: 22px; } }
.chapter-body p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

.angles-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .angles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .angles-grid { grid-template-columns: repeat(4, 1fr); } }

.angle-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.angle-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.18);
}
.angle-card::after {
  content: "";
  position: absolute;
  top: -32px; right: -32px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(192,38,211,0.2));
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.3s;
}
.angle-card:hover::after { opacity: 1; }
.angle-card:hover .icon-accent { color: #e879f9; }
.angle-card h4 {
  font-family: var(--font-display);
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
}
.angle-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* ---------- sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 64px;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); }
  .about-grid > div:first-child { grid-column: span 7; }
  .about-grid > div:last-child { grid-column: span 5; }
}

.about-text { margin-top: 32px; }
.about-text p { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-bottom: 20px; }
@media (min-width: 640px) { .about-text p { font-size: 18px; } }

.about-slogan {
  font-family: var(--font-display);
  margin-top: 40px;
  border-left: 2px solid #22d3ee;
  padding-left: 24px;
  font-size: 20px;
  font-weight: 600;
}
@media (min-width: 640px) { .about-slogan { font-size: 24px; } }

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 32px;
}
.about-card-glow {
  position: absolute;
  top: -64px; right: -64px;
  width: 192px; height: 192px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,182,212,0.25), rgba(192,38,211,0.25));
  filter: blur(48px);
  pointer-events: none;
}
.about-logo { width: 160px; margin: 0 auto; object-fit: contain; }

.pillars { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  transition: border-color 0.3s;
}
.pillar:hover { border-color: rgba(0, 240, 255, 0.3); }
.pillar-num { font-family: var(--font-code); font-size: 12px; color: #67e8f9; }

/* ---------- serviços ---------- */
.services-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
}
.service-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 144px; height: 144px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(37,99,235,0.15), rgba(192,38,211,0.15));
  filter: blur(24px);
  transition: transform 0.5s;
  pointer-events: none;
}
.service-card:hover .service-glow { transform: scale(1.5); }

.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.05);
  color: #67e8f9;
  transition: border-color 0.3s, color 0.3s;
}
.service-card:hover .service-icon { border-color: rgba(217, 70, 239, 0.4); color: #e879f9; }
.service-number { font-size: 34px; }

.service-title {
  font-family: var(--font-display);
  margin-top: 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}
@media (min-width: 640px) { .service-title { font-size: 20px; } }
.service-desc { margin-top: 12px; flex: 1; font-size: 14px; line-height: 1.7; color: var(--text-2); }

.service-features {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
}
.service-features li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, #22d3ee, #d946ef);
  flex-shrink: 0;
}

.service-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #67e8f9;
  transition: color 0.3s;
}
.service-cta:hover { color: #e879f9; }
.service-cta .icon { transition: transform 0.3s; }
.service-card:hover .service-cta .icon { transform: translate(2px, -2px); }

/* ---------- processo ---------- */
.process-steps {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.process-line {
  position: absolute;
  left: 24px; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, rgba(34,211,238,0.5), rgba(59,130,246,0.4), rgba(217,70,239,0.5));
  pointer-events: none;
}
@media (min-width: 1024px) {
  .process-line {
    left: 0; top: 24px;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, rgba(34,211,238,0.5), rgba(59,130,246,0.4), rgba(217,70,239,0.5));
  }
}

.process-step { position: relative; padding-left: 64px; }
@media (min-width: 1024px) { .process-step { padding-left: 0; padding-top: 64px; } }

.step-badge {
  position: absolute;
  left: 0; top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: #050510;
  font-family: var(--font-code);
  font-size: 14px;
  color: #67e8f9;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
}
.process-step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.process-step p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ---------- orçamento ---------- */
#orcamento { overflow: hidden; }
.quote-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 50rem; height: 30rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(6,182,212,0.15), rgba(37,99,235,0.15), rgba(192,38,211,0.15));
  filter: blur(64px);
  pointer-events: none;
}

.quote-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: repeat(12, 1fr); }
  .quote-grid > div:first-child { grid-column: span 5; }
  .quote-grid > div:last-child { grid-column: span 7; }
}

.quote-intro { margin-top: 24px; max-width: 448px; font-size: 16px; line-height: 1.7; color: var(--text-2); }

.contact-cards { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  transition: border-color 0.3s, background 0.3s;
}
.contact-wa:hover { border-color: rgba(37, 211, 102, 0.5); background: rgba(37, 211, 102, 0.05); }
.contact-ig:hover { border-color: rgba(217, 70, 239, 0.5); background: rgba(217, 70, 239, 0.05); }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}
.contact-icon-wa { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.contact-icon-ig { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
.contact-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.contact-value { display: block; font-size: 16px; font-weight: 600; color: var(--text); transition: color 0.3s; }
.contact-wa:hover .contact-value { color: #25d366; }
.contact-ig:hover .contact-value { color: #e879f9; }

.quote-form {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px;
}
@media (min-width: 640px) { .quote-form { padding: 40px; } }
.form-glow {
  position: absolute;
  top: -80px; left: -80px;
  width: 208px; height: 208px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  filter: blur(48px);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: span 2; }
}

.field { display: block; }
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}
.field textarea { resize: none; }
.field select option { background: #0a0a12; color: var(--text); }

.quote-form .btn-block { margin-top: 28px; }

.form-success {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #34d399;
}
.form-note { margin-top: 16px; text-align: center; font-size: 12px; color: var(--text-3); }

/* ---------- faq ---------- */
.faq-list { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: 16px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(0, 240, 255, 0.3); }

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
@media (min-width: 640px) { .faq-question { font-size: 16px; } }

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  flex-shrink: 0;
  transition: transform 0.3s, border-color 0.3s, color 0.3s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  border-color: rgba(0, 240, 255, 0.5);
  color: #67e8f9;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p {
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---------- footer ---------- */
.footer { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.05); background: #04040b; }
.footer-topline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
}

.footer-grid {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
  .footer-brand { grid-column: span 5; }
  .footer-col { grid-column: span 3; }
  .footer-col:last-of-type { grid-column: span 4; }
}

.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; }
.footer-brand p { margin-top: 20px; max-width: 384px; font-size: 14px; line-height: 1.7; color: var(--text-2); }

.footer-social { margin-top: 24px; display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  transition: border-color 0.3s, color 0.3s;
}
.footer-social a:first-child:hover { border-color: rgba(217, 70, 239, 0.5); color: #e879f9; }
.footer-social a:last-child:hover { border-color: rgba(37, 211, 102, 0.5); color: #25d366; }

.footer-col h4 {
  font-family: var(--font-code);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #67e8f9;
}
.footer-col ul { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color 0.3s; }
.footer-col a:hover { color: #67e8f9; }
.footer-contact li { font-size: 14px; color: var(--text-2); }
.footer-col .btn-gradient { margin-top: 24px; }

.footer-bottom {
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-3);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-tag { font-family: var(--font-code); color: #475569; }

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  transition: border-color 0.3s, color 0.3s;
}
.back-to-top:hover { border-color: rgba(0, 240, 255, 0.5); color: #67e8f9; }

/* ---------- whatsapp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:active { transform: scale(0.95); }
.whatsapp-icon { width: 28px; height: 28px; fill: #fff; }

/* ---------- correções mobile (evita estouro de largura) ---------- */
main { overflow-x: clip; }
.section { overflow-x: clip; }
.hero-inner > *,
.about-grid > *,
.quote-grid > * { min-width: 0; }

@media (max-width: 400px) {
  .badge-text { letter-spacing: 0.18em; }
  .chapter-number { font-size: 44px; }
}

/* ---------- projetos / portfólio ---------- */
.projects-intro {
  margin-top: 24px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}

.projects-wrap {
  position: relative;
  margin-top: 56px;
}

.projects-grid {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 16px;
}
.projects-grid::-webkit-scrollbar { display: none; }

.projects-grid .project-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .projects-grid .project-card { flex: 0 0 430px; }
}

.carousel-arrow {
  position: absolute;
  top: 30%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #67e8f9;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.2);
  transition: transform 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.carousel-arrow:hover {
  transform: scale(1.1);
  border-color: rgba(255, 0, 122, 0.5);
  color: #e879f9;
  box-shadow: 0 0 28px rgba(255, 0, 122, 0.35);
}
.carousel-arrow:disabled {
  opacity: 0.25;
  pointer-events: none;
}
.carousel-arrow .icon { width: 22px; height: 22px; }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
@media (min-width: 1024px) {
  .carousel-prev { left: -20px; }
  .carousel-next { right: -20px; }
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.15);
}

.project-frame { display: block; }

.project-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.project-url {
  margin-left: 8px;
  font-family: var(--font-code);
  font-size: 11px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s, border-color 0.3s;
}
.project-card:hover .project-url { color: #67e8f9; border-color: rgba(0, 240, 255, 0.3); }

.project-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 19 / 10;
  background: #0a0a12;
}
.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease);
}
.project-card:hover .project-shot img { transform: scale(1.06); }
.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 3, 8, 0.85));
  opacity: 0;
  transition: opacity 0.45s;
}
.project-card:hover .project-shot::after { opacity: 1; }

.project-visit {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #2563eb, #c026d3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
  opacity: 0;
  transition: opacity 0.45s, transform 0.45s var(--ease);
}
.project-card:hover .project-visit { opacity: 1; transform: translate(-50%, 0); }

.project-info { padding: 24px 26px 28px; }
.project-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.project-info h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-code);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
}
.project-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.project-info p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--text-2); }

.project-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span {
  font-size: 11px;
  font-weight: 600;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 999px;
  padding: 5px 12px;
}
