:root {
  --black: #06090f;
  --navy: #080c12;
  --cyan: #00e5ff;
  --cyan2: #0099bb;
  --cyan3: #00b8d4;
  /* Accent or sahel — ancrage "Made in Africa" */
  --amber: #f2a93b;
  --amber-deep: #d98a1f;
  --amber-soft: rgba(242,169,59,0.12);
  --white: #ffffff;
  --off: #f0f6fa;
  --muted: #8899aa;
  --dark2: #0d1b2a;
  --card: #0b1420;
  --border: rgba(0,229,255,0.12);
  --glow: 0 0 40px rgba(0,229,255,0.15);
}

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

/* ── Texture grain (tue l'effet "plastique numérique") ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
  /* = hauteur de la navbar réduite (logo 44px + padding 12px×2 + bordure) */
  scroll-padding-top: 70px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Curseur custom ── */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease,
              background 0.2s ease, border 0.2s ease, opacity 0.2s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 34px; height: 34px;
  border: 1px solid rgba(0,229,255,0.45);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s;
}
body.cursor-hover #cursor {
  width: 18px; height: 18px;
  background: transparent;
  border: 1px solid var(--cyan);
}
body.cursor-hover #cursor-ring {
  width: 48px; height: 48px;
  opacity: 0.5;
}

/* ── Canvas grille ── */
#grid-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.3;
  will-change: transform;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(6,9,15,0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: padding 0.4s cubic-bezier(0.4,0,0.2,1),
              background 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: padding;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; display: block; }
.footer-logo-img { height: 36px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif; font-weight: 400;
  font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--cyan);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  border-radius: 2px;
  font-size: 0.8rem !important;
  letter-spacing: 0.12em !important;
  transition: background 0.25s ease, color 0.25s ease !important;
}
.nav-cta:hover { background: var(--cyan) !important; color: var(--black) !important; }
.nav-cta.active { background: var(--cyan) !important; color: var(--black) !important; }
.nav-cta::after { display: none !important; }

/* ── HERO ── */
#hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  gap: 48px;
  padding: 120px 60px 80px;
  overflow: hidden;
}
/* Aura solaire ambre (remplace le décor "réseau neuronal" générique) */
#hero::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 54vmax; height: 54vmax; border-radius: 50%;
  top: -18vmax; right: -14vmax;
  background: radial-gradient(circle,
    rgba(242,169,59,0.13) 0%,
    rgba(242,169,59,0.05) 38%,
    rgba(242,169,59,0) 66%);
}
.hero-bg-nodes {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-content { flex: 1 1 auto; max-width: 700px; position: relative; z-index: 2; }

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

.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-h1 span { display: block; }
/* "Digitalisons" en lettrage contour — traitement éditorial singulier */
.hero-h1 .line1 {
  -webkit-text-stroke: 1.4px var(--white);
  color: transparent;
  opacity: 0; animation: lineUp 0.9s 0.1s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-h1 .line2 {
  color: var(--amber);
  text-shadow: 0 0 60px rgba(242,169,59,0.28);
  opacity: 0; animation: lineUp 0.9s 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-h1 .line3 {
  font-size: 0.55em; letter-spacing: 0.1em; font-weight: 400;
  font-family: 'DM Sans'; margin-top: 12px;
  opacity: 0; animation: lineUpFaint 0.9s 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes lineUp { from{opacity:0;transform:translateY(0.45em)} to{opacity:1;transform:translateY(0)} }
@keyframes lineUpFaint { from{opacity:0;transform:translateY(0.45em)} to{opacity:0.3;transform:translateY(0)} }

.hero-p {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--muted); max-width: 480px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: nowrap; align-items: center;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-btns .btn-primary, .hero-btns .btn-outline { white-space: nowrap; }
.btn-primary {
  padding: 13px 26px;
  background: var(--cyan);
  color: var(--black);
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; border-radius: 2px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
  cursor: none;
  will-change: transform;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,229,255,0.4);
}
.btn-outline {
  padding: 13px 26px;
  background: transparent;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease,
              background 0.25s ease;
  cursor: none;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,0.04);
}

/* Stats : colonne sœur alignée en bas-droite (flex, jamais de chevauchement) */
.hero-stats {
  flex: 0 0 auto; align-self: flex-end;
  display: flex; gap: 0; flex-wrap: nowrap; z-index: 2;
  position: relative;
  animation: fadeUp 0.8s 0.5s ease both;
}
.stat-item {
  text-align: right;
  padding: 2px 20px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; border-right: none; }
/* En dessous de 1280px : empilement vertical (stats sous les boutons) */
@media (max-width: 1280px) {
  #hero { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .hero-content { flex: none; width: 100%; }
  .hero-stats { align-self: flex-start; margin-top: clamp(40px, 6vh, 64px); }
  .stat-item { text-align: left; }
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 2.4rem;
  color: var(--amber); line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-top: 4px;
}

.scroll-hint {
  position: absolute; bottom: 36px; left: 60px;
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.12em;
  color: var(--muted); z-index: 2;
  animation: fadeUp 0.8s 0.6s ease both;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--muted);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--cyan);
  animation: scrollSlide 2s ease infinite;
}
@keyframes scrollSlide { 0%{left:-100%} 100%{left:100%} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ── TICKER ── */
.ticker-wrap {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,229,255,0.03);
  padding: 14px 0; overflow: hidden;
}
.ticker {
  display: flex; gap: 0;
  animation: tickerMove 28s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 0 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
@keyframes tickerMove { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS communes ── */
section { position: relative; z-index: 1; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.15em;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag::before {
  content: ''; width: 24px; height: 1px; background: var(--amber);
}

.section-h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-p {
  font-size: 1rem; line-height: 1.8;
  color: var(--muted); max-width: 520px;
}

/* ── Numéro de section fantôme (index éditorial) ── */
.ghost-num {
  position: absolute;
  top: clamp(20px, 4vw, 48px); right: clamp(20px, 5vw, 64px);
  z-index: -1; pointer-events: none; user-select: none;
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(4.5rem, 13vw, 12rem); line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,169,59,0.13);
}
@media (max-width: 768px) { .ghost-num { font-size: 5rem; opacity: 0.7; } }

/* ── Motif géométrique inspiré du kente (signature ouest-africaine) ── */
.kente-divider {
  height: 20px; width: 100%;
  background-image:
    linear-gradient(135deg, var(--amber) 25%, transparent 25%),
    linear-gradient(225deg, var(--amber) 25%, transparent 25%),
    linear-gradient(315deg, var(--cyan) 25%, transparent 25%),
    linear-gradient(45deg,  var(--cyan) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: 0.16;
}

/* ── ABOUT ── */
#about {
  padding: 56px 60px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual {
  position: relative; height: 460px;
}
.about-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
.about-card-main {
  top: 0; left: 0; right: 60px; bottom: 60px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.about-card-float {
  bottom: 0; right: 0; left: 60px; top: auto;
  padding: 20px 24px;
  background: var(--amber-soft);
  border-color: var(--amber);
}
.about-logo-big {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 4rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.about-nodes {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: auto;
}
.anode {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); opacity: 0.2;
  animation: nodeFlash 3s ease infinite;
}
.anode:nth-child(odd) { animation-delay: 0.5s; }
.anode:nth-child(3n) { animation-delay: 1s; opacity: 0.5; }
@keyframes nodeFlash { 0%,100%{opacity:0.15} 50%{opacity:0.7} }

.float-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; color: var(--amber);
  letter-spacing: 0.1em; margin-bottom: 8px;
}
.float-val {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.5rem;
  color: var(--white);
}

/* ── SERVICES ── */
#services {
  padding: 56px 60px 120px;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,0.02), transparent);
}
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 72px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
/* Bento : 1ère card mise en avant (2×2), dernière card large (×2) */
.service-card:first-child { grid-column: span 2; grid-row: span 2; }
.service-card:last-child  { grid-column: span 2; }
.service-card:first-child {
  background: linear-gradient(160deg, #0c1822, var(--card));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 44px 40px;
}
/* numéro ancré en haut, le reste du contenu poussé en bas */
.service-card:first-child .service-num { margin-bottom: auto; }
.service-card:first-child .service-icon { width: 64px; height: 64px; margin-bottom: 24px; opacity: 1; }
.service-card:first-child .service-title { font-size: 1.7rem; margin-bottom: 14px; }
.service-card:first-child .service-desc { font-size: 0.95rem; max-width: 42ch; }
.svc-feat-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.svc-feat-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.04em;
  color: var(--cyan);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(0,229,255,0.04);
  white-space: nowrap;
}
.service-card {
  background: var(--card);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: background 0.3s ease;
  cursor: none;
  contain: layout style paint;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover { background: #0c1822; }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; color: var(--amber);
  letter-spacing: 0.15em; margin-bottom: 24px;
  opacity: 0.8;
}
.service-icon {
  width: 44px; height: 44px; margin-bottom: 20px;
  color: var(--cyan); opacity: 0.8;
}
.service-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 12px; color: var(--white);
}
.service-desc {
  font-size: 0.82rem; line-height: 1.7;
  color: var(--muted);
}
.service-title { transition: color 0.25s ease; }
.service-card:hover .service-title { color: var(--cyan); }

/* ── PROCESS ── */
#process {
  padding: 56px 60px 120px;
}
.process-header { text-align: center; margin-bottom: 80px; }
.process-header .section-p { margin: 0 auto; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}
.step {
  text-align: center; padding: 0 24px;
  position: relative;
}
.step-num-wrap {
  width: 64px; height: 64px; margin: 0 auto 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  position: relative; z-index: 1;
  transition: border-color 0.3s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.step:hover .step-num-wrap {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,229,255,0.08), var(--glow);
}
.step-num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.1rem; color: var(--amber);
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.82rem; line-height: 1.7;
  color: var(--muted);
}

/* ── TECH ── */
#tech {
  padding: 56px 60px 100px;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-inner {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 80px; align-items: start;
}
.tech-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.tech-tag {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(0,229,255,0.03);
  transition: border-color 0.2s, color 0.2s;
  cursor: none;
}
.tech-tag:hover { border-color: var(--cyan); color: var(--cyan); }
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-block {
  padding: 24px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  contain: layout style paint;
}
.tech-block:hover {
  border-color: rgba(0,229,255,0.28);
  box-shadow: 0 0 20px rgba(0,229,255,0.06);
}
.tech-block-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 14px; opacity: 0.7;
}
.tech-block-items {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.titem {
  padding: 5px 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  font-size: 0.74rem; color: var(--off);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.titem:hover {
  background: rgba(0,229,255,0.08);
  border-color: rgba(0,229,255,0.2);
  color: var(--cyan);
}

/* ── POURQUOI ── */
#why {
  padding: 56px 60px 120px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.why-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.why-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s ease;
  cursor: none;
  will-change: transform;
  contain: layout style paint;
}
.why-card:hover {
  border-color: rgba(0,229,255,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,229,255,0.05);
}
.why-card:first-child { grid-column: span 2; }
.why-icon {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.6rem; color: var(--amber);
  margin-bottom: 16px; display: block; line-height: 1;
  letter-spacing: 0.02em;
}
.why-card:first-child .why-icon { color: var(--cyan); }
.why-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  margin-bottom: 8px;
}
.why-card-text {
  font-size: 0.8rem; line-height: 1.7; color: var(--muted);
}

/* ── TÉMOIGNAGES ── */
#testimonials {
  padding: 56px 60px 120px;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,0.02), transparent);
}
.testimonials-inner {
  max-width: 1200px; margin: 0 auto; text-align: center;
}
.testimonials-inner .section-h2 { margin-bottom: 12px; }
.testimonials-inner .section-p { margin: 0 auto 64px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s ease;
  will-change: transform;
}
.testimonial-card:hover {
  border-color: rgba(0,229,255,0.28);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 24px rgba(0,229,255,0.06);
}
.testimonial-stars {
  display: flex; gap: 4px;
}
.testimonial-stars svg {
  width: 16px; height: 16px;
  color: var(--cyan);
}
.testimonial-quote {
  font-size: 0.88rem; line-height: 1.8;
  color: var(--off);
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 20px;
}
.testimonial-quote::before {
  content: '"';
  position: absolute; left: 0; top: -6px;
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem; color: var(--amber);
  line-height: 1; opacity: 0.7;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 0.78rem;
  color: var(--cyan); letter-spacing: 0.05em;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.88rem;
  color: var(--white); margin-bottom: 2px;
}
.testimonial-role {
  font-size: 0.75rem; color: var(--cyan); margin-bottom: 2px;
}
.testimonial-company {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── PORTFOLIO ── */
#portfolio {
  padding: 56px 60px 120px;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.portfolio-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 64px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s ease;
  will-change: transform;
  cursor: none;
}
.portfolio-card:hover {
  border-color: rgba(0,229,255,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.5), 0 0 28px rgba(0,229,255,0.08);
}
.portfolio-thumb {
  position: relative;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.portfolio-thumb svg {
  width: 72px; height: 72px;
  transition: opacity 0.3s ease;
}
/* Vignettes harmonisées sur la charte cyan + ambre (alternance) */
.portfolio-thumb--ai     { background: linear-gradient(135deg, #060e1a, #0a2436); color: var(--cyan); }
.portfolio-thumb--web    { background: linear-gradient(135deg, #14100a, #2a1e0a); color: var(--amber); }
.portfolio-thumb--sec    { background: linear-gradient(135deg, #060e1a, #0a2436); color: var(--cyan); }
.portfolio-thumb--mobile { background: linear-gradient(135deg, #14100a, #2a1e0a); color: var(--amber); }
.portfolio-thumb--data   { background: linear-gradient(135deg, #060e1a, #0a2436); color: var(--cyan); }
.portfolio-thumb--infra  { background: linear-gradient(135deg, #14100a, #2a1e0a); color: var(--amber); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(6,9,15,0.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-overlay span {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 10px 22px; border-radius: 2px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover .portfolio-thumb svg { opacity: 0.15; }
.portfolio-info {
  padding: 24px;
}
.portfolio-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.92rem;
  color: var(--white); margin-bottom: 8px;
  transition: color 0.25s ease;
}
.portfolio-card:hover .portfolio-title { color: var(--cyan); }
.portfolio-desc {
  font-size: 0.8rem; line-height: 1.7;
  color: var(--muted); margin-bottom: 16px;
}
.portfolio-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ptag {
  padding: 4px 10px;
  background: rgba(0,229,255,0.07);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.06em;
  color: var(--cyan);
}

/* ── ÉQUIPE ── */
#team {
  padding: 56px 60px 120px;
}
.team-inner {
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.team-inner .section-h2 { margin-bottom: 12px; }
.team-inner .section-p { margin: 0 auto 64px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 24px;
  transition: border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s ease;
  will-change: transform;
}
.team-card:hover {
  border-color: rgba(0,229,255,0.28);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,229,255,0.06);
}
.team-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0,229,255,0.1);
  border: 2px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  color: var(--cyan); letter-spacing: 0.05em;
  margin: 0 auto 20px;
  transition: border-color 0.3s ease, background 0.3s ease,
              box-shadow 0.3s ease;
}
.team-card:hover .team-avatar {
  border-color: var(--cyan);
  background: rgba(0,229,255,0.16);
  box-shadow: 0 0 24px rgba(0,229,255,0.25);
}
.team-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--white); margin-bottom: 4px;
}
.team-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 16px;
}
.team-bio {
  font-size: 0.8rem; line-height: 1.7;
  color: var(--muted);
}

/* ── CONTACT ── */
#contact {
  padding: 56px 60px 120px;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,0.03));
}
.contact-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.contact-inner .section-h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.contact-inner .section-p { margin: 0 auto 48px; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.contact-form .full { grid-column: span 2; }
.form-input {
  width: 100%; padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input::placeholder { color: var(--muted); opacity: 1; }
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
textarea.form-input { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--cyan);
  color: var(--black);
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; border-radius: 3px;
  cursor: none;
  transition: box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
              transform 0.3s cubic-bezier(0.4,0,0.2,1),
              opacity 0.2s ease;
  margin-top: 8px;
  will-change: transform;
}
.form-submit:hover {
  box-shadow: 0 12px 40px rgba(0,229,255,0.4);
  transform: translateY(-2px);
}
.form-submit:disabled { opacity: 0.6; }

/* ── Bloc infos contact (email / téléphone / localisation / réponse) ── */
.contact-info {
  margin-top: 52px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
}
.contact-info-item {
  display: flex; flex-direction: column; gap: 7px;
  text-align: center; text-decoration: none;
  padding: 18px 26px; min-width: 168px;
  border: 1px solid var(--border); border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
a.contact-info-item { cursor: none; }
a.contact-info-item:hover {
  border-color: var(--cyan);
  background: rgba(0,229,255,0.05);
  transform: translateY(-3px);
}
.ci-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--amber);
}
.ci-val { font-size: 0.92rem; color: var(--off); transition: color 0.25s ease; }
a.contact-info-item:hover .ci-val { color: var(--cyan); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 72px 60px 36px;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 380px; }
.footer-tagline {
  margin: 22px 0 26px;
  font-size: 0.86rem; line-height: 1.7; color: var(--muted);
}
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 13px; list-style: none; }
.footer-links a, .footer-static {
  font-size: 0.82rem; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--cyan); padding-left: 5px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.12em; color: var(--muted);
  text-transform: uppercase;
}
.footer-copy { letter-spacing: 0.1em; }
.footer-badge { display: inline-flex; align-items: center; gap: 9px; color: var(--off); }
.footer-diamond {
  width: 7px; height: 7px; background: var(--amber);
  transform: rotate(45deg); box-shadow: 0 0 10px rgba(242,169,59,0.55);
}
.footer-coords { color: var(--cyan); letter-spacing: 0.14em; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--muted); cursor: none;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.social-link svg { width: 14px; height: 14px; }
.social-link:hover {
  color: var(--cyan); border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,229,255,0.2);
}

/* ── Animations au scroll ── */
@keyframes revealAuto {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
  /* Fallback CSS : tout affiche après 1.5s si JS échoue */
  animation: revealAuto 0.65s cubic-bezier(0.4,0,0.2,1) 1.5s both;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
  animation: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Burger menu ── */
.burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; cursor: none; background: none; border: none;
  padding: 6px; z-index: 101;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(6,9,15,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 36px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .mobile-cta {
  padding: 14px 40px;
  background: var(--cyan); color: var(--black);
  border-radius: 2px; font-size: 1rem;
}
.mobile-lang {
  display: flex; gap: 12px; margin-top: 8px;
}

/* ── Bouton retour en haut ── */
#back-to-top {
  position: fixed; bottom: 96px; right: 32px; z-index: 200;
  width: 44px; height: 44px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 50%; cursor: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, border-color 0.2s, box-shadow 0.2s,
              transform 0.3s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.25);
  transform: translateY(-3px);
}
#back-to-top svg { width: 16px; height: 16px; stroke: var(--cyan); }

/* ── Chatbot flottant ── */
#chat-widget {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
}
#chat-toggle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cyan); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  box-shadow: 0 4px 24px rgba(0,229,255,0.4);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
  position: relative;
}
#chat-toggle:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(0,229,255,0.55); }
#chat-toggle svg { width: 22px; height: 22px; stroke: var(--black); }
.chat-badge {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #ff4d6d; color: #fff;
  font-size: 0.62rem; font-family: 'DM Sans', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s ease infinite;
}
.chat-badge.hidden { display: none; }

#chat-window {
  position: absolute; bottom: 64px; right: 0;
  width: 340px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  transform: scale(0.92) translateY(12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  transform-origin: bottom right;
  max-height: 520px;
}
#chat-window.open {
  opacity: 1; transform: scale(1) translateY(0);
  pointer-events: all;
}

#chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg { width: 18px; height: 18px; stroke: var(--cyan); }
.chat-name {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.85rem; color: var(--white);
}
.chat-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00e676; animation: pulse 2.5s ease infinite;
}
#chat-close {
  margin-left: auto; background: none; border: none; cursor: none;
  color: var(--muted); padding: 4px;
  display: flex; align-items: center; transition: color 0.2s;
}
#chat-close:hover { color: var(--white); }
#chat-close svg { width: 15px; height: 15px; }

#chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth; min-height: 200px; max-height: 300px;
}
#chat-messages::-webkit-scrollbar { width: 3px; }
#chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg { display: flex; animation: fadeUp 0.28s ease both; }
.msg.user { justify-content: flex-end; }
.msg-bubble {
  max-width: 82%; padding: 9px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; line-height: 1.65;
}
.msg.bot .msg-bubble {
  background: var(--card); color: var(--white);
  border-radius: 3px 12px 12px 12px;
  border: 1px solid var(--border);
}
.msg.user .msg-bubble {
  background: var(--cyan); color: var(--black);
  border-radius: 12px 3px 12px 12px; font-weight: 500;
}
.msg-typing .msg-bubble {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px; background: var(--card);
  border-radius: 3px 12px 12px 12px; border: 1px solid var(--border);
}
.typing-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: typingBounce 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); opacity:.5; }
  30% { transform: translateY(-7px); opacity:1; }
}

#chat-quick-replies {
  padding: 0 14px 10px;
  display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0;
}
.qr-btn {
  padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 100px;
  background: transparent; color: var(--cyan);
  font-family: 'DM Sans', sans-serif; font-size: 0.73rem;
  cursor: none; transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.qr-btn:hover { background: rgba(0,229,255,0.09); border-color: var(--cyan); }

#chat-input-row {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-top: 1px solid var(--border); flex-shrink: 0;
}
#chat-input {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--white); padding: 8px 13px;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
  outline: none; transition: border-color 0.2s; cursor: none;
}
#chat-input:focus { border-color: var(--cyan); }
#chat-input::placeholder { color: var(--muted); }
#chat-send {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cyan); border: none; cursor: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
#chat-send:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(0,229,255,0.4); }
#chat-send svg { width: 13px; height: 13px; stroke: var(--black); }

@media (max-width: 768px) {
  #chat-widget { bottom: 20px; right: 20px; }
  #chat-window { width: calc(100vw - 40px); right: -4px; }
}

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 16px 40px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.6; flex: 1; min-width: 260px;
}
#cookie-banner p a { color: var(--cyan); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  padding: 9px 22px; background: var(--cyan); color: var(--black);
  border: none; border-radius: 2px; cursor: none;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.08em;
  transition: box-shadow 0.2s;
}
.cookie-accept:hover { box-shadow: 0 4px 16px rgba(0,229,255,0.35); }
.cookie-refuse {
  padding: 9px 18px; background: transparent;
  border: 1px solid var(--border); border-radius: 2px; cursor: none;
  color: var(--muted); font-size: 0.78rem;
  transition: border-color 0.2s, color 0.2s;
}
.cookie-refuse:hover { border-color: var(--muted); color: var(--white); }

/* ── Language switch ── */
.lang-switch {
  display: flex; align-items: center; gap: 4px;
  margin-left: 24px;
}
.lang-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--muted); background: none;
  border: 1px solid transparent; border-radius: 2px;
  padding: 5px 9px; cursor: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--white); border-color: var(--border); }
.lang-btn.active { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.lang-sep { color: var(--border); font-size: 0.7rem; }

/* ── Scrollbar (assez large pour être attrapable + couleurs du site) ── */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #0a121c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--amber));
  border-radius: 10px;
  border: 3px solid #0a121c; /* crée un petit espacement autour du curseur */
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cyan3), var(--amber-deep));
}
/* Firefox */
html { scrollbar-width: thin; scrollbar-color: var(--cyan) #0a121c; }

/* ── Sélection ── */
::selection { background: rgba(0,229,255,0.2); color: var(--white); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.74rem; }
  #hero { padding: 110px 32px 70px; }
  #about { padding: 44px 32px 90px; gap: 48px; }
  #services { padding: 44px 32px 90px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .service-card:first-child, .service-card:last-child { grid-column: auto; grid-row: auto; }
  .service-card:first-child { background: var(--card); }
  .service-card:first-child .service-icon { width: 44px; height: 44px; margin-bottom: 20px; }
  .service-card:first-child .service-title { font-size: 1rem; margin-top: 0; }
  .service-card:first-child .service-desc { font-size: 0.82rem; }
  #process { padding: 44px 32px 90px; }
  #tech { padding: 44px 32px 80px; }
  #why { padding: 44px 32px 90px; gap: 48px; }
  #testimonials { padding: 44px 32px 90px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  #portfolio { padding: 44px 32px 90px; }
  .portfolio-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  #team { padding: 44px 32px 90px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  #contact { padding: 44px 32px 90px; }
  footer { padding: 36px 32px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-right { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
  #back-to-top { bottom: 84px; right: 20px; }
  #cookie-banner { padding: 16px 20px; }
  #hero { padding: 100px 20px 60px; }
  .hero-h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-btns { flex-wrap: wrap; }
  .hero-stats {
    position: static; display: flex;
    gap: 0; margin-top: 44px;
    justify-content: flex-start; flex-wrap: wrap;
  }
  .stat-item { text-align: left; padding: 0 18px; }
  .stat-item:first-child { padding-left: 0; }
  .scroll-hint { display: none; }
  #about { grid-template-columns: 1fr; padding: 40px 20px 70px; }
  .about-visual { height: 300px; order: -1; }
  #services { padding: 40px 20px 70px; }
  .services-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  #process { padding: 40px 20px 70px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  #tech { padding: 40px 20px 70px; }
  .tech-inner { grid-template-columns: 1fr; gap: 40px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  #why { grid-template-columns: 1fr; padding: 40px 20px 70px; gap: 40px; }
  .why-cards { grid-template-columns: 1fr; }
  .why-card:first-child { grid-column: span 1; }
  #testimonials { padding: 40px 20px 70px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  #portfolio { padding: 40px 20px 70px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  #team { padding: 40px 20px 70px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  #contact { padding: 40px 20px 70px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: span 1; }
  footer { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ── Écrans tactiles : désactive le curseur custom ── */
@media (hover: none), (pointer: coarse) {
  #cursor, #cursor-ring { display: none !important; }
  body { cursor: auto; }
}

/* ── Curseur texte dans les champs (desktop) ── */
.form-input, #chat-input, textarea { cursor: text; }

/* ── Accessibilité : réduction des animations ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #grid-canvas { display: none; }
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── Skip navigation (WCAG 2.1) ── */
.skip-nav {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--cyan);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-nav:focus {
  top: 0;
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   ENRICHISSEMENTS DESIGN (mouvement · profondeur · hero · typo)
   ═══════════════════════════════════════════════════════════════ */

/* ── Typo & rythme ── */
.section-h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.section-p  { font-size: clamp(0.98rem, 1.1vw, 1.08rem); }

/* ── Aurora ambiante derrière la page ── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vw 38vw at 14% 18%, rgba(0,229,255,0.09), transparent 60%),
    radial-gradient(44vw 44vw at 86% 26%, rgba(242,169,59,0.08), transparent 62%),
    radial-gradient(50vw 50vw at 52% 92%, rgba(0,229,255,0.05), transparent 60%);
  animation: auroraShift 26s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -3%, 0) scale(1.09); }
}

/* ── Glassmorphism sur les cards ── */
.service-card, .why-card, .tech-block, .contact-info-item {
  background: rgba(13, 22, 34, 0.5);
  backdrop-filter: blur(11px) saturate(1.15);
  -webkit-backdrop-filter: blur(11px) saturate(1.15);
}

/* ── Bordure dégradée animée sur la card IA (mise en avant) ── */
@property --bd { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.service-card:first-child::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--bd), rgba(0,229,255,0), var(--cyan), var(--amber), rgba(242,169,59,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.65;
  animation: spinBorder 7s linear infinite;
}
@keyframes spinBorder { to { --bd: 360deg; } }

/* ── CTA primaire : dégradé + reflet qui balaie ── */
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--cyan), var(--cyan3));
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: shine 0.85s ease; }
@keyframes shine { to { left: 150%; } }

/* ── Boutons magnétiques (retour fluide) ── */
.btn-primary, .btn-outline, .form-submit { transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, background 0.25s ease; }

/* ── Hero : auras animées + shimmer sur "l'Afrique" ── */
#hero::after { animation: floatAuraA 22s ease-in-out infinite alternate; }
#hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 46vmax; height: 46vmax; border-radius: 50%;
  bottom: -20vmax; left: -12vmax;
  background: radial-gradient(circle, rgba(0,229,255,0.10) 0%, rgba(0,229,255,0) 64%);
  animation: floatAuraB 18s ease-in-out infinite alternate;
}
@keyframes floatAuraA { 0% { transform: translate(0,0); } 100% { transform: translate(-5%, 5%); } }
@keyframes floatAuraB { 0% { transform: translate(0,0); } 100% { transform: translate(7%, -6%); } }

.hero-h1 .line2 {
  color: transparent;
  background: linear-gradient(100deg, var(--amber) 28%, #ffffff 50%, var(--amber) 72%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 34px rgba(242,169,59,0.28));
  animation: lineUp 0.9s 0.3s cubic-bezier(0.16,1,0.3,1) both, shimmer 6.5s 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* ── Reveal au scroll : flou → net ── */
.reveal {
  filter: blur(7px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1),
              transform 0.7s cubic-bezier(.4,0,.2,1),
              filter 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { filter: blur(0); }
@keyframes revealAuto { to { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* ── Préloader d'intro ── */
#preloader {
  position: fixed; inset: 0; z-index: 10001;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid rgba(0,229,255,0.15);
  border-top-color: var(--cyan);
  border-right-color: var(--amber);
  animation: plSpin 0.9s linear infinite;
}
.preloader-word {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.1rem; letter-spacing: 0.32em; text-indent: 0.32em;
  color: var(--white);
  animation: plPulse 1.6s ease infinite;
}
.preloader-word b { color: var(--cyan); }
@keyframes plSpin { to { transform: rotate(360deg); } }
@keyframes plPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ── Process : ligne dégradée animée + étapes en verre ── */
#process .process-steps::before {
  height: 2px; opacity: 0.55;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--amber), transparent);
  background-size: 200% 100%;
  animation: flowLine 8s linear infinite;
}
@keyframes flowLine { to { background-position: 200% 0; } }
.step { transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.step:hover { transform: translateY(-6px); }
.step-num-wrap {
  background: rgba(13,22,34,0.55);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.step:hover .step-num-wrap {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(242,169,59,0.10), 0 0 30px rgba(242,169,59,0.30);
  transform: scale(1.07);
}
.step-num { font-size: 1.25rem; }
.step-title { transition: color 0.25s ease; }
.step:hover .step-title { color: var(--cyan); }

/* ── Footer : filet dégradé animé + filigrane + ticks ── */
footer { overflow: hidden; }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--amber), transparent);
  background-size: 200% 100%;
  animation: flowLine 9s linear infinite; opacity: 0.6;
}
.footer-watermark {
  position: absolute; left: 50%; bottom: -2.5vw; transform: translateX(-50%);
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(5rem, 18vw, 15rem); line-height: 0.8;
  letter-spacing: 0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(242,169,59,0.06);
  pointer-events: none; user-select: none; z-index: 0;
}
.footer-top, .footer-bottom { position: relative; z-index: 1; }
.footer-col-title { display: flex; align-items: center; gap: 9px; }
.footer-col-title::before { content: ''; width: 14px; height: 1px; background: var(--amber); flex-shrink: 0; }
.social-link { transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.social-link:hover { transform: translateY(-3px); }

/* En anglais, les libellés des stats sont plus longs : on resserre les
   cartes (padding + taille des libellés) pour qu'elles ne collent pas le
   bord droit, et on les décale en plus sur grand écran (mode coin). */
html[lang="en"] .stat-item { padding-left: 14px; padding-right: 14px; }
html[lang="en"] .stat-label { font-size: 0.66rem; letter-spacing: 0.06em; }
@media (min-width: 1281px) {
  html[lang="en"] .hero-stats { margin-right: 80px; }
}

/* ── Accessibilité : neutralise les enrichissements animés ── */
@media (prefers-reduced-motion: reduce) {
  body::before, #hero::before { display: none; }
  .reveal { filter: none; }
  #preloader { display: none !important; }
  .hero-h1 .line2 {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    color: var(--amber); filter: none;
  }
}

/* ── Nav réduite au scroll (classe posée par script.js) — ne touche pas au
   padding horizontal, qui reste piloté par les media queries ── */
nav.scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(6,9,15,0.97); }

/* ── Accessibilité : focus clavier visible ── */
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════════════════════════════
   PASSE DESIGN — hiérarchie, rythme et lisibilité
   (surcharges regroupées ici : supprimer ce bloc restaure l'ancien rendu)
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero : la marque comme ancre visuelle (la moitié droite était vide) ── */
.hero-mark {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; right: clamp(40px, 7.5vw, 120px);
  height: min(56vh, 500px); aspect-ratio: 210 / 240;
  transform: translateY(-54%);
  color: var(--cyan); opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 45% 45%, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse at 45% 45%, #000 35%, transparent 78%);
  animation: markIn 1.4s 0.4s ease both;
}
.hero-mark svg { width: 100%; height: 100%; display: block; }
@keyframes markIn { from { opacity: 0; } to { opacity: 0.5; } }
@media (max-width: 1280px) {
  .hero-mark { right: 2vw; height: min(50vh, 440px); opacity: 0.28; animation-name: markInSoft; }
  @keyframes markInSoft { from { opacity: 0; } to { opacity: 0.28; } }
}
@media (max-width: 768px)  { .hero-mark { display: none; } }

/* Sous-titre du hero : il concurrençait le titre (52px) → rôle de signature */
.hero-h1 .line3 {
  font-size: clamp(0.82rem, 0.24em, 1.35rem);
  letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5;
  margin-top: 22px;
  animation-name: lineUpSoft;
}
@keyframes lineUpSoft { from{opacity:0;transform:translateY(0.45em)} to{opacity:0.55;transform:translateY(0)} }

/* ── Titres de section : moins larges, coupures équilibrées
      (« Votre partenaire tech de croissance » tenait sur 4 lignes) ── */
.section-h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); line-height: 1.08; text-wrap: balance; }
.contact-inner .section-h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
.contact-inner { max-width: 780px; }
.contact-form, .form-submit { max-width: 720px; margin-left: auto; margin-right: auto; }
.section-p { text-wrap: pretty; }

/* ── À propos : la carte n'est plus une boîte vide ── */
.about-visual { height: 400px; }
.about-card-main {
  background:
    radial-gradient(340px 240px at 78% 18%, rgba(0,229,255,0.09), transparent 70%),
    var(--card);
  overflow: hidden;
}
.about-logo-big {
  font-size: clamp(4.5rem, 9vw, 8rem); letter-spacing: 0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(0,229,255,0.28);
}
.about-card-float { box-shadow: 0 18px 40px rgba(0,0,0,0.45); }

/* ── Services : textes plus lisibles, carte IA mieux remplie ── */
.service-num  { font-size: 0.7rem; opacity: 1; }
.service-desc { font-size: 0.88rem; }
.service-card:first-child {
  background:
    radial-gradient(460px 320px at 88% 10%, rgba(0,229,255,0.10), transparent 70%),
    radial-gradient(380px 300px at 8% 100%, rgba(242,169,59,0.07), transparent 70%),
    linear-gradient(160deg, #0c1822, var(--card));
}
/* Carte IA : le pictogramme devient le visuel de la carte (coin haut-droit),
   le texte reste ancré en bas — plus de grand vide au-dessus du titre */
@media (min-width: 1025px) {
  .service-card:first-child .service-icon {
    position: absolute; top: 34px; right: 34px; margin: 0;
    width: 190px; height: 190px; stroke-width: 0.55; opacity: 0.55;
  }
}

/* Tablette / téléphone : le numéro ne colle plus au pictogramme */
@media (max-width: 1024px) { .service-card:first-child .service-num { margin-bottom: 24px; } }

/* À propos : le titre tient sur 2 lignes dans sa colonne */
#about .section-h2 { font-size: clamp(1.7rem, 2.65vw, 2.4rem); }

/* ── Méthode ── */
.step-desc { font-size: 0.9rem; }

/* ── Technologies : une seule liste (la grille), numéro fantôme sous le texte ── */
#tech { position: relative; overflow: hidden; }
.tech-inner { position: relative; z-index: 1; }
@media (min-width: 769px) { .tech-inner { grid-template-columns: 300px 1fr; gap: 64px; } }
#tech .ghost-num {
  top: auto; right: auto; bottom: 28px; left: clamp(20px, 4vw, 56px);
  z-index: 0; font-size: clamp(4rem, 9vw, 8.5rem);
}

/* ── Pourquoi nous : grille 2×2 régulière (la 4e carte restait orpheline) ── */
.why-card:first-child { grid-column: auto; }
.why-card { padding: 30px 26px; }
.why-card-title { font-size: 1.02rem; margin-bottom: 10px; }
.why-card-text  { font-size: 0.9rem; }

/* ── Contact : la liste déroulante s'aligne sur les autres champs ── */
select.form-input {
  -webkit-appearance: none; appearance: none;
  font-weight: 400; color: var(--muted);
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
select.form-input:valid { color: var(--white); }
.ci-label { font-size: 0.68rem; }

/* ── Pied de page : le bouton de chat ne recouvre plus les coordonnées ── */
@media (min-width: 769px) { .footer-bottom { padding-right: 84px; } }

/* ── Mobile : les 3 chiffres du hero sur une seule ligne régulière ── */
@media (max-width: 768px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; width: 100%; }
  .stat-item, html[lang="en"] .stat-item { padding: 0 clamp(8px, 3.4vw, 16px); white-space: normal; }
  .stat-item:first-child, html[lang="en"] .stat-item:first-child { padding-left: 0; }
  .stat-num { font-size: clamp(1.15rem, 6vw, 1.7rem); }
  .stat-label, html[lang="en"] .stat-label { font-size: 0.6rem; letter-spacing: 0.08em; line-height: 1.45; margin-top: 6px; max-width: 12ch; }
  .about-visual { height: 280px; }
  .about-logo-big { font-size: 4.2rem; }
  /* le libellé + les points passaient sous la carte « Mission » */
  .about-card-main > div:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }
