/* ============================================
   IRYA — Atelier Digital Premium
   Tech Premium & Futuriste Design System
   Night (Deep Future) · Light (Daylight Tech)
   ============================================ */

/* ─────────────────────────────────────────────
   SELF-HOSTED FONTS (eliminates Google Fonts chain)
   ───────────────────────────────────────────── */

/* Cormorant Garamond — Normal (variable: 300-600) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond — Italic (variable: 400-500) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost — Normal (variable: 300-500) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─────────────────────────────────────────────
   THEME TOKENS
   ───────────────────────────────────────────── */

/* === GLASSMORPHISM NÉON CYBER — Design System === */
body, body.theme-night {
  /* Neon core */
  --neon-r: 0; --neon-g: 191; --neon-b: 255;
  --neon: rgb(var(--neon-r), var(--neon-g), var(--neon-b));
  --neon-glow-sm: 0 0 8px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.3);
  --neon-glow-md: 0 0 15px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.5), 0 0 5px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.3) inset;
  --neon-glow-lg: 0 0 30px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.5), 0 0 60px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.15);

  /* Backgrounds */
  --bg-primary: #0a0e1a;
  --bg-surface: #0d1b2a;
  --bg-elevated: #0a1628;
  --bg-card: rgba(10, 25, 41, 0.4);

  /* Accent (mapped from neon) */
  --accent: var(--neon);
  --accent-light: #7DD3FC;
  --accent-dim: #0EA5E9;
  --accent-glow: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.22);
  --accent-border: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.30);
  --accent-subtle: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.08);

  /* Text */
  --text-primary: rgba(224, 242, 254, 0.9);
  --text-secondary: rgba(180, 210, 240, 0.7);
  --text-muted: rgba(148, 163, 184, 0.8);
  --text-faint: rgba(71, 85, 105, 0.9);

  /* UI */
  --btn-text: #020510;
  --navbar-scrolled-bg: rgba(10, 14, 26, 0.92);
  --overlay-bg: rgba(10, 14, 26, 0.97);

  /* Glass */
  --glass-bg: rgba(10, 25, 41, 0.4);
  --glass-border: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.15);
  --glass-border-hover: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.35);
  --glass-blur: 10px;

  /* Shadows */
  --shadow-card: var(--neon-glow-md);
  --shadow-glow: var(--neon-glow-sm);

  --card-bg: rgba(10, 25, 41, 0.4);

  --cta-from: #0EA5E9;
  --cta-to: var(--neon);
  --cta-glow: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.30);
  --cta-text: #020510;

  --squircle: 12px;

  /* Cyber font */
  --font-cyber: 'JetBrains Mono', 'Courier New', 'Consolas', monospace;
}

/* Light theme removed — night mode only */

/* Theme transition removed — night mode only */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b2a 40%, #0a1628 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
}
body.ready {
  opacity: 1;
  transition: opacity 0.35s ease;
}
/* On mobile, no intro loader — show body immediately */
@media (max-width: 768px) {
  body { opacity: 1 !important; }
}

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

/* Skip-to-content (accessibility) */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--btn-text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
img { max-width: 100%; height: auto; display: block; }
.hidden { display: none !important; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; border: none; outline: none; }

::selection {
  background: rgba(124, 185, 216, 0.3);
  color: var(--text-primary);
}

/* Focus-visible (accessibility) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Light scrollbar removed — night mode only */
/* Light scrollbar hover removed */

/* ─────────────────────────────────────────────
   SCROLL PROGRESS
   ───────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--accent-light));
  z-index: 300;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 50ms linear;
  will-change: transform;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ─────────────────────────────────────────────
   CONTAINER
   ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─────────────────────────────────────────────
   NAVIGATION — Floating Pill
   ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.5rem 2rem;
  transition: padding 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled {
  padding: 0.75rem 2rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled .navbar-inner {
  max-width: 920px;
  padding: 0.6rem 2rem;
  background: var(--navbar-scrolled-bg);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  border-color: var(--glass-border);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }

.logo-mark {
  color: var(--accent); font-size: 1.25rem; line-height: 1;
  text-shadow: 0 0 10px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.6);
  animation: starTwinkle 2.5s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.6); transform: scale(1); }
  25% { opacity: 0.6; text-shadow: 0 0 4px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.3); transform: scale(0.92); }
  50% { opacity: 1; text-shadow: 0 0 18px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.8), 0 0 40px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.2); transform: scale(1.05); }
  75% { opacity: 0.7; text-shadow: 0 0 6px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.4); transform: scale(0.96); }
}
.logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  transition: font-size 0.4s ease;
}
.navbar.scrolled .logo-text { font-size: 1.25rem; }
.navbar.scrolled .btn-nav { padding: 8px 20px; font-size: 0.6875rem; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; transition: gap 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.navbar.scrolled .nav-links { gap: 2rem; }

.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover, .nav-link.active { color: var(--accent-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }

/* Theme toggle & bubble canvas removed — night mode only */
.theme-toggle, .theme-bubble-canvas { display: none !important;
  opacity: 0;
}
.theme-bubble-canvas.active {
  opacity: 1;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  z-index: 260;
  padding: 4px 0;
}
.hamburger span {
  display: block; width: 26px; height: 1px;
  background: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.hamburger.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hamburger.active span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

.mobile-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem; font-weight: 400; font-style: italic;
  color: var(--text-secondary);
  padding: 0.35rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(30px); opacity: 0;
}
.mobile-menu.active .mobile-link { transform: translateY(0); opacity: 1; }
.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 80ms; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 140ms; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 200ms; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 260ms; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 320ms; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 380ms; }
.mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 440ms; }
.mobile-link:hover { color: var(--accent); }

.mobile-cta {
  margin-top: 1rem;
  transform: translateY(30px); opacity: 0;
}
.mobile-menu.active .mobile-cta { transform: translateY(0); opacity: 1; transition-delay: 500ms; }

/* ─────────────────────────────────────────────
   BUTTONS — Saphir & Soie
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  cursor: pointer;
}

.btn-gold {
  background: var(--accent);
  color: var(--btn-text);
  border: 1px solid var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-gold:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow), 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-gold:active { transform: translateY(0); }

/* ── Glass outline button ── */
.btn-outline {
  background: rgba(10, 18, 38, 0.75);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.30);
  color: var(--text-primary);
  background: rgba(14, 24, 48, 0.85);
  box-shadow: 0 0 24px var(--accent-glow), 0 8px 24px rgba(0, 0, 0, 0.30);
  transform: translateY(-2px);
}

/* ── Primary CTA — Liquid Glass Cristal ── */
.btn-cta {
  background: var(--accent);
  color: var(--cta-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    var(--neon-glow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  font-weight: 500;
  overflow: hidden;
  border-radius: var(--squircle);
}
/* Shimmer liquide animé — courant nacré qui traverse le bouton */
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(255, 255, 255, 0.20) 50%,
    rgba(255, 255, 255, 0.12) 60%,
    transparent 80%
  );
  background-size: 250% 100%;
  animation: ctaShimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes ctaShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* Reflet nacré réactif (suit --mouse-x/--mouse-y) */
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.30),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 2;
}
.btn-cta:hover::after { opacity: 1; }
.btn-cta:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: var(--neon-glow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta span, .btn-cta svg { position: relative; z-index: 3; }

.btn-lg { padding: 18px 44px; font-size: 0.875rem; }
.btn-sm { padding: 10px 24px; font-size: 0.75rem; }
.btn-nav { padding: 10px 28px; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }
.btn svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover svg { transform: translateX(4px); }

/* Hero CTAs — liquid glass bubbles */
.btn-liquid-glass {
  --liquid-x: 50%;
  --liquid-y: 50%;
  --liquid-raise: 0px;
  --liquid-scale: 1;
  isolation: isolate;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  transform: translate3d(0, 0, 0) scale(1);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.btn-liquid-glass::before,
.btn-liquid-glass::after {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: inherit;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-liquid-glass::before {
  z-index: 1;
  opacity: 0.92;
  background:
    radial-gradient(140px 90px at var(--liquid-x) var(--liquid-y), rgba(255,255,255,0.24), transparent 55%),
    radial-gradient(120px 120px at 20% 25%, rgba(255,255,255,0.16), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04) 42%, rgba(255,255,255,0.02));
  mix-blend-mode: screen;
}

.btn-liquid-glass::after {
  z-index: 2;
  opacity: 0.75;
  inset: auto;
  width: 54%;
  height: 165%;
  left: calc(var(--liquid-x) - 27%);
  top: -38%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.35), rgba(255,255,255,0.08) 42%, transparent 72%);
  filter: blur(10px);
  transform: translateY(8%) scale(0.95);
}

.btn-liquid-glass:hover {
  transform: translate3d(0, calc(var(--liquid-raise) - 2px), 0) scale(var(--liquid-scale));
}

.btn-liquid-glass:hover::before { opacity: 1; }

.btn-liquid-glass:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1.02);
}

.btn-liquid-glass span,
.btn-liquid-glass svg {
  position: relative;
  z-index: 4;
}

.btn-liquid-glass--primary {
  color: #04111d;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(163, 224, 255, 0.88), rgba(56, 189, 248, 0.78) 58%, rgba(11, 126, 203, 0.72)),
    rgba(131, 204, 255, 0.18);
  box-shadow:
    0 16px 42px rgba(56, 189, 248, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 24px rgba(8, 48, 79, 0.18);
}

.btn-liquid-glass--ghost {
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)),
    rgba(9, 16, 30, 0.48);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 24px rgba(2, 5, 16, 0.28);
}

.btn-liquid-glass--ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────
   SECTION BASE
   ───────────────────────────────────────────── */
.section { padding: 10rem 0; position: relative; }

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-cyber);
  font-size: 0.6875rem; font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.8);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.3);
}
.section-tag::before {
  content: '// ';
  display: inline;
  width: auto; height: auto;
  background: none;
  opacity: 0.5;
}
.section-tag::after {
  content: none;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.25;
  color: var(--text-primary);
}
.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.0625rem; color: var(--text-secondary);
  line-height: 1.75; margin-top: 1.5rem;
}

/* Section Ornament (legacy — kept for compatibility) */
.section-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; padding: 1rem 0;
}
.ornament-line { display: block; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-dim), transparent); }
.ornament-diamond { color: var(--accent-dim); font-size: 0.5rem; line-height: 1; }

/* ── Curved Section Separators ── */
.section-curve {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}
.section-curve svg {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
}
.section-curve--flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }

/* ── Tinted section background ── */
.section--tinted {
  background: var(--bg-surface);
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: left;
  padding-top: 100px;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-decorative { position: absolute; inset: 0; pointer-events: none; }
.hero-line {
  position: absolute; width: 1px; height: 35vh;
  background: linear-gradient(180deg, transparent, var(--accent-dim), transparent);
  opacity: 0.25;
}
.hero-line-left  { left: 15%; top: 10%; }
.hero-line-right { right: 15%; bottom: 10%; }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: none;
}

.hero-kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  margin-bottom: 4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
}
.badge-diamond { font-size: 0.4rem; line-height: 1; animation: diamond-pulse 3s ease-in-out infinite; }
@keyframes diamond-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.15rem, 6.3vw, 5.8rem);
  font-weight: 300; line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 10.2ch;
  margin-bottom: 1.35rem;
  perspective: 1000px;
}
.title-line {
  display: block;
  perspective: 800px;
}
/* Mobile-only elements — hidden on desktop */
.title-line--mobile { display: none; }
.hero-mobile-label { display: none; }
.hero-hud { display: none; }
.hero-grid { display: none; }
.hero-logo-pulse { display: none; }
.hero-scroll-hint { display: none; }
.title-accent {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.4));
}

.hero-subtitle {
  font-size: 1.0625rem; font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.82;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-proof span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(8, 14, 28, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(240, 247, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 10px 22px rgba(0,0,0,0.18);
}

.hero-expertise {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap; justify-content: flex-start;
  margin-bottom: 2.5rem;
}
.hero-expertise > span:not(.expertise-sep) {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--squircle);
  background: rgba(10, 18, 38, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-expertise > span:not(.expertise-sep):hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-primary);
  background: rgba(14, 24, 48, 0.80);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30), 0 0 18px var(--accent-glow);
  transform: translateY(-2px);
}
.expertise-sep { display: none; }

.hero-ctas {
  display: flex;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-cta--wide {
  padding-left: clamp(28px, 4vw, 48px);
  padding-right: clamp(28px, 4vw, 48px);
}

.btn-arrow-hover {
  gap: 0.65rem;
}
.btn-arrow-hover .btn-arrow-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-arrow-hover:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* Hero showcase — vitrine droite */
.hero-showcase {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: 0;
}

.hero-showcase__glow {
  position: absolute;
  inset: -18% -8% -12% -8%;
  background: radial-gradient(
    ellipse 72% 58% at 50% 38%,
    rgba(56, 189, 248, 0.18) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-showcase__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), rgba(255,255,255,0.03) 58%, rgba(255,255,255,0.01)),
    rgba(12, 26, 43, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 16px 38px rgba(0,0,0,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: heroOrbFloat 8s ease-in-out infinite;
}

.hero-showcase__orb--top {
  width: 96px;
  height: 96px;
  top: 4%;
  right: 6%;
}

.hero-showcase__orb--bottom {
  width: 70px;
  height: 70px;
  left: 2%;
  bottom: 6%;
  animation-delay: -3s;
}

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

.hero-showcase__floating {
  position: absolute;
  z-index: 2;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(6, 15, 28, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.hero-showcase__floating strong,
.hero-showcase__floating span {
  display: block;
}

.hero-showcase__floating strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.hero-showcase__floating span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-showcase__floating--top {
  top: 7%;
  left: -8%;
}

.hero-showcase__floating--bottom {
  right: -6%;
  bottom: 10%;
}

.hero-showcase__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 3vw, 2.8rem);
  border-radius: var(--squircle);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(7, 15, 29, 0.54);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 34px 80px rgba(0, 0, 0, 0.32),
    0 0 60px rgba(56, 189, 248, 0.08);
}

.hero-showcase__eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.hero-showcase__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

.hero-showcase__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.hero-showcase__stat {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(5, 12, 22, 0.42);
}

.hero-showcase__stat strong,
.hero-showcase__stat span {
  display: block;
}

.hero-showcase__stat strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hero-showcase__stat span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.hero-showcase__tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.hero-showcase__list {
  display: none;
}

.hero-showcase__mock {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
    rgba(2, 5, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 22px 46px rgba(0,0,0,0.24);
}

.hero-showcase__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.hero-showcase__browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.hero-showcase__browser-bar span:nth-child(1) { background: rgba(255, 95, 87, 0.5); }
.hero-showcase__browser-bar span:nth-child(2) { background: rgba(255, 189, 46, 0.45); }
.hero-showcase__browser-bar span:nth-child(3) { background: rgba(52, 199, 89, 0.45); }

.hero-showcase__browser-body {
  padding: 1.35rem 1.45rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.hero-showcase__mock-kicker {
  width: 112px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.7), rgba(255,255,255,0.08));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
}

.hero-showcase__mock-line {
  height: 9px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.35), rgba(255, 255, 255, 0.08));
  opacity: 0.85;
}
.hero-showcase__mock-line--w88 { width: 88%; }
.hero-showcase__mock-line--w62 { width: 62%; }

.hero-showcase__mock-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
  padding-top: 0.2rem;
}

.hero-showcase__mock-card {
  min-height: 78px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
    rgba(6, 18, 32, 0.62);
}

.hero-showcase__mock-card--small {
  min-height: 78px;
  background:
    radial-gradient(circle at 35% 35%, rgba(56, 189, 248, 0.25), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
    rgba(6, 18, 32, 0.62);
}

.hero-showcase__mock-cta {
  margin-top: 0.3rem;
  height: 38px;
  width: 48%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(173, 230, 255, 0.92), rgba(56, 189, 248, 0.84) 62%, rgba(18, 138, 214, 0.78)),
    rgba(131, 204, 255, 0.16);
  box-shadow:
    0 14px 26px rgba(56, 189, 248, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.36);
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.scroll-line-container {
  width: 1px; height: 48px;
  background: var(--text-faint);
  position: relative; overflow: hidden; border-radius: 1px;
}
.scroll-line-animated {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  transform: translateY(-200%);
  will-change: transform;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }
.scroll-text {
  font-size: 0.625rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}

/* ─────────────────────────────────────────────
   SERVICES — Glassmorphism Cards
   ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  border-radius: var(--squircle);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  padding: 3rem;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Reflet nacré réactif au curseur */
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after { opacity: 1; }

/* Iridescent border gradient on hover (simule bord fondu) */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.15),
    rgba(255, 255, 255, 0.12),
    rgba(125, 211, 252, 0.20),
    rgba(255, 255, 255, 0.06),
    rgba(14, 165, 233, 0.15)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 3;
}
.service-card:hover::before { opacity: 1; }

/* ── Hover : glow cyan + biseautage ── */
.service-card:hover {
  box-shadow:
    var(--shadow-card),
    0 0 30px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transform: translateY(-6px);
}

.service-card__icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative; z-index: 2;
}
.service-card__icon svg {
  width: 48px;
  height: 48px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.4s ease;
}
/* All service icons — subtle scale on hover */
.service-card:hover .service-card__icon svg {
  transform: scale(1.08);
  color: var(--accent-light);
}

.service-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}
.service-card p {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.service-card__badge {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 1rem;
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  position: relative;
  z-index: 2;
}

/* Services — bento + bandeau CTA */
.services-bento {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.services-bento__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card--featured {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card--featured h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}

.service-card--featured .service-card__badge {
  margin-top: auto;
}

.service-card--compact {
  flex: 1;
  min-height: 0;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.service-card--compact .service-card__icon {
  margin-bottom: 0.75rem;
}

.service-card--compact .service-card__icon svg {
  width: 36px;
  height: 36px;
}

.service-card--compact h3 {
  font-size: 1.125rem;
  margin-bottom: 0.45rem;
}

.service-card--compact p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
  flex: 1;
}

.services-strip-cta {
  margin-top: 2.5rem;
  border-radius: var(--squircle);
  border: 1px solid rgba(56, 189, 248, 0.12);
  background: linear-gradient(
    135deg,
    rgba(10, 18, 38, 0.75),
    rgba(6, 12, 26, 0.65)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
  overflow: hidden;
}

.services-strip-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.15rem) clamp(1.5rem, 3vw, 2.5rem);
}

.services-strip-cta__text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 34rem;
  line-height: 1.65;
}

.services-strip-cta__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   SERVICES — Bento Asymétrique
   ───────────────────────────────────────────── */
.svc-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Hero card — spans left column, full height */
.svc-hero {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--squircle);
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.30);
  box-shadow: var(--neon-glow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.svc-hero:hover {
  transform: translateY(-4px);
  box-shadow: var(--neon-glow-lg);
  border-color: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.45);
}
.svc-hero__glow {
  position: absolute; inset: -40%; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.15), transparent 65%);
  filter: blur(60px); opacity: 0; transition: opacity 0.6s; pointer-events: none;
}
.svc-hero:hover .svc-hero__glow { opacity: 1; }
.svc-hero__number {
  font-family: var(--font-cyber);
  font-size: 2.5rem; font-weight: 300; color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.20);
  text-shadow: 0 0 15px rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.15);
  line-height: 1; margin-bottom: 1rem;
}
.svc-hero__icon {
  color: var(--accent); margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 6px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.6));
}
.svc-hero h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400;
  color: var(--text-primary); line-height: 1.2; margin-bottom: 1rem;
}
.svc-hero p {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 1.5rem; flex: 1;
}
.svc-tag {
  display: inline-flex; align-self: flex-start;
  font-family: var(--font-cyber);
  font-size: 0.625rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.8);
  padding: 0.35rem 1rem;
  border: 1px solid rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.20);
  border-radius: 6px;
  background: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.06);
}

/* Compact cards — right column, stacked */
.svc-compact {
  grid-column: 2 / 4;
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  background: rgba(8, 14, 30, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-compact:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,0.15);
  box-shadow: 0 12px 36px rgba(0,0,0,0.30);
}
.svc-compact__number {
  font-family: var(--font-cyber);
  font-size: 1rem; font-weight: 400; color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.35);
  flex-shrink: 0; min-width: 28px;
}
.svc-compact__icon {
  color: var(--accent); flex-shrink: 0; margin-top: 2px;
  filter: drop-shadow(0 0 5px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.5));
}
.svc-compact h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem; font-weight: 500; color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.svc-compact p {
  font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6;
}

@media (max-width: 768px) {
  .svc-bento { grid-template-columns: 1fr; }
  .svc-hero { grid-column: 1; grid-row: auto; padding: 1.5rem; }
  .svc-hero h3 { font-size: 1.35rem; }
  .svc-hero__number { font-size: 2rem; }
  .svc-compact { grid-column: 1; padding: 1.15rem; }
}

/* ─────────────────────────────────────────────
   PORTFOLIO — Horizontal Slider
   ───────────────────────────────────────────── */
.portfolio-slider {
  position: relative;
}
/* Desktop : grille 2x2 élégante — tous les projets visibles */
.portfolio-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.portfolio-track::-webkit-scrollbar { display: none; }

.portfolio-slide {
  border-radius: var(--squircle);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.portfolio-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--neon-glow-md);
  border-color: var(--glass-border-hover);
}

.portfolio-slide__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.portfolio-slide__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.portfolio-slide:hover .portfolio-slide__img img { transform: scale(1.05); }

.portfolio-slide__info {
  padding: 1rem 1.15rem;
}
.portfolio-slide__tag {
  display: inline-block;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(56,189,248,0.12);
  padding: 0.2rem 0.6rem; border-radius: 4px;
  margin-bottom: 0.5rem;
}
.portfolio-slide__info h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--text-primary); margin-bottom: 0.2rem;
}
.portfolio-slide__info p {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

.portfolio-slider__hint {
  display: none; /* Hidden on desktop — shown on mobile */
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-cyber);
  font-size: 0.65rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: hintPulse 2s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

@media (max-width: 768px) {
  .portfolio-slide { flex: 0 0 75vw; }
}
@media (max-width: 480px) {
  .portfolio-slide { flex: 0 0 85vw; }
  .portfolio-slide__info { padding: 0.85rem; }
}

/* ─────────────────────────────────────────────
   MANIFESTE — Interactive Tabs
   ───────────────────────────────────────────── */
.manifeste-tabs {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}
.manifeste-tabs__nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.manifeste-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.35rem 1rem;
  border-radius: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.08);
  color: var(--text-muted);
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.manifeste-tab:hover {
  background: rgba(10, 18, 38, 0.70);
  border-color: rgba(255,255,255,0.10);
  color: var(--text-secondary);
}
.manifeste-tab.active {
  background: rgba(var(--neon-r),var(--neon-g),var(--neon-b), 0.10);
  border-color: rgba(var(--neon-r),var(--neon-g),var(--neon-b), 0.35);
  color: var(--accent);
  box-shadow: var(--neon-glow-md);
}
.manifeste-tab__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
}
.manifeste-tab.active .manifeste-tab__num { color: var(--accent-light); }

/* Panels */
.manifeste-panel {
  display: none;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--squircle);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.12);
  box-shadow: var(--neon-glow-sm);
  animation: panelFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.manifeste-panel.active { display: block; }
@keyframes panelFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.manifeste-panel__quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--accent-light);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(56,189,248,0.25);
}
.manifeste-panel p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.manifeste-cta {
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .manifeste-tabs__nav { gap: 0.35rem; }
  .manifeste-tab { padding: 0.75rem 0.5rem; font-size: 0.65rem; }
  .manifeste-tab__num { font-size: 1rem; }
  .manifeste-panel { padding: 1.5rem 1.15rem; }
  .manifeste-panel__quote { font-size: 1.05rem; }
  .manifeste-panel p { font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .manifeste-tab { padding: 0.6rem 0.35rem; font-size: 0.6rem; }
  .manifeste-panel { padding: 1.15rem 1rem; }
}

/* ─────────────────────────────────────────────
   HERO — Equal CTAs
   ───────────────────────────────────────────── */
.hero-ctas--equal {
  gap: 1rem;
}
.btn-hero-equal {
  min-width: 240px;
  justify-content: center;
  text-align: center;
  padding: 16px 32px;
  font-size: 0.8125rem;
}
@media (max-width: 768px) {
  .btn-hero-equal { min-width: 0; width: 100%; }
}

/* ─────────────────────────────────────────────
   MOBILE MENU — Close Button (X)
   ───────────────────────────────────────────── */
.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.active .mobile-menu__close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition-delay: 50ms;
}
.mobile-menu__close:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.mobile-menu__close:active {
  transform: scale(0.9);
}

/* ─────────────────────────────────────────────
   BEFORE / AFTER — Slider
   ───────────────────────────────────────────── */
.ba-wrapper { max-width: 800px; margin: 0 auto; }
.ba-labels {
  display: flex; justify-content: space-between;
  margin-bottom: 1rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  font-weight: 500; color: var(--text-muted);
}
.ba-container {
  position: relative; width: 100%; aspect-ratio: 16/10;
  border-radius: 12px; overflow: hidden; cursor: ew-resize;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glow);
}
.ba-panel {
  position: absolute; inset: 0; overflow: hidden;
}
.ba-after { clip-path: inset(0 0 0 50%); z-index: 2; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  z-index: 10; width: 3px; transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle-line {
  position: absolute; inset: 0;
  background: var(--accent); opacity: 0.8;
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--accent-glow);
  pointer-events: auto; cursor: ew-resize;
  color: var(--accent);
}
.ba-handle-grip svg { width: 14px; height: 14px; }

/* Mockup — Generic template */
.ba-mockup { width: 100%; height: 100%; padding: 1.5rem; display: flex; flex-direction: column; }
.ba-mockup--generic {
  background: #f5f5f5; color: #333;
  font-family: Arial, Helvetica, sans-serif;
}
.mock-header-generic {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; border-bottom: 1px solid #ddd; margin-bottom: 1.5rem;
}
.mock-logo-generic { font-size: 1rem; font-weight: 700; color: #666; }
.mock-nav-generic { display: flex; gap: 1rem; font-size: 0.65rem; color: #999; }
.mock-hero-generic { text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.75rem; }
.mock-title-generic { font-size: clamp(0.9rem, 2.5vw, 1.3rem); font-weight: 700; color: #555; }
.mock-subtitle-generic { font-size: 0.6rem; color: #aaa; max-width: 250px; line-height: 1.4; }
.mock-btn-generic {
  display: inline-block; padding: 0.4rem 1.2rem; font-size: 0.6rem;
  background: #2196F3; color: #fff; border-radius: 3px; margin-top: 0.5rem;
}
.mock-cards-generic { display: flex; gap: 0.75rem; margin-top: auto; }
.mock-card-generic {
  flex: 1; background: #fff; border: 1px solid #eee;
  border-radius: 4px; padding: 0.75rem; text-align: center;
}
.mock-card-icon-generic { font-size: 1rem; color: #ccc; }
.mock-card-text-generic { font-size: 0.55rem; color: #999; margin-top: 0.25rem; }

/* Mockup — Premium IRYA */
.ba-mockup--premium {
  background: #060B18; color: #fff;
  font-family: 'Jost', 'Cormorant Garamond', Georgia, serif;
  position: relative; overflow: hidden;
}
.ba-mockup--premium::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 300px 200px at 70% 30%, rgba(0,212,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 200px 250px at 20% 80%, rgba(0,100,255,0.06) 0%, transparent 70%);
  animation: premiumAmbient 6s ease-in-out infinite alternate;
}
@keyframes premiumAmbient {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.ba-mockup--premium > * { position: relative; z-index: 1; }
.mock-header-premium {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; border-bottom: 1px solid rgba(0,212,255,0.1); margin-bottom: 1.5rem;
}
.mock-logo-premium { font-size: 0.85rem; font-weight: 400; color: #7CB9D8; letter-spacing: 0.15em; }
.mock-nav-premium { display: flex; gap: 1rem; font-size: 0.6rem; color: #94A3B8; letter-spacing: 0.1em; }
.mock-hero-premium { text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.6rem; }
.mock-badge-premium {
  font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #7CB9D8; border: 1px solid rgba(0,212,255,0.2); padding: 0.2rem 0.6rem; border-radius: 3px;
}
.mock-title-premium {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem); font-weight: 300; line-height: 1.3;
}
.mock-title-premium em { color: #7CB9D8; font-style: italic; }
.mock-subtitle-premium { font-size: 0.55rem; color: #94A3B8; }
.mock-btn-premium {
  display: inline-block; padding: 0.4rem 1.2rem; font-size: 0.55rem;
  background: #7CB9D8; color: #060B18; border-radius: 3px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem;
  box-shadow: 0 0 15px rgba(0,212,255,0.3);
}
.mock-cards-premium { display: flex; gap: 0.75rem; margin-top: auto; }
.mock-card-premium {
  flex: 1; position: relative; border-radius: 8px; padding: 0.75rem;
  background: rgba(10,20,35,0.8); border: 1px solid rgba(0,212,255,0.1);
  backdrop-filter: blur(8px); text-align: center;
}
.mock-card-glow {
  position: absolute; inset: -1px; border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 60%, rgba(0,212,255,0.15) 80%, transparent 100%);
  opacity: 0; transition: opacity 0.4s;
}
.ba-mockup--premium:hover .mock-card-glow { opacity: 1; }
.mock-card-label { position: relative; font-size: 0.55rem; color: #94A3B8; letter-spacing: 0.08em; }

/* Light theme adjustments for BA */
body.theme-light .ba-mockup--premium {
  background: #F4F7FB; color: #1a1a2e;
}
body.theme-light .mock-header-premium { border-bottom-color: rgba(0,120,212,0.15); }
body.theme-light .mock-logo-premium { color: #0078D4; }
body.theme-light .mock-title-premium em { color: #0078D4; }
body.theme-light .mock-badge-premium { color: #0078D4; border-color: rgba(0,120,212,0.25); }
body.theme-light .mock-btn-premium { background: #0078D4; box-shadow: 0 0 15px rgba(0,120,212,0.2); }
body.theme-light .mock-card-premium { background: rgba(255,255,255,0.7); border-color: rgba(0,120,212,0.1); }

/* ─────────────────────────────────────────────
   PORTFOLIO — Concept Studies
   ───────────────────────────────────────────── */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.portfolio-card {
  border-radius: var(--squircle); overflow: hidden;
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--glass-border);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), 0 0 30px var(--accent-glow);
  border-color: var(--glass-border-hover, rgba(255, 255, 255, 0.20));
}
.portfolio-card__visual {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden;
}
.portfolio-card__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 11, 24, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.portfolio-card:hover .portfolio-card__visual::after { opacity: 1; }
.portfolio-card__visual img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-card:hover .portfolio-card__visual img {
  transform: scale(1.04);
}
.portfolio-card--link {
  text-decoration: none; color: inherit; display: block; cursor: pointer;
}
.portfolio-card__visual--coiffure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.portfolio-card__visual--tattoo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.portfolio-card__visual--coach {
  background: linear-gradient(135deg, #134E5E 0%, #71B280 60%, #A8E6CF 100%);
}
.portfolio-card__tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(0,0,0,0.5); color: #fff;
  padding: 0.25rem 0.6rem; border-radius: 3px;
  backdrop-filter: blur(6px);
}
.portfolio-card__info {
  padding: 1.5rem;
}
.portfolio-card__info h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; font-weight: 500;
  margin-bottom: 0.5rem; color: var(--text-primary);
}
.portfolio-card__info p {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 0.75rem;
}
.portfolio-card__type {
  font-size: 0.6875rem; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}

/* ── Portfolio images — new projects ── */
.portfolio-card__visual--resto img,
.portfolio-card__visual--hair img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Portfolio tag — démonstration ── */
.portfolio-card__tag--demo {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-light);
  border: 1px solid rgba(56, 189, 248, 0.20);
  backdrop-filter: blur(8px);
}

/* ── Portfolio placeholder (coming soon) ── */
.portfolio-card--placeholder {
  cursor: default;
}
.portfolio-card__visual--soon {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 18, 38, 0.80), rgba(6, 12, 26, 0.60));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.portfolio-placeholder-icon {
  color: var(--text-faint);
  opacity: 0.5;
}
.portfolio-card__tag--soon {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.15);
}
.portfolio-card__cta-link {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Portfolio Stats Bar ── */
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--squircle);
  background: rgba(8, 14, 30, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.portfolio-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.portfolio-stat strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.portfolio-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .portfolio-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem; }
  .portfolio-stat strong { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .portfolio-stats { gap: 0.75rem; padding: 1.25rem; }
  .portfolio-stat strong { font-size: 1.25rem; }
  .portfolio-stat span { font-size: 0.65rem; }
}

/* ── Hero Metrics (right panel) ── */
.hero-showcase__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-metric {
  padding: 1.15rem 1rem;
  border-radius: 16px;
  background: rgba(14, 24, 48, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}
.hero-metric:hover {
  background: rgba(14, 24, 48, 0.80);
  border-color: rgba(56, 189, 248, 0.15);
}
.hero-metric__number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.hero-metric__label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-showcase__caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 480px) {
  .hero-showcase__metrics { gap: 0.65rem; }
  .hero-metric { padding: 0.85rem 0.65rem; }
  .hero-metric__number { font-size: 1.35rem; }
  .hero-metric__label { font-size: 0.6rem; }
}

/* ─────────────────────────────────────────────
   AVAILABILITY BANNER
   ───────────────────────────────────────────── */
.availability-banner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; padding: 1rem 2rem;
  font-size: 0.875rem; color: var(--text-secondary);
  text-align: center;
}
.availability-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.availability-banner strong { color: var(--text-primary); }

/* ── Availability banner — Hero variant (prominent) ── */
.availability-banner--hero {
  padding: 1.25rem 2.5rem;
  margin: 0 auto;
  max-width: 600px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  box-shadow: var(--shadow-glow);
  font-size: 0.9375rem;
}
.availability-banner--urgent {
  padding: 1.25rem 2.5rem;
  margin: 0 auto 2rem;
  max-width: 600px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  font-size: 0.9375rem;
}
.availability-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.availability-link:hover { color: var(--accent-light); }

/* ─────────────────────────────────────────────
   PROJECT CALCULATOR — Wizard
   ───────────────────────────────────────────── */
.project-calculator {
  background: rgba(8, 14, 30, 0.80);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--squircle); padding: 3rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
}
.calc-progress {
  position: relative; height: 3px; border-radius: 2px;
  background: var(--text-faint); margin-bottom: 2rem;
}
.calc-progress-bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--accent); border-radius: 2px;
  transition: width 0.4s ease;
}
.calc-dots {
  display: flex; justify-content: space-between;
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
}
.calc-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-surface); border: 2px solid var(--text-faint);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 600; color: var(--text-muted);
  transition: all 0.3s ease;
}
.calc-dot.active { border-color: var(--accent); color: var(--accent); background: var(--bg-primary); }
.calc-dot.done { border-color: var(--accent); background: var(--accent); color: var(--btn-text); }

.calc-step { display: none; }
.calc-step.active { display: block; animation: calcFadeIn 0.35s ease; }
@keyframes calcFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.calc-step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; font-weight: 400; text-align: center;
  margin-bottom: 1.5rem; color: var(--text-primary);
}

.calc-options {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
.calc-options--timeline { grid-template-columns: repeat(3, 1fr); }
.calc-option {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.5rem 1.25rem; border-radius: var(--squircle);
  background: var(--bg-surface); border: 1px solid var(--glass-border);
  color: var(--text-secondary); font-size: 0.8125rem;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); cursor: pointer; min-height: 44px;
}
.calc-option:hover { border-color: var(--accent-dim); color: var(--text-primary); }
.calc-option.selected {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-subtle); box-shadow: 0 0 15px var(--accent-glow);
}
.calc-option svg { stroke: currentColor; }

.calc-checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.calc-check {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem; border-radius: 8px;
  background: var(--bg-surface); border: 1px solid var(--glass-border);
  cursor: pointer; transition: border-color 0.25s; font-size: 0.875rem; color: var(--text-secondary);
}
.calc-check:hover { border-color: var(--accent-dim); }
.calc-check input { display: none; }
.calc-check-box {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid var(--text-faint); transition: all 0.2s;
  position: relative;
}
.calc-check input:checked ~ .calc-check-box {
  background: var(--accent); border-color: var(--accent);
}
.calc-check input:checked ~ .calc-check-box::after {
  content: ''; position: absolute;
  left: 4px; top: 1px; width: 5px; height: 9px;
  border: solid var(--btn-text); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.calc-check input:checked ~ span:last-child { color: var(--text-primary); }

.calc-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.5rem; gap: 1rem;
}

.calc-summary {
  background: var(--bg-surface); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 1.25rem; margin-bottom: 1.5rem;
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7;
}
.calc-summary strong { color: var(--accent); }

.calc-fallback-link {
  text-align: center; margin-top: 1.25rem;
  font-size: 0.75rem; color: var(--text-muted);
}
.calc-fallback-link a {
  color: var(--text-muted); text-decoration: underline;
  text-underline-offset: 2px; transition: color 0.2s;
}
.calc-fallback-link a:hover { color: var(--accent); }

.calc-form .form-group { margin-bottom: 1rem; }

/* ─────────────────────────────────────────────
   RESPONSIVE — New sections
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .portfolio-card__info { padding: 1.25rem; }
  .portfolio-card__info h3 { font-size: 1.2rem; }
  .portfolio-card__info p { font-size: 0.8125rem; }
  .calc-options--timeline { grid-template-columns: 1fr; }
  .ba-container { aspect-ratio: 4/3; }
  .ba-mockup { padding: 1rem; }
  .mock-nav-generic, .mock-nav-premium { display: none; }
  .mock-cards-generic, .mock-cards-premium { flex-direction: column; gap: 0.4rem; }
  .mock-title-generic { font-size: 0.85rem; }
  .mock-title-premium { font-size: 0.9rem; }
  .mock-subtitle-generic, .mock-subtitle-premium { font-size: 0.5rem; }
  .ba-labels { font-size: 0.65rem; }
  .ba-handle-grip { width: 36px; height: 36px; }
  .processus-timeline { gap: 1rem; }
  .processus-step { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .calc-options { grid-template-columns: 1fr; }
  .ba-container { aspect-ratio: 1/1; }
  .mock-cards-generic, .mock-cards-premium { display: none; }
  .mock-hero-generic, .mock-hero-premium { justify-content: center; }
  .processus-step__content p { font-size: 0.85rem; }
  .portfolio-card__info { padding: 1rem; }
  .portfolio-card__info h3 { font-size: 1.1rem; }
  .portfolio-card__type { font-size: 0.625rem; }
}

/* ─────────────────────────────────────────────
   PROCESSUS — Timeline
   ───────────────────────────────────────────── */
.processus-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.processus-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim), transparent);
  opacity: 0.3;
}

.processus-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.processus-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}
.processus-step:hover .processus-step__number {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.processus-step__content {
  flex: 1;
  padding: 0.5rem 0 2rem;
}
.processus-step__content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.processus-step__content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   FAQ — Accordion
   ───────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 750px;
  margin: 0 auto;
}

/* ── FAQ Glass Wrapper ── */
.faq-glass-wrapper {
  background: rgba(6, 12, 26, 0.60);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--squircle) + 8px);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.faq-item {
  position: relative;
  background: rgba(8, 14, 30, 0.75);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--squircle);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item:hover {
  border-color: var(--glass-border-hover, rgba(255, 255, 255, 0.15));
  transform: translateY(-2px);
}
.faq-item.active {
  border-color: rgba(56, 189, 248, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.40), 0 0 24px var(--accent-glow);
  transform: translateY(-4px);
  background: rgba(10, 18, 38, 0.90);
}
/* Micro-particules lumineuses sur FAQ ouverte */
.faq-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 189, 248, 0.40),
    rgba(255, 255, 255, 0.30),
    rgba(125, 211, 252, 0.40),
    transparent
  );
  background-size: 200% 100%;
  animation: faqGlowLine 3s ease-in-out infinite;
  border-radius: 1px;
  z-index: 5;
}
@keyframes faqGlowLine {
  0%, 100% { background-position: 200% 0; opacity: 0.6; }
  50% { background-position: -200% 0; opacity: 1; }
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 2rem;
  text-align: left;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}
.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
}
.faq-item.active .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
  padding: 0 2rem;
}
.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding: 0 2rem 1.5rem;
}
.faq-item__answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   MANIFESTE
   ───────────────────────────────────────────── */
.manifeste-content {
  max-width: 800px; margin: 0 auto; text-align: center;
}

.manifeste-quote {
  position: relative;
  margin-bottom: 4rem;
  padding: 3rem 0;
}

.manifeste-quote--poster {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 18px;
  background: rgba(8, 14, 30, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
}
.quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem; font-weight: 300;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}
.quote-mark-end { margin-bottom: 0; margin-top: 1rem; }

.manifeste-quote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 400; line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
}
.manifeste-quote em { color: var(--accent); font-style: italic; }

.manifeste-body {
  display: flex; flex-direction: column; align-items: center;
  gap: 4rem; margin-bottom: 6rem;
}
.manifeste-text { max-width: 600px; }
.manifeste-text p {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1.5rem;
}
.manifeste-text p:last-child { margin-bottom: 0; }

.manifeste-signature { display: flex; align-items: center; gap: 1.5rem; }
.signature-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--accent-glow);
}
.signature-avatar span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--btn-text);
}
.signature-info { text-align: left; }
.signature-info strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 2px;
}
.signature-info span { font-size: 0.8125rem; color: var(--text-muted); }

.manifeste-values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: left;
  border-top: 1px solid var(--accent-subtle);
  padding-top: 3rem;
}

.value-item {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 30, 0.50);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.value-item:hover {
  background: rgba(10, 18, 38, 0.70);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.value-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem; font-weight: 300;
  color: var(--accent-dim);
  line-height: 1; margin-bottom: 1rem;
}
.value-item h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.5rem;
}
.value-item p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

.manifeste-cta {
  margin-top: 2.75rem;
  padding-top: 0.5rem;
  text-align: center;
}

/* Manifeste — apparition échelonnée au scroll (html.js = JS actif, voir <head>) */
html.js [data-stagger-children] .value-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js [data-stagger-children].is-stagger-visible .value-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}
html.js [data-stagger-children].is-stagger-visible .value-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 95ms;
}
html.js [data-stagger-children].is-stagger-visible .value-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 190ms;
}

/* (Stats & Testimonials removed — replaced by FAQ) */

/* ─────────────────────────────────────────────
   L'INVITATION — CONTACT (Glass Form)
   ───────────────────────────────────────────── */
.invitation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: start;
}

.invitation-text {
  padding: 2.5rem;
  background: rgba(8, 14, 30, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--squircle);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.30);
}

.invitation-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem; font-weight: 400;
  font-style: italic; line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.invitation-desc {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 2.5rem;
}
.invitation-details { display: flex; flex-direction: column; gap: 1.25rem; }
.detail-item {
  display: flex; align-items: center; gap: 1rem;
  color: #B4C9E0;
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(14, 24, 48, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.detail-item:hover {
  background: rgba(14, 24, 48, 0.70);
  border-color: rgba(56, 189, 248, 0.12);
}
.detail-item a {
  color: #B4C9E0;
  transition: color 0.2s;
}
.detail-item a:hover {
  color: var(--accent-light);
}
.detail-item svg { color: var(--accent); flex-shrink: 0; }
.detail-phone {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent-light) !important;
  letter-spacing: 0.02em;
}

.invitation-form {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 3rem;
  background: rgba(8, 14, 30, 0.80);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--squircle);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9375rem; font-weight: 500;
  font-style: italic; color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid var(--text-faint);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group select {
  background: var(--bg-surface);
  padding: 14px 12px;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--text-faint);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 8px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Hidden native select (for Netlify forms) ── */
.native-select-hidden {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Custom Select Dropdown ── */
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--text-faint);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.custom-select-trigger:focus,
.custom-select.open .custom-select-trigger {
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.custom-select-value {
  font-family: 'Jost', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
}
.custom-select-value.has-value {
  color: var(--text-primary);
}
.custom-select-arrow {
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
  flex-shrink: 0;
}
.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: -16px; right: -16px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 6px 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
  z-index: 50;
  box-shadow: var(--shadow-card);
}
.custom-select.open .custom-select-options {
  max-height: 280px;
  opacity: 1;
}
.custom-select-option {
  padding: 13px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.custom-select-option:hover {
  background: var(--accent-glow);
  color: var(--accent);
  padding-left: 26px;
}
.custom-select-option.selected {
  color: var(--accent);
  font-weight: 400;
}
.custom-select-option.selected::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.invitation-form .btn { margin-top: 1rem; }

/* ─────────────────────────────────────────────
   FOOTER — Glass Panel
   ───────────────────────────────────────────── */
.footer {
  padding: 4rem 0 2rem;
  margin: 4rem 2rem 2rem;
  background: rgba(6, 12, 26, 0.75);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--squircle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
}
.footer-top {
  display: flex; justify-content: space-between;
  gap: 6rem; margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.footer-links { display: flex; gap: 6rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.8125rem; color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a {
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent-subtle);
  color: var(--text-muted);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--neon-glow-md);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   NEON AMBIENT BLOBS
   ───────────────────────────────────────────── */
.neon-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.neon-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: blobFloat 12s ease-in-out infinite alternate;
}
.neon-blob--tl {
  width: 500px; height: 500px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.08), transparent 70%);
}
.neon-blob--br {
  width: 600px; height: 600px;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(0,120,255,0.06), transparent 70%);
  animation-delay: -4s;
}
.neon-blob--center {
  width: 400px; height: 400px;
  top: 40%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.04), transparent 65%);
  animation-delay: -8s;
}
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}
.neon-blob--center { animation-name: blobFloatCenter; }
@keyframes blobFloatCenter {
  0% { transform: translateX(-50%) scale(1); }
  100% { transform: translateX(-45%) scale(1.05); }
}

/* ─────────────────────────────────────────────
   CYBER CORNERS — Utility class
   Add .cyber-corners to any element for neon corner lines
   ───────────────────────────────────────────── */
.cyber-corners {
  position: relative;
}
.cyber-corners::before,
.cyber-corners::after {
  content: '';
  position: absolute;
  width: 24px; height: 1px;
  background: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.6);
  box-shadow: var(--neon-glow-sm);
  pointer-events: none;
  z-index: 5;
}
.cyber-corners::before {
  top: 0; left: 0;
}
.cyber-corners::after {
  bottom: 0; right: 0;
}

/* Vertical corner lines via data attribute */
.cyber-corners[data-corners]::before {
  box-shadow: var(--neon-glow-sm), 0 0 0 0 transparent;
}

/* ─────────────────────────────────────────────
   NEON GLOW — Utility classes for any element
   ───────────────────────────────────────────── */
.glow-sm { box-shadow: var(--neon-glow-sm); }
.glow-md { box-shadow: var(--neon-glow-md); }
.glow-lg { box-shadow: var(--neon-glow-lg); }
.glow-hover:hover { box-shadow: var(--neon-glow-md); transition: box-shadow 0.4s ease; }
.glow-hover-lg:hover { box-shadow: var(--neon-glow-lg); transition: box-shadow 0.4s ease; }

/* ─────────────────────────────────────────────
   CYBER LABEL — Monospace tech typography
   ───────────────────────────────────────────── */
.cyber-label {
  font-family: var(--font-cyber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}
.cyber-label--xs { font-size: 0.625rem; }
.cyber-label--sm { font-size: 0.6875rem; }
.cyber-label--md { font-size: 0.75rem; }
.cyber-label--lg { font-size: 0.875rem; }

/* ─────────────────────────────────────────────
   NEON BADGE — Inline tech tags
   ───────────────────────────────────────────── */
.neon-badge {
  display: inline-block;
  font-family: var(--font-cyber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.625rem;
  color: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.8);
  border: 1px solid rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.06);
}

/* ─────────────────────────────────────────────
   NEON ICON — Drop-shadow glow for SVGs
   ───────────────────────────────────────────── */
.neon-icon {
  filter: drop-shadow(0 0 5px rgba(var(--neon-r), var(--neon-g), var(--neon-b), 0.6));
  color: var(--accent);
}

/* ─────────────────────────────────────────────
   CONTENT VISIBILITY (Static — No scroll animation)
   ───────────────────────────────────────────── */
/* ─────────────────────────────────────────────
   SCROLL REVEAL — Dramatic entrance animation
   ───────────────────────────────────────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Stagger children */
html.js .reveal:nth-child(2) { transition-delay: 120ms; }
html.js .reveal:nth-child(3) { transition-delay: 240ms; }
html.js .reveal:nth-child(4) { transition-delay: 360ms; }
html.js .reveal:nth-child(5) { transition-delay: 480ms; }

/* Fallback: no JS = everything visible */
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

/* (Legacy borderRotate/cardPulse removed — replaced by nacré + magnetic) */

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (1024px)
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-bento { grid-template-columns: 1fr; }
  .services-cubes { grid-template-columns: repeat(2, 1fr); }
  .invitation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero { text-align: center; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-title { max-width: none; font-size: clamp(2.5rem, 7vw, 4rem); }
  .hero-expertise { justify-content: center; }
  .hero-ctas { justify-content: center; width: 100%; }
  .hero-showcase { max-width: 420px; margin: 0 auto; width: 100%; }
  .footer-top { gap: 2.5rem; }
  .footer-links { gap: 2.5rem; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE FUTURISTE (768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Nav ── */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .navbar { padding: 0.75rem 1rem; }
  .navbar.scrolled { padding: 0.5rem 1rem; }
  .navbar.scrolled .navbar-inner { max-width: 100%; padding: 0.5rem 1rem; }

  /* ═══════════════════════════════════════
     1. TYPOGRAPHIE — 17px, interligne 1.8
     ═══════════════════════════════════════ */
  body { font-size: 1.0625rem; line-height: 1.8; }

  /* ── Section tags — Monospace ── */
  .section-tag { font-size: 0.65rem; margin-bottom: 0.75rem; }

  /* ── Sections — aérées ── */
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-title { font-size: 1.5rem; letter-spacing: -0.01em; }
  .section-desc { font-size: 0.9375rem; margin-top: 0.75rem; line-height: 1.8; display: none; }

  /* ═══════════════════════════════════════
     2. HERO MOBILE — Lisible & Premium
     Structure : HUD → label → ✦ petit → TITRE → CTA → scroll hint
     ═══════════════════════════════════════ */
  .hero {
    padding-top: 0; padding-bottom: 0;
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center;
    justify-content: center;
    position: relative;
  }
  .hero-copy {
    position: relative; z-index: 3;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 0 1.5rem;
  }

  /* Masquer les éléments desktop */
  .hero-kicker { display: none; }
  .hero-subtitle { display: none; }
  .hero-expertise { display: none; }
  .hero-showcase { display: none; }
  .hero-scroll { display: none; }
  .hero-line { display: none; }
  .hero-decorative { display: none; }
  .title-line--desktop { display: none; }

  /* Afficher les éléments mobile */
  .hero-mobile-label { display: block !important; }
  .title-line--mobile { display: block !important; }

  /* ── Grille de fond — très subtile, en bas seulement ── */
  .hero-grid {
    display: block;
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 65%, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 65%, rgba(0,0,0,0.4) 0%, transparent 70%);
    pointer-events: none;
  }

  /* ── Logo ✦ — PETIT, au-dessus du label, pas derrière le titre ── */
  .hero-logo-pulse {
    display: block;
    position: relative;
    font-size: 3rem;
    color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.5);
    text-shadow: 0 0 20px rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.4);
    animation: logoPulse 3s ease-in-out infinite;
    pointer-events: none;
    margin-bottom: 1rem;
    z-index: 3;
    order: -2;
  }
  @keyframes logoPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); text-shadow: 0 0 30px rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.6); }
  }

  /* ── HUD coordinates — coins discrets ── */
  .hero-hud { display: block; }
  .hero-hud__coord {
    position: absolute;
    font-family: var(--font-cyber);
    font-size: 0.55rem;
    color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.28);
    letter-spacing: 0.1em;
    text-shadow: 0 0 6px rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.15);
    z-index: 1;
  }
  .hero-hud__coord--tl { top: 4.5rem; left: 1rem; }
  .hero-hud__coord--tr { top: 4.5rem; right: 1rem; }
  .hero-hud__coord--bl { bottom: 3.5rem; left: 1rem; }
  .hero-hud__coord--br { bottom: 3.5rem; right: 1rem; }

  /* ── Label monospace ── */
  .hero-mobile-label {
    font-family: var(--font-cyber);
    font-size: 0.6rem;
    color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.45);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.25rem;
    order: -1;
  }

  /* ── Titre — CAPITALES, néon glow, très lisible ── */
  .hero-title {
    font-family: 'Jost', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    color: #fff;
    text-shadow:
      0 0 20px rgba(var(--neon-r),var(--neon-g),var(--neon-b), 0.25),
      0 0 60px rgba(var(--neon-r),var(--neon-g),var(--neon-b), 0.08);
    position: relative;
    z-index: 3;
  }

  /* ── CTA — remonté juste sous le titre ── */
  .hero-ctas {
    flex-direction: column; width: 100%;
    max-width: 260px; margin: 0 auto; gap: 0;
    position: relative; z-index: 3;
  }
  .hero-ctas .btn-outline { display: none; }
  .hero-ctas .btn-cta {
    width: 100%; justify-content: center;
    padding: 14px 24px; font-size: 0.8rem;
    font-family: var(--font-cyber);
    letter-spacing: 0.06em;
    box-shadow:
      0 0 20px rgba(var(--neon-r),var(--neon-g),var(--neon-b), 0.5),
      0 0 50px rgba(var(--neon-r),var(--neon-g),var(--neon-b), 0.2),
      inset 0 1px 0 rgba(255,255,255,0.20);
    position: relative; overflow: hidden;
  }
  .btn-hero-equal { min-width: 0; }

  /* Bordure lumineuse animée */
  .hero-ctas .btn-cta::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
    background-size: 200% 100%;
    animation: ctaBorderSweep 3s linear infinite;
    pointer-events: none; z-index: 1;
  }
  @keyframes ctaBorderSweep {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* ── Scroll hint — flèche pulsante en bas ── */
  .hero-scroll-hint {
    display: flex;
    position: absolute;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(var(--neon-r),var(--neon-g),var(--neon-b),0.30);
    animation: scrollHintPulse 2s ease-in-out infinite;
    z-index: 2;
  }
  @keyframes scrollHintPulse {
    0%, 100% { opacity: 0.25; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.6; transform: translateX(-50%) translateY(6px); }
  }

  /* ── Services bento — coin coupé cyber ── */
  .svc-bento { grid-template-columns: 1fr; gap: 0.75rem; }
  .svc-hero {
    grid-column: 1; grid-row: auto; padding: 1.35rem;
    border-radius: 4px 20px 20px 20px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
    border: none;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.08);
  }
  .svc-hero__number { font-size: 1.5rem; margin-bottom: 0.4rem; }
  .svc-hero h3 { font-size: 1.15rem; }
  .svc-hero h3 br { display: none; }
  .svc-hero p { font-size: 0.875rem; margin-bottom: 0.75rem; line-height: 1.7; }
  .svc-hero__icon svg { width: 28px; height: 28px; }

  .svc-compact {
    grid-column: 1; padding: 1rem; gap: 0.75rem;
    border-radius: 4px 16px 16px 16px;
    border: none; background: rgba(8, 14, 30, 0.80);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.05);
  }
  .svc-compact h3 { font-size: 0.95rem; }
  .svc-compact p { font-size: 0.8rem; line-height: 1.65; }

  .services-strip-cta { margin-top: 1.5rem; }
  .services-strip-cta__inner { flex-direction: column; text-align: center; gap: 0.6rem; padding: 1.25rem; }
  .services-strip-cta__text { font-size: 0.875rem; }
  .services-strip-cta__inner .btn { width: 100%; justify-content: center; font-size: 0.8rem; padding: 13px; }

  /* ── Portfolio — switch to horizontal slider on mobile ── */
  .portfolio-track {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .portfolio-track::-webkit-scrollbar { display: none; }
  .portfolio-slide {
    flex: 0 0 75vw;
    scroll-snap-align: start;
    border-radius: 4px 18px 18px 18px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  }
  .portfolio-slide__info { padding: 0.9rem; }
  .portfolio-slide__info h3 { font-size: 1.05rem; }
  .portfolio-slide__info p { font-size: 0.8rem; }
  .portfolio-slider__hint { display: block; }

  .portfolio-stats { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; padding: 1rem; margin-top: 1.25rem; }
  .portfolio-stat strong { font-size: 1.1rem; }
  .portfolio-stat span { font-size: 0.55rem; font-family: 'Courier New', monospace; }

  /* ── Manifeste tabs ── */
  .manifeste-tabs__nav { gap: 0.3rem; }
  .manifeste-tab {
    padding: 0.7rem 0.45rem; font-size: 0.65rem;
    border-radius: 4px 12px 12px 12px;
  }
  .manifeste-tab.active {
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
  }
  .manifeste-tab__num { font-size: 0.9rem; }
  .manifeste-panel {
    padding: 1.35rem 1.15rem;
    border-radius: 4px 18px 18px 18px;
  }
  .manifeste-panel__quote { font-size: 1rem; }
  .manifeste-panel p { font-size: 0.875rem; line-height: 1.7; }
  .manifeste-cta { margin-top: 1rem; }
  .manifeste-cta .btn { width: 100%; justify-content: center; font-size: 0.8rem; padding: 13px; }

  /* ── FAQ — glassmorphism propre, pas de bordure ── */
  .faq-glass-wrapper {
    padding: 0.65rem;
    border: none;
    background: rgba(6, 12, 26, 0.55);
    box-shadow: 0 12px 40px rgba(0,0,0,0.30);
  }
  .faq-item {
    border: none;
    background: rgba(10, 18, 38, 0.80);
    border-radius: 4px 16px 16px 16px;
  }
  .faq-item__question { padding: 0.95rem 1.1rem; font-size: 0.9375rem; gap: 0.5rem; }
  .faq-item__answer { padding-left: 1.1rem; padding-right: 1.1rem; }
  .faq-item.active .faq-item__answer { padding: 0 1.1rem 0.9rem; }
  .faq-item__answer p { font-size: 0.875rem; line-height: 1.7; }
  .faq-item.active {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.12);
    border: none;
  }

  /* ── Contact ── */
  .invitation-grid { gap: 1.25rem; }
  .invitation-text {
    padding: 1.35rem 1.15rem;
    border-radius: 4px 20px 20px 20px;
  }
  .invitation-lead { font-size: 1.05rem; margin-bottom: 0.5rem; }
  .invitation-desc { display: none; }
  .invitation-details { gap: 0.65rem; }
  .detail-item {
    padding: 0.7rem 0.8rem; font-size: 0.8rem;
    border-radius: 4px 12px 12px 12px; border: none;
  }
  .invitation-form, .project-calculator {
    padding: 1.35rem 1rem;
    border-radius: 4px 20px 20px 20px;
    border: none;
  }
  .form-group input, .form-group select, .form-group textarea { font-size: 1rem; min-height: 44px; }
  .calc-step-title { font-size: 1.05rem; }
  .calc-dot { width: 20px; height: 20px; font-size: 0.55rem; }
  .calc-option { padding: 0.9rem; font-size: 0.8rem; border-radius: 4px 12px 12px 12px; }
  .calc-check { padding: 0.65rem; font-size: 0.8rem; }
  .calc-nav { flex-wrap: wrap; gap: 0.5rem; }
  .calc-nav .btn { flex: 1; min-width: 0; justify-content: center; }

  /* ── Footer — compact ── */
  .footer {
    margin: 1.5rem 0.5rem 0.5rem; padding: 1.5rem 0 1rem;
    border-radius: 4px 20px 20px 20px;
    border: none;
  }
  .footer .container { padding: 0 1rem; }
  .footer-top { flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
  .footer-brand p { font-size: 0.8rem; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .footer-col { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; }
  .footer-col-title { margin-bottom: 0; font-size: 0.8rem; }
  .footer-col a { font-size: 0.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding-top: 1rem; }
  .footer-bottom p { font-size: 0.65rem; }
  .footer-socials a {
    width: 38px; height: 38px; min-width: 38px; min-height: 38px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.08);
  }

  /* ── Curves réduits ── */
  .section-curve svg { height: clamp(24px, 4vw, 40px); }

  /* ── Utilitaires ── */
  .scroll-to-top { bottom: 0.75rem; right: 0.5rem; width: 36px; height: 36px; }
  .cookie-consent {
    bottom: 0.5rem; left: 0.5rem; right: 0.5rem; padding: 0.9rem;
    border-radius: 4px 16px 16px 16px; border: none;
  }
  .cookie-text { font-size: 0.75rem; margin-bottom: 0.4rem; }
  .cookie-btn { padding: 7px 14px; font-size: 0.7rem; }
  .custom-select-options { left: -6px; right: -6px; }
  .checkbox-label { font-size: 0.75rem; gap: 0.4rem; }

  /* ═══════════════════════════════════════
     3. SCROLL REVEAL MOBILE — plus dramatique
     ═══════════════════════════════════════ */
  html.js .reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(6px);
    transition:
      opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.8s ease;
  }
  html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  /* ═══════════════════════════════════════
     4. FOND PARALLAXE — profondeur 3D
     ═══════════════════════════════════════ */
  .bg-image-container {
    position: fixed;
    background-attachment: fixed;
  }
  .neon-blobs {
    opacity: 0.8;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TRÈS PETIT MOBILE (480px)
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .section { padding: 2rem 0; }
  .hero-title { font-size: clamp(1.9rem, 10vw, 2.8rem); margin-bottom: 1.5rem; }
  .hero-ctas .btn-cta { padding: 13px 20px; font-size: 0.75rem; }
  .hero-logo-pulse { font-size: 2.5rem; }
  .hero-hud__coord { font-size: 0.45rem; }
  .svc-hero { padding: 1rem; }
  .svc-hero__number { display: none; }
  .svc-hero h3 { font-size: 1.1rem; }
  .svc-compact { padding: 0.85rem; }
  .svc-compact__number { display: none; }
  .portfolio-slide { flex: 0 0 82vw; }
  .portfolio-stats { grid-template-columns: repeat(2, 1fr); }
  .manifeste-tab span { font-size: 0.55rem; }
  .faq-item__question { font-size: 0.8rem; padding: 0.75rem; }
  .footer { margin: 1rem 0.35rem 0.35rem; }
  .section-curve svg { height: 20px; }

  .invitation-text { padding: 1.25rem 1rem; }
  .invitation-lead { font-size: 1rem; }
  .invitation-desc { font-size: 0.8rem; }
  .detail-item { font-size: 0.75rem; padding: 0.55rem 0.65rem; }
  .invitation-form { padding: 1.25rem 0.85rem; }
  .project-calculator { padding: 1rem 0.85rem; }
  .calc-option { padding: 0.85rem; font-size: 0.75rem; }
  .calc-check { padding: 0.6rem; font-size: 0.75rem; }
  .calc-nav { flex-wrap: wrap; gap: 0.5rem; }
  .calc-nav .btn { flex: 1; min-width: 0; justify-content: center; }

  .footer { margin: 1.5rem 0.5rem 0.5rem; padding: 1.5rem 0 1rem; }
  .footer .container { padding: 0 0.85rem; }
  .footer-socials a { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }

  .scroll-to-top { width: 36px; height: 36px; bottom: 0.75rem; right: 0.5rem; }
  .custom-select-options { left: -6px; right: -6px; }
  .checkbox-label { font-size: 0.7rem; gap: 0.4rem; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TRÈS PETIT MOBILE (320px)
   ═══════════════════════════════════════════════ */
@media (max-width: 320px) {
  .container { padding: 0 0.6rem; }
  .section { padding: 2rem 0; }
  .section-title { font-size: 1.3rem; }
  .hero { padding-top: 58px; padding-bottom: 1rem; }
  .hero-title { font-size: 1.5rem; line-height: 1.15; }
  .hero-subtitle { font-size: 0.75rem; }
  .hero-ctas .btn { padding: 10px 14px; font-size: 0.7rem; }
  .logo-text { font-size: 1.1rem; }
  .mobile-link { font-size: 1.4rem; }
  .legal-modal { padding: 0.5rem; }
  .legal-tab { padding: 4px 7px; font-size: 0.55rem; }
  .legal-modal-body { padding: 0.85rem; }
}

/* ─────────────────────────────────────────────
   WEBGL CANVAS
   ───────────────────────────────────────────── */
.mesh-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

/* ─────────────────────────────────────────────
   LIGHT TRAILS CANVAS
   ───────────────────────────────────────────── */
.light-trails {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* ─────────────────────────────────────────────
   CURSOR VFX CANVAS (Star + Electric Trail)
   ───────────────────────────────────────────── */
.cursor-canvas {
  position: fixed;
  inset: 0;
  z-index: 99990;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-canvas { display: none !important; }
}

/* ─────────────────────────────────────────────
   KINETIC TYPOGRAPHY
   ───────────────────────────────────────────── */
.char {
  display: inline-block;
}

/* ─────────────────────────────────────────────
   BACKGROUND IMAGE
   ───────────────────────────────────────────── */
.bg-image-container {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url('../irya%20image.webp') center / cover no-repeat;
}
.bg-image-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
body.theme-night .bg-image-overlay,
body:not(.theme-light) .bg-image-overlay {
  background: rgba(2, 5, 16, 0.94);
}
/* Light bg overlay removed */

/* ─────────────────────────────────────────────
   COOKIE CONSENT BANNER (RGPD)
   ───────────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10000;
  max-width: 380px;
  padding: 1.5rem;
  background: rgba(6, 12, 26, 0.90);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--squircle);
  box-shadow: var(--shadow-card);
  animation: cookieSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-consent[hidden] { display: none; }
.cookie-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.cookie-accept {
  background: var(--accent);
  color: var(--btn-text);
  border: 1px solid var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.cookie-accept:hover {
  background: var(--accent-light);
  box-shadow: 0 0 24px var(--accent-glow);
}
.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--text-faint);
}
.cookie-decline:hover {
  border-color: var(--text-muted);
  color: var(--text-secondary);
}
@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   RGPD CHECKBOX (Contact Form)
   ───────────────────────────────────────────── */
.form-group-checkbox {
  margin-top: 0.5rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--text-faint);
  border-radius: 3px;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}
.checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--btn-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.checkbox-label input:checked + .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}
.checkbox-label input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.checkbox-text {
  flex: 1;
}
.checkbox-link {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox-link:hover {
  color: var(--accent-light) !important;
}

/* ─────────────────────────────────────────────
   LEGAL MODAL (Mentions / Privacy / CGV)
   ───────────────────────────────────────────── */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.legal-modal[hidden] { display: none; }
.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.legal-modal-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--squircle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--accent-subtle);
}
.legal-tabs {
  display: flex;
  gap: 0.25rem;
}
.legal-tab {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.legal-tab:hover { color: var(--text-secondary); }
.legal-tab.active {
  color: var(--accent);
  background: var(--accent-subtle);
}
.legal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.legal-close:hover {
  color: var(--accent);
  background: var(--accent-subtle);
}
.legal-modal-body {
  padding: 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.legal-panel { display: none; }
.legal-panel.active { display: block; }
.legal-panel h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2rem;
}
.legal-panel h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-panel p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-panel a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .legal-modal { padding: 1rem; }
  .legal-modal-content { max-height: 90vh; }
  .legal-modal-header { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
  .legal-tabs { flex-wrap: wrap; gap: 0.25rem; }
  .legal-tab { padding: 6px 12px; font-size: 0.6875rem; }
  .legal-modal-body { padding: 1.5rem; }
}

/* ─────────────────────────────────────────────
   INTRO LOADER
   ───────────────────────────────────────────── */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #060B18;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.intro-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.intro-loader__letters {
  display: flex;
  gap: 0.12em;
}
.intro-loader__char {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity, color;
}
.intro-loader__char:last-child {
  letter-spacing: 0;
}
.intro-loader__line {
  width: 0;
  height: 1px;
  background: rgba(124, 185, 216, 0.45);
  will-change: width, opacity;
}
.intro-loader__mask {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060B18;
  pointer-events: none;
  opacity: 0;
}

/* Hide intro loader on mobile — instant display */
@media (max-width: 768px) {
  .intro-loader,
  .intro-loader__mask {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────── */
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  scroll-snap-align: start;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
  min-height: 4rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
}

.testimonial-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.testimonial-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 85%;
  }
}

/* ─────────────────────────────────────────────
   GUIDED TOUR TOOLTIP
   ───────────────────────────────────────────── */
.tour-tooltip {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  max-width: 600px;
}
.tour-tooltip.active { opacity: 1; }
.tour-tooltip__text { flex: 1; line-height: 1.5; }
.tour-tooltip__progress {
  font-size: 0.8rem;
  opacity: 0.5;
  white-space: nowrap;
  font-family: var(--font-body);
}
.tour-tooltip__close {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0.25rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.tour-tooltip__close:hover { opacity: 1; }

.guided-tour-btn {
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .tour-tooltip {
    left: 1rem;
    right: 1rem;
    transform: none;
    max-width: none;
    bottom: 1rem;
    font-size: 0.875rem;
    padding: 0.85rem 1rem;
  }
}

/* ─────────────────────────────────────────────
   ACCESSIBILITY: REDUCED MOTION
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mesh-gradient, .light-trails, .bg-image-container, .cursor-canvas { display: none !important; }
  .intro-loader, .intro-loader__mask { display: none !important; }
  body { opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js [data-stagger-children] .value-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn-liquid-glass,
  .btn-liquid-glass:hover {
    transform: none !important;
  }
  .hero-showcase__orb {
    animation: none !important;
  }
}

/* ─────────────────────────────────────────────
   SCROLL TO TOP
   ───────────────────────────────────────────── */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(4, 8, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(124, 185, 216, 0.4);
}
/* Light scroll-to-top removed */

/* ─────────────────────────────────────────────
   PRINT
   ───────────────────────────────────────────── */
@media print {
  .mesh-gradient, .light-trails, .bg-image-container, .scroll-progress,
  .navbar, .mobile-menu, .hero-decorative,
  .hero-scroll, .section-ornament, .theme-toggle, .theme-bubble-canvas,
  .cursor-canvas, .intro-loader, .intro-loader__mask,
  .scroll-to-top { display: none !important; }
  body { background: #fff; color: #000; opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
