/* ═══════════════════════════════════════════════════
   2easy informatique — style.css
   ═══════════════════════════════════════════════════ */

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

:root {
  --orange: #E8660A;
  --orange-light: #FF7A1A;
  --orange-dim: rgba(232,102,10,0.12);
  --dark: #111110;
  --dark-2: #1A1A18;
  --dark-3: #222220;
  --dark-4: #2C2C29;
  --border: rgba(255,255,255,0.07);
  --border-orange: rgba(232,102,10,0.3);
  --text: #F0EFE8;
  --text-muted: #888880;
  --text-dim: #555550;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --side: clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--side);
  background: rgba(17,17,16,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 0.5px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(17,17,16,0.97) !important;
  border-color: var(--border);
  box-shadow: 0 1px 32px rgba(0,0,0,0.5);
}
.nav-logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.nav-logo-main {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.03em;
}
.nav-logo-main span { color: var(--orange); }
.nav-logo-sub { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--orange); color: white !important;
  padding: 0.55rem 1.2rem; border-radius: 8px; font-weight: 500;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); padding: 4px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: white;
  padding: 0.85rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px; border: none;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,102,10,0.3); }
.btn-ghost {
  color: var(--text-muted); text-decoration: none; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
  background: none; border: none; padding: 0;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-outline {
  border: 1px solid var(--border-orange); color: var(--orange);
  padding: 0.75rem 1.5rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: var(--orange-dim); transform: translateY(-2px); }

/* ── SECTION BASE ── */
section { padding: 6rem 0; position: relative; z-index: 1; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--side); }
.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--orange); flex-shrink: 0; }
/* Quand centré avec justify-content:center, la barre reste à gauche du texte */
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.section-title em { font-style: normal; color: var(--orange); }
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* ── SCROLL ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 8rem var(--side) 4rem;
  position: relative; overflow: visible;
  background: transparent;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(232,102,10,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(232,102,10,0.05) 0%, transparent 60%);
}
#hero-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; opacity: 0.55;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  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: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-dim); border: 0.5px solid var(--border-orange);
  border-radius: 20px; padding: 5px 14px 5px 10px;
  font-size: 0.78rem; color: var(--orange); font-weight: 500; letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.6rem;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero h1 .line2 { color: var(--text-muted); }
.hero h1 .word { display: inline-block; overflow: hidden; }
.hero h1 .word span { display: inline-block; transform: translateY(110%); animation: word-up 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes word-up { to { transform: translateY(0); } }
.hero h1 .w1 span { animation-delay: 0.1s; }
.hero h1 .w2 span { animation-delay: 0.22s; }
.hero h1 .w3 span { animation-delay: 0.32s; }
.hero h1 .w4 span { animation-delay: 0.44s; }
.hero h1 .w5 span { animation-delay: 0.54s; }

.hero-subtitle {
  font-size: 1.05rem; color: var(--orange); font-weight: 500;
  margin-bottom: 0.8rem; letter-spacing: 0.01em;
  opacity: 0; animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-muted); font-weight: 300;
  max-width: 580px; line-height: 1.75; margin-bottom: 2.5rem;
  opacity: 0; animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}
@keyframes fade-up { from { opacity:0; transform:translateY(20px);} to { opacity:1; transform:translateY(0);} }
.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}
.hero-stats {
  position: relative; z-index: 1;
  max-width: 900px; margin: 4rem auto 0;
  display: flex; gap: 3rem;
  padding-top: 2.5rem; border-top: 0.5px solid var(--border);
}
.stat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--orange); line-height: 1;
}
.stat-num.pop { animation: stat-pop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes stat-pop { 0%{transform:scale(1)} 50%{transform:scale(1.15)} 100%{transform:scale(1)} }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: fade-up 1s ease 1.4s forwards;
}
.scroll-indicator span { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.14em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--orange), transparent); animation: scroll-anim 1.8s ease-in-out infinite; }
@keyframes scroll-anim { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ── MARQUEE ── */
.marquee-section {
  background: transparent; padding: 1.5rem 0;
  border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border);
  overflow: hidden; position: relative; z-index: 1;
}
.marquee-section::before, .marquee-section::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, rgba(17,17,16,0.5), transparent); }
.marquee-section::after { right: 0; background: linear-gradient(to left, rgba(17,17,16,0.5), transparent); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 35s linear infinite; width: max-content; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 0 2rem; font-size: 0.82rem; color: var(--text-dim);
  font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.marquee-item::after { content: '·'; color: var(--orange); margin-left: 1rem; }

/* ── SERVICES ── */
.services-section { background: var(--dark-2); padding: 6rem 0; }
.services-header { max-width: 700px; margin-bottom: 4rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.service-card {
  background: var(--dark-2); padding: 2.5rem 2rem;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(232,102,10,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 0;
}
.service-card:hover { background: var(--dark-3); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-dim); border: 0.5px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.6rem; letter-spacing: -0.01em;
}
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.service-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  background: var(--orange); color: white; padding: 2px 10px; border-radius: 20px;
  text-transform: uppercase;
}
.service-card.featured { background: var(--dark-3); }

/* ── AI SECTION ── */
.ai-section { background: var(--dark); overflow: hidden; }
.ai-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.ai-visual {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.ai-ring {
  position: absolute; border-radius: 50%;
  border: 0.5px solid var(--border-orange); opacity: 0.4;
  animation: rotate-ring 20s linear infinite;
}
.ai-ring:nth-child(1) { width: 92%; height: 92%; animation-duration: 25s; }
.ai-ring:nth-child(2) { width: 76%; height: 76%; animation-direction: reverse; animation-duration: 18s; }
.ai-ring:nth-child(3) { width: 58%; height: 58%; animation-duration: 12s; }
@keyframes rotate-ring { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.ai-ring::before {
  content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); top: -3px; left: 50%;
}
.ai-core {
  position: relative; z-index: 1; width: 110px; height: 110px; border-radius: 50%;
  background: var(--dark-2); border: 0.5px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  box-shadow: 0 0 40px rgba(232,102,10,0.12);
}
.ai-core-label { font-size: 0.65rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.ai-core-val { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--orange); }
.ai-status-card {
  position: absolute; bottom: 8%; right: 0;
  background: var(--dark-2); border: 0.5px solid var(--border);
  border-radius: 12px; padding: 0.9rem 1.2rem; min-width: 180px;
}
.ai-status-label { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.ai-status-row { display: flex; align-items: center; gap: 8px; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; animation: pulse 2s infinite; }
.ai-dot.offline { background: #888; animation: none; }
.ai-status-text { font-size: 0.82rem; font-weight: 500; }
.ai-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.ai-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.2rem; background: var(--dark-2);
  border: 0.5px solid var(--border); border-radius: 10px;
  transition: border-color 0.2s;
}
.ai-feature:hover { border-color: var(--border-orange); }
.ai-feature-icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.ai-feature h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.ai-feature p { font-size: 0.82rem; color: var(--text-muted); }

/* ── DEMO SECTION ── */
.demo-section { background: var(--dark-2); }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.demo-chat-preview {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: 16px; overflow: hidden; position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.demo-chat-preview:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,102,10,0.1);
}
.demo-preview-header {
  background: var(--dark-4); padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 0.5px solid var(--border);
}
.demo-preview-dots { display: flex; gap: 5px; }
.demo-preview-dots span { width: 9px; height: 9px; border-radius: 50%; }
.demo-preview-dots span:nth-child(1) { background: #FF5F57; }
.demo-preview-dots span:nth-child(2) { background: #FFBD2E; }
.demo-preview-dots span:nth-child(3) { background: #28C940; }
.demo-preview-title { font-size: 0.78rem; color: var(--text-dim); margin-left: 6px; }
.demo-preview-body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.demo-bubble {
  max-width: 85%; padding: 0.7rem 1rem;
  border-radius: 12px; font-size: 0.82rem; line-height: 1.5;
}
.demo-bubble.user { background: var(--orange); color: white; align-self: flex-end; border-radius: 12px 12px 2px 12px; }
.demo-bubble.bot { background: var(--dark-2); color: var(--text-muted); border: 0.5px solid var(--border); border-radius: 12px 12px 12px 2px; }
.demo-click-hint {
  text-align: center; padding: 0.8rem;
  font-size: 0.75rem; color: var(--text-dim);
  border-top: 0.5px solid var(--border);
}
.demo-points { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.demo-point { display: flex; gap: 0.8rem; align-items: flex-start; }
.demo-point-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--orange-dim); border: 0.5px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.demo-point p { font-size: 0.88rem; color: var(--text-muted); }
.demo-point strong { color: var(--text); }

/* ── PIPELINES ── */
.pipelines-section { background: var(--dark); }
.pipelines-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.pipeline-points { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.pipeline-point {
  display: flex; gap: 1rem; padding: 1rem 1.2rem;
  background: var(--dark-2); border: 0.5px solid var(--border); border-radius: 10px;
  transition: border-color 0.2s;
}
.pipeline-point:hover { border-color: var(--border-orange); }
.pipeline-icon { color: var(--orange); flex-shrink: 0; }
.pipeline-point h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.pipeline-point p { font-size: 0.82rem; color: var(--text-muted); }
.pipeline-flows { display: flex; flex-direction: column; gap: 1.5rem; }
.pipeline-flow {
  background: var(--dark-2); border: 0.5px solid var(--border);
  border-radius: 12px; padding: 1.4rem;
}
.pipeline-flow h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 1rem; }
.flow-steps { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.flow-step {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: 6px; padding: 0.35rem 0.75rem;
  font-size: 0.75rem; color: var(--text-muted); white-space: nowrap;
}
.flow-arrow { color: var(--orange); font-size: 0.8rem; flex-shrink: 0; }

/* ── PROCESS ── */
.process-section { background: var(--dark-2); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 0.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.process-step {
  background: var(--dark-2); padding: 2rem 1.8rem;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.process-step:hover { background: var(--dark-3); }
.process-step::before {
  content: attr(data-num); position: absolute; top: -0.5rem; right: 1rem;
  font-family: var(--font-display); font-size: 5.5rem; font-weight: 800;
  color: rgba(232,102,10,0.05); line-height: 1; pointer-events: none;
  transition: color 0.4s;
}
.process-step:hover::before { color: rgba(232,102,10,0.12); }
.process-num { font-size: 0.7rem; color: var(--orange); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 1rem; }
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── WHY ── */
.why-section { background: var(--dark); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.why-card {
  background: var(--dark-2); border: 0.5px solid var(--border); border-radius: 14px;
  padding: 2rem; transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: var(--border-orange); transform: translateY(-2px); }
.why-card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.why-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── TEAM ── */
.team-section { background: var(--dark-2); }
.team-grid {
  display: grid; grid-template-columns: repeat(2, 300px);
  gap: 2rem; margin-top: 3.5rem; justify-content: center;
}
.team-card {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: 16px; padding: 2rem; text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover { border-color: var(--border-orange); transform: translateY(-4px); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: var(--orange-dim); border: 2px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--orange);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.team-role { font-size: 0.82rem; color: var(--orange); font-weight: 500; margin-bottom: 0.8rem; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 1rem;
  font-size: 0.8rem; color: var(--text-dim); text-decoration: none;
  transition: color 0.2s;
}
.team-linkedin:hover { color: var(--orange); }

/* ── ASSISTANCE BUTTON ── */
.assistance-section { background: var(--dark); padding: 3rem 0; border-top: 0.5px solid var(--border); }
.assistance-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.assistance-text h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.assistance-text p { font-size: 0.88rem; color: var(--text-muted); }
.btn-assistance {
  background: var(--dark-3); border: 0.5px solid var(--border);
  color: var(--text); padding: 0.9rem 1.8rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-assistance:hover { border-color: var(--border-orange); background: var(--dark-4); transform: translateY(-2px); }

/* ── CTA / CONTACT ── */
.cta-section {
  background: var(--dark-2); padding: 6rem 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: -100%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(232,102,10,0.05) 60deg, transparent 120deg);
  animation: cta-spin 10s linear infinite;
}
@keyframes cta-spin { to { transform: rotate(360deg); } }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner .section-title { margin-bottom: 0.8rem; }
.cta-inner p { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; }
.cta-contacts { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.cta-contact-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.cta-contact-item:hover { color: var(--orange); }
.cta-contact-item svg { color: var(--orange); flex-shrink: 0; }

/* ── CONTACT FORMS ── */
.contact-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; text-align: left; }
.contact-form-box {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: 14px; padding: 2rem;
}
.contact-form-box h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.contact-form-box .form-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 0.5px solid var(--border); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 5px; letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--dark-4); border: 0.5px solid var(--border);
  border-radius: 8px; padding: 0.75rem 1rem;
  color: var(--text); font-family: var(--font-body); font-size: 0.88rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--border-orange);
}
.form-group textarea { min-height: 90px; }
.form-captcha {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark-4); border: 0.5px solid var(--border);
  border-radius: 8px; padding: 0.75rem 1rem;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem;
}
.form-captcha input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--orange); }
.form-msg { font-size: 0.82rem; margin-top: 0.5rem; padding: 0.6rem 0.8rem; border-radius: 6px; display: none; }
.form-msg.success { background: rgba(76,175,80,0.1); color: #4CAF50; border: 0.5px solid rgba(76,175,80,0.3); display: block; }
.form-msg.error { background: rgba(244,67,54,0.1); color: #F44336; border: 0.5px solid rgba(244,67,54,0.3); display: block; }

/* ── AI BADGE ── */
.ai-generated-badge {
  text-align: center; padding: 1rem;
  font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.06em;
  border-top: 0.5px solid var(--border);
}
.ai-generated-badge span { color: var(--orange); }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 2.5rem var(--side);
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-inner, .demo-inner, .pipelines-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ai-visual { max-width: 320px; margin: 0 auto; }
  .contact-forms { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --side: 1.2rem; }
  .nav-links { display: none; position: fixed; inset: 0; top: 60px; background: rgba(17,17,16,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; justify-items: center; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .assistance-inner { flex-direction: column; align-items: flex-start; }
  .partners-row { gap: 1rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
}

/* ═══════════════════════════════════════════════════
   AMÉLIORATIONS v2 — Accessibilité, UX, Skip nav, LPD
   ═══════════════════════════════════════════════════ */

/* ── SKIP NAVIGATION ── */
.skip-nav {
  position: fixed; top: -100px; left: 50%; z-index: 99999;
  transform: translateX(-50%);
  background: var(--orange); color: white;
  padding: 0.75rem 1.5rem; border-radius: 0 0 10px 10px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: top 0.2s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* ── FOCUS STYLES ACCESSIBLES ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange) !important;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── NOTICE LPD ── */
.lpd-notice {
  position: fixed; bottom: 1.5rem; left: 50%; z-index: 9990;
  transform: translateX(-50%) translateY(0);
  display: flex; align-items: center; gap: 1rem;
  background: var(--dark-3); border: 0.5px solid var(--border-orange);
  border-radius: 12px; padding: 0.85rem 1.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(232,102,10,0.2);
  max-width: min(600px, calc(100vw - 2rem));
  animation: lpd-slide-in 0.5s cubic-bezier(0.16,1,0.3,1) 1.5s both;
}
.lpd-notice.hiding {
  animation: lpd-slide-out 0.35s cubic-bezier(0.4,0,1,1) forwards;
}
@keyframes lpd-slide-in {
  from { transform: translateX(-50%) translateY(calc(100% + 2rem)); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes lpd-slide-out {
  from { transform: translateX(-50%) translateY(0); opacity: 1; }
  to   { transform: translateX(-50%) translateY(calc(100% + 2rem)); opacity: 0; }
}
.lpd-text {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.4;
  flex: 1;
}
.lpd-text strong { color: var(--text); }
.lpd-btn {
  background: var(--orange); color: white;
  border: none; border-radius: 7px; padding: 0.45rem 1rem;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.lpd-btn:hover { background: var(--orange-light); transform: translateY(-1px); }

/* ── BOUTON RETOUR EN HAUT ── */
.back-to-top {
  position: fixed; bottom: 2rem; left: 1.5rem; z-index: 500;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--dark-3); border: 0.5px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, background 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.back-to-top.visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--border-orange);
  background: var(--dark-4);
  color: var(--orange);
}

/* ── SCROLL SPY — NAV ACTIVE ── */
.nav-links a.nav-active {
  color: var(--orange) !important;
}
.nav-links a.nav-active:not(.nav-cta)::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--orange);
  margin-top: 1px;
}

/* ── MENU TOGGLE ARIA (croix quand ouvert) ── */
.menu-toggle[aria-expanded="true"] svg path:nth-child(1) { d: path("M4 4l14 14"); }
.menu-toggle[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] svg path:nth-child(3) { d: path("M4 18L18 4"); }

/* ═══════════════════════════════════════════════════
   AMÉLIORATIONS v3 — Nettoyage styles inline
   ═══════════════════════════════════════════════════ */

/* ── En-têtes de sections centrées ── */
.section-header-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-label--center {
  justify-content: center;
}
.section-desc--center {
  margin: 0 auto 3.5rem;
  text-align: center;
}

/* ── Section inner centré ── */
.section-inner--center {
  text-align: center;
}

/* ── CTA sub-text ── */
.cta-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ── Bouton pleine largeur ── */
.btn-full {
  width: 100%;
  justify-content: center;
}
.btn-secondary-style {
  background: var(--dark-4);
  border: 0.5px solid var(--border);
}
.btn-secondary-style:hover {
  background: var(--dark-3);
}

/* ── Pipeline disclaimer ── */
.pipeline-disclaimer {
  font-size: 0.72rem;
  color: var(--text-dim);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

/* ── Process section : header a besoin de moins d'espace ── */
.process-section .section-header-centered {
  margin-bottom: 4rem;
}
.why-section .section-header-centered {
  margin-bottom: 3.5rem;
}
