/* ============================================================
   Advance Web — Design System
   Style : SaaS premium (Stripe / Linear / Vercel / Framer)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Couleurs de marque */
  --blue-900: #0a1b3d;
  --blue-800: #0f2557;
  --blue-700: #143073;
  --blue-600: #1d4ed8;
  --blue-500: #2f6bff;
  --blue-400: #5b8cff;
  --violet-500: #7c5cff;
  --violet-400: #a78bfa;
  --cyan-400: #22d3ee;

  /* Neutres */
  --ink: #0b1220;
  --ink-2: #1a2233;
  --muted: #5b6678;
  --muted-2: #6b7488;
  --line: #e7eaf1;
  --line-2: #eef1f7;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #f2f5fb;
  --white: #ffffff;

  /* Accent / dégradés discrets */
  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--violet-500) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(45,107,255,.10), rgba(124,92,255,.10));
  --grad-text: linear-gradient(120deg, #1d4ed8 0%, #7c5cff 55%, #22d3ee 100%);

  /* Rayons */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Ombres (profondeur subtile) */
  --sh-xs: 0 1px 2px rgba(11,18,32,.06);
  --sh-sm: 0 2px 6px rgba(11,18,32,.06), 0 1px 2px rgba(11,18,32,.04);
  --sh-md: 0 10px 30px rgba(16,31,71,.08), 0 2px 8px rgba(16,31,71,.05);
  --sh-lg: 0 24px 60px rgba(16,31,71,.14), 0 8px 20px rgba(16,31,71,.08);
  --sh-glow: 0 20px 60px rgba(45,107,255,.25);

  /* Typo */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: rgba(124,92,255,.18); }

/* Accessibilité : focus visible cohérent sur tous les éléments interactifs */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45,107,255,.5);
  border-radius: var(--r-sm);
}

/* Skip link (accessibilité clavier) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--blue-600); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout utils ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-600);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(45,107,255,.14);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand);
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 18px 0 14px;
}
.section-head p {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  color: #fff;
  background: var(--blue-600);
  background-image: var(--grad-brand);
  box-shadow: var(--sh-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px rgba(45,107,255,.34); }
.btn--ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: #d4dae7; box-shadow: var(--sh-sm); }
.btn--light {
  color: var(--blue-700);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(11,18,32,.06), var(--sh-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: var(--sh-glow);
}
.brand__mark span { transform: translateY(-1px); }
.brand b { font-weight: 700; }
.brand em { font-style: normal; color: var(--blue-600); }
.brand__logo { height: 38px; width: auto; display: block; }
.footer .brand__logo { height: 40px; filter: brightness(0) invert(1); }
@media (max-width: 620px) { .brand__logo { height: 34px; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft-2); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { padding: 10px 18px; font-size: 14.5px; }

.burger {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 26px;
  display: grid;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s;
  z-index: 99;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 13px 8px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.hero__bg::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 780px; height: 780px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124,92,255,.14), transparent 62%);
}
.hero__bg::after {
  content: ""; position: absolute; top: -20%; left: -12%;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(45,107,255,.12), transparent 62%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 22px 0 20px;
}
.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 34px;
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: var(--muted-2);
}
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid #fff; background: var(--grad-brand);
  display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700;
}
.hero__avatars span:first-child { margin-left: 0; }
.stars { color: #f5a623; letter-spacing: 2px; }

/* Hero visual — dashboard/code mockup en SVG/CSS */
.hero__visual { position: relative; }
.mock {
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero__visual:hover .mock { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock__bar i:nth-child(1){ background:#ff5f57; } .mock__bar i:nth-child(2){ background:#febc2e; } .mock__bar i:nth-child(3){ background:#28c840; }
.mock__url { margin-left: 10px; font-size: 12px; color: var(--muted-2); background:#fff; border:1px solid var(--line); border-radius: var(--r-pill); padding: 4px 12px; }
.mock__body { padding: 18px; display: grid; gap: 14px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock__kpi { border:1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px; background: var(--bg-soft); }
.mock__kpi small { font-size: 11px; color: var(--muted-2); }
.mock__kpi b { display:block; font-size: 20px; letter-spacing: -.02em; margin-top: 2px; }
.mock__kpi b span { font-size: 12px; color: #16a34a; font-weight: 600; margin-left: 4px; }
.mock__chart { border:1px solid var(--line-2); border-radius: var(--r-md); padding: 14px; background:#fff; }
.mock__chart-head { display:flex; justify-content:space-between; font-size:12px; color:var(--muted); margin-bottom:8px; }
.spark { width:100%; height:70px; }

.mock-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  border-radius: 14px;
  padding: 11px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.mock-badge i { width: 30px; height: 30px; border-radius: 9px; display:grid; place-items:center; color:#fff; }
.mock-badge small { display:block; font-weight: 500; color: var(--muted-2); font-size: 11px; }
.mock-badge--tl { top: -22px; left: -26px; }
.mock-badge--br { bottom: -20px; right: -24px; }

/* ---------- Logos / bandeau confiance ---------- */
.trustbar { padding: 34px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.trustbar p { text-align: center; font-size: 13px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.trustbar__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 54px); }
.trustbar__row span { font-weight: 700; font-size: 18px; color: var(--muted-2); letter-spacing: -.01em; transition: color .3s; }
.trustbar__row span:hover { color: var(--muted); }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 28px); }
.stat {
  text-align: center;
  padding: clamp(24px, 3vw, 34px) 18px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stat b {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Cards / expertises ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.card::after {
  content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: var(--grad-brand); opacity:0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.card:hover::after { opacity: .6; }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(45,107,255,.14);
  color: var(--blue-600);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Méthode / timeline ---------- */
.method__wrap { position: relative; }
.method__line { position:absolute; top: 40px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--cyan-400)); opacity:.35; z-index:0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 1; }
.step { text-align: center; }
.step__num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
  background: var(--grad-brand); box-shadow: var(--sh-glow);
  border: 4px solid #fff;
}
.step h3 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.work__shot {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}
.work__shot .browser { position:absolute; inset: 22px 22px auto 22px; border-radius: 12px 12px 0 0; box-shadow: var(--sh-md); border:1px solid var(--line); border-bottom:none; background:#fff; }
.work__shot .browser .b { height: 30px; display:flex; align-items:center; gap:6px; padding: 0 12px; border-bottom:1px solid var(--line-2); }
.work__shot .browser .b i { width:8px;height:8px;border-radius:50%;background:#dfe4ee; }
.work__shot .browser .p { height: 220px; }
.work__cat { position:absolute; top:16px; left:16px; z-index:2; font-size:12px; font-weight:600; color:#fff; background:rgba(11,18,32,.55); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: var(--r-pill); }
.work__body { padding: 22px 24px 26px; }
.work__body h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.work__body > p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.work__tags { display:flex; flex-wrap:wrap; gap:7px; margin-bottom: 18px; }
.work__tags span { font-size: 12px; font-weight:500; color: var(--muted); background: var(--bg-soft-2); border:1px solid var(--line-2); padding: 4px 11px; border-radius: var(--r-pill); }
.work__results { display:flex; gap: 26px; padding-top: 16px; border-top:1px solid var(--line-2); }
.work__results div b { display:block; font-size:20px; font-weight:800; letter-spacing:-.02em; color: var(--blue-600); }
.work__results div small { font-size: 12.5px; color: var(--muted-2); }

/* ---------- Pourquoi nous ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why__item { display:flex; gap: 15px; padding: 22px; border-radius: var(--r-md); background:#fff; border:1px solid var(--line); box-shadow: var(--sh-xs); transition: transform .3s var(--ease), box-shadow .3s; }
.why__item:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.why__check { flex:none; width: 34px; height: 34px; border-radius: 10px; display:grid; place-items:center; background: var(--grad-brand-soft); color: var(--blue-600); }
.why__check svg { width: 18px; height: 18px; }
.why__item h3 { font-size: 16px; margin-bottom: 5px; }
.why__item p { font-size: 14px; color: var(--muted); }

/* ---------- Technologies ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.tech {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 12px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-xs);
  font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.tech:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); border-color: #d9e0ee; }
.tech i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); flex:none; }

/* ---------- Témoignages ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  display: flex; flex-direction: column;
  padding: 28px 26px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.testi:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.testi .stars { margin-bottom: 16px; font-size: 15px; }
.testi p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 22px; flex: 1; }
.testi__who { display:flex; align-items:center; gap: 13px; padding-top: 18px; border-top:1px solid var(--line-2); }
.testi__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); display:grid; place-items:center; color:#fff; font-weight:700; flex:none; }
.testi__who b { display:block; font-size: 15px; }
.testi__who small { color: var(--muted-2); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; background:#fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item.open { box-shadow: var(--sh-sm); border-color: #d9e0ee; }
.faq__q { width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px; padding: 20px 22px; text-align:left; font-weight:600; font-size: 16.5px; }
.faq__q .ic { flex:none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft-2); display:grid; place-items:center; transition: transform .3s var(--ease), background .3s; color: var(--blue-600); }
.faq__item.open .faq__q .ic { transform: rotate(45deg); background: var(--grad-brand); color:#fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; background: var(--blue-800); background-image: linear-gradient(135deg, #0f2557 0%, #1d4ed8 60%, #7c5cff 130%); box-shadow: var(--sh-lg); }
.ctaband::before { content:""; position:absolute; top:-40%; right:-10%; width:520px; height:520px; border-radius:50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 60%); }
.ctaband h2 { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -.02em; margin-bottom: 14px; position: relative; }
.ctaband p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 560px; margin: 0 auto 30px; position: relative; }
.ctaband .btn--primary { background: #fff; background-image: none; color: var(--blue-700); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.ctaband .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.ctaband .cta-row { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; position:relative; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact__card { display:flex; align-items:center; gap: 15px; padding: 18px 20px; border-radius: var(--r-md); background:#fff; border:1px solid var(--line); box-shadow: var(--sh-xs); transition: transform .25s var(--ease), box-shadow .25s; }
.contact__card:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.contact__card .ic { width: 46px; height:46px; border-radius: 12px; flex:none; display:grid; place-items:center; color:#fff; }
.contact__card small { display:block; color: var(--muted-2); font-size: 13px; }
.contact__card b { font-size: 16px; letter-spacing:-.01em; }
.ic--blue { background: var(--grad-brand); }
.ic--green { background: linear-gradient(135deg,#25d366,#128c4b); }
.ic--violet { background: linear-gradient(135deg,#7c5cff,#a78bfa); }
.ic--cyan { background: linear-gradient(135deg,#1d4ed8,#22d3ee); }

.map { margin-top: 6px; border-radius: var(--r-md); overflow: hidden; border:1px solid var(--line); box-shadow: var(--sh-xs); height: 210px; }
.map iframe { width:100%; height:100%; border:0; display:block; }

.form { padding: clamp(26px, 3vw, 34px); border-radius: var(--r-lg); background:#fff; border:1px solid var(--line); box-shadow: var(--sh-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(45,107,255,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 13px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form__ok { display:none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.25); color: #157a3c; font-size: 14px; font-weight: 500; }
.form__ok.show { display: block; }
.req { color: #dc2626; font-weight: 700; }
.field__err { display: none; margin-top: 6px; font-size: 13px; font-weight: 500; color: #dc2626; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: #dc2626; background: #fff5f5; }
.field--invalid input:focus, .field--invalid select:focus, .field--invalid textarea:focus { box-shadow: 0 0 0 4px rgba(220,38,38,.12); }
.field--invalid .field__err { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c3cbda; padding: clamp(56px, 7vw, 80px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer__about { font-size: 14px; color: #8b97ab; max-width: 300px; }
.footer h3 { color:#fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: #9aa6ba; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__social { display:flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; display:grid; place-items:center; background: rgba(255,255,255,.06); color:#c3cbda; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--grad-brand); color:#fff; transform: translateY(-2px); }
.footer__bottom { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display:flex; flex-wrap:wrap; justify-content:space-between; gap: 12px; font-size: 13px; color: #7c889d; }
.footer__bottom a { color: #9aa6ba; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg,#25d366,#128c4b);
  display:grid; place-items:center; color:#fff;
  box-shadow: 0 12px 30px rgba(18,140,75,.4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .method__line { display: none; }
  .works { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .testis { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .nav, .header__actions .btn--ghost, .header__actions .btn--primary { display: none; }
  .burger { display: block; }
  .cards { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mock-badge--tl { left: -10px; } .mock-badge--br { right: -8px; }
  .work__results { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   EXTENSIONS MULTI-PAGES
   ============================================================ */

/* ---------- Nav : menus déroulants (CSS only : hover + focus-within) ---------- */
.nav__drop { position: relative; }
.nav__top {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav__drop:hover .nav__top,
.nav__drop:focus-within .nav__top { color: var(--ink); background: var(--bg-soft-2); }
.nav__top svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__drop:hover .nav__top svg,
.nav__drop:focus-within .nav__top svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 232px; padding: 8px;
  background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 101;
}
.nav__drop:hover .nav__menu,
.nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav__menu a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav__menu a:hover { background: var(--bg-soft-2); color: var(--blue-600); }
.nav__menu a small { display: block; font-size: 12px; font-weight: 400; color: var(--muted-2); margin-top: 1px; }
.nav a[aria-current="page"],
.nav__top[aria-current="page"] { color: var(--blue-600); background: var(--grad-brand-soft); }

/* Groupes du menu mobile */
.mobile-menu .mm-group { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding: 14px 8px 4px; }
.mobile-menu a[aria-current="page"] { color: var(--blue-600); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { padding: calc(var(--header-h) + 22px) 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted-2); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); font-weight: 600; }

/* ---------- Hero de page interne ---------- */
.page-hero { position: relative; overflow: hidden; padding: 26px 0 clamp(38px, 6vw, 66px); }
.page-hero .hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero .hero__bg::before {
  content: ""; position: absolute; top: -40%; right: -8%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124,92,255,.12), transparent 62%);
}
.page-hero__inner { max-width: 760px; }
.page-hero__inner.center { margin-inline: auto; text-align: center; }
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08;
  letter-spacing: -.03em; font-weight: 800; margin: 16px 0 16px;
}
.page-hero__sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); max-width: 620px; }
.page-hero__inner.center .page-hero__sub { margin-inline: auto; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero__inner.center .page-hero__cta { justify-content: center; }

/* ---------- Lignes de fonctionnalités (pages service) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 90px); }
.feature-row--rev .feature-row__media { order: 2; }
.feature-row__eyebrow { margin-bottom: 16px; }
.feature-row h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin-bottom: 14px; }
.feature-row > div > p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.feature-row__media {
  border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
  box-shadow: var(--sh-md); padding: 26px; min-height: 260px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.feature-row__media--brand { background: var(--grad-brand-soft); }

/* ---------- Liste à coches ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-2); }
.checklist li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--blue-600); }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 26px; }

/* ---------- Formules / tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.plan--featured { border-color: transparent; box-shadow: var(--sh-lg); background:
  linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; border: 1.5px solid transparent; }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-brand); padding: 5px 14px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); }
.plan h3 { font-size: 19px; margin-bottom: 6px; }
.plan__desc { font-size: 14px; color: var(--muted); margin-bottom: 18px; min-height: 40px; }
.plan__price { font-size: 15px; color: var(--muted-2); margin-bottom: 20px; }
.plan__price b { display: block; font-size: 30px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.plan .checklist { margin-bottom: 24px; flex: 1; }
.plan .checklist li { font-size: 14px; }
.plan .btn { width: 100%; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  text-align: center; padding: 30px 24px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.member__ava {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad-brand); display: grid; place-items: center;
  color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: var(--sh-glow); border: 4px solid #fff;
}
.member h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 3px; }
.member__role { font-size: 13.5px; font-weight: 600; color: var(--blue-600); margin-bottom: 12px; }
.member p { font-size: 14px; color: var(--muted); }

/* ---------- Valeurs (à propos) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-xs); }
.value__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--grad-brand-soft); border: 1px solid rgba(45,107,255,.14); color: var(--blue-600); }
.value__ic svg { width: 22px; height: 22px; }
.value h3 { font-size: 17px; margin-bottom: 7px; }
.value p { font-size: 14.5px; color: var(--muted); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.post__shot { aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; }
.post__shot svg { width: 54px; height: 54px; opacity: .95; }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted-2); margin-bottom: 12px; }
.post__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post__cat { font-weight: 600; color: var(--blue-600); }
.post h2, .post h3 { font-size: 18.5px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 10px; }
.post p { font-size: 14.5px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.post__link { font-size: 14px; font-weight: 600; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.post__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.post:hover .post__link svg { transform: translateX(4px); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--muted-2); margin-bottom: 22px; }
.article__cover { border-radius: var(--r-lg); aspect-ratio: 16/7; display: grid; place-items: center; color: #fff; margin-bottom: 34px; box-shadow: var(--sh-md); }
.article__cover svg { width: 64px; height: 64px; opacity: .95; }

/* ---------- Prose (articles + pages légales) ---------- */
.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; line-height: 1.2; margin-top: 42px; }
.prose h3 { font-size: 20px; letter-spacing: -.01em; margin-top: 30px; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(45,107,255,.35); }
.prose a:hover { text-decoration-color: var(--blue-600); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; color: var(--muted); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { padding-left: 4px; }
.prose blockquote { border-left: 3px solid var(--blue-500); padding: 4px 0 4px 20px; color: var(--ink-2); font-style: italic; }
.prose figure, .prose table { margin-top: 22px; }
.prose .lead { font-size: 19px; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.prose .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; }
.prose .toc strong { display: block; margin-bottom: 8px; }
.prose .toc ul { list-style: none; padding-left: 0; }

/* ---------- Encadré / callout ---------- */
.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--r-md); background: var(--grad-brand-soft); border: 1px solid rgba(45,107,255,.16); }
.callout svg { flex: none; width: 24px; height: 24px; color: var(--blue-600); margin-top: 2px; }
.callout p { color: var(--ink-2); font-size: 15px; margin: 0; }
.callout b { color: var(--blue-700); }

/* ---------- CTA compacte en fin de page service/article ---------- */
.mini-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-xl); background: var(--grad-brand-soft); border: 1px solid rgba(45,107,255,.16); }
.mini-cta h2 { font-size: clamp(21px, 2.6vw, 28px); letter-spacing: -.02em; }
.mini-cta p { color: var(--muted); margin-top: 4px; font-size: 15px; }

/* ---------- Responsive extensions ---------- */
@media (max-width: 980px) {
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row--rev .feature-row__media { order: -1; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav__drop { display: none; }
  .checklist--2 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .posts { grid-template-columns: 1fr; }
  .mini-cta { flex-direction: column; align-items: flex-start; }
}
