@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Editorial Moderne & Titanium Charcoal Palette (Non-blue, High-End Studio) */
  --bg-color: #0e0f13; /* Fond graphite / titane satiné, aéré et moderne */
  --bg-surface: #16171d; /* Surface de carte nette et distincte */
  --bg-surface-glass: rgba(22, 23, 29, 0.80);
  --bg-card: #191a22;
  --bg-card-hover: #22232d;

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa; /* Gris zinc / argent neutre, zéro composante bleue */
  --text-muted: #71717a;

  /* Luxury Accents */
  --accent-gold: #f59e0b;
  --accent-gold-dim: rgba(245, 158, 11, 0.14);
  --accent-gold-border: rgba(245, 158, 11, 0.35);

  /* Primary Accent: Electric Orange / Studio Amber (Warm tech innovation) */
  --accent-primary: #ff6b3d;
  --accent-primary-dim: rgba(255, 107, 61, 0.14);
  --accent-primary-glow: rgba(255, 107, 61, 0.30);

  --accent-secondary: #f43f5e;
  --accent-secondary-dim: rgba(244, 63, 94, 0.14);

  /* Pôle 1 : IT & Cybersécurité (Émeraude Haute Assurance) */
  --accent-it: #10b981;
  --accent-it-dim: rgba(16, 185, 129, 0.14);
  --accent-it-border: rgba(16, 185, 129, 0.35);
  --gradient-it: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* Pôle 2 : Web & Digital (Améthyste / Magenta Couture) */
  --accent-web: #c084fc;
  --accent-web-dim: rgba(192, 132, 252, 0.14);
  --accent-web-border: rgba(192, 132, 252, 0.35);
  --gradient-web: linear-gradient(135deg, #c084fc 0%, #f43f5e 100%);

  /* Pôle 3 : Studio Gaming FiveM (Orange Flamme / Esport) */
  --accent-gaming: #ff5722;
  --accent-gaming-dim: rgba(255, 87, 34, 0.14);
  --accent-gaming-border: rgba(255, 87, 34, 0.35);
  --gradient-gaming: linear-gradient(135deg, #ff5722 0%, #f59e0b 100%);

  /* Bouton Primaire Haut de Gamme : Blanc Pur Platine Électrique (Linear / Vercel Pro) */
  --btn-primary-bg: #ffffff;
  --btn-primary-text: #09090b;
  --gradient-brand: linear-gradient(135deg, #ffffff 0%, #f4f4f5 50%, #ff6b3d 100%);
  --aurora-1: rgba(255, 107, 61, 0.10);
  --aurora-2: rgba(192, 132, 252, 0.08);
  --nav-glass: rgba(14, 15, 19, 0.88);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.18);
  --accent-border: color-mix(in srgb, var(--accent-primary) 35%, transparent);

  /* Typography: Syne (Headings) + Plus Jakarta Sans (Body) + JetBrains Mono (Tech) */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Sizing & Spacing */
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="midnight"] {
  --bg-color: #08090b;
  --bg-surface: #101115;
  --bg-surface-glass: rgba(16, 17, 21, 0.82);
  --bg-card: #14151b;
  --bg-card-hover: #1c1d25;
  --text-primary: #ffffff;
  --text-secondary: #9496a1;
  
  --accent-primary: #ff5722;
  --accent-primary-dim: rgba(255, 87, 34, 0.14);
  --accent-primary-glow: rgba(255, 87, 34, 0.30);
  
  --accent-secondary: #f59e0b;
  --accent-secondary-dim: rgba(245, 158, 11, 0.14);

  --btn-primary-bg: #ffffff;
  --btn-primary-text: #09090b;
  --gradient-brand: linear-gradient(90deg, #ffffff 0%, #ff5722 50%, #f59e0b 100%);
  --aurora-1: rgba(255, 87, 34, 0.15);
  --aurora-2: rgba(245, 158, 11, 0.12);
  --nav-glass: rgba(8, 9, 11, 0.90);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) {
    scroll-behavior: smooth;
  }
}

/* Lenis (smooth scroll, index uniquement) */
html.lenis,
html.lenis body {
  height: auto;
}

/* ScrollTrigger remet scroll-behavior en inline après un refresh */
html.lenis {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

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

/* Fond Editorial Luminous Titane & Carbone (aucun bleu) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(65% 55% at 15% 15%, rgba(255, 107, 61, 0.05) 0%, transparent 60%),
    radial-gradient(60% 60% at 85% 85%, rgba(192, 132, 252, 0.05) 0%, transparent 65%),
    radial-gradient(50% 50% at 50% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-color) 0%, #13141a 50%, var(--bg-color) 100%);
}

/* Grille technique micro-architecturale lumineuse */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.75) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.75) 0%, transparent 80%);
}

h1, h2, h3, h4,
.hero-title, .section-title, .card-title, .product-title {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* Base Elements */
a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary);
}

ul {
  list-style: none;
}

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

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 120px 0;
  position: relative;
  overflow-x: clip;
}

/* Background Effects — Subtils et diffus, sans sursaturation */
.bg-glow {
  position: absolute;
  width: min(800px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}
.bg-glow.top-left { top: -200px; left: -260px; }
.bg-glow.bottom-right { bottom: -240px; right: -260px; background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 70%); }

/* Navigation */
/* Navbar flottante en capsule.
   Le verre est sur ::before : un backdrop-filter sur le conteneur
   piègerait le menu mobile (position: fixed) à l'intérieur. */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 16px 0;
  z-index: 100;
  transition: padding var(--transition-normal);
}

.navbar.scrolled {
  padding-top: 12px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1180px;
  padding: 12px 16px 12px 24px;
}

.nav-container::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled .nav-container::before {
  background: color-mix(in srgb, var(--bg-surface) 85%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-hex {
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary-dim);
}

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

.nav-links .btn {
  padding: 9px 18px;
  font-size: 0.85rem;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-normal);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.nav-badge {
  background: var(--accent-secondary);
  color: #1c0a00;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: top;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal),
    background var(--transition-normal), border-color var(--transition-normal), color var(--transition-fast);
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text, #09090b) !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-primary i {
  color: var(--btn-primary-text, #09090b);
  transition: transform var(--transition-fast);
}

.btn-primary:hover {
  background: #f4f4f5;
  color: #000000 !important;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: #ffffff;
}

.btn-primary:hover i {
  color: #000000;
  transform: translateX(2px);
}

.btn-secondary {
  background: var(--bg-surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: var(--bg-surface);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-discord {
  background: #5865F2;
  color: white;
  border: 1px solid #5865F2;
}

.btn-discord:hover {
  background: #4752C4;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
  color: white;
}

.btn-it {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-it:hover {
  box-shadow: 0 12px 32px -6px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.btn-web {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 8px 24px -8px rgba(168, 85, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-web:hover {
  box-shadow: 0 12px 32px -6px rgba(168, 85, 247, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px; /* hauteur de la navbar flottante + marge */
  padding-bottom: 40px;
}

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

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.hero-overline-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  display: block;
  color: var(--text-primary);
}

/* Barre de progression de lecture (créée par scrolly.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 101;
  pointer-events: none;
}

.hero-title .accent-text {
  display: block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em; /* évite de rogner les jambages */
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Glass Panels (Command Center) */
.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.term-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 200px;
}

.term-line {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.term-ln { color: #475569; user-select: none; }
.term-keyword { color: #ff7b72; }
.term-fn { color: #d2a8ff; }
.term-string { color: #a5d6ff; }
.term-comment { color: #8b949e; }
.term-accent { color: var(--accent-primary); }

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent-primary);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px 18px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.stat-item:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.stat-icon {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.stat-val {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

.stat-val.accent { color: var(--accent-primary); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

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

/* Cards (Features, Services) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 0% 0%, var(--accent-primary-dim) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, var(--accent-secondary-dim) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-border);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-primary-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background: var(--accent-secondary-dim);
  color: var(--accent-secondary);
  border-color: color-mix(in srgb, var(--accent-secondary) 35%, transparent);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Process Ribbon */
/* Bandeau de pastilles défilantes, fondu sur les bords */
.ribbon {
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ribbon-track {
  display: flex;
  gap: 12px;
  width: fit-content;
  animation: ribbonScroll 40s linear infinite;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.ribbon-item i {
  color: var(--accent-primary);
}

/* CTA Section */
.cta-band {
  margin: 120px 0;
  padding: 80px 0;
  background:
    radial-gradient(60% 120% at 20% 100%, var(--accent-primary-dim) 0%, transparent 70%),
    radial-gradient(60% 120% at 80% 0%, var(--accent-secondary-dim) 0%, transparent 70%),
    color-mix(in srgb, var(--bg-surface) 70%, transparent);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: var(--gradient-brand);
  opacity: 0.8;
}
.cta-band::before { top: -1px; }
.cta-band::after { bottom: -1px; }

/* Footer */
.site-footer {
  padding: 80px 0 40px;
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  border-top: 1px solid var(--border-color);
}

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

.footer-desc {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 320px;
}

.footer-links-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

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

/* Animations */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-primary-glow); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

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

@keyframes ribbonScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 6px)); } /* moitié du gap */
}

/* Reveal Utilities
   Masqué seulement si le JS tourne et que les animations sont autorisées :
   sans JS ou en "réduire les animations", le contenu reste visible.
   Sur index.html, GSAP prend le relais (html.has-gsap). */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  html:not(.has-gsap) .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  }

  html:not(.has-gsap) .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  html:not(.has-gsap) .reveal-delay-1 { transition-delay: 0.1s; }
  html:not(.has-gsap) .reveal-delay-2 { transition-delay: 0.2s; }
  html:not(.has-gsap) .reveal-delay-3 { transition-delay: 0.3s; }
  html:not(.has-gsap) .reveal-delay-4 { transition-delay: 0.4s; }
  html:not(.has-gsap) .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Product/Script Cards */
.filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 24px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: all var(--transition-fast);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.product-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}

.product-header {
  padding: 32px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  display: flex;
  gap: 16px;
  align-items: center;
}

.product-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 4px;
  display: inline-block;
}

.product-body {
  padding: 32px;
  flex: 1;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.check-list li i {
  position: absolute;
  left: 0; top: 4px;
  color: var(--accent-primary);
}

.product-footer {
  padding: 24px 32px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.tag-green {
  background: var(--accent-primary-dim);
  border-color: var(--accent-border);
  color: var(--accent-primary);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--accent-primary-dim);
  box-shadow: 0 0 0 3px var(--accent-primary-dim);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-container { padding: 8px 8px 8px 16px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 85vw); height: 100vh; height: 100dvh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 100px 32px;
    transition: right var(--transition-normal);
  }
  .nav-links.active { right: 0; }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    position: relative;
    z-index: 101;
  }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-links-col { grid-template-columns: 1fr; }
}

/* ============================================
   PÔLE IT & CYBERSÉCURITÉ — Variables & Composants
   ============================================ */

:root {
  /* Accent IT : vert émeraude / cyan corporate */
  --accent-it: #10b981;
  --accent-it-dim: rgba(16, 185, 129, 0.12);
  --accent-it-glow: rgba(16, 185, 129, 0.35);
  --accent-it-border: rgba(16, 185, 129, 0.28);
  --btn-it-bg: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-it: linear-gradient(90deg, #10b981 0%, #34d399 40%, #6ee7b7 100%);
}

/* Bouton IT */
.btn-it {
  background: var(--btn-it-bg);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px -8px var(--accent-it-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-it:hover {
  box-shadow: 0 12px 32px -6px var(--accent-it-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

/* ---- Section eyebrow IT ---- */
.section-eyebrow-it {
  color: var(--accent-it);
}

/* ---- Poles Grid (index.html) ---- */
.poles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.pole-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  gap: 0;
}

.pole-card:hover {
  transform: translateY(-6px);
}

.pole-it:hover {
  border-color: var(--accent-it-border);
  box-shadow: 0 20px 50px -12px var(--accent-it-dim);
}

.pole-gaming:hover {
  border-color: var(--accent-border);
  box-shadow: 0 20px 50px -12px var(--accent-primary-dim);
}

.pole-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pole-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pole-icon-it {
  background: var(--accent-it-dim);
  color: var(--accent-it);
  border: 1px solid var(--accent-it-border);
  box-shadow: 0 0 24px var(--accent-it-dim);
}

.pole-icon-gaming {
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 24px var(--accent-primary-dim);
}

.pole-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
}

.pole-badge-it {
  background: var(--accent-it-dim);
  color: var(--accent-it);
  border: 1px solid var(--accent-it-border);
}

.pole-badge-gaming {
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  border: 1px solid var(--accent-border);
}

.pole-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pole-desc {
  color: var(--text-secondary);
  font-size: 0.975rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.pole-list {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}

.pole-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 11px;
  line-height: 1.5;
}

.pole-it .pole-list li i {
  color: var(--accent-it);
  margin-top: 3px;
  flex-shrink: 0;
}

.pole-gaming .pole-list li i {
  color: var(--accent-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.pole-web:hover {
  border-color: var(--accent-web-border);
  box-shadow: 0 20px 50px -12px var(--accent-web-dim);
}

.pole-icon-web {
  background: var(--accent-web-dim);
  color: var(--accent-web);
  border: 1px solid var(--accent-web-border);
  box-shadow: 0 0 24px var(--accent-web-dim);
}

.pole-badge-web {
  background: var(--accent-web-dim);
  color: var(--accent-web);
  border: 1px solid var(--accent-web-border);
}

.pole-web .pole-list li i {
  color: var(--accent-web);
  margin-top: 3px;
  flex-shrink: 0;
}

/* 3-Poles Grid (Compatibilité) */
.poles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .poles-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BENTO GRID ASYMÉTRIQUE — Dark Luxury & Éditorial
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.bento-card {
  position: relative;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Trait de brillance supérieur fin (Hairline) */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

/* Spans de colonnes */
.bento-span-12 { grid-column: span 12; }
.bento-span-8 { grid-column: span 8; }
.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }

/* Bento Themes */
.bento-it {
  border-color: rgba(0, 210, 135, 0.2);
}
.bento-it:hover {
  border-color: var(--accent-it-border);
  box-shadow: 0 24px 60px -20px var(--accent-it-dim);
}
.bento-it::before {
  background: linear-gradient(90deg, transparent, var(--accent-it), transparent);
}

.bento-web {
  border-color: rgba(192, 132, 252, 0.2);
}
.bento-web:hover {
  border-color: var(--accent-web-border);
  box-shadow: 0 24px 60px -20px var(--accent-web-dim);
}
.bento-web::before {
  background: linear-gradient(90deg, transparent, var(--accent-web), transparent);
}

.bento-gaming {
  border-color: rgba(255, 87, 34, 0.2);
}
.bento-gaming:hover {
  border-color: var(--accent-gaming-border);
  box-shadow: 0 24px 60px -20px var(--accent-gaming-dim);
}
.bento-gaming::before {
  background: linear-gradient(90deg, transparent, var(--accent-gaming), transparent);
}

.bento-host {
  border-color: rgba(245, 158, 11, 0.25);
  background: linear-gradient(145deg, rgba(25, 26, 33, 0.85) 0%, rgba(19, 20, 26, 0.85) 100%);
}
.bento-host:hover {
  border-color: var(--accent-gold-border);
  box-shadow: 0 24px 60px -20px var(--accent-gold-dim);
}
.bento-host::before {
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Bento Header & Badges */
.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.bento-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bento-mono-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.bento-mono-badge.badge-it {
  background: var(--accent-it-dim);
  border-color: var(--accent-it-border);
  color: var(--accent-it);
}

.bento-mono-badge.badge-web {
  background: var(--accent-web-dim);
  border-color: var(--accent-web-border);
  color: var(--accent-web);
}

.bento-mono-badge.badge-gaming {
  background: var(--accent-gaming-dim);
  border-color: var(--accent-gaming-border);
  color: var(--accent-gaming);
}

.bento-mono-badge.badge-gold {
  background: var(--accent-gold-dim);
  border-color: var(--accent-gold-border);
  color: var(--accent-gold);
}

/* Live Status Indicator */
.bento-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.bento-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.bento-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0.6;
}

.bento-pulse-dot.dot-it { background: var(--accent-it); }
.bento-pulse-dot.dot-it::after { background: var(--accent-it); }
.bento-pulse-dot.dot-web { background: var(--accent-web); }
.bento-pulse-dot.dot-web::after { background: var(--accent-web); }
.bento-pulse-dot.dot-gaming { background: var(--accent-gaming); }
.bento-pulse-dot.dot-gaming::after { background: var(--accent-gaming); }
.bento-pulse-dot.dot-gold { background: var(--accent-gold); }
.bento-pulse-dot.dot-gold::after { background: var(--accent-gold); }

/* Bento Titles & Typography */
.bento-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Bento Split Grid (Inside large cards) */
.bento-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .bento-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Technical Telemetry Box */
.bento-telemetry {
  background: rgba(18, 19, 25, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.telemetry-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.telemetry-key {
  color: var(--text-muted);
}

.telemetry-val {
  color: var(--text-primary);
  font-weight: 600;
}

.telemetry-val.it { color: var(--accent-it); }
.telemetry-val.web { color: var(--accent-web); }
.telemetry-val.gaming { color: var(--accent-gaming); }
.telemetry-val.gold { color: var(--accent-gold); }

/* Performance Metric Box */
.bento-perf-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(18, 19, 25, 0.75);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.bento-perf-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.bento-perf-val.gold { color: var(--accent-gold); }
.bento-perf-val.it { color: var(--accent-it); }
.bento-perf-val.web { color: var(--accent-web); }
.bento-perf-val.gaming { color: var(--accent-gaming); }

.bento-perf-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Bento Feature Lists */
.bento-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.bento-list li i {
  margin-top: 4px;
  font-size: 0.9rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.bento-list.list-it li i { color: var(--accent-it); }
.bento-list.list-web li i { color: var(--accent-web); }
.bento-list.list-gaming li i { color: var(--accent-gaming); }
.bento-list.list-gold li i { color: var(--accent-gold); }

/* Bento Tag Pills */
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.bento-tag i {
  font-size: 0.75rem;
  color: var(--text-primary);
}

.bento-card:hover .bento-tag {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Bento Footer Action */
.bento-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Responsive Bento */
@media (max-width: 1024px) {
  .bento-span-8,
  .bento-span-7,
  .bento-span-5,
  .bento-span-4 {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .bento-card {
    padding: 28px 20px;
  }
  .bento-title {
    font-size: 1.35rem;
  }
  .bento-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Hero Web (dev-web.html) ---- */
.hero-web {
  position: relative;
  overflow-x: clip;
  padding-top: 140px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}

.bg-glow-web {
  position: absolute;
  width: min(700px, 85vw);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.bg-glow-web.top-left {
  top: -180px; left: -200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 65%);
}
.bg-glow-web.bottom-right {
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.14) 0%, transparent 65%);
}

.hero-overline-web {
  border-color: var(--accent-web-border);
  background: var(--accent-web-dim);
}

.hero-overline-dot-web {
  background: var(--accent-web);
  box-shadow: 0 0 8px var(--accent-web);
}

.gradient-text-web {
  display: block;
  color: var(--text-primary);
}

.accent-text-web {
  display: block;
  background: var(--gradient-web);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}

/* Web Services Grid & Cards */
.web-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.web-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.web-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-web-dim) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.web-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-web-border);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--accent-web-dim);
}

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

.web-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-web-dim);
  border: 1px solid var(--accent-web-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-web);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.web-card:hover .web-card-icon {
  box-shadow: 0 0 20px var(--accent-web-dim);
}

.web-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.web-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.web-check-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.web-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 9px;
  line-height: 1.45;
}

.web-check-list li i {
  color: var(--accent-web);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

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

/* ---- Hero IT (expertise-it.html) ---- */
.hero-it {
  position: relative;
  overflow-x: clip;
  padding-top: 140px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}

.bg-glow-it {
  position: absolute;
  width: min(700px, 85vw);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.bg-glow-it.top-left {
  top: -180px; left: -200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 65%);
}
.bg-glow-it.bottom-right {
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, transparent 65%);
}

.hero-it-inner {
  max-width: 820px;
}

.hero-overline-it {
  border-color: var(--accent-it-border);
  background: var(--accent-it-dim);
}

.hero-overline-dot-it {
  background: var(--accent-it);
  box-shadow: 0 0 8px var(--accent-it);
}

.gradient-text-it {
  display: block;
  color: var(--text-primary);
}

.accent-text-it {
  display: block;
  background: var(--gradient-it);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}

/* IT Stats row */
.it-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
  width: fit-content;
}

.it-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 48px;
  gap: 6px;
}

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

.it-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

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

/* ---- IT Services Grid ---- */
.it-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.it-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.it-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-it-dim) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.it-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-it-border);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--accent-it-dim);
}

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

.it-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-it-dim);
  border: 1px solid var(--accent-it-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-it);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.it-card:hover .it-card-icon {
  box-shadow: 0 0 20px var(--accent-it-dim);
}

.it-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.it-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.it-check-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.it-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 9px;
  line-height: 1.45;
}

.it-check-list li i {
  color: var(--accent-it);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* ---- Process Steps ---- */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 16px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.process-step:hover {
  border-color: var(--accent-it-border);
  transform: translateY(-4px);
}

.process-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--accent-it);
  font-size: 1.2rem;
  opacity: 0.6;
  padding-top: 60px;
  flex-shrink: 0;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-it);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---- CTA IT variant ---- */
.cta-band-it {
  background:
    radial-gradient(60% 120% at 20% 100%, var(--accent-it-dim) 0%, transparent 70%),
    radial-gradient(60% 120% at 80% 0%, rgba(5, 150, 105, 0.08) 0%, transparent 70%),
    color-mix(in srgb, var(--bg-surface) 70%, transparent);
}
.cta-band-it::before, .cta-band-it::after {
  background: var(--gradient-it);
}

/* ---- Responsive Poles Grid ---- */
@media (max-width: 992px) {
  .poles-grid { grid-template-columns: 1fr; }
  .it-services-grid { grid-template-columns: repeat(2, 1fr); }
  .it-stats-row { flex-wrap: wrap; width: 100%; }
  .it-stat { padding: 20px 32px; }
  .process-steps { flex-wrap: wrap; gap: 16px; }
  .process-arrow { display: none; }
  .process-step { flex: 1 1 calc(50% - 8px); }
}

@media (max-width: 768px) {
  .it-services-grid { grid-template-columns: 1fr; }
  .pole-card { padding: 36px 28px; }
  .it-stat-divider { display: none; }
  .it-stats-row { flex-direction: column; width: 100%; }
  .it-stat { padding: 16px 24px; width: 100%; flex-direction: row; justify-content: space-between; }
  .process-step { flex: 1 1 100%; }
}

/* ---- Tech Stack Grid ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-category {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.tech-category:hover {
  border-color: var(--accent-it-border);
  transform: translateY(-3px);
}

.tech-cat-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-it);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--accent-it-border);
  color: var(--text-primary);
  font-weight: 500;
}

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

/* ---- Gaming Tech & Process Styles ---- */
.tech-grid-gaming {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-cat-gaming {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.tech-cat-gaming:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.tech-cat-title-gaming {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-tag-gaming {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent-primary-dim);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
  font-weight: 500;
}

.process-steps-gaming {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.process-step-gaming {
  text-align: left;
  padding: 32px 24px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.process-step-gaming:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.process-icon-gaming {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-primary-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .tech-grid-gaming { grid-template-columns: repeat(2, 1fr); }
  .process-steps-gaming { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tech-grid-gaming { grid-template-columns: 1fr; }
  .process-steps-gaming { grid-template-columns: 1fr; }
}

/* ---- Gaming Card & Services Grid ---- */
.gaming-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gaming-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.gaming-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-primary-dim) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.gaming-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--accent-primary-dim);
}

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

.gaming-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-primary-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.gaming-card:hover .gaming-card-icon {
  box-shadow: 0 0 20px var(--accent-primary-dim);
}

.gaming-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.gaming-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.gaming-check-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.gaming-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 9px;
  line-height: 1.45;
}

.gaming-check-list li i {
  color: var(--accent-primary);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

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

/* ---- Footer 4-col override ---- */
.footer-links-col-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 992px) {
  .footer-links-col-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer-links-col-4 { grid-template-columns: 1fr; }
}

/* ---- Scroll Margin for Anchors & Forms ---- */
#contact-form,
#hosting,
#offres {
  scroll-margin-top: 130px;
}

/* Réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ribbon-track,
  .hero-overline-dot,
  .term-cursor {
    animation: none !important;
  }
}
