/* =============================================
   CN SOLUÇÕES DIGITAIS & AUTOMAÇÕES
   Senior Fullstack + NASA UX — v2.0
   Design System: Dark Luxury Tech
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --ink:          #020c14;
  --ink-2:        #040e1a;
  --ink-3:        #071524;
  --navy:         #0a1f35;
  --navy-2:       #0e2d4a;
  --gold:         #00d4f0;
  --gold-2:       #33e4ff;
  --gold-dim:     rgba(0,212,240,0.12);
  --ice:          #e8f0fa;
  --ice-dim:      rgba(232,240,250,0.06);
  --white:        #ffffff;
  --muted:        rgba(232,240,250,0.45);
  --border:       rgba(232,240,250,0.08);
  --border-hover: rgba(0,212,240,0.35);
  --glass:        rgba(13,24,38,0.6);
  --glass-2:      rgba(27,58,92,0.25);
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    36px;
  --shadow-gold:  0 0 40px rgba(0,212,240,0.22);
  --shadow-card:  0 24px 64px rgba(0,0,0,0.5);
  --ease:         cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-spring:  cubic-bezier(0.34,1.56,0.64,1);
  --t:            0.38s;
  --font-display: 'Bebas Neue', sans-serif;
  --font-label:   'Barlow Condensed', sans-serif;
  --font-body:    'Manrope', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--ice);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
body.light-cursor { cursor: auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; cursor: none; }
input, textarea, select { font-family: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--navy-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed; z-index: 99999; pointer-events: none;
  mix-blend-mode: normal; transition: opacity 0.3s;
}
#cursor-dot {
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
  position: absolute; top: -4px; left: -4px;
  transition: transform 0.1s var(--ease), background 0.2s;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,212,240,0.6);
  border-radius: 50%;
  position: absolute; top: -18px; left: -18px;
  transition: transform 0.25s var(--ease), width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), top 0.3s var(--ease-spring), left 0.3s var(--ease-spring), border-color 0.2s;
}
body.cursor-hover #cursor-ring {
  width: 56px; height: 56px; top: -28px; left: -28px;
  border-color: var(--gold);
  background: var(--gold-dim);
}
body.cursor-hover #cursor-dot { transform: scale(0); }
body.cursor-text #cursor-ring {
  width: 80px; height: 80px; top: -40px; left: -40px;
  border-color: var(--gold);
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  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)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }
.page-enter { animation: pageIn 0.6s var(--ease) forwards; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: 76px; padding: 0 clamp(20px, 5%, 80px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.navbar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,9,15,0.92) 0%, transparent 100%);
  backdrop-filter: blur(0px); transition: backdrop-filter var(--t);
  pointer-events: none; z-index: -1;
}
.navbar.scrolled::after {
  background: rgba(4,9,15,0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

/* Logo */
.nav-brand {
  display: flex; align-items: center;
  text-decoration: none; color: inherit;
}
.nav-logo-wrap {
  height: 56px; width: auto; max-width: 180px;
  border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 8px rgba(0,212,240,0.25));
  transition: filter var(--t);
}
.nav-brand:hover .nav-logo-wrap {
  filter: drop-shadow(0 0 14px rgba(0,212,240,0.55));
}
.nav-logo-wrap img { height: 100%; width: auto; object-fit: contain; }
.logo-fallback {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 2px; color: var(--gold);
  display: none; align-items: center; justify-content: center; width: 100%; height: 100%;
}
/* legacy support */
.nav-brand-icon {
  width: 54px; height: 54px; border-radius: 12px; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(0,212,240,0.25);
}
.nav-brand-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-text .n1 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 1px; color: var(--white); }
.nav-brand-text .n2 { font-family: var(--font-label); font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-top: 1px; }

/* Nav links */
.nav-menu {
  display: flex; align-items: center; gap: 2px;
}
.nav-menu a {
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.3px;
  color: var(--muted); padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
  position: relative;
}
.nav-menu a:hover { color: var(--ice); background: var(--ice-dim); }
.nav-menu a.active { color: var(--white); }
.nav-menu a.active::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; background: var(--gold); border-radius: 50%;
}
.nav-cta-btn {
  background: var(--gold) !important; color: var(--ink) !important;
  font-weight: 700 !important; padding: 9px 22px !important;
  border-radius: 50px !important; font-size: 0.83rem !important;
  transition: background var(--t), transform var(--t), box-shadow var(--t) !important;
}
.nav-cta-btn:hover { background: var(--gold-2) !important; transform: translateY(-1px) !important; box-shadow: var(--shadow-gold) !important; }
.nav-cta-btn.active::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 6px; padding: 4px; cursor: none;
}
.hamburger span {
  display: block; height: 1.5px; border-radius: 2px; background: var(--ice);
  transition: transform var(--t) var(--ease), opacity var(--t), width var(--t);
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 20px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); width: 20px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 20px; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 76px; left: 0; width: 100%;
  background: rgba(4,9,15,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px clamp(20px,5%,80px) 28px;
  display: none; flex-direction: column; gap: 4px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem; font-weight: 600; color: var(--muted);
  padding: 12px 16px; border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
  border: 1px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--white); background: var(--ice-dim); border-color: var(--border);
}
.mobile-nav .mob-cta {
  margin-top: 8px; background: var(--gold); color: var(--ink) !important;
  border-radius: 50px; text-align: center; font-weight: 700;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  padding: 120px clamp(20px,5%,80px) 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 60% 40%, rgba(0,50,80,0.6) 0%, transparent 65%),
              radial-gradient(ellipse 50% 50% at 10% 90%, rgba(0,212,240,0.07) 0%, transparent 60%),
              var(--ink);
}

/* Animated background glow that pulses with the logo */
.hero-bg-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 70% at 70% 45%, rgba(0,212,240,0.06) 0%, transparent 60%);
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Accent line */
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.2;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
}

/* Left col */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 6vw, 7rem);
  line-height: 0.92;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: block;
  animation: slideUp 0.9s var(--ease-spring) both;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.2s; }
@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.hero-title .accent { color: var(--gold); }

.hero-desc {
  font-size: 1.05rem; color: var(--muted); max-width: 430px;
  line-height: 1.75; margin-bottom: 44px;
  animation: fadeIn 0.8s var(--ease) 0.4s both;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeIn 0.8s var(--ease) 0.55s both;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.8px; padding: 15px 32px; border-radius: 50px;
  transition: transform var(--t) var(--ease-spring), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12); opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 4px 24px rgba(0,212,240,0.3);
}
.btn-gold:hover { box-shadow: 0 8px 40px rgba(0,212,240,0.45); }
.btn-ghost {
  border: 1.5px solid var(--border-hover); color: var(--ice);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); box-shadow: inset 0 0 20px rgba(0,212,240,0.05); }
.btn-icon {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform var(--t) var(--ease-spring);
}
.btn:hover .btn-icon { transform: translateX(4px); }

/* Magnetic wrapper */
.magnetic { display: inline-block; }

/* Hero stats */
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.8s var(--ease) 0.7s both;
}
.hstat { display: flex; flex-direction: column; gap: 4px; }
.hstat-num {
  font-family: var(--font-display); font-size: 2.8rem; line-height: 1;
  color: var(--white);
}
.hstat-num .cnt { display: inline; }
.hstat-num sup { font-size: 1.4rem; color: var(--gold); }
.hstat-label { font-family: var(--font-label); font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ── HERO VIDEO SIDE ── */
.hero-video-side {
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.9s var(--ease) 0.3s both;
}
.hero-video-frame {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}

/* Rotating rings behind the video */
.hero-video-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,212,240,0.2);
  pointer-events: none;
}
.ring-1 {
  inset: -12px;
  animation: ringRotate 18s linear infinite;
  border-color: rgba(0,212,240,0.18);
  border-style: dashed;
}
.ring-2 {
  inset: -36px;
  animation: ringRotate 26s linear infinite reverse;
  border-color: rgba(0,212,240,0.1);
}
.ring-3 {
  inset: -64px;
  animation: ringRotate 40s linear infinite;
  border-color: rgba(0,212,240,0.06);
  border-style: dashed;
}
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* The video itself */
.hero-logo-video {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: absolute; inset: 0;
  z-index: 2;
  filter: drop-shadow(0 0 32px rgba(0,212,240,0.3)) drop-shadow(0 0 80px rgba(0,212,240,0.12));
  transition: opacity 0.9s ease;
}
.hero-logo-video.fade-out { opacity: 0; pointer-events: none; }

/* Static logo - shown after video ends */
.hero-logo-static {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: absolute; inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.9s ease;
  /* Dynamic animation - paused until activated */
  animation:
    logoFloat 5s ease-in-out infinite,
    logoGlowPulse 4s ease-in-out infinite,
    logoScan 7s linear infinite;
  animation-play-state: paused;
  filter: drop-shadow(0 0 0px rgba(0,212,240,0));
}
.hero-logo-static.active {
  opacity: 1;
  animation-play-state: running;
}

@keyframes logoFloat {
  0%,100% { transform: translateY(0px) scale(1);    }
  30%      { transform: translateY(-14px) scale(1.02); }
  70%      { transform: translateY(8px) scale(0.99);  }
}
@keyframes logoGlowPulse {
  0%,100% { filter: drop-shadow(0 0 20px rgba(0,212,240,0.3))  drop-shadow(0 0 60px rgba(0,212,240,0.1)); }
  50%     { filter: drop-shadow(0 0 50px rgba(0,212,240,0.65)) drop-shadow(0 0 120px rgba(0,212,240,0.25)) brightness(1.08); }
}
@keyframes logoScan {
  0%,100% { clip-path: inset(0 0 100% 0); filter: none; }
  0%      { clip-path: none; }
  94%     { clip-path: none; }
  96%     { clip-path: inset(0 0 0 0); filter: drop-shadow(0 0 30px rgba(0,212,240,0.8)) brightness(1.25); }
  98%     { clip-path: none; filter: drop-shadow(0 0 20px rgba(0,212,240,0.4)); }
}

/* Keep float-card styles for legacy / won't show anymore */
.hero-right {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-end;
  animation: fadeIn 0.8s var(--ease) 0.35s both;
}
.float-card {
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(16px); border-radius: var(--radius);
  padding: 22px 26px; width: 100%; max-width: 320px;
  position: relative;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.float-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-gold); transform: translateY(-4px) scale(1.01); }
.card-label {
  font-family: var(--font-label); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.card-value {
  font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 1px;
  line-height: 1; color: var(--gold);
}
.card-sub { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.card-bar {
  height: 3px; background: var(--ice-dim); border-radius: 2px;
  margin-top: 14px; overflow: hidden;
}
.card-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 2px; width: 0%; transition: width 1.8s var(--ease) 0.5s;
}
.card-pulse {
  position: absolute; top: 18px; right: 18px;
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
}
.card-pulse::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; border: 1px solid #22c55e; opacity: 0;
  animation: ripple 2s ease-out infinite;
}
@keyframes ripple { 0%{transform:scale(0.8);opacity:1} 100%{transform:scale(2.2);opacity:0} }

/* ── TRUST STRIP ── */
.trust-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--ink-2);
  padding: 0;
}
.trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex; align-items: center; gap: 16px;
  padding: 28px clamp(16px,3%,32px);
  border-right: 1px solid var(--border);
  transition: background var(--t);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--ice-dim); }
.ti-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-dim); border: 1px solid rgba(0,212,240,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.ti-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ice); }
.ti-text span { font-size: 0.75rem; color: var(--muted); }

/* ── SECTIONS ── */
section { padding: clamp(64px,9vw,112px) clamp(20px,5%,80px); }
.container { max-width: 1280px; margin: 0 auto; }

.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.sec-label::before { content: '//'; opacity: 0.6; }
.sec-title {
  font-family: var(--font-display); font-size: clamp(2.4rem,4.5vw,4rem);
  letter-spacing: 0.5px; line-height: 1.0; color: var(--white);
  margin-bottom: 18px;
}
.sec-title .gold { color: var(--gold); }
.sec-sub { font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.75; }
.section-head { margin-bottom: clamp(40px,6vw,72px); }
.section-head.center { text-align: center; }
.section-head.center .sec-sub { margin: 0 auto; }

/* ── SERVICES ── */
.services-section { background: var(--ink-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--ink-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t) var(--ease-spring), box-shadow var(--t);
  cursor: none;
}
.svc-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius); padding: 1px;
  background: linear-gradient(145deg, var(--gold), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t);
}
.svc-card:hover { border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-card); }
.svc-card:hover::before { opacity: 1; }
.svc-card-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1;
  color: rgba(0,212,240,0.08); letter-spacing: 1px;
  transition: color var(--t);
}
.svc-card:hover .svc-card-num { color: rgba(0,212,240,0.14); }
.svc-card h3 {
  font-family: var(--font-label); font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.5px; color: var(--ice); margin-bottom: 12px;
}
.svc-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.72; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.svc-tag {
  font-family: var(--font-label); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 50px;
  background: var(--ice-dim); border: 1px solid var(--border); color: var(--muted);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.svc-card:hover .svc-tag { background: var(--gold-dim); border-color: rgba(0,212,240,0.3); color: var(--gold); }

/* ── PROJECTS ── */
.projects-section { background: var(--ink); }

/* Hero top: video left + info right */
.proj-hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

/* Video wrapper */
.proj-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,212,240,0.18);
  box-shadow: 0 0 0 1px rgba(0,212,240,0.06), 0 32px 80px rgba(0,0,0,0.5);
  background: var(--ink-3);
  aspect-ratio: 16/9;
}
.proj-video-border {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,212,240,0.22);
  box-shadow: inset 0 0 32px rgba(0,212,240,0.06);
}
.proj-promo-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: filter 0.4s;
}
.proj-video-wrap:hover .proj-promo-video {
  filter: brightness(1.06) saturate(1.1);
}
.proj-video-badge {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  font-family: var(--font-label); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  padding: 5px 12px; border-radius: 50px;
  background: rgba(2,12,20,0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(0,212,240,0.3);
  display: flex; align-items: center; gap: 6px;
}
.proj-video-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Info side */
.proj-hero-info {
  display: flex; flex-direction: column; gap: 0;
}
.proj-hero-info .sec-title {
  margin-bottom: 16px;
}
.proj-hero-info .sec-sub {
  margin-bottom: 32px;
}
.proj-hero-info .proj-filters {
  margin-bottom: 0;
}

.proj-filters {
  display: flex; gap: 8px; margin-bottom: 44px; flex-wrap: wrap;
}
.pf-btn {
  font-family: var(--font-label); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 50px;
  background: var(--ice-dim); border: 1px solid var(--border);
  color: var(--muted); transition: all var(--t); cursor: none;
}
.pf-btn.active, .pf-btn:hover {
  background: var(--gold-dim); border-color: rgba(0,212,240,0.4); color: var(--gold);
}
.proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.proj-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--ink-3);
  transition: transform var(--t) var(--ease-spring), border-color var(--t), box-shadow var(--t);
  cursor: none;
}
.proj-card:hover { transform: translateY(-6px) scale(1.01); border-color: var(--border-hover); box-shadow: var(--shadow-card); }
.proj-thumb {
  height: 210px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #04090f;
}
.proj-iframe-wrap {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.proj-iframe-wrap iframe {
  width: 1280px; height: 900px;
  border: none;
  transform-origin: top left;
  pointer-events: none;
  transition: none;
}
.proj-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--ink-3) 0%, transparent 50%);
}
.proj-thumb-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-label); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px;
  background: rgba(4,9,15,0.6); backdrop-filter: blur(8px);
  border: 1px solid var(--border); color: var(--gold);
}
.proj-body { padding: 24px 22px 28px; }
.proj-card h3 { font-family: var(--font-label); font-size: 1.05rem; font-weight: 700; color: var(--ice); margin-bottom: 8px; }
.proj-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.proj-result {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--gold);
  letter-spacing: 0.5px;
}
.proj-result span { font-family: var(--font-label); font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.proj-link-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.5px; color: rgba(0,212,240,0.7);
  margin-top: 12px; margin-bottom: 2px;
  text-decoration: none;
  transition: color var(--t), gap var(--t);
}
.proj-link-live:hover { color: var(--gold); gap: 10px; }
.proj-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.5px; color: var(--gold); margin-top: 6px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity var(--t), transform var(--t), gap var(--t);
}
.proj-card:hover .proj-cta { opacity: 1; transform: none; }
.proj-cta:hover { gap: 12px; }

.svc-hero-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  margin-bottom: clamp(40px,6vw,72px);
}
.svc-promo-wrap {
  position: relative; aspect-ratio: 640/544;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(0,212,240,0.18);
  box-shadow: 0 0 0 1px rgba(0,212,240,0.06), 0 24px 64px rgba(0,0,0,0.5);
  max-width: 480px; margin: 0 auto;
}
.svc-promo-video {
  width: 100%; height: 100%; object-fit: contain; display: block;
  background: #020c14;
  transition: opacity 0.8s ease;
}
.svc-promo-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,212,240,0.07) 0%, transparent 60%);
}
.svc-promo-border {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,212,240,0.22);
  box-shadow: inset 0 0 28px rgba(0,212,240,0.05);
}
.svc-promo-idle {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.8s ease;
  background: radial-gradient(ellipse at 50% 60%, rgba(0,212,240,0.07) 0%, #020c14 70%);
}
.svc-promo-wrap.idle .svc-promo-idle { opacity: 1; }
.svc-promo-wrap.idle .svc-promo-video { opacity: 0; }
/* Frozen: vídeo parado no último frame, sem overlay */
.svc-promo-wrap.frozen .svc-promo-video { opacity: 1; pointer-events: none; }
.svc-promo-wrap.frozen .svc-promo-idle { opacity: 0; }

/* ── POST-VIDEO OVERLAY ─────────────────────────────── */
.svc-post-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  background: #020c14;
  opacity: 0; pointer-events: none;
  transition: opacity 1s ease;
}
.svc-promo-wrap.post-play .svc-post-overlay {
  opacity: 1; pointer-events: auto;
}
.svc-promo-wrap.post-play .svc-promo-video { opacity: 0; }

/* Canvas for circuit particles */
.svc-post-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* Center content */
.svc-post-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.9s ease 0.6s, transform 0.9s ease 0.6s;
}
.svc-promo-wrap.post-play .svc-post-content {
  opacity: 1; transform: translateY(0);
}

/* Logo pulse */
.svc-post-logo {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; border: 2px solid rgba(0,212,240,0.35);
  box-shadow: 0 0 0 0 rgba(0,212,240,0.4);
  animation: postLogoPulse 2.8s ease-in-out infinite;
}
.svc-post-logo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes postLogoPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,240,0.4), 0 0 20px rgba(0,212,240,0.15); }
  50%      { box-shadow: 0 0 0 14px rgba(0,212,240,0), 0 0 36px rgba(0,212,240,0.3); }
}

/* Taglines */
.svc-post-tagline {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center;
}
.svc-post-line1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff; letter-spacing: 0.12em;
  text-shadow: 0 0 20px rgba(0,212,240,0.5);
}
.svc-post-line2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--gold, #e6b84a); letter-spacing: 0.18em;
  text-shadow: 0 0 16px rgba(230,184,74,0.6);
}

/* CTA row */
.svc-post-cta-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
}
.svc-post-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold, #e6b84a);
  animation: postDotBlink 1.8s ease-in-out infinite;
}
.svc-post-dot:last-child { animation-delay: 0.9s; }
@keyframes postDotBlink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.6); }
}
.svc-post-cta-text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,212,240,0.85);
}

/* Scanline sweep */
.svc-post-scanline {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,212,240,0.018) 3px,
    rgba(0,212,240,0.018) 4px
  );
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}
.svc-promo-wrap.post-play .svc-post-scanline { opacity: 1; }

/* Vignette */
.svc-post-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.65) 100%);
}

.svc-idle-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,212,240,0.25);
  animation: idleRing 3s ease-out infinite;
}
.svc-idle-ring:nth-child(2) { animation-delay: 1s; }
.svc-idle-ring:nth-child(3) { animation-delay: 2s; }
@keyframes idleRing {
  0%   { width: 60px; height: 60px; opacity: 0.7; }
  100% { width: 220px; height: 220px; opacity: 0; }
}

.svc-idle-icon {
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,212,240,0.1);
  border: 1px solid rgba(0,212,240,0.35);
  display: flex; align-items: center; justify-content: center;
  animation: idlePulse 2.5s ease-in-out infinite;
}
.svc-idle-icon svg { width: 22px; height: 22px; color: var(--gold); }
@keyframes idlePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,240,0.25); }
  50%      { box-shadow: 0 0 0 14px rgba(0,212,240,0); }
}

.svc-idle-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(0,212,240,0.04) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: idleShimmer 3.5s ease-in-out infinite;
}
@keyframes idleShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 900px) {
  .svc-hero-top { grid-template-columns: 1fr; gap: 36px; }
  .svc-promo-wrap { order: -1; }
}

/* ── PROCESS ── */
.process-section {
  background: var(--ink-2);
  position: relative; overflow: hidden;
}
.process-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  transform: translateY(-50%);
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.ps-item {
  padding: 48px 32px; position: relative;
  border-right: 1px solid var(--border);
  transition: background var(--t);
}
.ps-item:last-child { border-right: none; }
.ps-item:hover { background: var(--ice-dim); }
.ps-num {
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: rgba(0,212,240,0.1); margin-bottom: 20px;
  transition: color var(--t);
}
.ps-item:hover .ps-num { color: rgba(0,212,240,0.2); }
.ps-item h3 { font-family: var(--font-label); font-size: 1rem; font-weight: 700; letter-spacing: 0.5px; color: var(--ice); margin-bottom: 10px; }
.ps-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.ps-arrow {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  z-index: 1; color: var(--gold); font-size: 1.2rem; opacity: 0.3;
}
.ps-item:last-child .ps-arrow { display: none; }

/* ── PRICING ── */
.pricing-section { background: var(--ink); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  border-radius: var(--radius-lg); padding: 40px 32px;
  border: 1px solid var(--border); background: var(--ink-3);
  position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t) var(--ease-spring), box-shadow var(--t);
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border-color: rgba(0,212,240,0.3);
  box-shadow: 0 0 60px rgba(0,212,240,0.12);
}
.price-card.featured:hover { box-shadow: 0 0 80px rgba(0,212,240,0.2); }
.price-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-label); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}
.price-tier {
  font-family: var(--font-label); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.price-name {
  font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px;
  color: var(--white); margin-bottom: 6px;
}
.price-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.price-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pf-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem; color: var(--muted); line-height: 1.4;
}
.pf-item::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-cta { width: 100%; justify-content: center; }

/* ── FAQ ── */
.faq-section { background: var(--ink-2); }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open { border-color: rgba(0,212,240,0.3); box-shadow: 0 0 30px rgba(0,212,240,0.07); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; gap: 16px; cursor: none;
  background: none; color: var(--ice);
  font-family: var(--font-label); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.3px; text-align: left;
  transition: background var(--t), color var(--t);
}
.faq-trigger:hover { background: var(--ice-dim); }
.faq-item.open .faq-trigger { color: var(--white); background: var(--ice-dim); }
.faq-icon-wrap {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted);
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease-spring), color var(--t);
}
.faq-item.open .faq-icon-wrap {
  border-color: var(--gold); background: var(--gold); color: var(--ink);
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.35s var(--ease);
  padding: 0 24px;
}
.faq-item.open .faq-body { max-height: 500px; padding: 0 24px 22px; }
.faq-body p { font-size: 0.92rem; color: var(--muted); line-height: 1.78; }

/* ── ABOUT ── */
.about-section { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; }
.about-photo-frame {
  width: 100%; max-width: 420px; aspect-ratio: 3/4;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4,9,15,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.photo-fallback {
  font-family: var(--font-display); font-size: 5rem; letter-spacing: 4px; color: var(--gold);
  display: none; align-items: center; justify-content: center; width: 100%; height: 100%;
  opacity: 0.5;
}
.about-accent-box {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--ink);
  padding: 20px 24px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800;
  box-shadow: 0 16px 48px rgba(0,212,240,0.35);
  z-index: 2;
}
.about-accent-box .big { font-size: 2.6rem; line-height: 1; letter-spacing: 1px; }
.about-accent-box .small { font-family: var(--font-label); font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.about-content p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.skills-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.skill-pill {
  font-family: var(--font-label); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 7px 16px; border-radius: 50px;
  background: var(--ice-dim); border: 1px solid var(--border); color: var(--muted);
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t) var(--ease-spring);
}
.skill-pill:hover { background: var(--gold-dim); border-color: rgba(0,212,240,0.4); color: var(--gold); transform: translateY(-2px); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--ink-2); text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,212,240,0.08) 0%, transparent 70%);
}
.cta-section .sec-title { position: relative; font-size: clamp(2.8rem, 5.5vw, 5.5rem); }
.cta-section .sec-sub { position: relative; margin: 0 auto 44px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── CONTACT ── */
.contact-section { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-left .sec-sub { margin-bottom: 36px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.ch-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--ink-3);
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease-spring);
  text-decoration: none; color: inherit;
}
.ch-card:hover { border-color: var(--border-hover); background: var(--ink-2); transform: translateX(5px); }
.ch-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ch-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ice); }
.ch-text span { font-size: 0.78rem; color: var(--muted); }

/* Form */
.form-box {
  background: var(--ink-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-box h3 { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px; color: var(--white); margin-bottom: 8px; }
.form-box .form-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-family: var(--font-label); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 13px 16px;
  background: var(--ink-2); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--ice); font-size: 0.92rem;
  font-family: var(--font-body); outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(232,240,250,0.2); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(0,212,240,0.5); box-shadow: 0 0 0 3px rgba(0,212,240,0.08);
}
.fg select { cursor: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(232,240,250,.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fg select option { background: var(--ink-2); }
.fg textarea { resize: vertical; min-height: 100px; }
.form-submit-btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-success-msg {
  display: none; text-align: center; padding: 24px 20px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius); margin-top: 16px;
}
.form-success-msg.show { display: block; }
.form-success-msg .check-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(34,197,94,0.15); border: 1.5px solid rgba(34,197,94,0.4);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.form-success-msg .check-icon::after {
  content: ''; display: block; width: 18px; height: 10px;
  border-left: 2.5px solid #22c55e; border-bottom: 2.5px solid #22c55e;
  transform: rotate(-45deg) translateY(-3px);
}
.form-success-msg strong { font-family: var(--font-label); font-size: 1.1rem; color: #22c55e; letter-spacing: 0.5px; display: block; margin-bottom: 6px; }
.form-success-msg p { font-size: 0.85rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: 64px clamp(20px,5%,80px) 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand-col .tagline { font-size: 0.88rem; color: var(--muted); line-height: 1.75; max-width: 280px; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--ice-dim);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease-spring);
}
.social-btn:hover { border-color: var(--border-hover); background: var(--gold-dim); transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-label); font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a {
  display: block; font-size: 0.87rem; color: var(--muted); padding: 5px 0;
  transition: color var(--t), padding-left var(--t);
}
.footer-col a:hover { color: var(--ice); padding-left: 6px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(232,240,250,0.3); flex-wrap: wrap; gap: 10px;
}
.footer-bottom .gold-text { color: var(--gold); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
  width: 58px; height: 58px; border-radius: 50%;
  background: #22c55e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(34,197,94,0.4);
  transition: transform var(--t) var(--ease-spring), box-shadow var(--t);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 14px 48px rgba(34,197,94,0.55); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
.wa-float-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(34,197,94,0.5);
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse { 0%{transform:scale(0.95);opacity:0.8} 70%{transform:scale(1.3);opacity:0} 100%{opacity:0} }
.wa-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--ink-3); border: 1px solid var(--border); color: var(--ice);
  font-family: var(--font-label); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-sm);
  pointer-events: none; opacity: 0; transition: opacity var(--t);
}
.wa-float:hover .wa-tip { opacity: 1; }
.wa-tip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--border);
}

/* ── REVEAL SYSTEM ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv.visible { opacity: 1; transform: none; }
.rv-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv-left.visible { opacity: 1; transform: none; }
.rv-right { opacity: 0; transform: translateX(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv-right.visible { opacity: 1; transform: none; }
.rv-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-spring); }
.rv-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.07s !important; }
.stagger-2 { transition-delay: 0.14s !important; }
.stagger-3 { transition-delay: 0.21s !important; }
.stagger-4 { transition-delay: 0.28s !important; }
.stagger-5 { transition-delay: 0.35s !important; }
.stagger-6 { transition-delay: 0.42s !important; }

/* ── CAROUSEL ── */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.carousel-track .proj-card {
  flex: 0 0 calc(33.333% - 14px);
  margin-right: 20px;
  opacity: 1 !important;
  transform: none !important;
}
.carousel-track .proj-card:last-child { margin-right: 0; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-hover);
  color: var(--gold); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: background var(--t), transform var(--t), opacity var(--t);
  opacity: 0.85;
}
.carousel-arrow:hover { background: var(--gold-dim); opacity: 1; transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-arrow:disabled { opacity: 0.2; pointer-events: none; }

.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: background var(--t), transform var(--t);
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold); transform: scale(1.3);
}

/* Filter: hidden cards in carousel */
.carousel-track .proj-card.hidden {
  display: none;
}

@media (max-width: 1000px) {
  .carousel-track .proj-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 700px) {
  .carousel-track .proj-card { flex: 0 0 100%; margin-right: 20px; }
}
/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-video-side { justify-content: center; }
  .hero-video-frame { width: min(280px, 70vw); }
  .hero-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .float-card { max-width: 260px; margin: 0 !important; }
  .float-card.card-1,.float-card.card-2,.float-card.card-3 { animation: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-frame { max-width: 340px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .proj-hero-top { grid-template-columns: 1fr; gap: 36px; }
  .proj-video-wrap { max-width: 560px; }
}
@media (max-width: 900px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
}
@media (max-width: 700px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .ps-item { border-right: none; border-bottom: 1px solid var(--border); }
  .ps-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-right { display: flex; justify-content: center; align-items: center; }
  .hero-video-frame { width: min(200px, 55vw); }
  .hero-title { font-size: clamp(3.2rem, 11vw, 5rem); }
  .proj-hero-top { gap: 24px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (hover: none) {
  body { cursor: auto; }
  #cursor { display: none; }
  button { cursor: pointer; }
  a { cursor: pointer; }
  .pf-btn,.faq-trigger,.svc-card,.proj-card,.price-card,.ch-card,.social-btn,.wa-float,.btn,.nav-menu a,.footer-col a,.mobile-nav a,.hamburger { cursor: pointer; }
}