/* ========================================
   PEEK 3D — Design System v2
   Dark Theme + White Accent + Glassmorphism
   ======================================== */

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

:root {
  --bg-primary: #050505;
  --bg-secondary: #0A0A0A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-elevated: rgba(255, 255, 255, 0.06);
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --text-primary: #FFFFFF;
  --text-secondary: #8A8A8A;
  --text-tertiary: #555555;

  --accent: #FFFFFF;
  --accent-soft: rgba(255, 255, 255, 0.85);
  --accent-glow: rgba(255, 255, 255, 0.08);
  --accent-glow-strong: rgba(255, 255, 255, 0.15);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-glass: rgba(255, 255, 255, 0.1);

  --whatsapp: #25D366;
  --instagram: #E4405F;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  --glass-blur: blur(20px);
  --glass-blur-heavy: blur(40px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* --- TYPOGRAPHY EFFECTS --- */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #999999 40%, #ffffff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* Staggered reveal for hero words */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(15deg);
  animation: wordReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Thin glowing underline on key words */
.text-glow {
  position: relative;
  display: inline-block;
}

.text-glow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: glowPulse 3s ease-in-out infinite;
}

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

/* Subtle letter spacing animation */
.text-breathe {
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { letter-spacing: -0.02em; }
  50% { letter-spacing: 0.01em; }
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: var(--glass-blur);
  background: var(--bg-glass);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- GLASSMORPHISM CARD MIXIN --- */
.glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-icon circle,
.logo-icon path {
  stroke: var(--accent);
}

.logo-icon circle:last-child {
  fill: var(--accent);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-accent {
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent);
  color: #050505;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  backdrop-filter: var(--glass-blur);
  background: var(--bg-glass);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-base);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: var(--glass-blur-heavy);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mobile-link:hover {
  color: var(--text-primary);
}

.mobile-cta {
  margin-top: 16px;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
  animation: heroPulse 10s ease-in-out infinite reverse;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-big {
  margin-bottom: 36px;
}

.hero-logo-big img {
  height: 48px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.08));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  display: flex;
  align-items: baseline;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
}

/* Hero Gallery */
.hero-gallery {
  margin-top: 60px;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 24px;
}

.gallery-track {
  display: flex;
  gap: 20px;
  animation: scrollGallery 30s linear infinite;
  width: max-content;
}

.gallery-track:hover {
  animation-play-state: paused;
}

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

.gallery-card {
  position: relative;
  width: 340px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--border);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--img-zoom, 1));
  transform-origin: var(--img-x, 50%) var(--img-y, 50%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}

.gallery-card:hover img {
  transform: scale(calc(var(--img-zoom, 1) + 0.08));
  filter: brightness(1) saturate(1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-card:hover .card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

/* --- CLIENT LOGOS MARQUEE --- */
.clients-marquee {
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.marquee-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 160px;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

/* --- PORTFOLIO --- */
.portfolio {
  background: var(--bg-secondary);
}

/* Subtle grain overlay for depth */
.portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.filter-btn.active {
  background: var(--accent);
  color: #050505;
  border-color: var(--accent);
  backdrop-filter: none;
}

.portfolio-grid {
  columns: 6;
  column-gap: 6px;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 6px;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  break-inside: avoid;
  margin-bottom: 6px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.portfolio-item:hover {
  border-color: rgba(255,255,255,0.15);
  transform: scale(1.02);
  z-index: 2;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.5s ease;
  filter: brightness(0.88) saturate(0.9);
}

.portfolio-item:hover img {
  filter: brightness(1) saturate(1);
}

/* Portfólio — Crop Positions */
.portfolio-item:nth-child(1) img { object-position: 10% 51%; }
.portfolio-item:nth-child(2) img { object-position: 51% 83%; }
.portfolio-item:nth-child(3) img { object-position: 53% 20%; }
.portfolio-item:nth-child(4) img { object-position: 48% 0%; }
.portfolio-item:nth-child(5) img { object-position: 52% 64%; }
.portfolio-item:nth-child(6) img { object-position: 37% 87%; }

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.portfolio-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.portfolio-overlay p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(20px);
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 94vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.lb-close:hover {
  background: rgba(255,255,255,0.15);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.lb-nav:hover {
  background: rgba(255,255,255,0.12);
}

.lb-prev {
  left: 12px;
}

.lb-next {
  right: 12px;
}

.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}

@media (max-width: 1200px) {
  .portfolio-grid {
    columns: 5;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    columns: 3;
    column-gap: 4px;
    padding: 0 4px;
  }
  .portfolio-item {
    margin-bottom: 4px;
  }
  .lb-nav {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}

@media (max-width: 480px) {
  .portfolio-grid {
    columns: 2;
    column-gap: 3px;
    padding: 0 3px;
  }
  .portfolio-item {
    margin-bottom: 3px;
  }
}

/* --- SERVICES (Glassmorphism cards, no prices) --- */
.services {
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}

.service-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

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

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

.service-card.featured::before {
  opacity: 1;
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--accent);
  color: #050505;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  backdrop-filter: var(--glass-blur);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* Hide prices */
.service-price {
  display: none;
}

/* --- ABOUT --- */
.about {
  background: var(--bg-secondary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
}

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

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transform: scale(var(--img-zoom, 1));
  transform-origin: var(--img-x, 50%) var(--img-y, 50%);
  filter: brightness(0.85);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(calc(var(--img-zoom, 1) + 0.05));
  filter: brightness(1);
}

/* Sobre Nós — Crop Position */
.about-image-wrapper img { object-position: 50% 20%; }

.about-float-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.float-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.float-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.about-feature svg {
  fill: var(--text-secondary);
  flex-shrink: 0;
}

/* --- QUOTE FORM --- */
.quote {
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
}

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

.quote-info .section-tag {
  display: inline-block;
}

.quote-info .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.quote-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  stroke: var(--text-secondary);
}

.benefit-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Form */
.quote-form-wrapper {
  position: relative;
}

.quote-form {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

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

.form-group.full {
  width: 100%;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  outline: none;
  backdrop-filter: var(--glass-blur);
}

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

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #111;
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success svg {
  stroke: var(--accent);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 20px 0 8px;
}

.form-success p {
  color: var(--text-secondary);
}

/* --- INTERACTIVE TOUR --- */
.tour-container {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 
    0 16px 40px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.tour-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.tour-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  z-index: 10;
  padding: 24px;
}

.tour-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.tour-lead-form {
  padding: 48px;
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.8s ease;
  border: 1px solid var(--border-glass);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.tour-overlay.show .tour-lead-form {
  transform: translateY(0);
}

.tour-lead-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.tour-lead-form p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.tour-lead-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- CONTACT (Glassmorphism) --- */
.contact {
  background: var(--bg-secondary);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.015) 0%, transparent 70%);
  pointer-events: none;
}

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

.contact-card {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.whatsapp-card:hover {
  border-color: rgba(37, 211, 102, 0.25);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    0 0 40px rgba(37, 211, 102, 0.05);
}

.email-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    0 0 40px rgba(255, 255, 255, 0.03);
}

.instagram-card:hover {
  border-color: rgba(228, 64, 95, 0.25);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    0 0 40px rgba(228, 64, 95, 0.05);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
}

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

.whatsapp-icon {
  background: rgba(37, 211, 102, 0.08);
  color: var(--whatsapp);
  border-color: rgba(37, 211, 102, 0.15);
}

.email-icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border-color: var(--border);
}

.instagram-icon {
  background: rgba(228, 64, 95, 0.08);
  color: var(--instagram);
  border-color: rgba(228, 64, 95, 0.15);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
  transition: var(--transition-fast);
}

.whatsapp-card:hover .contact-action { color: var(--whatsapp); }
.email-card:hover .contact-action { color: var(--text-primary); }
.instagram-card:hover .contact-action { color: var(--instagram); }

.contact-action svg {
  transition: var(--transition-fast);
}

.contact-card:hover .contact-action svg {
  transform: translateX(4px);
}

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

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

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

/* --- WHATSAPP FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  animation: fabPulse 3s ease-in-out infinite;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.45);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.5); }
}

.fab-tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  transform: translateX(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.large {
    grid-row: span 1;
  }

  .portfolio-item.wide {
    grid-column: span 2;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrapper img {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .clients-marquee {
    padding: 32px 0 0;
  }

  .marquee-label {
    font-size: 0.7rem;
    margin-bottom: 20px;
  }

  .marquee-item {
    height: 42px;
    width: 120px;
  }

  .marquee-track {
    gap: 40px;
  }

  .lightbox img {
    max-width: 98vw;
    max-height: 70vh;
    border-radius: 4px;
  }

  .lb-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .lb-prev {
    left: 6px;
  }

  .lb-next {
    right: 6px;
  }

  .lb-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .lb-counter {
    bottom: 32px;
  }

  .section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 96px 20px 32px;
  }

  .desktop-break {
    display: none;
  }

  /* Left-aligned axis for narrative flow */
  .hero-content {
    text-align: left;
    align-items: flex-start;
  }

  /* Prevent text-glow inline-block from orphaning 'em' */
  .text-glow {
    display: inline;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 20px;
    position: relative;
    line-height: 1.18;
  }

  /* Divider after title */
  .hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, var(--border-hover), transparent 90%);
  }

  .hero-subtitle {
    text-align: left;
    max-width: 340px;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
    width: 100%;
    padding-bottom: 28px;
    position: relative;
  }

  /* Divider after buttons (before stats) */
  .hero-actions::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, var(--border-hover), transparent 90%);
  }

  .hero-actions .btn-cta {
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
  }

  /* Secondary button: ghost style, lower visual weight */
  .hero-actions .btn-outline {
    justify-content: center;
    width: 100%;
    padding: 8px 20px;
    font-size: 0.84rem;
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--text-secondary);
  }

  /* Stats: 3-column grid */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    width: 100%;
    padding-top: 24px;
    justify-items: center;
    text-align: center;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    align-items: center;
  }

  .stat-value {
    justify-content: center;
  }

  .stat-number,
  .stat-suffix {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.72rem;
    margin-top: 2px;
  }

  .gallery-card {
    width: 260px;
    height: 340px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item.wide {
    grid-column: span 1;
  }

  .portfolio-item {
    height: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .quote-form {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .hero-subtitle {
    max-width: 300px;
    font-size: 0.9rem;
  }

  .stat-number,
  .stat-suffix {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}
