/**
 * MARPEAP DIGITALS - DESIGN SYSTEM
 * @theme Cyberpunk Professional / Dark Mode
 * @author Marpeap Digitals
 * @version 2025.1.0
 */

/* ========================================
   CSS VARIABLES - DESIGN SYSTEM
   ======================================== */

:root {
  /* Background Colors — neutral warm dark */
  --bg-primary: #0A0A0E;
  --bg-secondary: #111114;
  --bg-surface: #1A1A1E;

  /* Brand Palette — Dore leger a Argente, 6 etapes */
  --brand-gold: #D4B87A;
  --brand-champagne: #C8B48C;
  --brand-warm-silver: #BCAF9E;
  --brand-neutral: #AEB2B0;
  --brand-cool-silver: #A0B5C2;
  --brand-silver: #B8C8D8;

  /* Legacy aliases — mapped to new palette */
  --brand-blue: var(--brand-gold);
  --brand-purple: var(--brand-champagne);
  --brand-cyan: var(--brand-silver);

  /* Text Colors */
  --text-primary: #EDF0F0;
  --text-secondary: #8A8E96;
  --text-highlight: #D4B87A;

  /* Status Colors */
  --success: #0DD9A4;
  --warning: #FFAD33;
  --error: #FF5A5A;

  /* Typography — Space Grotesk + DM Sans + JetBrains Mono */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Section alternate background (Figma "lego blocks" pattern) */
  --bg-section-alt: #0C0C10;

  /* Transitions — custom easings (Webflow/Linear inspired) */
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --transition-fast: 0.15s var(--ease-out-cubic);
  --transition-base: 0.3s var(--ease-out-cubic);
  --transition-slow: 0.5s var(--ease-out-quart);

  /* Shadows — neutral, no colored glows (Stripe/Linear pattern) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 24px -4px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.3);
  --shadow-focus: 0 0 0 3px rgba(212, 184, 122, 0.25);
}

/* ========================================
   CORE WEB VITALS OPTIMIZATIONS
   ======================================== */

/* Prévention du Cumulative Layout Shift (CLS) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Réservation d'espace pour les images et contenus */
img {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}

/* Optimisation du rendu des polices */
@font-face {
  font-display: swap;
}

/* Optimisation du scroll et du rendu */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prévention du flash de contenu non stylisé */
  font-display: swap;
}

/* Optimisation des animations pour les Core Web Vitals */
*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
}

/* Optimisation des images pour le LCP */
.hero img,
.portfolio img,
.service img {
  loading: eager;
  decoding: async;
}

.content img {
  loading: lazy;
  decoding: async;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

::selection {
  background-color: var(--brand-blue);
  color: var(--text-primary);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--text-highlight);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--brand-blue);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease-out-cubic),
              border-color 0.25s var(--ease-out-cubic),
              box-shadow 0.25s var(--ease-out-cubic);
  user-select: none;
}

.navbar.scrolled {
  background: rgba(8, 8, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 184, 122, 0.18);
  box-shadow: 0 1px 0 rgba(212, 184, 122, 0.06);
}

.navbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo {
  height: 34px;
  width: auto;
  display: block;
}

/* Legacy — masqués si logo image présent */
.brand-text,
.brand-tagline {
  display: none;
}

.nav-link-referral {
  color: var(--brand-gold) !important;
  font-size: 0.875rem;
}

.nav-link-referral:hover {
  color: var(--brand-champagne) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  text-decoration: none;
}

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

/* ── Dropdown "Nos solutions" ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  position: relative;
  padding: 0;
  text-decoration: none;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--text-primary);
}

.nav-dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.55;
}

.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 0.85;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(12, 14, 22, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  padding: 6px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 13px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.07);
}

.nav-dropdown-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-dropdown-item-sub {
  font-size: 0.775rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    font-size: 1.1rem;
    width: 100%;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    justify-content: space-between;
  }

  .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    max-height: 200px;
    transition: max-height 0.25s ease, visibility 0s linear 0s;
  }

  .nav-dropdown-item {
    padding: 8px 0 8px 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-dropdown-item:last-child {
    border-bottom: none;
    padding-bottom: var(--spacing-sm);
  }
}

.btn-primary-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.45) 0%, rgba(180, 140, 65, 0.22) 100%);
  border: 1px solid rgba(212, 184, 122, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-primary);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 18px rgba(212,184,122,0.14);
}

.btn-primary-nav:hover {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.62) 0%, rgba(180, 140, 65, 0.38) 100%);
  border-color: rgba(212, 184, 122, 0.60);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 24px rgba(212,184,122,0.22);
}

.btn-icon {
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(8, 12, 24, 0.14);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--spacing-lg) var(--spacing-lg);
    gap: var(--spacing-md);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    transition: right var(--transition-base);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* CTA dans le panel mobile — pleine largeur */
  .nav-links .btn-primary-nav {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-md);
  }

  /* CTA dans .nav-actions — compact, toujours visible */
  .nav-actions .btn-primary-nav {
    width: auto;
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    margin-top: 0;
  }

  .nav-actions .btn-primary-nav .btn-text {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4rem;
  padding-top: 100px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Atmosphère hero : légère teinte dorée en bas */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 30% at 50% 100%, rgba(212,184,122,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(79, 138, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 138, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand-blue), transparent);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--brand-purple), transparent);
  bottom: -10%;
  left: -10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

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

.hero-text {
  max-width: none;
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual .code-window {
  max-width: 100%;
  margin: 0;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8,12,24,0.45) 0%, rgba(8,12,24,0.3) 45%, rgba(8,12,24,0.65) 100%);
  z-index: 1;
}

.hero-title {
  margin-bottom: var(--spacing-lg);
}

.title-line-1 {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.title-line-2 {
  display: block;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.5;
}

.highlight-text {
  color: var(--brand-cyan);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  justify-content: flex-start;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.45) 0%, rgba(180, 140, 65, 0.22) 100%);
  border: 1px solid rgba(212, 184, 122, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-primary);
  border-radius: 9999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 18px rgba(212,184,122,0.14);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.62) 0%, rgba(180, 140, 65, 0.38) 100%);
  border-color: rgba(212, 184, 122, 0.60);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 24px rgba(212,184,122,0.22);
}

.btn-primary:focus-visible {
  box-shadow: var(--shadow-focus);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(212, 184, 122, 0.38);
}

.btn-secondary {
  border-radius: 9999px;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.12) 0%, rgba(180, 140, 65, 0.06) 100%);
  border-color: rgba(212, 184, 122, 0.60);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 138, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 2rem;
}

.stat-content {
  text-align: left;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--brand-cyan));
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ========================================
   CODE TYPESCRIPT SECTION
   ======================================== */

.code-section {
  padding: 3rem 0;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.code-window {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.code-window:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.code-window-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(17, 24, 39, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.control-dot.red {
  background: #FF5A5A;
}

.control-dot.yellow {
  background: #FFAD33;
}

.control-dot.green {
  background: #0DD9A4;
}

.code-window:hover .control-dot {
  box-shadow: 0 0 8px currentColor;
}

.window-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.file-icon {
  font-size: 1rem;
}

.file-name {
  color: var(--text-primary);
  font-weight: 500;
}

.file-type {
  color: var(--text-secondary);
}

.code-content {
  padding: var(--spacing-xl);
  overflow-x: auto;
}

.code-block {
  font-family: var(--font-code);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.8;
  color: #D1D5DB;
  margin: 0;
  white-space: pre;
}

/* Syntax Highlighting */
.keyword {
  color: var(--brand-purple);
  font-weight: 600;
}

.class-name {
  color: #FBBF24;
  font-weight: 600;
}

.function {
  color: var(--brand-blue);
  font-weight: 500;
}

.string {
  color: #0DD9A4;
}

.property {
  color: var(--brand-cyan);
}

.comment {
  color: #6B7280;
  font-style: italic;
}

/* Typing Cursor Animation */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-start infinite;
  color: var(--brand-cyan);
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Responsive Code Section */
@media (max-width: 768px) {
  .code-content {
    padding: var(--spacing-md);
  }

  .code-block {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .window-title {
    font-size: 0.65rem;
  }
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-cta {
    justify-content: center;
  }
}

/* ========================================
   STAT STRIP
   ======================================== */

.stat-strip {
  padding: 2.5rem 0;
  background: #060609;
  border-top: 1px solid rgba(212, 184, 122, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Ligne dorée lumineuse — transition hero → stats */
.stat-strip::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212, 184, 122, 0.45) 25%,
    rgba(212, 184, 122, 0.70) 50%,
    rgba(212, 184, 122, 0.45) 75%,
    transparent 100%
  );
}

.stat-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 720px;
}

.strip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.strip-value {
  font-family: var(--font-code);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.strip-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stat-strip-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .strip-divider {
    width: 40px;
    height: 1px;
  }
}

/* ========================================
   FOUNDER SECTION
   ======================================== */

.founder-section {
  padding: 2rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 60%, rgba(184,200,216,0.08) 0%, transparent 52%),
    radial-gradient(ellipse 45% 55% at 0% 30%, rgba(212,184,122,0.05) 0%, transparent 50%),
    #090910;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* Guillemet watermark — discret */
.founder-section::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: -0.03em;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 16vw, 13rem);
  font-weight: 900;
  line-height: 1;
  color: #D4B87A;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

/* Layout deux colonnes */
.founder-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.founder-pull {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
}

/* Zone animation logo */
.founder-logo-showcase{
    position:relative;
    width:100%;
    max-width:280px;
    aspect-ratio:1;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
}

.founder-logo-animated{
    width:70%;
    height:auto;
    position:relative;
    z-index:5;
    filter:
        drop-shadow(0 0 20px rgba(212,184,122,.25))
        drop-shadow(0 0 60px rgba(212,184,122,.15));
    animation:
        founderFloat 6s ease-in-out infinite,
        founderPulse 4s ease-in-out infinite;
}

.founder-title{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:1px;
    z-index:10;
    pointer-events:none;

    font-size:clamp(1.6rem,3vw,2.8rem);
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#fff;
}

.founder-title span{
    opacity:0;
    transform:translateY(12px);
    text-shadow:
        0 0 10px rgba(212,184,122,.6),
        0 0 20px rgba(212,184,122,.3);

    animation:
        letterReveal 8s infinite;
}

.founder-title span:nth-child(1){animation-delay:.1s;}
.founder-title span:nth-child(2){animation-delay:.2s;}
.founder-title span:nth-child(3){animation-delay:.3s;}
.founder-title span:nth-child(4){animation-delay:.4s;}
.founder-title span:nth-child(5){animation-delay:.5s;}
.founder-title span:nth-child(6){animation-delay:.6s;}
.founder-title span:nth-child(7){animation-delay:.7s;}
.founder-title span:nth-child(8){animation-delay:.8s;}
.founder-title span:nth-child(9){animation-delay:.9s;}
.founder-title span:nth-child(10){animation-delay:1.0s;}
.founder-title span:nth-child(11){animation-delay:1.1s;}
.founder-title span:nth-child(12){animation-delay:1.2s;}
.founder-title span:nth-child(13){animation-delay:1.3s;}
.founder-title span:nth-child(14){animation-delay:1.4s;}
.founder-title span:nth-child(15){animation-delay:1.5s;}
.founder-title span:nth-child(16){animation-delay:1.6s;}

@keyframes letterReveal{
    0%{
        opacity:0;
        transform:translateY(12px);
    }

    8%{
        opacity:1;
        transform:translateY(0);
    }

    55%{
        opacity:1;
        transform:translateY(0);
    }

    75%{
        opacity:0;
        transform:translateY(-10px);
    }

    100%{
        opacity:0;
        transform:translateY(-10px);
    }
}

.logo-glow{
    position:absolute;
    width:140px;
    height:140px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(212,184,122,.25) 0%,
        rgba(212,184,122,.12) 40%,
        transparent 75%
    );
    animation:glowPulse 4s ease-in-out infinite;
}

.logo-orbit{
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(212,184,122,.15);
}

.orbit-1{
    width:185px;
    height:185px;
    animation:spinOrbit 20s linear infinite;
}

.orbit-2{
    width:245px;
    height:245px;
    animation:spinOrbitReverse 28s linear infinite;
}

.logo-particles span{
    position:absolute;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#d4b87a;
    box-shadow:0 0 12px rgba(212,184,122,.8);
}

.logo-particles span:nth-child(1){
    top:10%;
    left:50%;
    animation:particleFloat 4s ease-in-out infinite;
}

.logo-particles span:nth-child(2){
    top:30%;
    right:12%;
    animation:particleFloat 5s ease-in-out infinite;
}

.logo-particles span:nth-child(3){
    bottom:18%;
    right:22%;
    animation:particleFloat 6s ease-in-out infinite;
}

.logo-particles span:nth-child(4){
    bottom:12%;
    left:28%;
    animation:particleFloat 5s ease-in-out infinite;
}

.logo-particles span:nth-child(5){
    top:35%;
    left:8%;
    animation:particleFloat 7s ease-in-out infinite;
}

.logo-particles span:nth-child(6){
    top:18%;
    right:28%;
    animation:particleFloat 4.5s ease-in-out infinite;
}

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

@keyframes founderPulse{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.03);
    }
}

@keyframes glowPulse{
    0%,100%{
        transform:scale(1);
        opacity:.6;
    }
    50%{
        transform:scale(1.15);
        opacity:1;
    }
}

@keyframes spinOrbit{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

@keyframes spinOrbitReverse{
    from{
        transform:rotate(360deg);
    }
    to{
        transform:rotate(0deg);
    }
}

@keyframes particleFloat{
    0%,100%{
        transform:translateY(0);
        opacity:.4;
    }
    50%{
        transform:translateY(-18px);
        opacity:1;
    }
}
}

.scene-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile : empiler */
@media (max-width: 860px) {
  .founder-layout {
    flex-direction: column;
    gap: 2rem;
  }
  .founder-scene {
    flex: none;
    width: 100%;
    max-width: 420px;
  }
}

/* =====================================================
   STICKMAN BATTLE ANIMATION — durée totale ~36s, infinie
   =====================================================
   TIMELINE :
   0–3s   : stickmen en place, narr 1 "Intrusion détectée"
   3–6s   : combat rapproché héros vs ennemi A
   6–9s   : ennemi B arrive en renfort, narr 3
   9–12s  : voitures de police entrent, narr 4
   12–16s : échanges de tirs, muzzle flash + balles
   16–20s : ennemis tombent, narr 6
   20–24s : menottes, narr 7
   24–28s : badge victoire, héros bras levés
   28–36s : pause sur le résultat
   ===================================================== */

/* — Textes narratifs — */
.narr { animation-duration: 36s; animation-iteration-count: infinite; animation-fill-mode: both; }
.n1 { animation-name: narr1; }
.n2 { animation-name: narr2; }
.n3 { animation-name: narr3; }
.n4 { animation-name: narr4; }
.n5 { animation-name: narr5; }
.n6 { animation-name: narr6; }
.n7 { animation-name: narr7; }

@keyframes narr1 {
  0%    { opacity:0; transform:translateY(4px); }
  2%    { opacity:1; transform:translateY(0); }
  7%    { opacity:1; }
  9%    { opacity:0; }
  100%  { opacity:0; }
}
@keyframes narr2 {
  8%    { opacity:0; transform:translateY(4px); }
  10%   { opacity:1; transform:translateY(0); }
  15%   { opacity:1; }
  17%   { opacity:0; }
  100%  { opacity:0; }
}
@keyframes narr3 {
  17%   { opacity:0; transform:translateY(4px); }
  19%   { opacity:1; transform:translateY(0); }
  24%   { opacity:1; }
  26%   { opacity:0; }
  100%  { opacity:0; }
}
@keyframes narr4 {
  25%   { opacity:0; transform:translateY(4px); }
  27%   { opacity:1; transform:translateY(0); }
  34%   { opacity:1; }
  36%   { opacity:0; }
  100%  { opacity:0; }
}
@keyframes narr5 {
  33%   { opacity:0; transform:translateY(4px); }
  35%   { opacity:1; transform:translateY(0); }
  42%   { opacity:1; }
  44%   { opacity:0; }
  100%  { opacity:0; }
}
@keyframes narr6 {
  44%   { opacity:0; transform:translateY(4px); }
  46%   { opacity:1; transform:translateY(0); }
  53%   { opacity:1; }
  55%   { opacity:0; }
  100%  { opacity:0; }
}
@keyframes narr7 {
  55%   { opacity:0; transform:translateY(4px); }
  57%   { opacity:1; transform:translateY(0); }
  90%   { opacity:1; }
  95%   { opacity:0; }
  100%  { opacity:0; }
}

/* — Héros : marche + combat + victoire — */
.sm-hero {
  animation: heroMove 36s infinite;
  transform-origin: 80px 210px;
}
@keyframes heroMove {
  /* Apparition gauche, avance vers le centre */
  0%   { transform: translateX(-60px); opacity:0; }
  3%   { transform: translateX(-60px); opacity:1; }
  /* Combat : oscillation rapide */
  8%   { transform: translateX(0px); opacity:1; }
  10%  { transform: translateX(18px); }
  12%  { transform: translateX(0px); }
  14%  { transform: translateX(22px); }
  16%  { transform: translateX(0px); }
  /* Recule pour les tirs */
  30%  { transform: translateX(0px); }
  33%  { transform: translateX(-20px); }
  44%  { transform: translateX(-20px); }
  /* Fondu vers la pose victoire */
  50%  { transform: translateX(10px); opacity:1; }
  54%  { opacity:0; }
  94%  { opacity:0; }
  96%  { opacity:0; transform: translateX(-60px); }
  100% { opacity:0; transform: translateX(-60px); }
}

.arm-hero-l {
  transform-origin: 80px 192px;
  animation: armHeroL 36s infinite;
}
@keyframes armHeroL {
  0%,8%  { transform: rotate(0deg); }
  9%     { transform: rotate(-30deg); }
  10%    { transform: rotate(20deg); }
  11%    { transform: rotate(-40deg); }
  14%    { transform: rotate(15deg); }
  16%    { transform: rotate(0deg); }
  /* Tir : bras tendu */
  33%    { transform: rotate(-10deg); }
  36%    { transform: rotate(-5deg); }
  44%    { transform: rotate(0deg); }
  /* Victoire : bras levé */
  55%    { transform: rotate(0deg); }
  57%    { transform: rotate(-70deg); }
  90%    { transform: rotate(-70deg); }
  95%    { transform: rotate(0deg); }
  100%   { transform: rotate(0deg); }
}
.arm-hero-r {
  transform-origin: 80px 192px;
  animation: armHeroR 36s infinite;
}
@keyframes armHeroR {
  0%,8%  { transform: rotate(0deg); }
  9%     { transform: rotate(30deg); }
  10%    { transform: rotate(-20deg); }
  11%    { transform: rotate(40deg); }
  14%    { transform: rotate(-15deg); }
  16%    { transform: rotate(0deg); }
  33%    { transform: rotate(10deg); }
  36%    { transform: rotate(5deg); }
  44%    { transform: rotate(0deg); }
  55%    { transform: rotate(0deg); }
  57%    { transform: rotate(70deg); }
  90%    { transform: rotate(70deg); }
  95%    { transform: rotate(0deg); }
  100%   { transform: rotate(0deg); }
}
.leg-hero-l, .leg-hero-r {
  transform-origin: 80px 215px;
  animation: legHero 36s infinite;
}
@keyframes legHero {
  0%,3%  { transform: rotate(0deg); }
  4%     { transform: rotate(-15deg); }
  5%     { transform: rotate(10deg); }
  6%     { transform: rotate(-15deg); }
  7%     { transform: rotate(5deg); }
  8%     { transform: rotate(0deg); }
  100%   { transform: rotate(0deg); }
}

/* — Héros pose victoire — */
.sm-hero-win {
  animation: heroWin 36s infinite;
}
@keyframes heroWin {
  0%,54%  { opacity:0; }
  56%     { opacity:1; }
  92%     { opacity:1; }
  94%     { opacity:0; }
  100%    { opacity:0; }
}

/* — Ennemi A : avance + combat + tombe — */
.sm-enemy-a {
  animation: enemyAMove 36s infinite;
}
@keyframes enemyAMove {
  0%   { transform: translateX(60px); opacity:0; }
  3%   { transform: translateX(60px); opacity:1; }
  8%   { transform: translateX(0px); opacity:1; }
  10%  { transform: translateX(-18px); }
  12%  { transform: translateX(0px); }
  14%  { transform: translateX(-22px); }
  16%  { transform: translateX(0px); }
  /* Recule pour tirer */
  33%  { transform: translateX(0px); }
  36%  { transform: translateX(20px); }
  /* Tombe */
  44%  { transform: translateX(20px); }
  46%  { transform: translateX(20px) translateY(50px) rotate(85deg); opacity:1; }
  50%  { transform: translateX(20px) translateY(55px) rotate(90deg); opacity:0; }
  100% { opacity:0; }
}
.arm-ea-l, .arm-ea-r {
  transform-origin: 310px 192px;
  animation: armEnemy 36s infinite;
}
@keyframes armEnemy {
  0%,8%  { transform: rotate(0deg); }
  9%     { transform: rotate(35deg); }
  11%    { transform: rotate(-35deg); }
  13%    { transform: rotate(30deg); }
  16%    { transform: rotate(0deg); }
  100%   { transform: rotate(0deg); }
}

/* — Ennemi B : entre plus tard, tombe aussi — */
.sm-enemy-b {
  animation: enemyBMove 36s infinite;
}
@keyframes enemyBMove {
  0%,16%  { transform: translateX(180px); opacity:0; }
  17%     { transform: translateX(180px); opacity:0; }
  20%     { transform: translateX(180px); opacity:1; }
  25%     { transform: translateX(60px); opacity:1; }
  36%     { transform: translateX(60px); }
  /* Tombe après ennemi A */
  47%     { transform: translateX(60px); opacity:1; }
  49%     { transform: translateX(60px) translateY(50px) rotate(-85deg); opacity:1; }
  52%     { transform: translateX(60px) translateY(55px) rotate(-90deg); opacity:0; }
  100%    { opacity:0; }
}

/* — Hit flash (impact combat) — */
.hit-flash {
  animation: hitFlash 36s infinite;
}
@keyframes hitFlash {
  0%,8.5%  { opacity:0; }
  9%       { opacity:1; transform:scale(1.2); }
  9.5%     { opacity:0; }
  11%      { opacity:1; transform:scale(0.9); }
  11.5%    { opacity:0; }
  13.5%    { opacity:1; transform:scale(1.3); }
  14%      { opacity:0; }
  100%     { opacity:0; }
}
.hit-flash-2 {
  animation: hitFlash2 36s infinite;
}
@keyframes hitFlash2 {
  0%,13%   { opacity:0; }
  13.5%    { opacity:1; transform:scale(1.1) translateX(15px); }
  14%      { opacity:0; }
  15%      { opacity:1; transform:scale(0.9) translateX(-5px); }
  15.5%    { opacity:0; }
  100%     { opacity:0; }
}

/* — Voitures de police — */
.pcar-1 {
  animation: pcar1Move 36s infinite;
}
@keyframes pcar1Move {
  0%,24%   { transform: translateX(-200px); opacity:0; }
  25%      { transform: translateX(-200px); opacity:1; }
  30%      { transform: translateX(0px); opacity:1; }
  90%      { transform: translateX(0px); opacity:1; }
  95%      { transform: translateX(-200px); opacity:0; }
  100%     { transform: translateX(-200px); opacity:0; }
}
.pcar-2 {
  animation: pcar2Move 36s infinite;
}
@keyframes pcar2Move {
  0%,24%   { transform: translateX(200px); opacity:0; }
  26%      { transform: translateX(200px); opacity:1; }
  31%      { transform: translateX(0px); opacity:1; }
  90%      { transform: translateX(0px); opacity:1; }
  95%      { transform: translateX(200px); opacity:0; }
  100%     { transform: translateX(200px); opacity:0; }
}

/* Gyrophares clignotants */
.gyro-1r, .gyro-2r { animation: gyroR 0.5s 25s infinite alternate; }
.gyro-1b, .gyro-2b { animation: gyroB 0.5s 25s infinite alternate; }
@keyframes gyroR {
  from { opacity:1; fill:#EF4444; box-shadow:0 0 6px #EF4444; }
  to   { opacity:0.2; fill:#7f1d1d; }
}
@keyframes gyroB {
  from { opacity:0.2; fill:#1e3a8a; }
  to   { opacity:1; fill:#3B82F6; }
}

/* — Tirs & projectiles — */
.muzzle-a {
  animation: muzzleA 36s infinite;
}
@keyframes muzzleA {
  0%,31.5%  { opacity:0; }
  32%       { opacity:1; }
  32.3%     { opacity:0; }
  34%       { opacity:1; }
  34.3%     { opacity:0; }
  36.5%     { opacity:1; }
  36.8%     { opacity:0; }
  39%       { opacity:1; }
  39.3%     { opacity:0; }
  41%       { opacity:1; }
  41.3%     { opacity:0; }
  100%      { opacity:0; }
}
.muzzle-b {
  animation: muzzleB 36s infinite;
}
@keyframes muzzleB {
  0%,33%    { opacity:0; }
  33.5%     { opacity:1; }
  33.8%     { opacity:0; }
  35.5%     { opacity:1; }
  35.8%     { opacity:0; }
  38%       { opacity:1; }
  38.3%     { opacity:0; }
  40%       { opacity:1; }
  40.3%     { opacity:0; }
  42%       { opacity:1; }
  42.3%     { opacity:0; }
  100%      { opacity:0; }
}

/* Bullets — translateX pour compatibilité cross-browser */
/* Bullet A1 : gauche → droite */
.bullet-a1 {
  animation: bulletA1 36s infinite;
  transform-origin: -10px 193px;
}
@keyframes bulletA1 {
  0%,31.9%  { opacity:0; transform:translateX(0); }
  32%       { opacity:1; transform:translateX(0); }
  32.5%     { opacity:0; transform:translateX(330px); }
  32.6%     { opacity:0; transform:translateX(0); }
  33.9%     { opacity:0; transform:translateX(0); }
  34%       { opacity:1; transform:translateX(0); }
  34.5%     { opacity:0; transform:translateX(330px); }
  34.6%     { opacity:0; transform:translateX(0); }
  100%      { opacity:0; }
}
/* Bullet A2 */
.bullet-a2 {
  animation: bulletA2 36s infinite;
  transform-origin: -10px 187px;
}
@keyframes bulletA2 {
  0%,36.4%  { opacity:0; transform:translateX(0); }
  36.5%     { opacity:1; transform:translateX(0); }
  37%       { opacity:0; transform:translateX(330px); }
  37.1%     { opacity:0; transform:translateX(0); }
  38.9%     { opacity:0; transform:translateX(0); }
  39%       { opacity:1; transform:translateX(0); }
  39.5%     { opacity:0; transform:translateX(330px); }
  39.6%     { opacity:0; transform:translateX(0); }
  100%      { opacity:0; }
}
/* Bullet B1 : droite → gauche */
.bullet-b1 {
  animation: bulletB1 36s infinite;
  transform-origin: 430px 190px;
}
@keyframes bulletB1 {
  0%,33.4%  { opacity:0; transform:translateX(0); }
  33.5%     { opacity:1; transform:translateX(0); }
  34%       { opacity:0; transform:translateX(-350px); }
  34.1%     { opacity:0; transform:translateX(0); }
  35.4%     { opacity:0; transform:translateX(0); }
  35.5%     { opacity:1; transform:translateX(0); }
  36%       { opacity:0; transform:translateX(-350px); }
  36.1%     { opacity:0; transform:translateX(0); }
  100%      { opacity:0; }
}
/* Bullet B2 */
.bullet-b2 {
  animation: bulletB2 36s infinite;
  transform-origin: 430px 196px;
}
@keyframes bulletB2 {
  0%,39.9%  { opacity:0; transform:translateX(0); }
  40%       { opacity:1; transform:translateX(0); }
  40.5%     { opacity:0; transform:translateX(-350px); }
  40.6%     { opacity:0; transform:translateX(0); }
  41.9%     { opacity:0; transform:translateX(0); }
  42%       { opacity:1; transform:translateX(0); }
  42.5%     { opacity:0; transform:translateX(-350px); }
  42.6%     { opacity:0; transform:translateX(0); }
  100%      { opacity:0; }
}

/* — Ennemis à terre — */
.sm-ea-down {
  animation: eaDown 36s infinite;
}
@keyframes eaDown {
  0%,44%  { opacity:0; }
  46%     { opacity:1; }
  90%     { opacity:1; }
  94%     { opacity:0; }
  100%    { opacity:0; }
}
.sm-eb-down {
  animation: ebDown 36s infinite;
}
@keyframes ebDown {
  0%,47%  { opacity:0; }
  49%     { opacity:1; }
  90%     { opacity:1; }
  94%     { opacity:0; }
  100%    { opacity:0; }
}

/* — Menottes — */
.cuffs {
  animation: cuffsAnim 36s infinite;
}
@keyframes cuffsAnim {
  0%,52%  { opacity:0; }
  54%     { opacity:1; }
  90%     { opacity:1; }
  94%     { opacity:0; }
  100%    { opacity:0; }
}

/* — Badge victoire — */
.win-badge {
  animation: winBadge 36s infinite;
}
@keyframes winBadge {
  0%,65%  { opacity:0; transform:scale(0.85); }
  67%     { opacity:1; transform:scale(1.05); }
  70%     { transform:scale(1); }
  90%     { opacity:1; }
  94%     { opacity:0; }
  100%    { opacity:0; }
}

/* — Fenêtres clignotantes (ambiance) — */
.win-a1 { animation: winFlicker 3.7s 2s infinite alternate; }
.win-a2 { animation: winFlicker 2.9s 0.5s infinite alternate; }
.win-a3 { animation: winFlicker 4.1s 1.2s infinite alternate; }
.win-b1 { animation: winFlicker 3.3s 0.8s infinite alternate; }
.win-b2 { animation: winFlicker 5.2s 2.4s infinite alternate; }
.win-b3 { animation: winFlicker 2.5s 3.1s infinite alternate; }
@keyframes winFlicker {
  0%,90% { opacity:0.15; }
  95%    { opacity:0.8; }
  100%   { opacity:0.15; }
}

/* — Reduced motion — */
@media (prefers-reduced-motion: reduce) {
  .sm-hero, .sm-enemy-a, .sm-enemy-b, .sm-hero-win,
  .sm-ea-down, .sm-eb-down, .hit-flash, .hit-flash-2,
  .pcar-1, .pcar-2, .muzzle-a, .muzzle-b,
  .bullet-a1, .bullet-a2, .bullet-b1, .bullet-b2,
  .cuffs, .win-badge, .narr,
  .arm-hero-l, .arm-hero-r, .leg-hero-l, .leg-hero-r,
  .arm-ea-l, .arm-ea-r,
  .gyro-1r, .gyro-1b, .gyro-2r, .gyro-2b,
  .win-a1, .win-a2, .win-a3, .win-b1, .win-b2, .win-b3 {
    animation: none;
  }
}

.founder-quote {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.founder-sig {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(212,184,122,0.22);
  object-fit: cover;
  flex-shrink: 0;
}

.founder-sig-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.founder-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.55;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  padding: 8rem 0 11rem;
  background: #0A0A0E;
  position: relative;
  isolation: isolate;
}

/* Top glow gradient */
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 480px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(212,184,122,0.10) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Grain overlay */
.services-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.028;
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.service-card {
  position: relative;
  padding: var(--spacing-xl);
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 138, 255, 0.3);
  box-shadow: var(--shadow-xl);
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--brand-blue), transparent);
  filter: blur(60px);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.service-card:hover .card-glow {
  opacity: 0.2;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.card-icon {
  color: var(--brand-cyan);
}

.card-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.card-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.card-features li {
  padding: var(--spacing-xs) 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

.card-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(79, 138, 255, 0.1);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-md);
  color: var(--brand-blue);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ========================================
   SERVICES — SVC REDESIGN
   ======================================== */

/* ── Section header — editorial 2-col ── */
.svc-head {
  padding: 0 0 0;
  position: relative;
  z-index: 1;
}

.svc-head-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.8rem;
}

.svc-head-label {
  font-family: var(--font-code);
  font-size: 0.65rem;
  color: var(--brand-gold);
  opacity: 0.55;
  letter-spacing: 0.04em;
  margin-bottom: 1.3rem;
}

.svc-head-right {
  display: flex;
  align-items: flex-end;
}

.svc-head-rule {
  height: 1px;
  background: rgba(237, 240, 240, 0.09);
  margin-bottom: 0;
}

.svc-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text-primary);
  margin: 0;
}

/* Gold gradient sur l'em du titre */
.svc-title em {
  font-style: normal;
  background: linear-gradient(135deg, #D4B87A 0%, #F0D99A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-subtitle {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 46ch;
}

@media (min-width: 768px) {
  .svc-head-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: end;
  }
}

/* ── Service list ── */
.svc-list {
  position: relative;
  z-index: 1;
}

/* ── Accent colors per service ── */
.svc-01 { --svc-accent: #D4B87A; }
.svc-02 { --svc-accent: #0AD0C9; }
.svc-03 { --svc-accent: #9B5BF5; }
.svc-04 { --svc-accent: #64A8D0; }
.svc-05 { --svc-accent: #34D058; }

/* ── Service item ── */
.svc-item {
  position: relative;
  padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

/* Ligne d'accent colorée en haut de chaque item — simple, directe */
.svc-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 1px;
  background: var(--svc-accent);
  opacity: 0.7;
}

/* Even rows */
.svc-02,
.svc-04 { }

/* ── Aside (index + category — left column) ── */
.svc-aside {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

.svc-idx {
  font-family: var(--font-code);
  font-size: 0.68rem;
  color: var(--svc-accent);
  opacity: 0.75;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.svc-cat {
  font-size: 0.575rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.38;
}

/* ── Inner layout (mobile: 1-col stack, desktop: 3-col grid) ── */
.svc-inner {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.2rem;
  position: relative;
  z-index: 1;
}

/* ── Body (text side) ── */
.svc-body {
  min-width: 0;
}

.svc-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}

/* ── Line mask for GSAP clip-reveal ── */
.h-line {
  display: block;
  overflow: hidden;
  line-height: 1.1;
}
.h-line > span { display: block; }

.svc-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 44ch;
  text-wrap: pretty;
  margin-bottom: 2rem;
}

.svc-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-link:hover {
  color: var(--svc-accent);
  border-bottom-color: var(--svc-accent);
}

/* ── Visual (mockup panel) ── */
.svc-visual {
  padding: 1.5rem 1.6rem;
  background: rgba(10, 10, 16, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  position: relative;
  z-index: 1;
}

/* ── Mockup colors via svc-accent ── */
.svc-item .mockup-dot   { background: var(--svc-accent); }
.svc-item .mockup-bar-fill { background: var(--svc-accent); }
.svc-item .mockup-label { color: var(--svc-accent); }

/* ── svc-02 : données brutes ── */
.svc-data-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-data-row {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.svc-data-row:last-child { border-bottom: none; }

.svc-data-num {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--svc-accent);
  flex-shrink: 0;
  min-width: 4rem;
  line-height: 1;
}

.svc-data-desc {
  font-size: 0.71rem;
  color: var(--text-secondary);
  opacity: 0.62;
  line-height: 1.4;
}

/* Animation : rows se révèlent en séquence */
.svc-02 .svc-data-row {
  opacity: 0;
  transform: translateX(8px);
  animation: dataRowIn 8s cubic-bezier(0.33,1,0.68,1) infinite;
}
.svc-02 .svc-data-rows .svc-data-row:nth-child(1) { animation-delay: 0s; }
.svc-02 .svc-data-rows .svc-data-row:nth-child(2) { animation-delay: 0.55s; }
.svc-02 .svc-data-rows .svc-data-row:nth-child(3) { animation-delay: 1.10s; }

@keyframes dataRowIn {
  0%   { opacity: 0; transform: translateX(8px); }
  14%  { opacity: 1; transform: none; }
  65%  { opacity: 1; transform: none; }
  80%  { opacity: 0; transform: translateX(-4px); }
  100% { opacity: 0; transform: translateX(8px); }
}

/* ── svc-04 : agent grid ── */
.svc-agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.svc-agent-cell {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.6rem 0.75rem;
  background: rgba(237,240,247,0.04);
  border: 1px solid rgba(237,240,247,0.07);
  border-radius: 4px;
}

.svc-agent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-accent);
  margin-bottom: 0.22rem;
  flex-shrink: 0;
}

.svc-agent-name {
  font-size: 0.7rem;
  color: var(--text-primary);
  opacity: 0.88;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.svc-agent-stat {
  font-family: var(--font-code);
  font-size: 0.575rem;
  color: var(--svc-accent);
  opacity: 0.72;
  letter-spacing: 0.02em;
}

.svc-agent-note {
  font-size: 0.64rem;
  color: var(--text-secondary);
  opacity: 0.38;
  font-style: italic;
  text-align: right;
  margin: 0;
}

/* Animation agents */
.svc-04 .svc-agent-cell { animation: agentCell 2.4s ease-in-out infinite; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(1) { animation-delay: 0s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(2) { animation-delay: 0.6s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(3) { animation-delay: 1.2s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(4) { animation-delay: 1.8s; }

@keyframes agentCell {
  0%, 100% { background: rgba(237,240,247,0.03); }
  50%       { background: rgba(237,240,247,0.08); }
}

.svc-04 .svc-agent-dot { animation: agentDotPulse 2.4s ease-in-out infinite; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(1) .svc-agent-dot { animation-delay: 0s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(2) .svc-agent-dot { animation-delay: 0.6s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(3) .svc-agent-dot { animation-delay: 1.2s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(4) .svc-agent-dot { animation-delay: 1.8s; }

@keyframes agentDotPulse {
  0%, 100% { opacity: 0.38; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.5); box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc-accent) 20%, transparent); }
}

.svc-04 .svc-agent-stat { animation: agentStatFade 2.4s ease-in-out infinite; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(1) .svc-agent-stat { animation-delay: 0s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(2) .svc-agent-stat { animation-delay: 0.6s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(3) .svc-agent-stat { animation-delay: 1.2s; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(4) .svc-agent-stat { animation-delay: 1.8s; }

@keyframes agentStatFade {
  0%, 100% { opacity: 0.28; }
  50%       { opacity: 0.88; }
}

.svc-item .mockup-msg-bot {
  background: color-mix(in srgb, var(--svc-accent) 10%, transparent);
  color: var(--text-secondary);
}

/* Row 04 — agents : each has its own color dot */
.svc-04 .mockup-item:nth-child(1) .mockup-dot { background: #D4B87A; }
.svc-04 .mockup-item:nth-child(2) .mockup-dot { background: #0AD0C9; }
.svc-04 .mockup-item:nth-child(3) .mockup-dot { background: #9B5BF5; }
.svc-04 .mockup-item:nth-child(4) .mockup-dot { background: #34D058; }

/* agent-grid dots — distinct colors */
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(1) .svc-agent-dot { background: #D4B87A; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(2) .svc-agent-dot { background: #0AD0C9; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(3) .svc-agent-dot { background: #9B5BF5; }
.svc-04 .svc-agent-grid .svc-agent-cell:nth-child(4) .svc-agent-dot { background: #34D058; }

/* ── Desktop grid ── */
@media (min-width: 900px) {
  .svc-item { padding: 7rem 0; }

  .svc-aside {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.22rem;
  }

  .svc-inner {
    display: grid;
    grid-template-columns: 4.5rem 1fr 42%;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    row-gap: 0;
    align-items: center;
  }

  /* Even rows: visual col2, body col3 */
  .svc-02 .svc-visual,
  .svc-04 .svc-visual { grid-column: 2; grid-row: 1; }

  .svc-02 .svc-body,
  .svc-04 .svc-body { grid-column: 3; grid-row: 1; }
}

/* ── Mobile ── */
@media (max-width: 899px) {
  .svc-item { padding: 3.5rem 0; }
  .svc-visual { min-height: 130px; }
}

/* ── Lien légal footer ── */
.footer-legal-link {
  color: #8492A6;
  text-decoration: none;
}
.footer-legal-link:hover { color: var(--brand-gold, #D4B87A); }

/* ── Mockup components ── */
.mockup-label {
  font-family: var(--font-body);
  font-size: 0.635rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.9rem;
}

.mockup-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(237,240,247,0.04);
  border: 1px solid rgba(237,240,247,0.07);
  margin-bottom: 0.45rem;
  transition: background 0.2s;
}

.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-name {
  font-size: 0.72rem;
  color: var(--text-secondary);
  flex: 1;
  letter-spacing: 0.01em;
}

.mockup-status {
  font-family: var(--font-code);
  font-size: 0.625rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ── Bar chart mockup ── */
.mockup-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mockup-bar-label {
  font-size: 0.625rem;
  color: var(--text-secondary);
  opacity: 0.5;
}

.mockup-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(237,240,247,0.07);
}

.mockup-bar-fill {
  height: 100%;
  border-radius: 4px;
  transform-origin: left center;
}

/* ── Chat mockup ── */
.mockup-chat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mockup-msg {
  font-size: 0.65rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  line-height: 1.4;
}

.mockup-msg-user {
  align-self: flex-end;
  background: rgba(237,240,247,0.06);
  color: var(--text-secondary);
}

.mockup-msg-bot {
  align-self: flex-start;
  color: var(--text-secondary);
}

/* ── Checkmark icon (svc-01) ── */
.mockup-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--svc-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--svc-accent) 28%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--svc-accent);
}
.mockup-check svg {
  width: 8px;
  height: 8px;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
}

/* Tracé du check synchro avec livrableItem */
.svc-01 .mockup-item:nth-child(1) .mockup-check svg { animation: drawCheck 0.38s cubic-bezier(0.33,1,0.68,1) forwards 0.86s; }
.svc-01 .mockup-item:nth-child(2) .mockup-check svg { animation: drawCheck 0.38s cubic-bezier(0.33,1,0.68,1) forwards 1.58s; }
.svc-01 .mockup-item:nth-child(3) .mockup-check svg { animation: drawCheck 0.38s cubic-bezier(0.33,1,0.68,1) forwards 2.30s; }
.svc-01 .mockup-item:nth-child(4) .mockup-check svg { animation: drawCheck 0.38s cubic-bezier(0.33,1,0.68,1) forwards 3.02s; }

@keyframes drawCheck {
  from { stroke-dashoffset: 14; }
  to   { stroke-dashoffset: 0; }
}

/* ── Animations continues ── */

/* Row 01 — Livrables : séquence en boucle */
.svc-01 .mockup-item {
  opacity: 0;
  transform: translateX(12px);
}
.svc-01 .mockup-item:nth-child(1) { animation: livrableItem 7s cubic-bezier(0.33,1,0.68,1) infinite 0s; }
.svc-01 .mockup-item:nth-child(2) { animation: livrableItem 7s cubic-bezier(0.33,1,0.68,1) infinite 0.72s; }
.svc-01 .mockup-item:nth-child(3) { animation: livrableItem 7s cubic-bezier(0.33,1,0.68,1) infinite 1.44s; }
.svc-01 .mockup-item:nth-child(4) { animation: livrableItem 7s cubic-bezier(0.33,1,0.68,1) infinite 2.16s; }

@keyframes livrableItem {
  0%   { opacity: 0; transform: translateX(12px); }
  12%  { opacity: 1; transform: none; }
  65%  { opacity: 1; transform: none; }
  80%  { opacity: 0; transform: translateX(-6px); }
  100% { opacity: 0; transform: translateX(12px); }
}

/* Row 02 — Barres : spring bounce */
.mockup-bar-row:nth-child(1) .mockup-bar-fill { animation: barLive 4.2s ease-in-out infinite 0s; }
.mockup-bar-row:nth-child(2) .mockup-bar-fill { animation: barLive 4.0s ease-in-out infinite 0.65s; }
.mockup-bar-row:nth-child(3) .mockup-bar-fill { animation: barLive 4.4s ease-in-out infinite 1.3s; }

@keyframes barLive {
  0%   { transform: scaleX(0.04); opacity: 0.12; }
  38%  { transform: scaleX(1.06); opacity: 0.88; }
  46%  { transform: scaleX(0.97); opacity: 0.78; }
  52%  { transform: scaleX(1);    opacity: 0.72; }
  70%  { transform: scaleX(1);    opacity: 0.72; }
  88%  { transform: scaleX(0.04); opacity: 0.12; }
  100% { transform: scaleX(0.04); opacity: 0.12; }
}

/* Row 03 — Chat : indicateur de frappe + messages */
.svc-03 .mockup-msg,
.svc-03 .mockup-typing {
  opacity: 0;
  transform: translateY(7px);
}

.svc-03 .mockup-cm1 { animation: chatMsg 9s ease-out infinite 0s; }
.svc-03 .mockup-typing { animation: chatTyping 9s ease-out infinite 1.4s; }
.svc-03 .mockup-cm2 { animation: chatMsg 9s ease-out infinite 2.2s; }
.svc-03 .mockup-cm3 { animation: chatMsg 9s ease-out infinite 4.4s; }

@keyframes chatMsg {
  0%   { opacity: 0; transform: translateY(7px); }
  9%   { opacity: 1; transform: none; }
  55%  { opacity: 1; transform: none; }
  72%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes chatTyping {
  0%   { opacity: 0; transform: translateY(7px); }
  8%   { opacity: 1; transform: none; }
  18%  { opacity: 1; transform: none; }
  26%  { opacity: 0; transform: translateY(3px); }
  100% { opacity: 0; }
}

/* Dots de frappe */
.mockup-typing {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0.45rem 0.75rem;
  background: color-mix(in srgb, var(--svc-accent, #9B5BF5) 10%, transparent);
  border-radius: var(--radius-md);
  width: fit-content;
}
.mockup-typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--svc-accent, #9B5BF5);
  animation: typingPulse 1.2s ease-in-out infinite;
}
.mockup-typing span:nth-child(1) { animation-delay: 0s; }
.mockup-typing span:nth-child(2) { animation-delay: 0.18s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingPulse {
  0%, 60%, 100% { opacity: 0.25; transform: scale(1); }
  30%            { opacity: 1;    transform: scale(1.4); }
}

/* Row 04 — Agents : glow pulse */
.svc-04 .mockup-dot { animation: agentDot 2.4s ease-in-out infinite; }
.svc-04 .mockup-item:nth-child(1) .mockup-dot { animation-delay: 0s; }
.svc-04 .mockup-item:nth-child(2) .mockup-dot { animation-delay: 0.6s; }
.svc-04 .mockup-item:nth-child(3) .mockup-dot { animation-delay: 1.2s; }
.svc-04 .mockup-item:nth-child(4) .mockup-dot { animation-delay: 1.8s; }

@keyframes agentDot {
  0%, 100% {
    opacity: 0.38;
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    opacity: 1;
    transform: scale(1.45);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--svc-accent, #64A8D0) 20%, transparent);
  }
}

.svc-04 .mockup-item { animation: agentRow 2.4s ease-in-out infinite; }
.svc-04 .mockup-item:nth-child(1) { animation-delay: 0s; }
.svc-04 .mockup-item:nth-child(2) { animation-delay: 0.6s; }
.svc-04 .mockup-item:nth-child(3) { animation-delay: 1.2s; }
.svc-04 .mockup-item:nth-child(4) { animation-delay: 1.8s; }

@keyframes agentRow {
  0%, 100% { background: rgba(237,240,247,0.03); }
  50%       { background: rgba(237,240,247,0.09); }
}

.svc-04 .mockup-status { animation: agentStatus 2.4s ease-in-out infinite; }
.svc-04 .mockup-item:nth-child(1) .mockup-status { animation-delay: 0s; }
.svc-04 .mockup-item:nth-child(2) .mockup-status { animation-delay: 0.6s; }
.svc-04 .mockup-item:nth-child(3) .mockup-status { animation-delay: 1.2s; }
.svc-04 .mockup-item:nth-child(4) .mockup-status { animation-delay: 1.8s; }

@keyframes agentStatus {
  0%, 100% { opacity: 0.28; }
  50%       { opacity: 1; }
}

/* Row 05 — Launch browser */
.launch-browser { display: flex; flex-direction: column; }

.launch-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px 7px 0 0;
  border-bottom: none;
}

.launch-bar-dots { display: flex; gap: 4px; flex-shrink: 0; }

.launch-bar-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.launch-bar-url {
  font-family: var(--font-code);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.38);
  flex: 1;
  text-align: center;
  letter-spacing: 0.02em;
}

.launch-progress-track {
  height: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.launch-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #22C55E 0%, #4ade80 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: launchProgress 10s ease-in-out infinite;
}

.launch-steps {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.07);
  border-top: none;
  border-radius: 0 0 7px 7px;
  overflow: hidden;
}

.launch-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(-6px);
  animation-duration: 10s;
  animation-timing-function: cubic-bezier(0.33,1,0.68,1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-name: launchStep;
}

.launch-step:first-child { border-top: none; }
.launch-s1 { animation-delay: 2.2s; }
.launch-s2 { animation-delay: 2.8s; }
.launch-s3 { animation-delay: 3.4s; }
.launch-s4 { animation-delay: 4.0s; }

.launch-tick {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.launch-tick svg { width: 7px; height: 7px; }

.launch-step span {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.55);
}

@keyframes launchProgress {
  0%    { transform: scaleX(0); opacity: 1; }
  20%   { transform: scaleX(1); opacity: 1; }
  72%   { transform: scaleX(1); opacity: 1; }
  80%   { transform: scaleX(1); opacity: 0; }
  80.1% { transform: scaleX(0); opacity: 0; }
  100%  { transform: scaleX(0); opacity: 0; }
}

@keyframes launchStep {
  0%   { opacity: 0; transform: translateX(-6px); }
  6%   { opacity: 1; transform: translateX(0); }
  68%  { opacity: 1; transform: translateX(0); }
  78%  { opacity: 0; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .svc-01 .mockup-item,
  .svc-01 .mockup-check svg,
  .svc-03 .mockup-msg,
  .svc-03 .mockup-typing,
  .svc-04 .mockup-dot,
  .svc-04 .mockup-item,
  .svc-04 .mockup-status,
  .svc-02 .svc-data-row,
  .svc-04 .svc-agent-cell,
  .svc-04 .svc-agent-dot,
  .svc-04 .svc-agent-stat,
  .launch-step,
  .launch-progress-fill,
  .mockup-bar-fill {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ── Bottom CTA ── */
.eco-bottom {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.055);
  position: relative;
  transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}

.eco-bottom.eco-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.eco-bottom-metrics {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.eco-bottom-metric {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.eco-metric-num {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #D4B87A;
}

.eco-metric-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.5;
  letter-spacing: 0.02em;
}

.eco-bottom-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .eco-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .eco-bottom { padding-top: 2.5rem; }
  .eco-bottom-divider { display: none; }
}

/* ========================================
   WHY ME SECTION
   ======================================== */

.why-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.why-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.why-grid {
  display: grid;
  gap: var(--spacing-lg);
  max-width: 800px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.why-item:hover {
  transform: translateX(8px);
  border-color: rgba(13, 217, 164, 0.4);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.why-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.why-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio-section {
  padding: 7rem 0;
  background: var(--bg-primary);
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.portfolio-item {
  position: relative;
}

.portfolio-card {
  position: relative;
  padding: var(--spacing-xl);
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.portfolio-card:hover::before {
  transform: scaleX(1);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 138, 255, 0.3);
  box-shadow: var(--shadow-xl);
}

.portfolio-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(79, 138, 255, 0.1);
  transition: all var(--transition-base);
}

.portfolio-icon-github {
  background: transparent;
  padding: 0;
}

.portfolio-card:hover .portfolio-icon {
  transform: scale(1.1);
  background: rgba(79, 138, 255, 0.2);
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.portfolio-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.portfolio-tags {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.portfolio-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(79, 138, 255, 0.1);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  background: var(--brand-blue);
  color: var(--text-primary);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  align-self: flex-start;
}

.portfolio-link:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-link svg {
  transition: transform var(--transition-base);
}

.portfolio-link:hover svg {
  transform: translateX(3px);
}

.portfolio-link-disabled {
  background: rgba(107, 114, 128, 0.3);
  border: 1px solid rgba(107, 114, 128, 0.5);
  color: var(--text-secondary);
  cursor: not-allowed;
  box-shadow: none;
}

.portfolio-link-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Portfolio Card Variants */
.portfolio-manylovr:hover {
  border-color: #EC4899;
  box-shadow: var(--shadow-xl);
}

.portfolio-manylovr .portfolio-icon {
  background: rgba(236, 72, 153, 0.1);
}

.portfolio-manylovr:hover .portfolio-icon {
  background: rgba(236, 72, 153, 0.2);
}

.portfolio-nltg:hover {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-xl);
}

.portfolio-nltg .portfolio-icon {
  background: rgba(0, 224, 198, 0.1);
}

.portfolio-nltg:hover .portfolio-icon {
  background: rgba(0, 224, 198, 0.2);
}

.portfolio-couscousbowl:hover {
  border-color: #FFAD33;
  box-shadow: var(--shadow-xl);
}

.portfolio-couscousbowl .portfolio-icon {
  background: rgba(245, 158, 11, 0.1);
}

.portfolio-couscousbowl:hover .portfolio-icon {
  background: rgba(245, 158, 11, 0.2);
}

.portfolio-deblocporte:hover {
  border-color: #0DD9A4;
  box-shadow: var(--shadow-xl);
}

.portfolio-deblocporte .portfolio-icon {
  background: rgba(13, 217, 164, 0.1);
}

.portfolio-deblocporte:hover .portfolio-icon {
  background: rgba(13, 217, 164, 0.2);
}

.portfolio-coming-soon {
  opacity: 0.7;
}

.portfolio-coming-soon .portfolio-icon {
  background: rgba(107, 114, 128, 0.1);
}

.portfolio-coming-soon:hover {
  opacity: 0.8;
  border-color: rgba(107, 114, 128, 0.5);
  box-shadow: var(--shadow-lg);
}

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

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-card {
    padding: var(--spacing-lg);
  }
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: 6rem 0 5.5rem;
  background:
    radial-gradient(ellipse 65% 70% at 25% 50%, rgba(212,184,122,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(184,200,216,0.06) 0%, transparent 50%),
    linear-gradient(rgba(212,184,122,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,184,122,0.045) 1px, transparent 1px),
    var(--bg-primary);
  background-size: auto, auto, 56px 56px, 56px 56px;
  animation: ctaGridDrift 18s linear infinite;
  position: relative;
  overflow: hidden;
}

/* Dérive lente de la grille */
@keyframes ctaGridDrift {
  0%   { background-position: center, center, 0 0, 0 0; }
  100% { background-position: center, center, 56px 56px, 56px 56px; }
}

/* Orbe principal — respiration lente côté gauche */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 18%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212,184,122,0.14) 0%, transparent 65%);
  border-radius: 50%;
  animation: ctaOrbPulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Orbe secondaire — dérive lente côté droit */
.cta-section::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(184,200,216,0.09) 0%, transparent 65%);
  border-radius: 50%;
  animation: ctaOrbDrift 11s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes ctaOrbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
  50%       { transform: translate(-50%, -50%) scale(1.18); opacity: 1;   }
}

@keyframes ctaOrbDrift {
  0%, 100% { transform: translateY(0)    scale(1);    opacity: 0.6; }
  33%       { transform: translateY(-28px) scale(1.08); opacity: 0.9; }
  66%       { transform: translateY(18px)  scale(0.95); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-section        { animation: none; }
  .cta-section::before,
  .cta-section::after { animation: none; }
}

.cta-box {
  position: relative;
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Desktop — split layout */
@media (min-width: 769px) {
  .cta-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
  .cta-text { flex: 1; }
  .cta-actions { flex-shrink: 0; align-items: flex-start; align-self: center; }
}

.cta-text {}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  opacity: 0.65;
  line-height: 1.55;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.cta-secondary-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cta-link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cta-link-action:hover { opacity: 0.9; }

.cta-action-sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.75rem;
}

.contact-info {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.35;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.info-divider {
  color: rgba(255, 255, 255, 0.15);
}

/* ========================================
   REFERRAL SECTION
   ======================================== */

.referral-section {
  padding: 4.5rem 0;
  /* Balayage horizontal : or depuis gauche → argent depuis droite */
  background:
    radial-gradient(ellipse 60% 90% at 0% 50%, rgba(212,184,122,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 55% 80% at 100% 50%, rgba(184,200,216,0.09) 0%, transparent 55%),
    #0C0C14;
  border-top: 1px solid rgba(212,184,122,0.09);
  border-bottom: 1px solid rgba(184,200,216,0.06);
}

.referral-inner {
  text-align: center;
}

.referral-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.referral-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: #060609;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--brand-blue);
}

.footer-brand p {
  color: var(--text-secondary);
  font-family: var(--font-code);
  font-size: 0.875rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-column ul li a:hover {
  color: var(--brand-cyan);
}

.footer-founder-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: var(--spacing-md);
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.38;
}
.footer-founder-note img {
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}
.footer-founder-note strong {
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: var(--spacing-xs);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

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

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--spacing-2xl) 0;
    padding-top: 140px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-box {
    padding: 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .stat-item {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-content {
    text-align: center;
  }
}

/* Large screens */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .hero-content {
    gap: var(--spacing-3xl);
  }

  .hero-title .title-line-2 {
    font-size: 5rem;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-gradient {
  color: var(--brand-blue);
}

.glow-effect {
  box-shadow: var(--shadow-lg);
}

.glassmorphism {
  background: rgba(31, 41, 55, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   LOADING & ANIMATIONS
   ======================================== */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s var(--ease-out-cubic);
}

/* ========================================
   AOS LIBRARY OVERRIDES
   ======================================== */

[data-aos] {
  pointer-events: auto;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 40px, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-40px, 0, 0);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-base);
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background: #20BA5A;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {
  /* Larger touch targets */
  .btn-primary,
  .btn-secondary,
  .nav-link,
  .portfolio-link,
  .btn-primary-nav,
  .btn-cta-nav,
  .btn-phone-nav {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  
  /* Ajustement spécifique pour les boutons de la navbar en mobile */
  .navbar .btn-primary-nav {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    justify-content: center;
  }
  
  /* Improved mobile navigation */
  .mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem;
  }
  
  /* Better spacing on mobile */
  .hero-cta {
    gap: var(--spacing-md);
  }
  
  .hero-buttons {
    width: 100%;
  }
  
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  /* Improved card spacing */
  .service-card,
  .portfolio-card {
    padding: var(--spacing-lg);
  }
  
  /* Better text readability */
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  /* Optimized code section for mobile */
  .code-window {
    margin: 0 -1rem;
    border-radius: 0;
  }
  
  .code-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Compact footer on mobile */
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-sm);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }

  .footer-brand h3 {
    font-size: 1.1rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
  }

  .footer-column h4 {
    font-size: 0.8rem;
    margin-bottom: var(--spacing-xs);
  }

  .footer-column ul li {
    margin-bottom: 0.2rem;
  }

  .footer-column ul li a {
    font-size: 0.75rem;
  }

  .footer-bottom {
    padding-top: var(--spacing-sm);
    font-size: 0.75rem;
  }

  .footer-bottom p {
    margin-bottom: 0.15rem;
  }
  
  /* Improved contact info */
  .contact-info {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .info-divider {
    display: none;
  }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-hero {
  padding: calc(var(--spacing-3xl) + 80px) 0 var(--spacing-3xl);
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 138, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.contact-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.contact-info-card,
.contact-form-card {
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  backdrop-filter: blur(12px);
}

.contact-info-title,
.contact-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.contact-form-subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  font-size: 0.95rem;
}

.contact-info-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 138, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--brand-blue);
}

.contact-info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-info-content a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-info-content a:hover {
  color: var(--brand-cyan);
}

.contact-info-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-social {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-social h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 138, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--brand-blue);
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--brand-blue);
  color: white;
  transform: translateY(-2px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: rgba(10, 15, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(79, 138, 255, 0.1);
}

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

.error-message {
  color: #FF5A5A;
  font-size: 0.875rem;
  display: none;
}

.form-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background: rgba(13, 217, 164, 0.1);
  border: 1px solid rgba(13, 217, 164, 0.3);
  color: #0DD9A4;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FF5A5A;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: 9999px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-submit .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Contact Page */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: calc(var(--spacing-2xl) + 80px) 0 var(--spacing-2xl);
  }
  
  .contact-info-card,
  .contact-form-card {
    padding: var(--spacing-lg);
  }
  
  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: var(--spacing-md);
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   EASTER EGGS
   ======================================== */

/* #2 — Konami overlay */
#konami-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,14,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: konamiIn 0.4s cubic-bezier(0.33,1,0.68,1) both;
  overflow: hidden;
}
#konami-overlay.konami-out {
  animation: konamiOut 0.5s ease forwards;
}
@keyframes konamiIn  { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
@keyframes konamiOut { to   { opacity:0; transform:scale(1.04); } }

.konami-inner {
  text-align: center;
  z-index: 2;
  position: relative;
}
.konami-emoji {
  display: block;
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: konEmoji 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}
@keyframes konEmoji { from { transform:scale(0) rotate(-20deg); } to { transform:scale(1) rotate(0); } }

.konami-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #D4B87A;
  margin-bottom: 0.5rem;
}
.konami-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0.75;
}

/* Confettis konami */
.konami-confetti {
  position: absolute;
  top: -12px;
  animation: confettiFall 2.8s ease-in forwards;
  z-index: 1;
  pointer-events: none;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg);       opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* #3 — Toast logo */
#ee-toast {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: rgba(20,20,28,0.96);
  border: 1px solid rgba(212,184,122,0.3);
  color: #EDF0F0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: none;
}
#ee-toast.ee-toast-in {
  animation: toastIn 0.35s cubic-bezier(0.33,1,0.68,1) forwards;
}
#ee-toast.ee-toast-out {
  animation: toastOut 0.4s ease forwards;
}
@keyframes toastIn  { to { opacity:1; transform:translateX(-50%) translateY(0); } }
@keyframes toastOut { to { opacity:0; transform:translateX(-50%) translateY(-8px); } }

/* #4 — Bulle founder */
#ee-bubble {
  position: absolute;
  background: rgba(20,20,28,0.97);
  border: 1px solid rgba(212,184,122,0.28);
  color: #EDF0F0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
#ee-bubble::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: rgba(212,184,122,0.28);
}
#ee-bubble.ee-bubble-in  { animation: bubbleIn  0.25s cubic-bezier(0.33,1,0.68,1) forwards; }
#ee-bubble.ee-bubble-out { animation: bubbleOut 0.3s ease forwards; }
@keyframes bubbleIn  { from { opacity:0; transform:translateX(-6px); } to { opacity:1; transform:translateX(0); } }
@keyframes bubbleOut { to   { opacity:0; transform:translateX(4px); } }

/* #6 — Curseur custom CTA */


/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .navbar,
  .scroll-indicator,
  .cta-section,
  .footer,
  .whatsapp-float {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* ========================================
   NAVBAR — DUAL CTA (Hyper V3)
   ======================================== */

/* CTA principal navbar — "Démarrer un projet" */
.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.45) 0%, rgba(180, 140, 65, 0.22) 100%);
  border: 1px solid rgba(212, 184, 122, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--brand-gold);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 18px rgba(212,184,122,0.14);
}

.btn-cta-nav:hover {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.62) 0%, rgba(180, 140, 65, 0.38) 100%);
  border-color: rgba(212, 184, 122, 0.60);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 24px rgba(212,184,122,0.22);
}

/* Bouton téléphone navbar — ghost, discret */
.btn-phone-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-phone-nav:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.20);
}

@media (max-width: 960px) {
  .btn-phone-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .btn-cta-nav {
    font-size: 0.8rem;
    padding: 0.45rem 0.875rem;
  }
}

/* ========================================
   METRICS SECTION (remplace stat-strip)
   ======================================== */

.marquee-section {
  overflow: hidden;
  padding: 1.75rem 0;
  background: #07070C;
  border-top: 1px solid rgba(212, 184, 122, 0.12);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.marquee-track {
  display: flex;
  animation: marquee-scroll 28s linear infinite;
  -webkit-animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

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

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  white-space: nowrap;
}

.mw-marpeap {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: #EDF0F0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.mw-client {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.mw-sep {
  color: rgba(212, 184, 122, 0.45);
  font-size: 1rem;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ========================================
   ECO-CARDS — LAYOUT VARIATIONS (Hyper V3)
   ======================================== */

/* Card 2 inversée : mockup à gauche, texte à droite */
@media (min-width: 769px) {
  .eco-card-body--reversed {
    grid-template-columns: 280px 1fr;
    direction: rtl;
  }

  .eco-card-body--reversed > * {
    direction: ltr;
  }

  .eco-card-body--reversed .eco-card-mockup {
    border-left: none;
    border-right: 1px solid color-mix(in srgb, var(--card-accent) 8%, transparent);
  }

  /* Card 4 : mockup plus large pour mieux voir les agents */
  .eco-card-body--wide-mockup {
    grid-template-columns: 1fr 360px;
  }
}


/* ============================================================
   PAGE — PACKS (packs.html)
   ============================================================ */

/* Design tokens */
:root {
  --p-surface: rgba(255,255,255,0.03);
  --p-border: rgba(255,255,255,0.06);
  --p-text2: rgba(240,240,240,0.6);
  --p-text3: rgba(240,240,240,0.45);
}

/* Hero packs */
.hero-packs {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-packs-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.40;
  z-index: 0;
  pointer-events: none;
}

.hero-packs-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg,
    rgba(10,10,14,0.50) 0%,
    rgba(10,10,14,0.28) 45%,
    rgba(10,14,26,0.72) 100%
  );
  z-index: 1;
}

.hero-packs .container {
  position: relative;
  z-index: 2;
}

.hero-packs .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 18ch;
}

.hero-packs .hero-subtitle {
  max-width: 520px;
  margin-bottom: 0;
}

.hero-packs .hero-proof {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--p-text3);
  display: flex;
  gap: 24px;
}

.hero-packs .hero-proof span {
  color: var(--text-primary, #EDF0F7);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.pricing-section {
  padding-bottom: 100px;
  background: var(--bg-section-alt, #0A0E1A);
}

/* Pack list — editorial rows */
.packs-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
}

.pack-row {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  padding: 2.5rem 0;
}

.pack-row:first-child {
  border-top: 1px solid rgba(255,255,255,0.055);
}

.pack-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--pack-color, #D4B87A);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.pack-row:hover::before {
  opacity: 1;
}

.pack-row::after {
  content: '';
  position: absolute;
  left: -5%; top: -50%;
  width: 35%; height: 200%;
  background: radial-gradient(ellipse, var(--pack-glow, rgba(212,184,122,0.08)) 0%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.pack-row:hover::after {
  opacity: 1;
}

.pack-row-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.055;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pack-row:hover .pack-row-bg-video {
  opacity: 0.13;
}

.pack-row-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr 250px;
  gap: 0 2rem;
  align-items: center;
}

.pack-row-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pack-color, rgba(237,240,247,0.2));
  opacity: 0.45;
  padding-top: 0.15rem;
  align-self: start;
}

.pack-row-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pack-row-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pack-row-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #EDF0F7);
  line-height: 1.1;
}

.pack-row-badge {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pack-color, #D4B87A) 12%, transparent);
  color: var(--pack-color, #D4B87A);
  border: 1px solid color-mix(in srgb, var(--pack-color, #D4B87A) 28%, transparent);
}

.pack-row-tagline {
  font-size: 0.875rem;
  color: rgba(237,240,247,0.52);
  font-weight: 400;
  line-height: 1.4;
}

.pack-row-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  margin-top: 0.25rem;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.pack-row-features li {
  font-size: 0.775rem;
  color: rgba(237,240,247,0.38);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pack-row-features li::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pack-color, rgba(237,240,247,0.3));
  opacity: 0.55;
  flex-shrink: 0;
}

.pack-row-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.pack-row-price-block {
  text-align: right;
}

.pack-row-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary, #EDF0F7);
  line-height: 1;
}

.pack-row-price-old {
  font-size: 0.8rem;
  color: rgba(237,240,247,0.25);
  text-decoration: line-through;
  font-family: 'Space Grotesk', sans-serif;
  display: block;
  margin-top: 0.1rem;
}

.pack-row-price-sub {
  font-size: 0.7rem;
  color: rgba(237,240,247,0.35);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.2rem;
}

.pack-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 1.1rem;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: color-mix(in srgb, var(--pack-color, #D4B87A) 14%, transparent);
  color: var(--pack-color, #D4B87A);
  border: 1px solid color-mix(in srgb, var(--pack-color, #D4B87A) 26%, transparent);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.pack-row-cta:hover {
  background: color-mix(in srgb, var(--pack-color, #D4B87A) 24%, transparent);
  border-color: color-mix(in srgb, var(--pack-color, #D4B87A) 48%, transparent);
  transform: translateY(-1px);
}

.pack-row-cta svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.pack-row-info {
  font-size: 0.7rem;
  color: rgba(237,240,247,0.26);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  transition: color 0.16s ease;
}

.pack-row-info:hover {
  color: rgba(237,240,247,0.52);
}

/* Per-pack color vars */
.pack-row-mone      { --pack-color: #E8C547; --pack-glow: rgba(232,197,71,0.09); }
.pack-row-mcampaign { --pack-color: #0AD0C9; --pack-glow: rgba(10,208,201,0.09); }
.pack-row-mneural   { --pack-color: #9B5BF5; --pack-glow: rgba(155,91,245,0.09); }
.pack-row-mcorp     { --pack-color: #D4B87A; --pack-glow: rgba(212,184,122,0.09); }
.pack-row-mlaunch   { --pack-color: #22C55E; --pack-glow: rgba(34,197,94,0.09); }

@media (max-width: 900px) {
  .pack-row-inner {
    grid-template-columns: 56px 1fr 210px;
    gap: 0 1.5rem;
  }
}

@media (max-width: 680px) {
  .pack-row { padding: 1.75rem 0; }
  .pack-row-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem 0;
  }
  .pack-row-num { display: none; }
  .pack-row-pricing {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .pack-row-price { font-size: 1.35rem; }
  .pack-row-price-block { text-align: left; }
  .pack-row-price-old { text-align: left; }
  .pack-row-price-sub { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .pack-row-bg-video,
  .pack-row::before,
  .pack-row::after,
  .pack-row-cta { transition: none; }
}

/* ── Drawer / Panel modal (packs.html) ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
}

.modal.active {
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.65);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal.active .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(540px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.modal.active .modal-panel {
  transform: translateX(0);
}

.modal-handle {
  display: none;
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 0.85rem auto 0;
  flex-shrink: 0;
}

.modal-hero {
  flex-shrink: 0;
  position: relative;
  padding: 2rem 2rem 1.75rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.modal-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(to top, var(--modal-bg, #0b0f1a) 0%, transparent 100%);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.modal-close svg {
  width: 12px;
  height: 12px;
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.7;
  width: fit-content;
  margin-bottom: 0.7rem;
}

.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: #fff;
  margin-bottom: 0.45rem;
}

.modal-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  max-width: 34ch;
}

.modal-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.modal-price-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.modal-price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.35;
}

.modal-price-old {
  text-decoration: line-through;
  color: rgba(255,255,255,0.3);
  font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-left: 0.25rem;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.modal-body::-webkit-scrollbar { width: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.modal-block {
  margin-bottom: 1.75rem;
}

.modal-block-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.65rem;
}

.modal-block-text {
  font-size: 0.875rem;
  color: rgba(237,240,247,0.68);
  line-height: 1.7;
}

.modal-agents {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.65rem 0;
}

.modal-agent {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.45rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.055);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

.modal-agent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-features {
  display: flex;
  flex-direction: column;
}

.modal-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.045);
  font-size: 0.86rem;
  color: rgba(237,240,247,0.72);
  line-height: 1.5;
}

.modal-feature:last-child { border-bottom: none; }

.modal-feature-check {
  flex-shrink: 0;
  margin-top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-feature-check svg {
  width: 9px;
  height: 9px;
}

.modal-feature strong {
  color: rgba(237,240,247,0.93);
  font-weight: 600;
}

.modal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.modal-pill {
  font-size: 0.72rem;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.48);
}

.modal-footer {
  flex-shrink: 0;
  padding: 1.1rem 1.75rem 1.35rem;
  border-top: 1px solid rgba(255,255,255,0.055);
  background: var(--modal-bg, #0b0f1a);
}

.modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 2rem;
  border-radius: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  cursor: pointer;
  border: none;
}

.modal-cta:hover {
  opacity: 0.87;
  transform: translateY(-1px);
}

.modal-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Per-product panel backgrounds */
.modal-panel-mone {
  --modal-bg: #0e0c05;
  background:
    radial-gradient(ellipse 140% 55% at 90% -5%, rgba(232,197,71,0.20) 0%, transparent 52%),
    linear-gradient(175deg, #1c1507 0%, #0e0c05 38%);
}

.modal-panel-mcampaign {
  --modal-bg: #031e25;
  background:
    radial-gradient(ellipse 140% 55% at 90% -5%, rgba(10,208,201,0.18) 0%, transparent 52%),
    linear-gradient(175deg, #082e38 0%, #031e25 38%);
}

.modal-panel-mneural {
  --modal-bg: #0d0618;
  background:
    radial-gradient(ellipse 140% 55% at 90% -5%, rgba(155,91,245,0.22) 0%, transparent 52%),
    linear-gradient(175deg, #190d2e 0%, #0d0618 38%);
}

.modal-panel-mcorp {
  --modal-bg: #060e1e;
  background:
    radial-gradient(ellipse 140% 55% at 90% -5%, rgba(212,184,122,0.18) 0%, transparent 52%),
    linear-gradient(175deg, #0c172e 0%, #060e1e 38%);
}

.modal-panel-mlaunch {
  --modal-bg: #030a05;
  background:
    radial-gradient(ellipse 140% 55% at 90% -5%, rgba(34,197,94,0.18) 0%, transparent 52%),
    linear-gradient(175deg, #071610 0%, #030a05 38%);
}

/* CTA colors */
.modal-cta-mone       { background: #E8C547; color: #06060E; }
.modal-cta-mcampaign  { background: #0AD0C9; color: #04252F; }
.modal-cta-mneural    { background: #9B5BF5; color: #fff; }
.modal-cta-mcorp      { background: #D4B87A; color: #120e02; }
.modal-cta-mlaunch    { background: #22C55E; color: #030f05; }

/* Check bubble colors */
.check-mone      { background: rgba(232,197,71,0.14); color: #E8C547; }
.check-mcampaign { background: rgba(10,208,201,0.14); color: #0AD0C9; }
.check-mneural   { background: rgba(155,91,245,0.14); color: #9B5BF5; }
.check-mcorp     { background: rgba(212,184,122,0.14); color: #D4B87A; }
.check-mlaunch   { background: rgba(34,197,94,0.14); color: #22C55E; }

/* Modal tag colors (derived from panel) */
.modal-panel-mone .modal-tag      { color: #E8C547; }
.modal-panel-mcampaign .modal-tag { color: #0AD0C9; }
.modal-panel-mneural .modal-tag   { color: #9B5BF5; }
.modal-panel-mcorp .modal-tag     { color: #D4B87A; }
.modal-panel-mlaunch .modal-tag   { color: #22C55E; }

/* Modal price-value colors */
.modal-panel-mone .modal-price-value      { color: #E8C547; }
.modal-panel-mcampaign .modal-price-value { color: #0AD0C9; }
.modal-panel-mneural .modal-price-value   { color: #9B5BF5; }
.modal-panel-mcorp .modal-price-value     { color: #D4B87A; }
.modal-panel-mlaunch .modal-price-value   { color: #22C55E; }

/* Modal subtitle colors */
.modal-subtitle-mone     { color: #E8C547; }
.modal-subtitle-mcampaign { color: #0AD0C9; }
.modal-subtitle-mneural  { color: #9B5BF5; }
.modal-subtitle-mcorp    { color: #D4B87A; }
.modal-subtitle-mlaunch  { color: #22C55E; }

/* Agent dots — M-CORP */
.modal-panel-mcorp .modal-agent:nth-child(1) .modal-agent-dot { background: #D4B87A; }
.modal-panel-mcorp .modal-agent:nth-child(1) strong { color: #D4B87A; }
.modal-panel-mcorp .modal-agent:nth-child(2) .modal-agent-dot { background: #10b981; }
.modal-panel-mcorp .modal-agent:nth-child(2) strong { color: #10b981; }
.modal-panel-mcorp .modal-agent:nth-child(3) .modal-agent-dot { background: #f59e0b; }
.modal-panel-mcorp .modal-agent:nth-child(3) strong { color: #f59e0b; }
.modal-panel-mcorp .modal-agent:nth-child(4) .modal-agent-dot { background: #8b5cf6; }
.modal-panel-mcorp .modal-agent:nth-child(4) strong { color: #8b5cf6; }
.modal-panel-mcorp .modal-agent:nth-child(5) .modal-agent-dot { background: #ef4444; }
.modal-panel-mcorp .modal-agent:nth-child(5) strong { color: #ef4444; }

/* Mobile — bottom sheet */
@media (max-width: 640px) {
  .modal-panel {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 88vh;
    border-radius: 1.1rem 1.1rem 0 0;
    transform: translateY(105%);
  }

  .modal.active .modal-panel {
    transform: translateY(0);
  }

  .modal-handle { display: block; }

  .modal-hero {
    padding: 1.5rem 1.5rem 1.25rem;
    min-height: 160px;
  }

  .modal-body  { padding: 1.25rem 1.5rem; }
  .modal-footer { padding: 1rem 1.5rem 1.6rem; }
}


/* ============================================================
   PAGE — BOUTIQUE (boutique.html)
   ============================================================ */

.success-banner {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background: rgba(10,15,28,0.96);
  border: 1px solid rgba(34,197,94,0.35);
  padding: 0.875rem 1.5rem;
  border-radius: 14px;
  backdrop-filter: blur(14px);
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.success-banner.visible { display: flex; }

.success-banner-msg {
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,184,122,0.12);
  border: 1px solid rgba(212,184,122,0.35);
  color: #D4B87A;
  padding: 0.5rem 1.125rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-download:hover { background: rgba(212,184,122,0.2); border-color: rgba(212,184,122,0.55); }
.btn-download svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Boutique hero */
.boutique-hero {
  padding: 9rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.boutique-hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.boutique-hero-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 65%, rgba(212,184,122,0.10) 0%, transparent 30%),
    linear-gradient(180deg, #080C18 0%, #0d1326 70%);
  opacity: 0.88;
  z-index: 1;
}

.boutique-hero .container {
  position: relative;
  z-index: 2;
}

.boutique-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 0.875rem;
}

.boutique-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.48);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Proof strip */
.proof-strip {
  padding: 1.75rem 0 0;
}

.proof-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proof-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.proof-sep { color: rgba(255,255,255,0.1); font-size: 0.6875rem; }

/* Bento grid section */
.boutique-grid-section {
  padding: 3rem 0 6rem;
  background: linear-gradient(180deg, #0d1326 0%, #090f1c 50%, #080C18 100%);
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Base skill card */
.skill-card {
  border-radius: 1rem;
  padding: 1.625rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.18s ease;
  position: relative;
  overflow: hidden;
}

.skill-card:hover { transform: translateY(-2px); }

.boutique-card-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
}

.skill-card > *:not(.boutique-card-bg-video) {
  position: relative;
  z-index: 1;
}

.skill-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.skill-card--wide-right {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.skill-card-content { display: flex; flex-direction: column; height: 100%; }

/* Card atmospheres */
.skill-card--art {
  background: radial-gradient(ellipse 80% 60% at 15% 20%, rgba(139,92,246,0.18) 0%, transparent 55%), linear-gradient(155deg, #111828 0%, #0d1220 100%);
  border: 1px solid rgba(139,92,246,0.18);
}
.skill-card--art:hover { border-color: rgba(139,92,246,0.35); }

.skill-card--articles {
  background: radial-gradient(ellipse 80% 60% at 85% 15%, rgba(251,146,60,0.15) 0%, transparent 55%), linear-gradient(155deg, #131520 0%, #0e1018 100%);
  border: 1px solid rgba(251,146,60,0.16);
}
.skill-card--articles:hover { border-color: rgba(251,146,60,0.32); }

.skill-card--design {
  background:
    radial-gradient(ellipse 70% 60% at 10% 20%, rgba(34,211,238,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(34,211,238,0.08) 0%, transparent 50%),
    linear-gradient(155deg, #0f1a22 0%, #0b1218 100%);
  border: 1px solid rgba(34,211,238,0.18);
}
.skill-card--design:hover { border-color: rgba(34,211,238,0.34); }

.skill-card--canvas {
  background: radial-gradient(ellipse 80% 60% at 80% 80%, rgba(244,114,182,0.14) 0%, transparent 55%), linear-gradient(155deg, #131220 0%, #0f0e1a 100%);
  border: 1px solid rgba(244,114,182,0.15);
}
.skill-card--canvas:hover { border-color: rgba(244,114,182,0.30); }

.skill-card--cycle {
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(52,211,153,0.14) 0%, transparent 55%), linear-gradient(155deg, #0d1a16 0%, #0a1210 100%);
  border: 1px solid rgba(52,211,153,0.15);
}
.skill-card--cycle:hover { border-color: rgba(52,211,153,0.30); }

.skill-card--gif {
  background: radial-gradient(ellipse 80% 60% at 80% 30%, rgba(99,179,237,0.15) 0%, transparent 55%), linear-gradient(155deg, #0e1620 0%, #0a121c 100%);
  border: 1px solid rgba(99,179,237,0.15);
}
.skill-card--gif:hover { border-color: rgba(99,179,237,0.30); }

.skill-card--seo {
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(212,184,122,0.16) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(212,184,122,0.08) 0%, transparent 50%),
    linear-gradient(155deg, #171410 0%, #110f09 100%);
  border: 1px solid rgba(212,184,122,0.22);
}
.skill-card--seo:hover { border-color: rgba(212,184,122,0.40); }

/* Card internals */
.skill-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.26);
  letter-spacing: 0.04em;
  margin-bottom: 0.875rem;
  display: block;
}

.skill-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.skill-card--wide .skill-card-title,
.skill-card--wide-right .skill-card-title {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.skill-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.skill-card--wide .skill-card-desc,
.skill-card--wide-right .skill-card-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.56);
}

.skill-card-artifact {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.02em;
  margin-bottom: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-card-spacer { flex: 1; }

.btn-details {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: -0.01em;
  text-align: left;
  margin-bottom: 1.25rem;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-details:hover { color: rgba(255,255,255,0.68); }
.btn-details-arrow { transition: transform 0.15s ease; }
.btn-details:hover .btn-details-arrow { transform: translateX(2px); }

.skill-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.skill-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.skill-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.32);
  margin-left: 0.2rem;
}

.btn-buy {
  background: #D4B87A;
  color: #0A0A0E;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn-buy:hover { opacity: 0.88; }

/* Artefact visuals */
.skill-card-visual {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  padding: 1.25rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.artefact-mode-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 0.875rem;
  align-items: baseline;
}

.artefact-mode-cmd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: rgba(34,211,238,0.7);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.artefact-mode-val {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
}

.artefact-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0.25rem 0;
}

.artefact-label-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.artefact-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-official  { background: rgba(212,184,122,0.18); color: rgba(212,184,122,0.9); }
.badge-supported { background: rgba(52,211,153,0.15);  color: rgba(52,211,153,0.8); }
.badge-framework { background: rgba(99,179,237,0.15);  color: rgba(99,179,237,0.8); }
.badge-observed  { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.42); }

.artefact-label-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.3;
}

/* Boutique modal — centered overlay (scoped under .modal-overlay) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,8,18,0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-overlay .modal-panel {
  background: #0f1628;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.125rem;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}

.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }

.modal-overlay .modal-header {
  padding: 1.75rem 1.75rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-overlay .modal-header-left { flex: 1; }

.modal-overlay .modal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
  text-transform: none;
  opacity: 1;
  background: none;
}

.modal-overlay .modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.modal-overlay .modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: static;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-overlay .modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

.modal-overlay .modal-body { padding: 1.5rem 1.75rem; flex: unset; overflow-y: unset; }

.modal-intro { font-size: 0.9375rem; color: rgba(255,255,255,0.62); line-height: 1.6; margin-bottom: 1.5rem; }

.modal-video-wrap {
  display: none;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(99,179,237,0.18);
  background: #0A0B0D;
  position: relative;
}

.modal-video-wrap.visible { display: block; }

.modal-video-wrap video {
  width: 100%;
  display: block;
  border-radius: 7px 7px 0 0;
  cursor: zoom-in;
}

.modal-video-caption {
  padding: 0.4rem 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: rgba(99,179,237,0.6);
  background: rgba(99,179,237,0.04);
  border-top: 1px solid rgba(99,179,237,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.btn-video-expand {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(99,179,237,0.7);
  font-size: 0.6875rem;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  transition: color 0.15s;
}

.btn-video-expand:hover { color: rgba(99,179,237,1); }

.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.video-lightbox.open { display: flex; }

.video-lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.video-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox-close:hover { background: rgba(255,255,255,0.18); }

.modal-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 0.75rem;
}

.modal-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.modal-list li::before { content: '–'; position: absolute; left: 0; color: rgba(255,255,255,0.22); }

.modal-overlay .modal-footer {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: unset;
  background: none;
}

.modal-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.modal-price span { font-size: 0.8rem; font-weight: 400; color: rgba(255,255,255,0.38); margin-left: 0.2rem; }

.btn-buy-modal {
  background: #D4B87A;
  color: #0A0A0E;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn-buy-modal:hover { opacity: 0.88; }

.modal-overlay .modal-panel[data-accent="art"]      { border-color: rgba(139,92,246,0.28); }
.modal-overlay .modal-panel[data-accent="articles"] { border-color: rgba(251,146,60,0.26); }
.modal-overlay .modal-panel[data-accent="design"]   { border-color: rgba(34,211,238,0.26); }
.modal-overlay .modal-panel[data-accent="canvas"]   { border-color: rgba(244,114,182,0.24); }
.modal-overlay .modal-panel[data-accent="cycle"]    { border-color: rgba(52,211,153,0.24); }
.modal-overlay .modal-panel[data-accent="gif"]      { border-color: rgba(99,179,237,0.24); }
.modal-overlay .modal-panel[data-accent="seo"]      { border-color: rgba(212,184,122,0.30); }

/* Boutique responsive */
@media (max-width: 900px) {
  .boutique-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card--wide,
  .skill-card--wide-right {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .skill-card--wide-right { grid-column: span 2; }
  .skill-card-visual { display: none; }
}

@media (max-width: 640px) {
  .boutique-grid { grid-template-columns: 1fr; }
  .skill-card--wide,
  .skill-card--wide-right { grid-column: 1; }
  .modal-overlay .modal-footer { flex-direction: column; align-items: flex-start; }
  .btn-buy-modal { width: 100%; text-align: center; }
  .proof-strip-inner { gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .skill-card,
  .modal-overlay .modal-panel,
  .modal-overlay { transition: none; }
}


/* ============================================================
   PAGE — FAQ (faq.html)
   ============================================================ */

.faq-hero {
  text-align: center;
  padding: 8rem 2rem 3rem;
}

.faq-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.faq-hero p {
  color: #8492A6;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #D4B87A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(79, 138, 255, 0.2);
}

.faq-item {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(79, 138, 255, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #f1f5f9;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #D4B87A;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: #D4B87A;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #8492A6;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer-inner a {
  color: #D4B87A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-cta {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 1rem;
}

.faq-cta p {
  color: #8492A6;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.faq-cta a {
  display: inline-block;
  background: #D4B87A;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.2s;
}

.faq-cta a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .faq-hero h1 { font-size: 1.8rem; }
  .faq-container { padding: 0 1.25rem 3rem; }
  .faq-question { font-size: 0.95rem; padding: 1rem 1.25rem; }
}


/* ============================================================
   PAGE — CONTACT (contact.html)
   ============================================================ */

.contact-hero {
  padding: 9rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.20;
  z-index: 0;
  pointer-events: none;
}

.contact-hero-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 55%, rgba(212, 184, 122, 0.10) 0%, transparent 65%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.52) 0%, rgba(8, 12, 24, 0.30) 40%, rgba(8, 12, 24, 0.72) 100%);
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.contact-hero-subtitle {
  font-size: 1.2rem;
  color: #8492A6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section {
  padding: 2rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.contact-form-card {
  padding: 0 0 0 3.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-card {
  padding: 0 3rem 0 0;
}

@media (max-width: 1024px) {
  .contact-form-card {
    padding: 2.5rem 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .contact-info-card {
    padding: 0;
  }
}

html[data-theme="light"] .contact-form-card {
  border-left-color: rgba(28, 24, 20, 0.10);
}

@media (max-width: 1024px) {
  html[data-theme="light"] .contact-form-card {
    border-top-color: rgba(28, 24, 20, 0.10);
  }
}

.contact-info-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8492A6;
  margin-bottom: 1.75rem;
}

.contact-form-title {
  font-size: 1.375rem;
  margin-bottom: 1.75rem;
  color: #fff;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.contact-availability {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-direct-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.contact-direct-link:hover { color: #D4B87A; }

.contact-direct-location {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 0.25rem;
}

.contact-social-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  margin-bottom: 0.65rem;
}

.contact-social-row {
  display: flex;
  gap: 0.625rem;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.50);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.contact-social-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 184, 122, 0.38);
  color: #D4B87A;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 400;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.48);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.5rem;
  color: #f3f4f6;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, background 0.15s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(212, 184, 122, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

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

.form-select-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.5rem;
  color: #f3f4f6;
  text-align: left;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-select-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.form-select-value {
  flex: 1;
  color: rgba(255, 255, 255, 0.55);
}

.form-select-value.selected {
  color: #f3f4f6;
}

.form-select-arrow {
  font-size: 0.7rem;
  opacity: 0.4;
}

.contact-form-card .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  letter-spacing: -0.01em;
}
.contact-form-card .btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.form-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-modal.active {
  visibility: visible;
  opacity: 1;
}

.form-modal-content {
  background: rgba(10, 15, 28, 0.98);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
}

.form-modal.active .form-modal-content {
  transform: scale(1) translateY(0);
}

.form-modal-header {
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-modal-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.form-modal-subtitle {
  color: #8492A6;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.form-modal-body {
  padding: 1.5rem 2rem;
}

.form-option {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.form-option:hover {
  background: rgba(79, 138, 255, 0.1);
  border-color: rgba(79, 138, 255, 0.3);
  transform: translateY(-1px);
}

.form-option.selected {
  background: rgba(79, 138, 255, 0.2);
  border-color: #D4B87A;
  box-shadow: 0 0 10px rgba(79, 138, 255, 0.3);
}

.form-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: none;
}

.form-message.show { display: block; }

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message.error {
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.3);
  color: #FF5A5A;
}

.budget-container { display: none; }

.form-legal-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.form-legal-link {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-hero-title { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-group { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHT MODE — Beige chaud + grain
   ============================================================ */

/* ---- 1. Variables ---- */
html[data-theme="light"] {
  color-scheme: light;

  --bg-primary:      #F4EFE6;
  --bg-secondary:    #EDE7DC;
  --bg-surface:      #E5DED2;
  --bg-section-alt:  #EFE9DF;

  --text-primary:    #1C1814;
  --text-secondary:  #5A5048;
  --text-highlight:  #9B7535;

  --shadow-sm:    0 1px 2px rgba(60,45,20,0.08);
  --shadow-md:    0 4px 12px rgba(60,45,20,0.10);
  --shadow-lg:    0 10px 24px rgba(60,45,20,0.13);
  --shadow-xl:    0 20px 40px rgba(60,45,20,0.16);
  --shadow-focus: 0 0 0 3px rgba(155,117,53,0.28);
}

/* ---- 2. Grain (SVG turbulence en fond fixe) ---- */
html[data-theme="light"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: multiply;
  opacity: 0.09;
}

/* ---- 3. Body ---- */
html[data-theme="light"] body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* ---- 4. Navbar & 5. Hero — identiques au mode sombre, pas d'override ---- */

/* ---- 6. Boutons hero / globaux ---- */
html[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, rgba(155,117,53,0.28) 0%, rgba(155,117,53,0.13) 100%);
  border: 1px solid rgba(155,117,53,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), 0 4px 18px rgba(155,117,53,0.12);
  color: var(--text-primary);
}
html[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, rgba(155,117,53,0.42) 0%, rgba(155,117,53,0.22) 100%);
  border-color: rgba(155,117,53,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.36), 0 6px 24px rgba(155,117,53,0.18);
}
html[data-theme="light"] .btn-secondary {
  border-color: rgba(28, 24, 20, 0.22);
  color: var(--text-primary);
  background: transparent;
}
html[data-theme="light"] .btn-secondary:hover {
  background: rgba(28, 24, 20, 0.05);
  border-color: rgba(28, 24, 20, 0.36);
}

/* ---- 7. Sections alternées ---- */
html[data-theme="light"] .services-section,
html[data-theme="light"] .eco-section {
  background: var(--bg-primary);
}

/* ---- 8. Eco-rows ---- */
html[data-theme="light"] .eco-row {
  border-top-color: transparent;
}
html[data-theme="light"] .eco-row::before {
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(155, 117, 53, 0.06) 0%,
    transparent 70%
  );
}

/* Backgrounds atmosphériques — opacité boostée pour fond beige */
html[data-theme="light"] .eco-r-livrable {
  background:
    radial-gradient(ellipse 65% 90% at 6% 55%, rgba(212,184,122,0.42) 0%, transparent 52%),
    radial-gradient(ellipse 50% 45% at 82% 8%, rgba(212,184,122,0.22) 0%, transparent 42%);
}
html[data-theme="light"] .eco-r-perf {
  background:
    radial-gradient(ellipse 65% 90% at 94% 55%, rgba(10,208,201,0.28) 0%, transparent 52%),
    radial-gradient(ellipse 50% 70% at 18% 50%, rgba(10,208,201,0.10) 0%, transparent 42%);
}
html[data-theme="light"] .eco-r-chat {
  background:
    radial-gradient(ellipse 65% 90% at 6% 55%, rgba(155,91,245,0.26) 0%, transparent 52%),
    radial-gradient(ellipse 50% 45% at 82% 8%, rgba(155,91,245,0.12) 0%, transparent 42%);
}
html[data-theme="light"] .eco-r-agents {
  background:
    radial-gradient(ellipse 65% 90% at 94% 55%, rgba(100,140,190,0.28) 0%, transparent 52%),
    radial-gradient(ellipse 50% 70% at 18% 50%, rgba(100,140,190,0.10) 0%, transparent 42%);
}
html[data-theme="light"] .eco-r-launch {
  background:
    radial-gradient(ellipse 65% 90% at 6% 55%, rgba(34,197,94,0.28) 0%, transparent 52%),
    radial-gradient(ellipse 50% 45% at 82% 8%, rgba(34,197,94,0.14) 0%, transparent 42%);
}

/* Mockup container — glass blanc sur fond crème */
html[data-theme="light"] .eco-row-visual {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(28,24,20,0.07);
  border-top-color: rgba(255,255,255,0.92);
  box-shadow:
    0 6px 32px rgba(0,0,0,0.07),
    0 1px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.88);
}
html[data-theme="light"] .mockup-item {
  background: rgba(28, 24, 20, 0.05);
  border-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .mockup-bar {
  background: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .mockup-bar-label {
  opacity: 0.75;
}
html[data-theme="light"] .mockup-msg-user {
  background: rgba(28, 24, 20, 0.07);
}

/* ---- Mobile menu — glassmorphism light mode ---- */
@media (max-width: 768px) {
  html[data-theme="light"] .nav-links {
    background: rgba(244, 239, 230, 0.42);
    border-left-color: rgba(28, 24, 20, 0.10);
  }
  html[data-theme="light"] .nav-link {
    border-bottom-color: rgba(28, 24, 20, 0.06);
  }
}

/* ---- Pack rows — textes visibles en mode clair ---- */
html[data-theme="light"] .pack-row {
  border-bottom-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .pack-row:first-child {
  border-top-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .pack-row-num {
  color: rgba(28, 24, 20, 0.35);
  opacity: 1;
}
html[data-theme="light"] .pack-row-tagline {
  color: rgba(28, 24, 20, 0.58);
}
html[data-theme="light"] .pack-row-features li {
  color: rgba(28, 24, 20, 0.48);
}
html[data-theme="light"] .pack-row-price-old {
  color: rgba(28, 24, 20, 0.32);
}
html[data-theme="light"] .pack-row-price-sub {
  color: rgba(28, 24, 20, 0.48);
}

/* ---- 9. Marquee — toujours sombre ---- */

/* ---- 10. Proof strip ---- */
html[data-theme="light"] .proof-item {
  color: rgba(28, 24, 20, 0.38);
}
html[data-theme="light"] .proof-sep {
  color: rgba(28, 24, 20, 0.16);
}

/* ---- 11. Section headers ---- */
html[data-theme="light"] .section-badge {
  background: rgba(155,117,53,0.10);
  border-color: rgba(155,117,53,0.22);
  color: #9B7535;
}
html[data-theme="light"] .section-header p,
html[data-theme="light"] .section-subtitle {
  color: var(--text-secondary);
}

/* ---- 12. Cards services (Ce qu'on résout) ---- */
html[data-theme="light"] .service-card {
  background: rgba(28,24,20,0.04);
  border-color: rgba(28,24,20,0.08);
}
html[data-theme="light"] .service-card:hover {
  background: rgba(28,24,20,0.07);
  border-color: rgba(155,117,53,0.26);
}

/* ---- 13. Footer ---- */
html[data-theme="light"] .footer {
  background: #EDE7DC;
  border-top-color: rgba(28, 24, 20, 0.10);
}
html[data-theme="light"] .footer-brand h3,
html[data-theme="light"] .footer-column h4 {
  color: var(--text-primary);
}
html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-column ul li a {
  color: var(--text-secondary);
}
html[data-theme="light"] .footer-column ul li a:hover {
  color: var(--text-primary);
}
html[data-theme="light"] .footer-founder-note {
  color: rgba(28, 24, 20, 0.4);
}
html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .footer-bottom p {
  color: rgba(28, 24, 20, 0.40);
}

/* ---- 14. Theme toggle button ---- */
.btn-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 184, 122, 0.10);
  border: 1px solid rgba(212, 184, 122, 0.20);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast),
              border-color var(--transition-fast),
              transform 0.25s var(--ease-out-cubic);
  flex-shrink: 0;
  padding: 0;
}
.btn-theme-toggle:hover {
  background: rgba(212, 184, 122, 0.20);
  border-color: rgba(212, 184, 122, 0.38);
  transform: rotate(22deg) scale(1.05);
}
.btn-theme-toggle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.82);
}
/* dark mode → show moon (invite à passer en light) */
.btn-theme-toggle .icon-sun  { display: none; }
.btn-theme-toggle .icon-moon { display: block; }
/* light mode → show sun (invite à passer en dark) */
html[data-theme="light"] .btn-theme-toggle .icon-sun  { display: block; }
html[data-theme="light"] .btn-theme-toggle .icon-moon { display: none; }

/* ---- LIGHT MODE — CORRECTIFS POST-AUDIT ---- */

/* Founder section — fond hardcodé #090910 */
html[data-theme="light"] .founder-section {
  background: var(--bg-secondary);
  border-color: rgba(28, 24, 20, 0.07);
}
html[data-theme="light"] .founder-section::before {
  color: rgba(155, 117, 53, 0.30);
}
html[data-theme="light"] .founder-quote {
  color: var(--text-secondary);
}

/* CTA section — opacités hardcodées trop faibles sur fond clair */
html[data-theme="light"] .cta-subtitle {
  opacity: 1;
  color: var(--text-secondary);
}
html[data-theme="light"] .cta-link-action {
  opacity: 0.70;
  color: var(--text-secondary);
}
html[data-theme="light"] .cta-action-sep {
  color: rgba(28, 24, 20, 0.25);
}
html[data-theme="light"] .contact-info {
  opacity: 0.65;
  border-top-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .info-divider {
  color: rgba(28, 24, 20, 0.22);
}

/* Service cards (section Ce qu'on résout) */
html[data-theme="light"] .service-card {
  background: rgba(28, 24, 20, 0.04);
  border-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .service-card:hover {
  background: rgba(28, 24, 20, 0.07);
  border-color: rgba(155, 117, 53, 0.26);
}

/* Section header subtitle */
html[data-theme="light"] .section-header p {
  color: var(--text-secondary);
  opacity: 1;
}

/* ---- LIGHT MODE — correctifs eco-header + mockup contrast ---- */

/* Eco-header séparateur + spine */
html[data-theme="light"] .eco-header {
  border-bottom-color: rgba(28, 24, 20, 0.08);
}
html[data-theme="light"] .eco-spine {
  background: rgba(28, 24, 20, 0.06);
}

/* Eco-row visual — renforcement (overridden par le premier bloc) */
html[data-theme="light"] .eco-row-visual {
  background: rgba(255,255,255,0.72);
  border-color: rgba(28,24,20,0.07);
}

/* Mockup bar-fill — plus visible sur fond clair */
html[data-theme="light"] .mockup-bar-fill {
  opacity: 0.85;
}

/* Mockup label */
html[data-theme="light"] .mockup-label {
  color: var(--text-secondary);
  opacity: 0.70;
}

/* Eco-row left icon + step title */
html[data-theme="light"] .eco-row-icon {
  color: color-mix(in srgb, var(--row-accent) 65%, #1C1814);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--row-accent) 20%, transparent));
}

html[data-theme="light"] .eco-row::after {
  opacity: 0.038;
}
html[data-theme="light"] .eco-step-title {
  color: var(--text-primary);
}
html[data-theme="light"] .eco-step-text {
  color: var(--text-secondary);
}

html[data-theme="light"] .eco-header-eyebrow {
  color: #9B7535;
  opacity: 0.88;
}
html[data-theme="light"] .eco-header-eyebrow::before {
  background: #9B7535;
}

/* ---- LIGHT MODE — svc-* redesign ---- */

html[data-theme="light"] .svc-head-label {
  color: #9B7535;
  opacity: 0.65;
}

html[data-theme="light"] .svc-head-rule {
  background: rgba(28,24,20,0.10);
}

html[data-theme="light"] .svc-item {
  border-top-color: rgba(28,24,20,0.08);
}

html[data-theme="light"] .svc-visual {
  background: rgba(255,255,255,0.82);
  border-color: rgba(28,24,20,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

html[data-theme="light"] .svc-item .mockup-item {
  background: rgba(28,24,20,0.05);
  border-color: rgba(28,24,20,0.08);
}

html[data-theme="light"] .svc-item .mockup-bar {
  background: rgba(28,24,20,0.08);
}

html[data-theme="light"] .svc-item .mockup-bar-label { opacity: 0.75; }
html[data-theme="light"] .svc-item .mockup-bar-fill  { opacity: 0.85; }
html[data-theme="light"] .svc-item .mockup-label     { opacity: 0.70; }

html[data-theme="light"] .svc-item .mockup-msg-user {
  background: rgba(28,24,20,0.07);
}

html[data-theme="light"] .svc-item .mockup-msg-bot {
  background: color-mix(in srgb, var(--svc-accent) 13%, rgba(28,24,20,0.04));
  color: rgba(28,24,20,0.72);
}

html[data-theme="light"] .svc-title em {
  background: linear-gradient(135deg, #9B7535 0%, #C8A050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .svc-idx { color: var(--svc-accent); }
html[data-theme="light"] .svc-cat { color: rgba(28,24,20,0.40); }

html[data-theme="light"] .mockup-check {
  background: color-mix(in srgb, var(--svc-accent) 10%, rgba(28,24,20,0.04));
  border-color: color-mix(in srgb, var(--svc-accent) 22%, rgba(28,24,20,0.08));
}

html[data-theme="light"] .mockup-typing {
  background: color-mix(in srgb, var(--svc-accent) 12%, rgba(28,24,20,0.04));
}

html[data-theme="light"] .svc-link {
  color: rgba(28,24,20,0.55);
  border-bottom-color: rgba(28,24,20,0.18);
}

html[data-theme="light"] .svc-link:hover {
  color: var(--svc-accent);
  border-bottom-color: var(--svc-accent);
}

/* svc-02 data rows — light */
html[data-theme="light"] .svc-data-row {
  border-bottom-color: rgba(28,24,20,0.07);
}

html[data-theme="light"] .svc-data-desc {
  color: rgba(28,24,20,0.50);
  opacity: 1;
}

/* svc-04 agent grid — light */
html[data-theme="light"] .svc-agent-cell {
  background: rgba(28,24,20,0.04);
  border-color: rgba(28,24,20,0.08);
}

html[data-theme="light"] .svc-agent-name {
  color: var(--text-primary);
}

html[data-theme="light"] .svc-agent-note {
  color: rgba(28,24,20,0.42);
  opacity: 1;
}

html[data-theme="light"] .eco-metric-num {
  color: #9B7535;
}
html[data-theme="light"] .eco-metric-label {
  color: rgba(28,24,20,0.50);
  opacity: 1;
}
html[data-theme="light"] .eco-bottom-divider {
  background: rgba(28,24,20,0.10);
}
html[data-theme="light"] .eco-bottom {
  border-top-color: rgba(28,24,20,0.08);
}

html[data-theme="light"] .eco-row-label {
  color: color-mix(in srgb, var(--row-accent) 60%, #1C1814);
  opacity: 0.82;
}

html[data-theme="light"] .eco-header {
  border-bottom-color: rgba(28,24,20,0.08);
}

html[data-theme="light"] .mockup-msg-bot {
  background: color-mix(in srgb, var(--row-accent, #9B7535) 14%, rgba(28,24,20,0.04));
  color: rgba(28,24,20,0.72);
}

/* Stats chiffres */
html[data-theme="light"] .stat-number {
  color: var(--text-primary);
}
html[data-theme="light"] .stat-label {
  color: var(--text-secondary);
}
html[data-theme="light"] .stat-divider {
  background: rgba(28, 24, 20, 0.10);
}

/* ---- LIGHT MODE — launch browser mockup ---- */
html[data-theme="light"] .launch-bar {
  background: rgba(28, 24, 20, 0.05);
  border-color: rgba(28, 24, 20, 0.09);
}
html[data-theme="light"] .launch-bar-dots i {
  background: rgba(28, 24, 20, 0.14);
}
html[data-theme="light"] .launch-bar-url {
  color: rgba(28, 24, 20, 0.42);
}
html[data-theme="light"] .launch-progress-track {
  background: rgba(28, 24, 20, 0.07);
}
html[data-theme="light"] .launch-steps {
  border-color: rgba(28, 24, 20, 0.09);
}
html[data-theme="light"] .launch-step {
  border-top-color: rgba(28, 24, 20, 0.06);
}
html[data-theme="light"] .launch-step span {
  color: rgba(28, 24, 20, 0.62);
}

/* ---- Dropdown "Nos Solutions" — couleurs mode clair ---- */
html[data-theme="light"] .nav-dropdown-menu {
  background: rgba(245, 240, 232, 0.98);
  border-color: rgba(28, 24, 20, 0.12);
  box-shadow: 0 16px 40px rgba(60, 45, 20, 0.12), 0 0 0 1px rgba(28, 24, 20, 0.05);
}
html[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(28, 24, 20, 0.06);
}
html[data-theme="light"] .nav-dropdown-item-title {
  color: var(--text-primary);
}
html[data-theme="light"] .nav-dropdown-item-sub {
  color: var(--text-secondary);
}

/* ---- Boutique hero — toujours mode sombre ---- */
html[data-theme="light"] .boutique-hero {
  --text-primary: #EDF0F0;
  --text-secondary: #8A8E96;
  --text-highlight: #D4B87A;
}
html[data-theme="light"] .boutique-hero-sub {
  color: rgba(255, 255, 255, 0.48);
}

/* ---- Page contact — mode clair ---- */
html[data-theme="light"] .contact-hero-subtitle {
  color: var(--text-secondary);
}
html[data-theme="light"] .contact-info-title {
  color: var(--text-secondary);
}
html[data-theme="light"] .contact-form-title {
  color: var(--text-primary);
}
html[data-theme="light"] .contact-availability {
  color: var(--text-secondary);
}
html[data-theme="light"] .contact-direct-link {
  color: var(--text-primary);
}
html[data-theme="light"] .contact-direct-link:hover {
  color: var(--text-highlight);
}
html[data-theme="light"] .contact-direct-location {
  color: var(--text-secondary);
}
html[data-theme="light"] .contact-social-label {
  color: rgba(28, 24, 20, 0.32);
}
html[data-theme="light"] .contact-social-btn {
  background: rgba(28, 24, 20, 0.04);
  border-color: rgba(28, 24, 20, 0.12);
  color: rgba(28, 24, 20, 0.50);
}
html[data-theme="light"] .contact-social-btn:hover {
  background: rgba(28, 24, 20, 0.08);
  border-color: rgba(155, 117, 53, 0.38);
  color: var(--text-highlight);
}
html[data-theme="light"] .form-group label {
  color: var(--text-secondary);
}
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select {
  background: rgba(28, 24, 20, 0.04);
  border-color: rgba(28, 24, 20, 0.12);
  color: var(--text-primary);
}
html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus,
html[data-theme="light"] .form-group select:focus {
  background: rgba(28, 24, 20, 0.06);
  border-color: rgba(155, 117, 53, 0.45);
}
html[data-theme="light"] .form-select-btn {
  background: rgba(28, 24, 20, 0.04);
  border-color: rgba(28, 24, 20, 0.12);
  color: var(--text-primary);
}
html[data-theme="light"] .form-select-btn:hover {
  border-color: rgba(28, 24, 20, 0.22);
}
html[data-theme="light"] .form-select-value {
  color: var(--text-secondary);
}
html[data-theme="light"] .form-select-value.selected {
  color: var(--text-primary);
}

/* ---- Hero — toujours mode sombre, quelle que soit la préférence ---- */
html[data-theme="light"] .hero {
  --bg-primary: #0A0A0E;
  --bg-surface: #0F1520;
  --text-primary: #EDF0F0;
  --text-secondary: #8A8E96;
  --text-highlight: #D4B87A;
  --border-primary: rgba(255, 255, 255, 0.06);
}
html[data-theme="light"] .hero .btn-primary {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.45) 0%, rgba(180, 140, 65, 0.22) 100%);
  border: 1px solid rgba(212, 184, 122, 0.38);
  color: #EDF0F0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 18px rgba(212, 184, 122, 0.14);
}
html[data-theme="light"] .hero .btn-primary:hover {
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.58) 0%, rgba(180, 140, 65, 0.34) 100%);
  border-color: rgba(212, 184, 122, 0.55);
}
html[data-theme="light"] .hero .btn-secondary {
  color: #EDF0F0;
  border-color: rgba(212, 184, 122, 0.38);
}
html[data-theme="light"] .hero .btn-secondary:hover {
  color: #D4B87A;
  border-color: rgba(212, 184, 122, 0.60);
}

/* ---- Navbar au top — texte clair quand hero toujours sombre ---- */
/* Quand non scrollé en mode clair, la navbar est sur fond hero sombre → forcer couleurs dark */
html[data-theme="light"] .navbar:not(.scrolled) .nav-link,
html[data-theme="light"] .navbar:not(.scrolled) .nav-dropdown-trigger {
  color: #8A8E96;
}
html[data-theme="light"] .navbar:not(.scrolled) .nav-link:hover,
html[data-theme="light"] .navbar:not(.scrolled) .nav-dropdown-trigger:hover,
html[data-theme="light"] .navbar:not(.scrolled) .nav-dropdown.open .nav-dropdown-trigger {
  color: #EDF0F0;
}

/* Boutons navbar — couleurs dark mode permanentes (fond navbar toujours sombre) */
html[data-theme="light"] .btn-cta-nav {
  color: #EDF0F0;
}
html[data-theme="light"] .btn-cta-nav:hover {
  color: #EDF0F0;
}
html[data-theme="light"] .btn-phone-nav {
  color: #8A8E96;
  border-color: rgba(255, 255, 255, 0.10);
}
html[data-theme="light"] .btn-phone-nav:hover {
  color: #EDF0F0;
  border-color: rgba(255, 255, 255, 0.20);
}
