/* ══════════════════════════════════════════════════════════
   ANSSOU PARTNERS — main.css
   Feuille de styles partagée pour toutes les pages
   ══════════════════════════════════════════════════════════ */

:root {
  --primary:   #3b1fa8;
  --primary-l: #5b35d4;
  --secondary: #1e4fc8;
  --accent:    #7c3aed;
  --dark:      #0b1340;
  --text:      #1e293b;
  --muted:     #64748b;
  --light:     #f5f4ff;
  --white:     #ffffff;
  --border:    #e8e5ff;
  --shadow-sm: 0 2px 10px rgba(59,31,168,.08);
  --shadow:    0 10px 40px rgba(59,31,168,.12);
  --shadow-lg: 0 24px 64px rgba(59,31,168,.18);
  --radius:    20px;
  --radius-sm: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 6px 24px rgba(92,53,212,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(92,53,212,.45); }
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }

/* ── SECTION UTILS ───────────────────────── */
.section { padding: 96px 0; }

/* Saute le rendu des sections hors-viewport (Chrome/Edge) */
.section,
.service-detail-section,
.hero-features-band,
.stats-section,
.projects-section,
.contact-section,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-top: 8px;
}
.section-title p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin-inline: auto;
}

/* ── HEADER ──────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,229,255,.6);
}

.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { height: 46px; }

nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 13.5px;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
nav a:hover { background: var(--light); color: var(--primary); }
nav a.active {
  background: var(--light);
  color: var(--primary);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── HAMBURGER & MENU MOBILE ─────────────── */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--light);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.hamburger:hover { background: #ede9fe; border-color: var(--primary); color: var(--primary); }
.ham-close { display: none; }
.hamburger.active .ham-open  { display: none; }
.hamburger.active .ham-close { display: block; }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid rgba(232,229,255,.8);
  box-shadow: 0 16px 40px rgba(59,31,168,.1);
}
.mobile-menu.open { display: block; animation: slideDown .22s ease; max-height: calc(100dvh - 72px); overflow-y: auto; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu-inner { padding: 10px 0 18px; }
.mobile-menu-inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #f3f0ff;
  transition: color .15s;
}
.mobile-menu-inner a:last-of-type { border-bottom: none; }
.mobile-menu-inner a:hover, .mobile-menu-inner a.active { color: var(--primary); }

.mobile-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.mobile-menu-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-cta .btn { justify-content: center; width: 100%; }

/* ── PHONE PILL ──────────────────────────── */
.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  transition: all .25s;
}
.phone-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.phone-pill:hover .phone-pill-label { color: rgba(255,255,255,.7); }
.phone-pill:hover .phone-pill-num   { color: #fff; }
.phone-pill:hover .phone-pill-icon  { background: rgba(255,255,255,.2); }
.phone-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s;
}
.phone-pill-label { font-size: 10px; color: var(--muted); font-weight: 500; line-height: 1; margin-bottom: 2px; }
.phone-pill-num   { font-size: 12.5px; font-weight: 700; color: var(--dark); line-height: 1; transition: color .25s; }

/* ── PAGE BANNER (inner pages) ───────────── */
.page-banner {
  background: linear-gradient(155deg, #f0edff 0%, #eef2ff 45%, #f8faff 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  pointer-events: none;
}
.page-banner .banner-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,53,212,.1);
  color: var(--primary);
  border: 1px solid rgba(92,53,212,.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.page-banner h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 18px;
}
.page-banner h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-banner p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── HERO (homepage) ─────────────────────── */
.hero {
  padding: 72px 0 40px;
  background: linear-gradient(155deg, #f0edff 0%, #eef2ff 45%, #f8faff 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,53,212,.1);
  color: var(--primary);
  border: 1px solid rgba(92,53,212,.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.hero h1 {
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 34px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* ── HERO SLIDER ─────────────────────────── */
.hero-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 440px;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  contain: layout style;
}
.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11,19,64,.75) 0%, transparent 100%);
  padding: 48px 24px 22px;
  color: #fff;
}
.slide-caption strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.slide-caption span   { font-size: 12.5px; opacity: .8; }
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  color: var(--dark);
  z-index: 3;
  transition: background .2s, transform .2s;
}
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer;
  transition: all .35s;
  padding: 0;
}
.slider-dot.active { background: #fff; width: 26px; }

/* ── FEATURES BAND ───────────────────────── */
.hero-features-band {
  background: #fff;
  border-top: 1px solid #e8e5ff;
  border-bottom: 1px solid #f0edff;
}
.hero-features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hf-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 40px;
  border-right: 1px solid #f0edff;
  transition: background .25s;
  cursor: default;
}
.hf-item:last-child { border-right: none; }
.hf-item:hover { background: #f9f7ff; }
.hf-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(92,53,212,.25);
}
.hf-title { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.hf-desc  { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── SERVICES ────────────────────────────── */
.services { background: linear-gradient(180deg, #fff 0%, #f5f4ff 100%); }
.services-hd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.services-hd-title { font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--dark); line-height: 1.1; margin-top: 14px; }
.services-hd-r p   { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.services-all-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 4px;
  transition: border-color .2s, gap .2s;
}
.services-all-link:hover { border-color: var(--primary); gap: 12px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.svc-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ede9fe;
  box-shadow: 0 2px 16px rgba(59,31,168,.06);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(59,31,168,.14); }
.svc-card-accent { height: 5px; background: var(--svc, var(--primary)); flex-shrink: 0; }
.svc-card-body { padding: 28px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-num {
  position: absolute; top: 18px; right: 20px;
  font-size: 72px; font-weight: 900; line-height: 1;
  color: var(--svc, var(--primary)); opacity: .07;
  pointer-events: none; font-variant-numeric: tabular-nums; letter-spacing: -3px;
}
.svc-badge {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--svc, var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  flex-shrink: 0;
}
.svc-card-title { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; line-height: 1.25; }
.svc-card-desc  { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.svc-tag {
  font-size: 11.5px; font-weight: 600;
  background: #f5f4ff; color: var(--primary);
  border-radius: 999px; padding: 4px 11px;
  border: 1px solid #e8e5ff;
}
.svc-card-sep { height: 1px; background: #f1eeff; margin-bottom: 18px; }
.svc-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700;
  color: var(--svc, var(--primary));
  transition: gap .2s;
}
.svc-card-link:hover { gap: 10px; }
.services-bottom {
  margin-top: 48px;
  background: #fff;
  border: 1px solid #e8e5ff;
  border-radius: 18px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
.services-bottom p    { font-size: 16px; font-weight: 600; color: var(--dark); }
.services-bottom span { font-size: 14px; color: var(--muted); font-weight: 400; display: block; margin-top: 2px; }

/* ── SERVICE DETAIL (inner page) ────────── */
.service-detail-section { padding: 80px 0; }
.service-detail-section:nth-child(even) { background: var(--light); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-img img { width: 100%; height: 340px; object-fit: cover; display: block; }
.service-detail-placeholder {
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: var(--shadow-lg);
}
.service-detail-content .service-num {
  font-size: 13px; font-weight: 700;
  color: var(--primary); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px;
}
.service-detail-content h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.service-detail-content p  { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.service-features-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.service-features-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text); line-height: 1.5;
}
.service-feat-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── ABOUT ───────────────────────────────── */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-img-main { overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img-main::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  z-index: 1;
}
.about-img-main img { width: 100%; height: 500px; object-fit: cover; display: block; }
.about-exp-float {
  position: absolute; top: 32px; right: -16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border-radius: 16px; padding: 18px 24px;
  text-align: center; box-shadow: var(--shadow); z-index: 3;
}
.about-exp-float strong { display: block; font-size: 34px; font-weight: 900; line-height: 1; }
.about-exp-float span   { font-size: 12px; opacity: .9; }
.about-trust-float {
  position: absolute; bottom: 40px; left: 20px;
  background: #fff; border-radius: 14px;
  padding: 14px 18px; display: flex; align-items: center;
  gap: 12px; box-shadow: var(--shadow); z-index: 3;
  border: 1px solid #f0edff;
}
.about-trust-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  display: flex; align-items: center; justify-content: center;
  color: #16a34a; flex-shrink: 0;
}
.about-trust-float strong { display: block; font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.2; }
.about-trust-float span   { font-size: 11.5px; color: var(--muted); }
.about-title  { text-align: left; margin-bottom: 20px; }
.about-desc   { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.about-feat {
  display: flex; gap: 13px; padding: 16px;
  background: var(--light); border-radius: 14px;
  border: 1px solid var(--border);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.about-feat:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); transform: translateY(-2px); }
.about-feat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-feat strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.about-feat p      { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.about-actions     { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── ABOUT PAGE EXTRA ────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(92,53,212,.3);
}
.value-card h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.value-card p  { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ── STATS SECTION ───────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #f0edff 0%, #eef2ff 60%, #f5f4ff 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e8e5ff;
  border-bottom: 1px solid #e8e5ff;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 120% at 15% 50%, rgba(124,58,237,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 100% at 85% 50%, rgba(30,79,200,.06) 0%, transparent 70%);
  pointer-events: none;
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stat-block { padding: 56px 32px; text-align: center; position: relative; transition: background .3s; }
.stat-block:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; height: 60%; width: 1px;
  background: rgba(59,31,168,.12);
}
.stat-block:hover { background: rgba(255,255,255,.5); }
.stat-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  background: #fff; border: 1px solid #e8e5ff;
  box-shadow: 0 4px 16px rgba(59,31,168,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin: 0 auto 20px;
}
.stat-num {
  font-size: 58px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -2px;
}
.stat-lbl { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 500; letter-spacing: .3px; }

/* ── PROJECTS ────────────────────────────── */
.projects-section { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card-img img { transform: scale(1.07); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,19,64,.65) 0%, transparent 60%);
}
.project-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  color: var(--primary); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.project-card-body { padding: 16px 18px 18px; }
.project-card-body strong { display: block; font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.project-card-body span   { font-size: 13px; color: var(--muted); }

/* Projects page — larger grid */
.projects-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projects-page-grid .project-card-img { aspect-ratio: 16/10; }

/* ── CONTACT FORM ────────────────────────── */
.contact-section {
  background: linear-gradient(155deg, #f0edff 0%, #eef2ff 55%, #f8faff 100%);
  padding: 96px 0;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-pitch { padding-top: 8px; }
.contact-pitch-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(92,53,212,.1); color: var(--primary);
  border: 1px solid rgba(92,53,212,.2); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; margin-bottom: 20px;
}
.contact-pitch-h {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900; color: var(--dark);
  line-height: 1.15; margin-bottom: 16px;
}
.contact-pitch-p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.contact-pitch-list {
  list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px;
}
.contact-pitch-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text); line-height: 1.5;
}
.cpl-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.contact-wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; font-weight: 700;
  font-size: 15px; padding: 13px 26px; border-radius: 12px;
  box-shadow: 0 6px 22px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}
.contact-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.45); }

.contact-form-wrap {
  background: #fff; border-radius: 24px;
  padding: 44px 40px;
  box-shadow: var(--shadow); border: 1px solid #e8e5ff;
}
.form-heading { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.form-sub     { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group   { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--dark); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #e8e5ff; border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: #fdfcff; transition: border-color .2s, box-shadow .2s;
  outline: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,31,168,.08);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 6px 24px rgba(92,53,212,.35);
  transition: transform .2s, box-shadow .2s;
  font-family: inherit;
}
.btn-submit:hover    { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(92,53,212,.45); }
.btn-submit:disabled { opacity: .75; cursor: not-allowed; transform: none; }
.form-group input.f-invalid,
.form-group select.f-invalid,
.form-group textarea.f-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.07) !important;
  background: #fff8f8 !important;
}
.form-group input.f-valid,
.form-group select.f-valid,
.form-group textarea.f-valid { border-color: #16a34a !important; }
.field-error {
  font-size: 12px; color: #dc2626; font-weight: 500;
  margin-top: 5px; display: none; align-items: center; gap: 4px;
}
.field-error.show { display: flex; }
.form-alert {
  border-radius: 10px; padding: 13px 16px;
  display: none; align-items: flex-start; gap: 10px;
  margin-bottom: 18px; font-size: 14px; font-weight: 500; line-height: 1.45;
}
.form-alert.show-success { display: flex; background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.form-alert.show-error   { display: flex; background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Contact page cards */
.contact-info-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-card {
  background: #fff; border-radius: 18px;
  padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  border: 1px solid #e8e5ff; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.contact-card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card-label { font-size: 11.5px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.contact-card-val   { font-size: 14.5px; font-weight: 600; color: var(--dark); }

/* ── CTA SECTION ─────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 70px solid rgba(255,255,255,.05);
  right: -100px; top: -140px; pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 50px solid rgba(255,255,255,.05);
  left: 38%; bottom: -80px; pointer-events: none;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; }
.cta-content h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-content p  { color: rgba(255,255,255,.75); font-size: 16px; }
.cta-actions    { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cta-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-cta-outline:hover { background: rgba(255,255,255,.1); }

/* ── PARTNERS BAND ───────────────────────── */
.partners-band {
  display: none;
  background: #f5f4ff;
  border-top: 1px solid #e8e5ff;
  border-bottom: 1px solid #e8e5ff;
  padding: 40px 0;
}
.partners-band-label { text-align: center; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 28px; }
.partners-overflow { overflow: hidden; }
.partners-track { display: flex; gap: 18px; animation: partners-scroll 55s linear infinite; width: max-content; }
.partners-track:hover { animation-play-state: paused; }
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-logo {
  width: 160px; background: #fff;
  border: 1px solid #e8e5ff; border-radius: 16px;
  overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s;
  cursor: default; flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(59,31,168,.07);
}
.partner-logo:hover { border-color: var(--primary); box-shadow: 0 8px 28px rgba(59,31,168,.15); transform: translateY(-4px); }
.partner-logo-icon {
  width: 100%; height: 84px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; letter-spacing: 1px; color: #fff;
}
.partner-logo-icon.has-img { background: #f9f9fb !important; padding: 14px 16px; }
.partner-logo-icon.has-img img { max-height: 52px; max-width: 124px; width: 100%; object-fit: contain; }
.partner-logo-text { padding: 10px 14px 13px; border-top: 1px solid rgba(0,0,0,.05); background: #fff; }
.partner-logo-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-logo-text span   { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ── FOOTER ──────────────────────────────── */
footer { background: #060e2e; color: #cbd5e1; }
footer > .container { padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 32px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p { margin-top: 20px; font-size: 14.5px; line-height: 1.8; color: #94a3b8; max-width: 300px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: all .2s;
}
.social-icon:hover { background: var(--brand, var(--primary)); border-color: var(--brand, var(--primary)); color: #fff; }
.footer-col h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--primary); border-radius: 2px;
}
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  color: #94a3b8; font-size: 14px; margin-bottom: 12px; transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-col a i { color: var(--primary); flex-shrink: 0; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(92,53,212,.2);
  display: flex; align-items: center; justify-content: center;
  color: #a78bfa; flex-shrink: 0;
}
.footer-contact-item p      { font-size: 13px; color: #94a3b8; }
.footer-contact-item strong { display: block; font-size: 14px; color: #e2e8f0; margin-bottom: 2px; }
.footer-bottom {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 13.5px; color: #64748b; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: #64748b; transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ── FLOATING BUTTONS ───────────────────── */
.float-group { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 50; }
.whatsapp-float {
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.12); }
.scroll-top {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(59,31,168,.35);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--accent); transform: translateY(-2px); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1100px) {
  .phone-pill { display: none; }
}

@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .projects-grid      { grid-template-columns: repeat(2, 1fr); }
  .projects-page-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .stats-inner        { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2)::after { display: none; }
  .values-grid        { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid      { grid-template-columns: 1fr; }
  .services-hd        { grid-template-columns: 1fr; gap: 24px; }
  .services-bottom    { flex-direction: column; text-align: center; }
  .projects-grid      { grid-template-columns: 1fr 1fr; }
  .projects-page-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner          { flex-direction: column; text-align: center; }
  .cta-actions        { flex-wrap: wrap; justify-content: center; }
  .footer-grid        { grid-template-columns: 1fr; }
  nav, .nav-right     { display: none; }
  .hamburger          { display: flex; }
  .hero-features-inner { grid-template-columns: 1fr; }
  .hf-item            { border-right: none; border-bottom: 1px solid #f0edff; padding: 22px 24px; }
  .hf-item:last-child { border-bottom: none; }
  .stat-block         { padding: 40px 20px; }
  .stat-num           { font-size: 44px; }
  .about-img-main img { height: 300px; }
  .about-exp-float    { right: 0; top: 16px; }
  .about-trust-float  { left: 0; bottom: 16px; }
  .about-features     { grid-template-columns: 1fr; }
  .contact-form-wrap  { padding: 28px 20px; }
  .form-row           { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .page-banner        { padding: 56px 0 40px; }
}

@media (max-width: 480px) {
  .projects-grid      { grid-template-columns: 1fr; }
  .projects-page-grid { grid-template-columns: 1fr; }
  .stats-inner        { grid-template-columns: 1fr 1fr; }
  .stat-block::after  { display: none; }
  .hero-actions       { flex-direction: column; }
  .hero-actions .btn  { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   i18n — Visibilité FR / EN
   ══════════════════════════════════════════════════════════ */
.en { display: none; }
html[data-lang="en"] .fr { display: none !important; }
html[data-lang="en"] .en { display: block !important; }
html[data-lang="en"] .en-inline { display: inline !important; }
html[data-lang="en"] .en-flex  { display: flex  !important; }

/* ── Sélecteur de langue ──────────────────────────────── */
.lang-drop { position: relative; }

.lang-trigger {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: rgba(59,31,168,.07);
  border: 1px solid rgba(59,31,168,.15);
  border-radius: 8px;
  padding: .38rem .55rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  transition: background .2s;
  user-select: none;
  line-height: 1;
}
.lang-trigger:hover { background: rgba(59,31,168,.13); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 500;
  box-shadow: var(--shadow);
  min-width: 130px;
  overflow: hidden;
}
.lang-drop.open .lang-menu { display: block; }

.lang-opt {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  transition: background .15s;
  border: none;
  background: transparent;
  font-family: inherit;
  width: 100%;
  text-align: left;
  line-height: 1;
}
.lang-opt:hover { background: var(--light); }
.lang-opt.active { color: var(--primary); }

/* ── Langue mobile ─────────────────────────────────────── */
.mob-lang {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.mob-lang .lang-opt {
  flex: 1;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  padding: .55rem .5rem;
}
.mob-lang .lang-opt.active {
  border-color: var(--primary);
  background: var(--light);
}

/* ═══ TESTIMONIALS SLIDER (shared) ════════════════════════ */
.testi-slider { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-pair { min-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testi-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; transition: background .3s, border-color .3s, transform .3s; }
.testi-card:hover { background: rgba(92,53,212,.12); border-color: rgba(92,53,212,.35); transform: translateY(-5px); }
.testi-card-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testi-card-stars svg { fill: #f59e0b; }
.testi-card-body { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.78; font-style: italic; flex: 1; margin-bottom: 24px; position: relative; padding-left: 22px; }
.testi-card-body::before { content: '\201C'; position: absolute; left: 0; top: -4px; font-size: 42px; line-height: 1; font-family: Georgia,serif; color: var(--accent); opacity: .7; }
.testi-card-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.testi-card-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(92,53,212,.5); background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.testi-card-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.testi-card-role { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; }
.testi-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; z-index: 2; }
.testi-arrow:hover { background: rgba(92,53,212,.5); transform: translateY(-50%) scale(1.08); }
.testi-prev { left: -62px; }
.testi-next { right: -62px; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.testi-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); border: none; cursor: pointer; padding: 0; transition: all .3s; }
.testi-dot.active { background: #fff; width: 28px; }

/* ── Light variant ────────────────────────────────────────── */
.testi-card--light { background: #fff; border-color: #e0e7ff; }
.testi-card--light:hover { background: #f5f3ff; border-color: var(--primary); transform: translateY(-5px); }
.testi-card--light .testi-card-body { color: var(--text); }
.testi-card--light .testi-card-body::before { color: var(--primary); opacity: .5; }
.testi-card--light .testi-card-author { border-top-color: var(--border); }
.testi-card--light .testi-card-name { color: var(--dark); }
.testi-card--light .testi-card-role { color: var(--muted); }
.testi-arrow--light { background: #fff; border-color: var(--border); color: var(--primary); box-shadow: var(--shadow-sm); }
.testi-arrow--light:hover { background: var(--light); transform: translateY(-50%) scale(1.08); }
.testi-dot--light { background: #c7d2fe; }
.testi-dot--light.active { background: var(--primary); width: 28px; }

@media (max-width: 1000px) { .testi-prev { left: -8px; } .testi-next { right: -8px; } }
@media (max-width: 640px) { .testi-pair { grid-template-columns: 1fr; } .testi-prev, .testi-next { display: none; } }
