:root {
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --bg: #060b18;
  --bg-soft: #0a1124;
  --surface: #0f1830;
  --surface-2: #16223f;
  --surface-3: #1d2c4d;
  --border: rgba(148, 163, 184, 0.1);
  --border-strong: rgba(148, 163, 184, 0.2);

  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --accent-2: #14b8a6;
  --gold: #f59e0b;
  --success: #10b981;
  --error: #ef4444;
  --rose: #f43f5e;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);

  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== Protection anti-copie ===== */
body {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
input, textarea, select {
  -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;
}
img, svg {
  -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; user-drag: none;
  -webkit-touch-callout: none;
}
@media print {
  body * { visibility: hidden !important; }
  body::after {
    content: "Impression désactivée sur ce site.";
    visibility: visible !important;
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 1.4rem; font-family: sans-serif; color: #000;
  }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1, h2 { text-align: center; }

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

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(120deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}
.loader-bar {
  width: 180px; height: 3px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  animation: loaderFill 1.2s var(--ease) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ===== Ambient bg ===== */
.bg-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3; }
.orb-1 { width: 550px; height: 550px; background: var(--primary); top: -180px; left: -120px; animation: drift1 24s ease-in-out infinite; }
.orb-2 { width: 450px; height: 450px; background: var(--accent); bottom: -150px; right: -100px; animation: drift2 28s ease-in-out infinite; }
.orb-3 { width: 350px; height: 350px; background: var(--accent-2); top: 40%; left: 50%; opacity: 0.15; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(80px,60px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,-40px)} }
@keyframes drift3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-30%,-60%)} }

.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* ===== Side nav ===== */
.side-nav {
  position: fixed; right: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; gap: 14px;
}
.side-nav a {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  transition: all 0.3s var(--ease);
  position: relative;
}
.side-nav a.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: scale(1.3);
}
.side-nav a::after {
  content: attr(data-label);
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-size: 0.75rem; font-weight: 600;
  color: var(--text);
  background: var(--surface);
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: all 0.25s var(--ease);
}
.side-nav a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ===== Navbar ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 11, 24, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand span {
  background: linear-gradient(90deg, #fff, #cbd5e1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent); border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(37, 99, 235, 0.85); }
.btn-ghost { color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 0.98rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent);
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary-light), var(--accent), var(--accent-2));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift { 0%,100%{background-position:0% center} 50%{background-position:100% center} }
.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  min-height: 1.8em;
}
.hero-slogan .cursor-blink {
  display: inline-block; width: 3px; height: 1.2em;
  background: var(--accent); margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero p.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.trust-text { font-size: 0.88rem; color: var(--text-muted); }
.trust-text strong { color: var(--text); }

.hero-visual { position: relative; }
.hero-card { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); position: relative; will-change: transform; }
.hero-card img { width: 100%; height: 440px; object-fit: cover; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 11, 24, 0.6)); }
.hero-float {
  position: absolute;
  background: rgba(15, 24, 48, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.hero-float .ic svg { width: 22px; height: 22px; color: #fff; }
.hero-float .ft { font-size: 0.76rem; color: var(--text-dim); }
.hero-float .fv { font-weight: 700; font-size: 1.05rem; }
.hero-float.one { top: 32px; left: -30px; }
.hero-float.one .ic { background: linear-gradient(135deg, var(--success), var(--accent-2)); }
.hero-float.two { bottom: 44px; right: -26px; animation-delay: 1.5s; }
.hero-float.two .ic { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.hero-float.three { top: 50%; right: -34px; animation-delay: 0.8s; }
.hero-float.three .ic { background: linear-gradient(135deg, var(--gold), var(--accent)); }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-scroll .mouse { width: 24px; height: 40px; border: 2px solid var(--border-strong); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ===== Marquee ===== */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; background: rgba(10, 17, 36, 0.4); overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.marquee-track { display: flex; gap: 56px; align-items: center; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--text-dim); opacity: 0.6; transition: opacity 0.2s, color 0.2s; white-space: nowrap; }
.marquee-item:hover { opacity: 1; color: var(--text-muted); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Section base ===== */
section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-tag::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.about-content .section-tag { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* ===== Actors (core section) ===== */
.actors-wrap { max-width: 960px; margin: 0 auto; }
.actors-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.actor-tab {
  padding: 24px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.actor-tab::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--actor-color, var(--primary)), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.actor-tab:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.actor-tab.active {
  border-color: var(--actor-color, var(--accent));
  box-shadow: 0 10px 40px -10px var(--actor-color, rgba(6, 182, 212, 0.4));
}
.actor-tab.active::before { opacity: 0.12; }
.actor-tab .at-icon {
  width: 52px; height: 52px; border-radius: 14px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--surface-2);
  transition: transform 0.3s var(--ease), background 0.3s;
  position: relative;
}
.actor-tab.active .at-icon {
  background: var(--actor-color, var(--accent));
  transform: scale(1.1);
}
.actor-tab .at-icon svg { width: 26px; height: 26px; color: var(--text-muted); transition: color 0.3s; }
.actor-tab.active .at-icon svg { color: #fff; }
.actor-tab .at-label { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; position: relative; }
.actor-tab .at-sub { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; position: relative; }

.actor-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 44px;
  animation: panelIn 0.5s var(--ease);
}
.actor-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.actor-panel .ap-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.actor-panel .ap-visual img { width: 100%; height: 320px; object-fit: cover; }
.actor-panel .ap-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 11, 24, 0.5)); }

.actor-panel .ap-content h3 { font-size: 1.6rem; margin-bottom: 14px; }
.actor-panel .ap-content > p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.actor-features { display: grid; gap: 14px; }
.actor-feature { display: flex; gap: 12px; align-items: flex-start; }
.actor-feature .af-check {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: rgba(6, 182, 212, 0.1);
  display: grid; place-items: center;
}
.actor-feature .af-check svg { width: 15px; height: 15px; color: var(--accent); }
.actor-feature h4 { font-size: 0.98rem; margin-bottom: 2px; }
.actor-feature p { color: var(--text-muted); font-size: 0.88rem; }

/* ===== Stats ===== */
.stats { padding: 80px 0; background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.04)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 20px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { margin-top: 10px; color: var(--text-muted); font-size: 0.93rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); position: relative; }
.about-visual img { width: 100%; height: 480px; object-fit: cover; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 11, 24, 0.5)); }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(15, 24, 48, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
}
.about-badge .big {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-badge .small { font-size: 0.85rem; color: var(--text-muted); }
.about-content h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
.about-content > p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 28px; }
.about-list { display: grid; gap: 18px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list .check { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; background: rgba(16, 185, 129, 0.12); display: grid; place-items: center; }
.about-list .check svg { width: 16px; height: 16px; color: var(--success); }
.about-list h4 { font-size: 1.02rem; margin-bottom: 3px; }
.about-list p { color: var(--text-muted); font-size: 0.92rem; }

.about-highlights {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}
.ah-item { text-align: left; }
.ah-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.ah-icon svg { width: 22px; height: 22px; }
.ah-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.ah-item p { color: var(--text-muted); font-size: 0.86rem; }
@media (max-width: 980px) { .about-highlights { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .about-highlights { grid-template-columns: repeat(2, 1fr); } }

/* ===== Platform features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(6, 182, 212, 0.08), transparent 50%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--surface-2); transition: transform 0.3s var(--ease); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; }

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-line { position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2)); opacity: 0.3; }
.process-step { text-align: center; position: relative; }
.process-num {
  width: 66px; height: 66px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--surface);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative; z-index: 1;
}
.process-step:hover .process-num { transform: scale(1.12); border-color: var(--accent); box-shadow: 0 0 30px -5px rgba(6, 182, 212, 0.5); }
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Testimonials ===== */
.testimonials { position: relative; }
.testimonial-slider { max-width: 820px; margin: 0 auto; position: relative; min-height: 280px; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 48px;
  text-align: center;
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.testimonial.active { opacity: 1; transform: translateX(0); position: relative; pointer-events: auto; }
.testimonial .stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 22px; }
.testimonial .stars svg { width: 20px; height: 20px; color: var(--gold); }
.testimonial blockquote { font-size: 1.18rem; color: var(--text); margin-bottom: 28px; line-height: 1.7; font-style: italic; }
.testimonial .author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 1.05rem; }
.testimonial .author-info { text-align: left; }
.testimonial .author-info strong { display: block; font-size: 0.98rem; }
.testimonial .author-info span { font-size: 0.85rem; color: var(--text-dim); }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; transition: all 0.25s var(--ease); }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.08); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); cursor: pointer; transition: all 0.25s var(--ease); }
.slider-dots span.active { width: 28px; border-radius: 4px; background: var(--accent); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden; background: var(--surface); transition: border-color 0.25s; }
.faq-item.open { border-color: var(--accent); }
.faq-q {
  width: 100%; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--text); transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.3s var(--ease), background 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-icon svg { width: 16px; height: 16px; color: var(--text); transition: color 0.25s; }
.faq-item.open .faq-icon svg { color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 26px 22px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.7; }

/* ===== CTA ===== */
.cta { padding: 80px 0; }
.cta-box {
  position: relative; border-radius: var(--r-xl);
  padding: 72px 60px; text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--bg-soft));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: 0.25; top: -150px; right: -100px; }
.cta-box::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--primary); filter: blur(120px); opacity: 0.2; bottom: -120px; left: -80px; }
.cta-box h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 16px; position: relative; }
.cta-box p { color: rgba(241, 245, 249, 0.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 34px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.contact-info > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 34px; }
.contact-items { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-item .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; flex-shrink: 0; transition: border-color 0.25s, transform 0.25s var(--ease); }
.contact-item:hover .ic { border-color: var(--accent); transform: scale(1.08); }
.contact-item .ic svg { width: 22px; height: 22px; color: var(--accent); }
.contact-item .ci-label { font-size: 0.8rem; color: var(--text-dim); }
.contact-item .ci-value { font-weight: 600; }
.contact-social { display: flex; gap: 12px; margin-top: 30px; }
.contact-social a { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; transition: all 0.25s var(--ease); }
.contact-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.contact-social a svg { width: 18px; height: 18px; color: var(--text-muted); transition: color 0.2s; }
.contact-social a:hover svg { color: #fff; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  background: var(--bg-soft); border: 1px solid var(--border-strong);
  color: var(--text); font-family: inherit; font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success); font-size: 0.92rem; font-weight: 500;
  margin-bottom: 18px;
}
.form-success.show { display: flex; animation: slideIn 0.4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 70px 0 30px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--text-muted); font-size: 0.94rem; margin: 18px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; transition: all 0.25s var(--ease); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer-social a svg { width: 18px; height: 18px; color: var(--text-muted); transition: color 0.2s; }
.footer-social a:hover svg { color: #fff; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text-dim); font-size: 0.88rem; }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a { color: var(--text-dim); font-size: 0.88rem; }
.footer-bottom .legal a:hover { color: var(--text-muted); }

/* ===== Back to top ===== */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.35s var(--ease); z-index: 80;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px) scale(1.08); }
.back-top svg { width: 22px; height: 22px; color: #fff; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ===== Animations supplementaires : cascade sur les grilles ===== */
.features-grid > .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid > .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid > .feature-card:nth-child(3) { transition-delay: 0.15s; }
.features-grid > .feature-card:nth-child(4) { transition-delay: 0.2s; }
.features-grid > .feature-card:nth-child(5) { transition-delay: 0.25s; }
.features-grid > .feature-card:nth-child(6) { transition-delay: 0.3s; }
.features-grid > .feature-card:nth-child(7) { transition-delay: 0.35s; }
.features-grid > .feature-card:nth-child(8) { transition-delay: 0.4s; }
.features-grid > .feature-card:nth-child(9) { transition-delay: 0.45s; }

.res-grid > .res-card:nth-child(1) { transition-delay: 0.05s; }
.res-grid > .res-card:nth-child(2) { transition-delay: 0.1s; }
.res-grid > .res-card:nth-child(3) { transition-delay: 0.15s; }
.res-grid > .res-card:nth-child(4) { transition-delay: 0.2s; }
.res-grid > .res-card:nth-child(5) { transition-delay: 0.25s; }
.res-grid > .res-card:nth-child(6) { transition-delay: 0.3s; }

.case-grid > .case-card:nth-child(1) { transition-delay: 0.05s; }
.case-grid > .case-card:nth-child(2) { transition-delay: 0.15s; }
.case-grid > .case-card:nth-child(3) { transition-delay: 0.25s; }

.about-highlights > .ah-item:nth-child(1) { transition-delay: 0.05s; }
.about-highlights > .ah-item:nth-child(2) { transition-delay: 0.12s; }
.about-highlights > .ah-item:nth-child(3) { transition-delay: 0.19s; }
.about-highlights > .ah-item:nth-child(4) { transition-delay: 0.26s; }
.about-highlights > .ah-item:nth-child(5) { transition-delay: 0.33s; }

.stats-grid > .stat:nth-child(1) { transition-delay: 0.05s; }
.stats-grid > .stat:nth-child(2) { transition-delay: 0.15s; }
.stats-grid > .stat:nth-child(3) { transition-delay: 0.25s; }
.stats-grid > .stat:nth-child(4) { transition-delay: 0.35s; }

.process-grid > .process-step:nth-child(2) { transition-delay: 0.1s; }
.process-grid > .process-step:nth-child(3) { transition-delay: 0.2s; }
.process-grid > .process-step:nth-child(4) { transition-delay: 0.3s; }

/* ===== Micro-interactions supplementaires ===== */
.ah-icon { transition: transform 0.4s var(--ease), background 0.3s; }
.ah-item:hover .ah-icon { transform: scale(1.12) rotate(-6deg); background: var(--surface-3); }

.ceo-avatar-circle { position: relative; }
.ceo-avatar-circle::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.5;
  animation: ceoRingPulse 2.6s ease-out infinite;
}
@keyframes ceoRingPulse {
  0% { transform: scale(0.92); opacity: 0.55; }
  100% { transform: scale(1.25); opacity: 0; }
}

.dream-banner h2 {
  background-size: 200% auto;
  animation: dreamShimmer 6s ease-in-out infinite;
}
@keyframes dreamShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.case-card, .res-card, .school-card, .person {
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.value-item, .story-block { transition: transform 0.3s var(--ease); }

.res-num { transition: transform 0.4s var(--ease); }
.res-card:hover .res-num { transform: scale(1.08) translateY(-2px); }

.case-stat { transition: transform 0.3s var(--ease); }
.case-card:hover .case-stat { transform: translateY(-3px); }

.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .side-nav { display: none; }
  .actor-panel.active { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 24px; gap: 20px; }
  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero-float.one { left: 8px; }
  .hero-float.two { right: 8px; }
  .hero-float.three { right: 8px; }
  .cta-box { padding: 50px 28px; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: 1.05rem; }
  .actors-selector { grid-template-columns: repeat(2, 1fr); }
  .actor-panel { padding: 28px; }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  section { padding: 80px 0; }
  .actors-selector { grid-template-columns: 1fr; }
}

/* ===== v2 Premium Enhancements ===== */

/* Particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.particle { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-20px, -40px); }
  75% { transform: translate(20px, -10px); }
}
.hero > .container { position: relative; z-index: 1; }
.hero-scroll { z-index: 1; }

/* Mouse glow on hero */
.hero::after {
  content: "";
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 500px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06), transparent 70%);
  pointer-events: none; z-index: 0;
  transition: top 0.4s ease, left 0.4s ease;
}

/* Ripple */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0); animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* Big text marquee */
.big-marquee {
  padding: 26px 0; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg), var(--bg-soft), var(--bg));
}
.big-marquee-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: bigMarquee 35s linear infinite;
}
.big-marquee:hover .big-marquee-track { animation-play-state: paused; }
.big-marquee-text {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--surface-3); white-space: nowrap;
}
.big-marquee-text.c1 {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.big-marquee-text.c2 {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.big-marquee-text.c3 {
  background: linear-gradient(120deg, var(--gold), #fbbf24);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.big-marquee-text.c4 {
  background: linear-gradient(120deg, var(--rose), #fb7185);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.big-marquee-dot { font-size: clamp(1rem, 2.4vw, 1.6rem); color: var(--border-strong); line-height: 1; }
.big-marquee-text.phrase { font-size: clamp(0.95rem, 1.8vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; }
@keyframes bigMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Staggered word reveal */
.word-reveal {
  display: inline-block; opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.word-reveal.visible { opacity: 1; transform: translateY(0); }

/* Progress ring on back-top */
.back-top .ring-progress { position: absolute; inset: 0; pointer-events: none; }
.back-top .ring-progress circle {
  fill: none; stroke-width: 2.5; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: center;
}
.back-top .ring-progress .ring-bg-circle { stroke: rgba(255, 255, 255, 0.15); }
.back-top .ring-progress .ring-fg-circle { stroke: #fff; transition: stroke-dashoffset 0.1s linear; }
.back-top .ring-icon { position: relative; z-index: 1; }

/* 3D tilt */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* Animated gradient border */
.gradient-border-card { position: relative; }
.gradient-border-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--accent-2), var(--primary));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
  animation: gradientShift 4s ease infinite; pointer-events: none;
}
.gradient-border-card:hover::before { opacity: 1; }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* Section glow line */
section::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.5s;
}
section.glow::before { opacity: 0.4; }

/* Button shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s; pointer-events: none;
}
.btn-primary:hover::after { left: 100%; }

/* Hero visual glow */
.hero-visual::before {
  content: ""; position: absolute; inset: -10px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent-2));
  background-size: 200% 200%;
  z-index: -1; animation: gradientShift 6s ease infinite;
  opacity: 0.3; filter: blur(24px);
}

/* Responsive for new elements */
@media (max-width: 520px) {
  .big-marquee-text { font-size: 1.5rem; }
  .big-marquee-dot { font-size: 0.9rem; }
}

    /* ===== Etudes de cas ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px 28px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.case-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.case-tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: rgba(6,182,212,0.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.case-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.case-loc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 18px; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.case-stat { background: var(--surface-2); border-radius: var(--r-md); padding: 14px; text-align: center; }
.case-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; background: linear-gradient(120deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case-stat .l { font-size: 0.74rem; color: var(--text-dim); margin-top: 4px; }
.case-card p.case-quote { color: var(--text-muted); font-size: 0.92rem; font-style: italic; border-left: 2px solid var(--accent); padding-left: 14px; }

/* ===== Ressources / Blog ===== */
.res-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.res-filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: all 0.25s var(--ease); }
.res-filter.active, .res-filter:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.res-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.res-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.res-card-img { height: 170px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.res-card-img svg { width: 40px; height: 40px; color: rgba(255,255,255,0.85); }
.res-blob { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,0.16); filter: blur(18px); top: -40px; right: -35px; }
.res-num { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; letter-spacing: -0.02em; color: rgba(255,255,255,0.92); text-shadow: 0 10px 26px rgba(0,0,0,0.25); }
.res-card-body { padding: 24px 22px; }
.res-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.res-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.res-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.res-read { font-size: 0.85rem; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.res-read svg { width: 14px; height: 14px; }
.newsletter-box { margin-top: 70px; background: linear-gradient(135deg, var(--primary-dark), var(--bg-soft)); border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: 50px 44px; text-align: center; }
.newsletter-box h3 { font-size: 1.6rem; margin-bottom: 10px; }
.newsletter-box p { color: rgba(241,245,249,0.8); margin-bottom: 26px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--bg-soft); color: var(--text); font-family: inherit; }

/* ===== Espace de connexion ===== */
.login-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.login-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: 44px 40px; box-shadow: var(--shadow-lg); }
.login-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.login-card > p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 30px; }
.login-role-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.login-role { flex: 1; padding: 10px 8px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); transition: all 0.25s var(--ease); }
.login-role.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.login-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 0.85rem; }
.login-foot a { color: var(--accent); }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0; color: var(--text-dim); font-size: 0.8rem; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.login-signup { text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.login-signup a { color: var(--accent); font-weight: 600; }
.role-extra-fields { display: block; }

.dash-preview { position: relative; }
.dash-window { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.dash-topbar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.dash-body { padding: 26px; display: grid; gap: 18px; }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dash-card { background: var(--surface-2); border-radius: var(--r-md); padding: 16px; }
.dash-card .dc-label { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 8px; }
.dash-card .dc-value { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.dash-chart { background: var(--surface-2); border-radius: var(--r-md); padding: 18px; height: 130px; display: flex; align-items: flex-end; gap: 10px; }
.dash-bar { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), var(--primary)); }
.dash-list { background: var(--surface-2); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; }
.dash-list-item { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--text-muted); }
.dash-list-item .dot2 { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.dash-float-badge { position: absolute; top: -18px; right: -18px; background: var(--success); color: #062017; font-weight: 700; font-size: 0.8rem; padding: 10px 16px; border-radius: var(--r-md); box-shadow: var(--shadow-md); }

@media (max-width: 980px) {
  .case-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .login-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .res-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .dash-cards { grid-template-columns: 1fr; }
}


/* ===== Mot du PDG ===== */
.band-soft { background: var(--bg-soft); }
.ceo-grid { display: grid; grid-template-columns: 0.32fr 1fr; gap: 50px; align-items: center; }
.ceo-avatar-circle {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: #fff;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.ceo-content { position: relative; }
.ceo-quote {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; color: var(--text);
  margin: 16px 0 26px;
}
.ceo-signature { display: flex; flex-direction: column; gap: 2px; }
.ceo-signature strong { font-size: 1.05rem; color: var(--text); }
.ceo-signature span { font-size: 0.88rem; color: var(--text-dim); }
@media (max-width: 780px) {
  .ceo-grid { grid-template-columns: 1fr; text-align: center; }
}

/* ===== Plus de couleur : variation par carte ===== */
.features-grid .feature-card:nth-child(5n+1) .feature-icon { background: rgba(37,99,235,0.16); color: var(--primary-light); }
.features-grid .feature-card:nth-child(5n+2) .feature-icon { background: rgba(6,182,212,0.16); color: var(--accent); }
.features-grid .feature-card:nth-child(5n+3) .feature-icon { background: rgba(20,184,166,0.16); color: var(--accent-2); }
.features-grid .feature-card:nth-child(5n+4) .feature-icon { background: rgba(245,158,11,0.16); color: var(--gold); }
.features-grid .feature-card:nth-child(5n+5) .feature-icon { background: rgba(244,63,94,0.16); color: var(--rose); }

.res-grid .res-card:nth-child(6n+1) .res-card-img { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.res-grid .res-card:nth-child(6n+2) .res-card-img { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.res-grid .res-card:nth-child(6n+3) .res-card-img { background: linear-gradient(135deg, var(--gold), #fbbf24); }
.res-grid .res-card:nth-child(6n+4) .res-card-img { background: linear-gradient(135deg, var(--rose), #fb7185); }
.res-grid .res-card:nth-child(6n+5) .res-card-img { background: linear-gradient(135deg, var(--accent), var(--primary-light)); }
.res-grid .res-card:nth-child(6n+6) .res-card-img { background: linear-gradient(135deg, var(--primary-dark), var(--rose)); }
.res-grid .res-card:nth-child(6n+1) .res-cat { color: var(--primary-light); }
.res-grid .res-card:nth-child(6n+2) .res-cat { color: var(--accent-2); }
.res-grid .res-card:nth-child(6n+3) .res-cat { color: var(--gold); }
.res-grid .res-card:nth-child(6n+4) .res-cat { color: var(--rose); }
.res-grid .res-card:nth-child(6n+5) .res-cat { color: var(--accent); }
.res-grid .res-card:nth-child(6n+6) .res-cat { color: #fb7185; }

.case-card { border-top: 3px solid var(--primary); }
.case-card:nth-child(3n+1) { border-top-color: var(--accent); }
.case-card:nth-child(3n+2) { border-top-color: var(--gold); }
.case-card:nth-child(3n+3) { border-top-color: var(--rose); }
.case-card:nth-child(3n+1) .case-tag { color: var(--accent); background: rgba(6,182,212,0.12); }
.case-card:nth-child(3n+2) .case-tag { color: var(--gold); background: rgba(245,158,11,0.12); }
.case-card:nth-child(3n+3) .case-tag { color: var(--rose); background: rgba(244,63,94,0.12); }

/* ===== Modale Article ===== */
.article-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 60px 20px; overflow-y: auto; }
.article-modal.open { display: flex; }
.article-modal-overlay { position: fixed; inset: 0; background: rgba(6,11,24,0.78); backdrop-filter: blur(4px); }
.article-modal-panel {
  position: relative; z-index: 1; width: 100%; max-width: 680px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.article-modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-muted);
  display: grid; place-items: center; transition: all 0.2s var(--ease);
}
.article-modal-close:hover { background: var(--surface-3); color: var(--text); }
.article-modal-close svg { width: 18px; height: 18px; }
.article-modal-body { padding: 52px 44px 46px; }
.article-modal-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.article-modal-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 12px 0 26px; }
.article-modal-content { color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; }
.article-modal-content p { color: var(--text-muted); margin-bottom: 16px; }
.article-modal-content h4 { color: var(--text); font-size: 1.05rem; margin: 22px 0 10px; }
.article-modal-content ul { margin: 0 0 16px; padding-left: 20px; }
.article-modal-content li { margin-bottom: 8px; }
@media (max-width: 600px) { .article-modal-body { padding: 46px 24px 36px; } }

/* ===== Historique ===== */

/* ===== Banniere inspirante ===== */
.dream-banner {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(900px 400px at 50% 0%, rgba(37,99,235,0.16), transparent 65%), var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dream-banner h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 18px 0 22px;
  background: linear-gradient(120deg, var(--text), var(--primary-light), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dream-banner p {
  max-width: 560px; margin: 0 auto;
  font-size: 1.05rem;
}
