/* ============================================
   AURA — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

/* ---- Variables ---- */
:root {
  --bg:          #05060a;
  --bg2:         #080b14;
  --text:        #e8e8f0;
  --text-dim:    #9ca3af;
  --text-muted:  #6b7280;

  --violet: #7b5cff;
  --cyan:   #22e0d6;
  --pink:   #ff5cc8;

  --gradient:      linear-gradient(135deg, var(--violet), var(--cyan));
  --gradient-text: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 60%, var(--pink) 100%);

  --glass-bg:           rgba(255,255,255,0.03);
  --glass-border:       rgba(255,255,255,0.08);
  --glass-border-hover: rgba(123,92,255,0.35);

  --nav-h: 72px;
  --ease:  cubic-bezier(0.16,1,0.3,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Grain Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ---- Scan Line ---- */
.scan-line {
  position: fixed;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123,92,255,0.7), rgba(34,224,214,0.7), transparent);
  pointer-events: none;
  z-index: 9998;
  animation: scanLine 7s linear infinite;
  opacity: 0;
}
@keyframes scanLine {
  0%   { top: -2px; opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { top: 102vh; opacity: 0; }
}

/* ---- Cursor Glow ---- */
.cursor-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,255,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%,-50%);
  will-change: left, top;
  transition: opacity 0.3s;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display {
  font-size: clamp(3.5rem,10vw,9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.headline {
  font-size: clamp(1.8rem,4vw,3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad    { padding: 8rem 0; }
.section-pad-sm { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .headline { margin: 0.5rem 0 1rem; }
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
  background: rgb(5, 6, 10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav.scrolled {
  background: rgba(5,6,10,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--glass-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
}
.nav-inner nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5,6,10,0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  transition: opacity 0.2s;
}
.nav-mobile a:hover {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
  will-change: transform;
  border: none;
  outline: none;
}
.btn:hover  { transform: translateY(-3px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 30px rgba(123,92,255,0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 50px rgba(123,92,255,0.65), 0 0 100px rgba(34,224,214,0.2);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(123,92,255,0.5);
  background: rgba(123,92,255,0.05);
  box-shadow: 0 0 20px rgba(123,92,255,0.1);
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.4s var(--ease);
  will-change: transform;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(123,92,255,0.1);
}
.card:hover::before { opacity: 0.035; }

/* ============================================
   HALOS
   ============================================ */
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  will-change: transform;
}
.halo-violet { background: rgba(123,92,255,0.18); width:600px; height:600px; }
.halo-cyan   { background: rgba(34,224,214,0.12);  width:500px; height:500px; }
.halo-pink   { background: rgba(255,92,200,0.09);  width:400px; height:400px; }

/* ============================================
   REVEAL STATES (fallback si GSAP absent)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  will-change: opacity, transform;
}
.reveal.reveal-left  { transform: translateX(-60px); }
.reveal.reveal-right { transform: translateX(60px); }
.reveal.reveal-scale { transform: scale(0.88) translateY(20px); }
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.stagger > * {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition: opacity 0.8s var(--ease) 0.05s, transform 0.8s var(--ease) 0.05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition: opacity 0.8s var(--ease) 0.17s, transform 0.8s var(--ease) 0.17s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition: opacity 0.8s var(--ease) 0.29s, transform 0.8s var(--ease) 0.29s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition: opacity 0.8s var(--ease) 0.41s, transform 0.8s var(--ease) 0.41s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .reveal.visible, .stagger.visible > * { transition: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(5,6,10,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%,   rgba(5,6,10,0.6) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
}
.hero-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
/* Title line-mask reveal (like MMA Mathis) */
.hero-title { margin-bottom: 1.5rem; }
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation: lineMaskUp 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.44s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.58s; }

@keyframes lineMaskUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}
.hero-divider-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(123,92,255,0.5));
}
.hero-divider-line.r {
  background: linear-gradient(90deg, rgba(34,224,214,0.5), transparent);
}
.hero-divider span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.3s forwards;
}

/* Scroll indicator (same pulsing line as MMA Mathis) */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 10;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 2s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--violet), transparent);
  transform-origin: top;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============================================
   HOME — SERVICES CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card .svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(123,92,255,0.35);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
}
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: gap 0.25s var(--ease);
}
.learn-more:hover { gap: 12px; }
.learn-more-arrow { font-style: normal; }

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  background: linear-gradient(135deg, rgba(123,92,255,0.06), rgba(34,224,214,0.04));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}

/* ============================================
   METHOD STEPS
   ============================================ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.step-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}
.step-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
  flex-shrink: 0;
  letter-spacing: -0.05em;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,92,255,0.08), rgba(34,224,214,0.05), rgba(255,92,200,0.06));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.cta-band p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 1rem auto 2.5rem;
  max-width: 500px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--text); }
.footer-contact span { opacity: 0.35; }

/* ============================================
   PAGE HERO (services/contact)
   ============================================ */
.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(123,92,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(34,224,214,0.08) 0%, transparent 60%);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.4; }

/* ============================================
   SERVICES PAGE — BLOCKS
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.service-block:last-of-type { border-bottom: none; }

.service-text h2 { margin: 0.75rem 0 1.25rem; }
.service-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.service-points li::before {
  content: '→';
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.service-visual {
  aspect-ratio: 1;
  max-height: 400px;
  border-radius: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.06;
}
.service-visual .vis-emoji {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 40px rgba(123,92,255,0.5));
  animation: floatEmoji 4s ease-in-out infinite;
}
.service-block.alt-layout { direction: rtl; }
.service-block.alt-layout > * { direction: ltr; }

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

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.portfolio-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.portfolio-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(123,92,255,0.06);
  border-radius: 20px 20px 0 0;
}
.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.06); }
.portfolio-body {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.portfolio-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.portfolio-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(123,92,255,0.1);
  border: 1px solid rgba(123,92,255,0.25);
  color: var(--violet);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  align-items: center;
}
.pricing-card {
  border-radius: 24px;
  padding: 2.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(123,92,255,0.1), rgba(34,224,214,0.05));
  border-color: rgba(123,92,255,0.4);
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(123,92,255,0.15);
}
.pricing-card:not(.featured):hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(123,92,255,0.08); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-6px); }

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pricing-price {
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  align-items: flex-start;
}
.pricing-features li::before {
  content: '✓';
  color: var(--cyan);
  flex-shrink: 0;
  font-weight: 700;
}

/* ============================================
   SECTION WEB HERO — PLEIN ÉCRAN
   ============================================ */
.swh-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 52% 48%;
  background: #050510;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}

/* ---------- Colonne gauche ---------- */
.swh-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(2rem, 4vw, 4rem) 5rem clamp(1.5rem, 7vw, 7rem);
  position: relative;
  z-index: 2;
}

.swh-eyebrow {
  color: #7C7CF5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

/* Titre — gros, bold, avec reveal par ligne */
.swh-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.75rem;
}
.swh-line { display: block; }
.swh-inner { display: block; }
.swh-dot { color: #7C7CF5; }

.swh-desc {
  color: #9CA3AF;
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 460px;
}

/* Liste avec → violets et texte bicolore */
.swh-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  margin-bottom: 2.5rem;
}
.swh-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #9CA3AF;
}
.swh-arrow {
  color: #7C7CF5;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}
.swh-list strong { color: #ffffff; font-weight: 600; }

/* CTA */
.swh-cta {
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 14px 30px;
}

/* ---------- Colonne droite — globe ---------- */
.swh-right {
  position: relative;
  overflow: hidden;
}

/* Globe image — couvre la col droite et déborde légèrement */
.swh-globe-img {
  position: absolute;
  top: 50%;
  left: -8%;
  transform: translateY(-50%);
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

/* Fondu gauche pour fondre le globe dans le texte */
.swh-right-fade {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 160px;
  background: linear-gradient(to right, #050510 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Hint scroll (sur le canvas) */
.swh-right .globe-scroll-hint {
  z-index: 4;
  bottom: 1.25rem;
  left: 50%;
}

/* ---------- Animations d'entrée (état initial) ---------- */
.swh-anim {
  opacity: 0;
  transform: translateY(36px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .swh-section {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh auto;
    padding-top: 0;
  }
  .swh-right { order: -1; }
  .swh-right-fade {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%; height: 80px;
    background: linear-gradient(to bottom, transparent, #050510);
  }
  .swh-left {
    padding: 2.5rem 1.5rem 4rem;
  }
  .swh-section { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
}

/* ============================================
   GLOBE 3D CANVAS
   ============================================ */
.globe-visual {
  background: radial-gradient(ellipse at 60% 40%, #0a0820 0%, #040610 60%, #020308 100%) !important;
  border: 1px solid rgba(123,92,255,0.15) !important;
  padding: 0 !important;
  overflow: hidden;
  aspect-ratio: 1 !important;
  max-height: 500px !important;
  position: relative;
  box-shadow: 0 0 80px rgba(100,50,255,0.12), inset 0 0 60px rgba(0,0,0,0.6);
}
.globe-visual::before { display: none !important; }

#globe-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 24px;
}

.globe-scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(123,92,255,0.55);
  white-space: nowrap;
  pointer-events: none;
  animation: fadeUpHint 2s ease-in-out infinite alternate;
}
@keyframes fadeUpHint {
  0%   { opacity: 0.4; transform: translateX(-50%) translateY(3px); }
  100% { opacity: 0.9; transform: translateX(-50%) translateY(-2px); }
}

/* ============================================
   PRICING — GRILLE 4 CARTES
   ============================================ */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Packs avec engagement — 2 colonnes */
.pack-engage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pack-engage-card {
  text-align: center;
}
.pack-condition {
  background: rgba(123,92,255,0.07);
  border: 1px solid rgba(123,92,255,0.2);
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
  text-align: left;
}
.pack-condition-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: .25rem;
}
@media (max-width: 680px) {
  .pack-engage-grid { grid-template-columns: 1fr; }
}

/* Pack card — pleine largeur, layout horizontal */
.pricing-card.pack-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  padding: 2.5rem 3rem;
}
.pack-card .pack-left {
  flex: 1;
}
.pack-card .pack-left .pricing-features {
  margin-bottom: 0;
  column-gap: 2rem;
}
.pack-card .pack-right {
  flex-shrink: 0;
  min-width: 200px;
}
.pack-card .pricing-price {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

@media (max-width: 1024px) {
  .pricing-grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing-card.pack-card { grid-column: 1 / -1; }
  .pack-card .pricing-features { columns: 1 !important; }
}
@media (max-width: 640px) {
  .pricing-grid-4 { grid-template-columns: 1fr; }
  .pricing-card.pack-card { flex-direction: column; gap: 2rem; padding: 2rem; }
  .pack-card .pack-right { width: 100%; }
  .pack-card .pack-right > div { display: flex; flex-direction: column; align-items: center; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(123,92,255,0.55);
  box-shadow: 0 0 0 3px rgba(123,92,255,0.12);
  background: rgba(123,92,255,0.03);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: rgba(255,80,80,0.55); }
.form-error {
  font-size: 0.72rem;
  color: #ff5050;
  margin-top: 0.35rem;
  display: none;
}
.has-error .form-error { display: block; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

.info-cards { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.info-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}
.info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(123,92,255,0.3);
}
.info-card h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.info-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .service-block { grid-template-columns: 1fr; gap: 3rem; }
  .service-block.alt-layout { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .contact-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .section-pad { padding: 5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   PRICING — Nouvelle grille 2025
   ============================================ */

/* ── Bande de preuve ── */
.pn-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--glass-bg);
}
.pn-proof-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pn-proof-item strong { color: var(--text-dim); font-weight: 600; }
.pn-proof-sep {
  width: 1px;
  height: 1rem;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* ── Bloc 1 : comparaison prix d'entrée ── */
.pn-entry {
  max-width: 540px;
  margin: 0 auto 4rem;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}
.pn-entry-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}
.pn-entry-row + .pn-entry-row { border-top: 1px solid var(--glass-border); }
.pn-entry-row--featured { background: rgba(123,92,255,0.05); }
.pn-entry-label { flex: 1; font-size: 0.875rem; }
.pn-entry-row--dim .pn-entry-label { color: var(--text-muted); font-weight: 400; }
.pn-entry-row--featured .pn-entry-label { color: var(--text); font-weight: 600; }
.pn-entry-price { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.pn-entry-row--dim .pn-entry-price { color: var(--text-muted); font-weight: 400; font-size: 0.95rem; }
.pn-entry-row--featured .pn-entry-price { color: var(--text); }
.pn-entry-saving {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(34,224,214,0.1);
  border: 1px solid rgba(34,224,214,0.2);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.pn-entry-note {
  padding: 0.875rem 1.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.65;
  background: rgba(0,0,0,0.2);
}
.pn-entry-note strong { color: var(--text-dim); font-weight: 700; }

/* ── Bloc 2 : grille 3 forfaits ── */
.pn-forfaits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 0.5rem;
}
.pn-card-featured-wrap {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  padding: 1px;
  border-radius: 25px;
  transition: transform 0.35s var(--ease);
}
.pn-card-featured-wrap:hover { transform: translateY(-4px); }
.pn-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 2rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid var(--glass-border);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.pn-card--featured {
  border: none;
  border-radius: calc(25px - 1px);
  background: #0f172a;
}
.pn-card:not(.pn-card--featured):hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}
.pn-badge {
  display: inline-flex;
  width: fit-content;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.pn-card-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.pn-demarrage { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.pn-demarrage strong { color: var(--text-dim); font-weight: 700; }
.pn-price-block { margin-bottom: 0.4rem; }
.pn-price-num {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.pn-price-period { font-size: 0.82rem; color: var(--text-muted); margin-left: 0.2rem; }
.pn-engage { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.pn-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 1.75rem;
}
.pn-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.pn-features li::before {
  content: '✓';
  color: var(--cyan);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 1px;
}
.pn-features li.pn-feature-inherit {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.75rem;
}
.pn-features li.pn-feature-inherit::before { display: none; }

/* ── Note légale ── */
.pn-legal {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.6;
}

/* ── Bloc 3 : options à la carte ── */
.pn-options-wrap {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--glass-border);
}
.pn-options-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.pn-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pn-option-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  transition: border-color 0.25s;
}
.pn-option-card:hover { border-color: var(--glass-border); }
.pn-option-name { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.75rem; }
.pn-option-price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.pn-option-price span { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); margin-left: 0.1rem; }
.pn-option-setup { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 1rem; }
.pn-option-cta {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.75rem;
  transition: color 0.2s;
}
.pn-option-cta:hover { color: var(--text); }

@media (max-width: 900px) {
  .pn-forfaits { grid-template-columns: 1fr; }
  .pn-options { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .pn-proof { flex-direction: column; gap: 0.5rem; text-align: center; }
  .pn-proof-sep { display: none; }
}

/* ============================================
   À PROPOS
   ============================================ */
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.apropos-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.apropos-p {
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 60ch;
}
.apropos-encart {
  border-left: 2px solid var(--violet);
  margin-top: 0.25rem;
}
.apropos-encart p {
  color: var(--text-dim);
  line-height: 1.8;
  font-style: italic;
}
.apropos-photo {
  position: sticky;
  top: 6rem;
}
.apropos-photo-mobile { display: none; }
.apropos-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  display: block;
}
@media (max-width: 900px) {
  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .apropos-photo { display: none; }
  .apropos-photo-mobile {
    display: block;
  }
  .apropos-photo-mobile .apropos-img {
    aspect-ratio: 3/2;
    max-height: 240px;
    object-position: center 15%;
  }
}
