/* ============================================================
   Soulae — design system v3 (inspired by ADSI corporate B2B)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =============================== THEME TOKENS =============================== */
:root {
  /* Light theme (default) */
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-soft: #F0F2F6;
  --surface: #FFFFFF;
  --surface-alt: #F7F8FA;
  --border: #E5E8EE;
  --border-strong: #D2D6DF;

  --fg: #0E1422;
  --fg-soft: #3F4759;
  --fg-muted: #6B7385;
  --fg-faint: #98A0B0;

  --brand: #0B5FFF;
  --brand-hover: #0848BF;
  --brand-soft: #E8EFFF;
  --accent: #22C5A0;
  --accent-soft: #DDF6EE;

  --shadow-sm: 0 1px 2px rgba(14,20,34,.04);
  --shadow: 0 4px 16px -4px rgba(14,20,34,.08);
  --shadow-lg: 0 20px 48px -16px rgba(14,20,34,.16);

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

  --radius-sm: .375rem;
  --radius: .625rem;
  --radius-lg: 1rem;
}

[data-theme="dark"] {
  --bg: #0B1020;
  --bg-alt: #11172B;
  --bg-soft: #161D35;
  --surface: #131A30;
  --surface-alt: #1A2240;
  --border: #232C4A;
  --border-strong: #2E3960;

  --fg: #F1F4FB;
  --fg-soft: #C4CADB;
  --fg-muted: #8B92AB;
  --fg-faint: #5B6280;

  --brand: #4B85FF;
  --brand-hover: #6C9DFF;
  --brand-soft: rgba(75,133,255,.12);
  --accent: #2DD4B0;
  --accent-soft: rgba(45,212,176,.12);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow: 0 4px 20px -4px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 60px -16px rgba(0,0,0,.6);
}

/* =============================== BASE =============================== */
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
*:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

/* Scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; border: 3px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-hover); }

img { max-width: 100%; display: block; }

/* =============================== TYPOGRAPHY =============================== */
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; letter-spacing: -.025em; margin: 0; color: var(--fg); }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 1rem 0 .75rem;
}
.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.6;
}

/* =============================== CONTAINER =============================== */
.container-x { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

/* =============================== BUTTONS =============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  padding: .7rem 1.4rem;
  transition: all .2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg-soft); border: 0; padding: .5rem .9rem; }
.btn-ghost:hover { color: var(--fg); background: var(--bg-alt); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--brand);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =============================== NAVBAR =============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: background-color .25s var(--ease);
}
[data-theme="dark"] .nav { background: rgba(11,16,32,.85); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  color: var(--fg);
  text-decoration: none;
}
.brand-mark:hover { color: var(--fg); }
.brand-mark img { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--fg-soft);
  font-weight: 500;
  font-size: .92rem;
  padding: .55rem .9rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover { color: var(--fg); background: var(--bg-alt); }

.theme-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--fg);
  cursor: pointer;
  padding: .5rem;
}

@media (max-width: 920px) {
  .nav-mobile-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .75rem .9rem; }
}

/* =============================== HERO =============================== */
.hero {
  padding: 5rem 0 6rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 1.5rem;
}
.hero h1 .accent-text {
  color: var(--brand);
}
.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-muted);
  margin-bottom: 2.25rem;
  max-width: 540px;
  line-height: 1.6;
}
.hero-services {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 580px) { .hero-services { grid-template-columns: 1fr; } }
.hero-service {
  padding: 1rem 1.1rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
}
.hero-service:nth-child(2) { border-left-color: var(--accent); }
.hero-service .label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: .25rem;
}
.hero-service .title { font-weight: 700; font-size: .98rem; color: var(--fg); }

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* =============================== HERO MOCKUP DASHBOARD =============================== */
.dash {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
  font-size: 13px;
}
.dash::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--brand-soft), transparent 60%);
  opacity: .6;
  z-index: -1;
  pointer-events: none;
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.dash-chrome span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.dash-chrome span:nth-child(1) { background: #FF5F57; }
.dash-chrome span:nth-child(2) { background: #FEBC2E; }
.dash-chrome span:nth-child(3) { background: #28C840; }
.dash-chrome .url {
  margin-left: 1rem;
  font-size: .72rem;
  color: var(--fg-muted);
  background: var(--surface);
  padding: .25rem .75rem;
  border-radius: 4px;
  flex: 1;
  max-width: 240px;
}
.dash-body { padding: 1.25rem; }

.dash-greet {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.1rem;
}
.dash-greet .who {
  display: flex; align-items: center; gap: .65rem;
}
.dash-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.dash-greet .hi { font-weight: 700; color: var(--fg); font-size: .92rem; line-height: 1.2; }
.dash-greet .date { font-size: .72rem; color: var(--fg-muted); }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}
.dash-kpi {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem .75rem;
}
.dash-kpi .lbl { font-size: .65rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.dash-kpi .val { font-weight: 800; font-size: 1rem; color: var(--fg); font-variant-numeric: tabular-nums; }
.dash-kpi .chg { font-size: .65rem; color: var(--accent); font-weight: 600; }
.dash-kpi .chg.dn { color: #E11D48; }
[data-theme="dark"] .dash-kpi .chg.dn { color: #FB7185; }

.dash-section-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-muted);
  margin-bottom: .55rem;
}

.dash-tasks { list-style: none; padding: 0; margin: 0 0 1rem; }
.dash-tasks li {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .65rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: .35rem;
  font-size: .82rem;
  color: var(--fg-soft);
}
.dash-tasks .tag {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .12rem .45rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.dash-tasks .tag.priority { background: rgba(225,29,72,.12); color: #E11D48; }
.dash-tasks .tag.todo { background: var(--brand-soft); color: var(--brand); }
.dash-tasks .tag.done { background: rgba(16,185,129,.12); color: #10B981; }
[data-theme="dark"] .dash-tasks .tag.priority { color: #FB7185; }
[data-theme="dark"] .dash-tasks .tag.done { color: #34D399; }

.dash-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
  font-size: .72rem;
  color: var(--fg-muted);
}
.dash-foot .live { display: inline-flex; align-items: center; gap: .35rem; color: var(--accent); font-weight: 600; }
.dash-foot .live .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* =============================== SECTION =============================== */
.section { padding: clamp(4rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =============================== SOLUTIONS À LA UNE =============================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 920px) { .featured-grid { grid-template-columns: 1fr; } }

.featured {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .35s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--f-color, var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.featured:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.featured:hover::before { transform: scaleX(1); }
.featured-icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--f-soft, var(--brand-soft));
  color: var(--f-color, var(--brand));
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.featured-icon svg { width: 26px; height: 26px; stroke-width: 1.75; }
.featured h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .35rem; }
.featured .meta { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 1rem; }
.featured p { color: var(--fg-muted); font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.6; }

/* Mini visuels dans les featured cards (style Bevolta) */
.featured-mock {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: .78rem;
}
.fm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 0;
  border-top: 1px dashed var(--border);
}
.fm-row:first-child { border-top: 0; padding-top: 0; }
.fm-row:last-child { padding-bottom: 0; }
.fm-row .lbl { color: var(--fg-soft); font-weight: 500; }
.fm-row .val { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.fm-row .pill {
  font-size: .65rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.fm-row .pill.ok { background: rgba(16,185,129,.12); color: #10B981; }
.fm-row .pill.warn { background: rgba(245,158,11,.14); color: #B45309; }
.fm-row .pill.live { background: var(--brand-soft); color: var(--brand); }
[data-theme="dark"] .fm-row .pill.ok { color: #34D399; }
[data-theme="dark"] .fm-row .pill.warn { color: #FBBF24; }

.fm-chart {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  height: 48px;
  margin: .25rem 0 .5rem;
}
.fm-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--f-color, var(--brand)), color-mix(in srgb, var(--f-color, var(--brand)) 30%, transparent));
  border-radius: 2px 2px 0 0;
  min-height: 4px;
}

.fm-phone {
  background: var(--surface);
  border-radius: 12px;
  padding: .65rem;
  border: 1px solid var(--border);
}
.fm-phone-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .68rem; font-weight: 700; color: var(--fg-muted);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .45rem;
}

/* =============================== QUOTE / MANIFESTO =============================== */
.quote {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg);
  text-align: center;
}
.quote-text {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto;
  color: var(--fg);
}
.quote-text .hl {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quote-mark {
  font-size: 4rem;
  line-height: .5;
  color: var(--brand);
  opacity: .25;
  font-family: Georgia, serif;
  font-weight: 900;
  margin-bottom: 1.5rem;
  display: block;
}

/* =============================== BÉNÉFICES (style Bevolta) =============================== */
.benefits { background: var(--bg-alt); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.benefit:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.benefit-metric {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .85rem;
  font-variant-numeric: tabular-nums;
}
.benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--fg);
}
.benefit p {
  font-size: .9rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}

/* =============================== SUITE (full grid) =============================== */
.suite { background: var(--bg-alt); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px)  { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .modules-grid { grid-template-columns: 1fr; } }

.module {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all .3s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.module:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.module:hover .module-arrow { opacity: 1; transform: translateX(0); }
.module:hover .module-icon { background: var(--m-color); color: #fff; }

.module-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--m-soft);
  color: var(--m-color);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: all .25s var(--ease);
}
.module-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.module-persona {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: .35rem;
}
.module-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .25rem;
  color: var(--fg);
}
.module-name .product { color: var(--m-color); }
.module-tagline {
  font-size: .88rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  min-height: 2.4em;
}
.module-features {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--border);
  padding-top: .85rem;
}
.module-features li {
  font-size: .82rem;
  color: var(--fg-soft);
  display: flex; align-items: center; gap: .5rem;
  padding: .3rem 0;
}
.module-features li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--m-color);
  flex-shrink: 0;
}
.module-arrow {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--m-color);
  opacity: 0;
  transform: translateX(-8px);
  transition: all .3s var(--ease);
}
.module-arrow svg { width: 18px; height: 18px; stroke-width: 2; }

/* Palette par module */
.m-emerald { --m-color: #10B981; --m-soft: rgba(16,185,129,.12); }
.m-blue    { --m-color: #0B5FFF; --m-soft: rgba(11,95,255,.10); }
.m-violet  { --m-color: #8B5CF6; --m-soft: rgba(139,92,246,.12); }
.m-amber   { --m-color: #D97706; --m-soft: rgba(217,119,6,.12); }
.m-rose    { --m-color: #E11D48; --m-soft: rgba(225,29,72,.12); }
.m-teal    { --m-color: #0F766E; --m-soft: rgba(15,118,110,.12); }
.m-indigo  { --m-color: #4F46E5; --m-soft: rgba(79,70,229,.12); }
.m-orange  { --m-color: #EA580C; --m-soft: rgba(234,88,12,.12); }
.m-fuchsia { --m-color: #C026D3; --m-soft: rgba(192,38,211,.12); }

/* Couleurs ajustées dark */
[data-theme="dark"] .m-blue { --m-color: #5B8DFF; }
[data-theme="dark"] .m-amber { --m-color: #F59E0B; }
[data-theme="dark"] .m-teal { --m-color: #2DD4BF; }
[data-theme="dark"] .m-emerald { --m-color: #34D399; }
[data-theme="dark"] .m-rose { --m-color: #FB7185; }
[data-theme="dark"] .m-violet { --m-color: #A78BFA; }
[data-theme="dark"] .m-indigo { --m-color: #818CF8; }
[data-theme="dark"] .m-orange { --m-color: #FB923C; }
[data-theme="dark"] .m-fuchsia { --m-color: #E879F9; }

/* =============================== À PROPOS / ENGAGEMENT =============================== */
.engagement {
  background: var(--bg);
  position: relative;
}
.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .engagement-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.engagement-stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.engagement-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--brand-soft), transparent 60%);
  pointer-events: none;
}
.engagement-stat .big {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--brand);
  position: relative;
}
.engagement-stat .big-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: .5rem;
  position: relative;
}
.engagement-stat .since {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--fg-muted);
  position: relative;
}
.engagement-stat .since strong { color: var(--fg); display: block; font-size: 1rem; margin-bottom: .25rem; }

.engagement ul.values {
  list-style: none;
  padding: 0; margin: 2rem 0 0;
}
.engagement ul.values li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}
.engagement ul.values li:last-child { border-bottom: 1px solid var(--border); }
.engagement ul.values .v-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .12em;
  flex-shrink: 0;
  padding-top: .25rem;
}
.engagement ul.values .v-title { font-weight: 700; color: var(--fg); margin-bottom: .2rem; }
.engagement ul.values .v-desc { font-size: .9rem; color: var(--fg-muted); }

/* =============================== PROCESS =============================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all .3s var(--ease);
  position: relative;
}
.step:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--fg-muted); }

/* =============================== FAQ =============================== */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .65rem;
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5FFF' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .ans { padding: 0 1.25rem 1.1rem; font-size: .92rem; color: var(--fg-muted); }

/* =============================== CTA =============================== */
.cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0;
  max-width: 600px;
}
.cta p { color: var(--fg-muted); margin-top: .5rem; }

/* =============================== FOOTER =============================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h6 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fg-faint);
  margin: 0 0 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--fg-muted); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--fg); }
.footer-tagline { color: var(--fg-muted); font-size: .9rem; margin-top: .75rem; max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--fg-faint);
}

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

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

/* =============================== CONTACT / FORM =============================== */
.page-shell { background: var(--bg-alt); min-height: 100vh; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
fieldset.fs {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.1rem;
}
fieldset.fs legend {
  padding: 0 .5rem;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--fg-muted);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-bottom: .85rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--fg-soft);
  margin-bottom: .35rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem; font-family: inherit;
  background: var(--surface);
  color: var(--fg);
  transition: all .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.module-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
}
@media (max-width: 700px) { .module-pick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .module-pick { grid-template-columns: 1fr; } }
.module-pick label {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem; cursor: pointer;
  color: var(--fg-soft);
  transition: all .2s;
}
.module-pick label:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.module-pick input { accent-color: var(--brand); }
.form-submit-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.form-submit-row .small { font-size: .78rem; color: var(--fg-muted); max-width: 380px; }
.success-box { text-align: center; padding: 2.5rem 1rem; }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--brand); color: #fff;
  padding: .5rem 1rem; z-index: 1000;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Legal */
.legal-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 .6rem;
  color: var(--fg);
}
.legal-article p, .legal-article li {
  font-size: .95rem;
  color: var(--fg-soft);
  line-height: 1.65;
}
.warning-box {
  background: color-mix(in srgb, #F59E0B 14%, transparent);
  color: #B45309;
  border: 1px solid color-mix(in srgb, #F59E0B 30%, transparent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .92rem;
  margin: 1.5rem 0;
}
[data-theme="dark"] .warning-box { color: #FCD34D; }
.text-brand { color: var(--brand); }

/* Section divider */
.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}
