/* ══════════════════════════════════════════════════════════════
   AMONRE DIGITAL — Premium CSS
   ══════════════════════════════════════════════════════════════ */

/* ── Variables — Dark mode (default) ──────────────────────── */
:root {
  --purple:       #673de6;
  --purple-light: #8a65f0;
  --purple-dark:  #2f1c6a;
  --purple-faint: #ebe4ff;
  --purple-mid:   #4f2dc5;
  --bg-dark:      #0a0614;
  --bg-card:      #100a24;
  --bg-card-2:    #150d2e;
  --text:         #f0ecff;
  --text-muted:   #9b8fc7;
  --border:       rgba(103, 61, 230, 0.2);
  --border-hover: rgba(103, 61, 230, 0.5);
  --white:        #ffffff;
  --radius:       16px;
  --radius-sm:    10px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:       0 4px 32px rgba(103, 61, 230, 0.15);
  --shadow-lg:    0 8px 64px rgba(103, 61, 230, 0.25);
  --nav-scrolled: rgba(10, 6, 20, 0.92);
}

/* ── Variables — Light mode ───────────────────────────────── */
html[data-theme="light"] {
  --bg-dark:      #f0ebff;
  --bg-card:      #ffffff;
  --bg-card-2:    #f7f4ff;
  --text:         #150d35;
  --text-muted:   #6b5a9e;
  --border:       rgba(103, 61, 230, 0.15);
  --border-hover: rgba(103, 61, 230, 0.45);
  --shadow:       0 4px 32px rgba(103, 61, 230, 0.1);
  --shadow-lg:    0 8px 64px rgba(103, 61, 230, 0.15);
  --nav-scrolled: rgba(244, 240, 255, 0.95);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

/* ── Utility ──────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, #c084fc 50%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(103, 61, 230, 0.12);
  border: 1px solid var(--border);
  color: var(--purple-light);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Scroll Animations ────────────────────────────────────── */
/* Only hide elements when JS is active (progressive enhancement) */
.js-loaded .reveal, .js-loaded .reveal-left, .js-loaded .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .reveal-left  { transform: translateX(-40px); }
.js-loaded .reveal-right { transform: translateX(40px); }

.js-loaded .reveal.visible,
.js-loaded .reveal-left.visible,
.js-loaded .reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--nav-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
}

/* Dark theme (default): show dark logo, hide light logo */
.logo-img--light { display: none !important; }

/* Light theme: show light logo, hide dark logo */
html[data-theme="light"] .logo-img--dark  { display: none !important; }
html[data-theme="light"] .logo-img--light { display: block !important; }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  color: var(--purple-light);
}

.lang-btn:hover { color: var(--text); }

.lang-sep { color: var(--border); font-size: 12px; }

.btn-nav {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--purple);
  border: 1px solid transparent;
  padding: 10px 20px;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(103, 61, 230, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

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

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

/* Mobile menu — plein écran via navbar */
.mobile-menu {
  display: none;
  padding: 24px 32px 40px;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.mobile-menu.open { display: flex; }

/* Navbar plein écran quand menu ouvert */
.navbar.menu-open {
  height: 100dvh;
  background: var(--bg-dark) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.navbar.menu-open .nav-container {
  flex-shrink: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.mobile-menu a {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--purple-light);
  background: rgba(103, 61, 230, 0.08);
}

.mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  top: -200px;
  right: -100px;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #4f2dc5;
  bottom: -100px;
  left: -150px;
  animation: orb-float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #c084fc;
  top: 50%;
  left: 40%;
  opacity: 0.15;
  animation: orb-float 12s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 61, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 61, 230, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(103, 61, 230, 0.15);
  border: 1px solid rgba(103, 61, 230, 0.4);
  backdrop-filter: blur(10px);
  color: var(--purple-faint);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 36px;
  animation: fade-in 0.8s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

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

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(103, 61, 230, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(103, 61, 230, 0.08);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--purple-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  max-width: 580px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--purple-faint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(103, 61, 230, 0.4);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--purple-light);
  border-radius: 2px;
  animation: scroll-bob 1.5s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% { top: 6px; opacity: 1; }
  50%       { top: 16px; opacity: 0.3; }
}

/* ══════════════════════════════════════════════════════════════
   PRESENTATION
   ══════════════════════════════════════════════════════════════ */
.presentation {
  padding: 100px 0;
}

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

.pres-left h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.pres-left p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.pres-left .btn-primary { margin-top: 12px; }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.pillar:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(103, 61, 230, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  color: var(--purple-light);
}

.pillar h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.services {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(103, 61, 230, 0.04) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.service-card-inner {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.service-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(103, 61, 230, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-number {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.7;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(103, 61, 230, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(103, 61, 230, 0.25);
  transform: scale(1.05);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--purple-light);
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Staggered reveal delay */
.service-card[data-index="0"] { transition-delay: 0ms; }
.service-card[data-index="1"] { transition-delay: 80ms; }
.service-card[data-index="2"] { transition-delay: 160ms; }
.service-card[data-index="3"] { transition-delay: 240ms; }
.service-card[data-index="4"] { transition-delay: 320ms; }
.service-card[data-index="5"] { transition-delay: 400ms; }

/* ══════════════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════════════ */
.process {
  padding: 100px 0;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 48px;
}

.step-line {
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple) 0%, transparent 100%);
  opacity: 0.3;
}

.step-line.last { background: none; }

.step-number {
  width: 64px;
  height: 64px;
  background: rgba(103, 61, 230, 0.15);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: rgba(103, 61, 230, 0.25);
  border-color: var(--purple-light);
  transform: scale(1.05);
}

.step-content {
  padding-top: 12px;
}

.step-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-dark) 0%, #1a0d4a 50%, var(--purple-dark) 100%);
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  opacity: 0.3;
  top: -200px;
  right: -100px;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: #4f2dc5;
  opacity: 0.25;
  bottom: -150px;
  left: -100px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
}

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

.contact-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(103, 61, 230, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--purple-light);
}

.contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.contact-item a, .contact-item span {
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-item a:hover { color: var(--text); }

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  background: rgba(103, 61, 230, 0.15);
  border-color: var(--border-hover);
  color: var(--purple-light);
  transform: translateY(-3px);
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(155, 143, 199, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: rgba(103, 61, 230, 0.06);
  box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #f87171;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--purple);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-submit svg { width: 18px; height: 18px; }

.btn-submit:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(103, 61, 230, 0.45);
}

.btn-submit:active { transform: translateY(0); }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #4ade80;
  font-size: 14px;
  font-weight: 500;
}

.form-success.show { display: flex; }

.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0 28px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-social a:hover {
  background: rgba(103, 61, 230, 0.15);
  border-color: var(--border-hover);
  color: var(--purple-light);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Theme toggle button ──────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(103, 61, 230, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(103, 61, 230, 0.18);
  border-color: var(--border-hover);
  color: var(--purple-light);
  transform: rotate(15deg);
}

.theme-toggle svg { width: 18px; height: 18px; }

/* Dark mode → show sun (invite to go light) */
.icon-moon { display: none; }
.icon-sun  { display: block; }

/* Light mode → show moon (invite to go dark) */
html[data-theme="light"] .icon-moon { display: block; }
html[data-theme="light"] .icon-sun  { display: none; }

/* ── Light mode specific overrides ───────────────────────── */
html[data-theme="light"] body {
  background: var(--bg-dark);
  color: var(--text);
}

html[data-theme="light"] .hero-stats {
  background: rgba(103, 61, 230, 0.06);
}

html[data-theme="light"] .hero-badge {
  background: rgba(103, 61, 230, 0.1);
  border-color: rgba(103, 61, 230, 0.3);
  color: var(--purple-dark);
}

html[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(103, 61, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 61, 230, 0.08) 1px, transparent 1px);
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea {
  background: #ffffff;
  border-color: rgba(103, 61, 230, 0.2);
  color: var(--text);
}

html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(107, 90, 158, 0.5);
}

html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus {
  background: #faf8ff;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.1);
}

html[data-theme="light"] .footer-social a {
  background: rgba(103, 61, 230, 0.06);
}

html[data-theme="light"] .mobile-menu {
  background: var(--bg-dark);
}

html[data-theme="light"] .mobile-menu a:hover {
  background: rgba(103, 61, 230, 0.08);
}

html[data-theme="light"] .nav-links a:hover {
  background: rgba(103, 61, 230, 0.08);
}

html[data-theme="light"] .stat-number {
  background: linear-gradient(135deg, var(--text) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .section-tag {
  background: rgba(103, 61, 230, 0.1);
}

html[data-theme="light"] .hero-orb {
  opacity: 0.15;
}

html[data-theme="light"] .orb-3 {
  opacity: 0.08;
}

/* Service page light overrides */
html[data-theme="light"] .service-hero-grid {
  background-image:
    linear-gradient(rgba(103, 61, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 61, 230, 0.07) 1px, transparent 1px);
}

html[data-theme="light"] .faq-question:hover {
  background: rgba(103, 61, 230, 0.04);
}

html[data-theme="light"] .impact-quote {
  background: rgba(103, 61, 230, 0.05);
}

/* ── Service card as link ─────────────────────────────────── */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  background: rgba(103, 61, 230, 0.12);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.service-card-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--purple-light);
}

.service-card:hover .service-card-arrow {
  background: rgba(103, 61, 230, 0.3);
  border-color: var(--purple-light);
  transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════════════
   SERVICE PAGES — shared styles (used in /services/*.html)
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.modal-overlay.open {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: all;
}

.modal-panel {
  width: 520px;
  max-width: 100%;
  height: 100vh;
  background: #0f0820;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

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

.modal-panel::-webkit-scrollbar { width: 4px; }
.modal-panel::-webkit-scrollbar-track { background: transparent; }
.modal-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Close button */
.modal-close {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  margin: 24px 0 0 24px;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: var(--border-hover);
}

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

/* Modal header */
.modal-header {
  padding: 28px 36px 32px;
  border-bottom: 1px solid var(--border);
}

.modal-number {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  opacity: 0.7;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: rgba(103, 61, 230, 0.18);
  border: 1px solid rgba(103, 61, 230, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple-light);
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.modal-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Modal body */
.modal-body {
  padding: 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.modal-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 18px;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.modal-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(103, 61, 230, 0.2);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238a65f0' stroke-width='2.5'%3E%3Cpath d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-why {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 20px;
  background: rgba(103, 61, 230, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--purple);
}

/* Modal footer */
.modal-footer {
  padding: 24px 36px 36px;
  border-top: 1px solid var(--border);
}

.modal-cta {
  width: 100%;
  justify-content: center;
}

/* Mobile modal */
@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-end;
    justify-content: center;
  }
  .modal-panel {
    width: 100%;
    height: 92vh;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal-panel {
    transform: translateY(0);
  }
  .modal-header, .modal-body, .modal-footer { padding-left: 24px; padding-right: 24px; }
}

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

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 100px 20px 60px; overflow: hidden; }
  .hero-title { font-size: clamp(32px, 9vw, 56px); }
  .hero-badge { font-size: 12px; padding: 7px 14px; }
  .hero-stats { gap: 20px; padding: 20px 24px; }
  .stat-divider { height: 32px; }

  /* Presentation */
  .pres-grid { grid-template-columns: 1fr; gap: 48px; }

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

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Process */
  .process-step { grid-template-columns: 48px 1fr; }
  .step-number { width: 48px; height: 48px; font-size: 15px; }
  .step-line { left: 23px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-white, .btn-ghost-white { text-align: center; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ── Anti-spam honeypot (invisible pour les humains) ─────── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
