/* ==========================================================================
   Maryan Habitat — Site vitrine
   Charte : teal profond + crème + amber, sobre et institutionnel
   ========================================================================== */

:root {
  /* Couleurs de marque (issues de l'app Maryan) */
  --teal-900: #123c34;
  --teal-800: #17493f;
  --teal-700: #1d5c4f;
  --teal-600: #237063;
  --teal-500: #2f8a78;
  --teal-100: #d7e8e3;
  --teal-050: #eef5f3;

  --amber-600: #c9962f;
  --amber-500: #e0a93a;
  --amber-400: #edc06a;
  --amber-100: #f8ecd0;

  --cream-050: #fbfaf6;
  --cream-100: #f5f2ea;
  --cream-200: #ece7db;

  --ink-900: #16211e;
  --ink-700: #3a4744;
  --ink-500: #64716d;
  --ink-300: #9aa4a0;

  --white: #ffffff;
  --line: #e4e0d5;

  /* Typographie */
  --font-sans: "General Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "General Sans", Georgia, serif;

  /* Échelle */
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.02rem;
  --text-lg: 1.18rem;
  --text-xl: 1.4rem;
  --text-2xl: 1.85rem;
  --text-3xl: 2.5rem;
  --text-hero: clamp(2.6rem, 5.2vw, 4.2rem);

  /* Espacement / rayons */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18, 60, 52, 0.05);
  --shadow: 0 12px 32px -12px rgba(18, 60, 52, 0.16);
  --shadow-lg: 0 30px 60px -24px rgba(18, 60, 52, 0.26);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--cream-050);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-family: var(--font-display); font-weight: 500; }
h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }

p { max-width: 65ch; }

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

/* Utils */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber-500); border-radius: 2px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--ink-500); font-size: var(--text-lg); margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: var(--text-sm); padding: 14px 26px;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary { background: var(--teal-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-800); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--teal-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-600); background: var(--teal-050); transform: translateY(-2px); }
.btn-amber { background: var(--amber-500); color: var(--teal-900); }
.btn-amber:hover { background: var(--amber-400); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--teal-700); }
.brand .logo { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink-900); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.28em; color: var(--ink-500); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--ink-700); transition: color 0.2s; }
.nav-links a:hover { color: var(--teal-700); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: 0.3s; }
.nav-toggle span + span { margin-top: 6px; }

/* ===================== Hero ===================== */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-title { font-size: var(--text-hero); color: var(--ink-900); margin-bottom: 22px; }
.hero-title .accent { color: var(--teal-700); font-style: italic; }
.hero-lead { font-size: var(--text-lg); color: var(--ink-500); max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 9px; font-size: var(--text-sm); color: var(--ink-700); }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.hero-badge {
  position: absolute; left: -22px; bottom: 30px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero-badge .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-050); display: grid; place-items: center; flex-shrink: 0; }
.hero-badge .dot svg { width: 22px; height: 22px; color: var(--teal-700); }
.hero-badge strong { display: block; color: var(--ink-900); font-size: var(--text-sm); }
.hero-badge span { font-size: var(--text-xs); color: var(--ink-500); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: -1; }
.hero-blob.b1 { width: 380px; height: 380px; background: var(--teal-100); top: -80px; right: -60px; }
.hero-blob.b2 { width: 300px; height: 300px; background: var(--amber-100); bottom: -60px; left: -80px; }

/* ===================== Bandeau confiance ===================== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-100); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; padding: 26px 0; }
.strip-item { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--ink-700); font-weight: 500; }
.strip-item svg { width: 20px; height: 20px; color: var(--teal-600); }

/* ===================== Problème / valeur ===================== */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-050); display: grid; place-items: center; margin-bottom: 20px; }
.value-icon svg { width: 26px; height: 26px; color: var(--teal-700); }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--ink-500); font-size: var(--text-sm); max-width: none; }

/* ===================== Modules ===================== */
.modules { background: var(--teal-800); color: var(--cream-100); position: relative; overflow: hidden; }
.modules h2, .modules h3 { color: var(--white); }
.modules .eyebrow { color: var(--amber-400); }
.modules .section-head p { color: rgba(245, 242, 234, 0.75); }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 26px 24px; transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.module-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(237, 192, 106, 0.4); transform: translateY(-3px); }
.module-card .m-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(237, 192, 106, 0.16); display: grid; place-items: center; margin-bottom: 18px; }
.module-card .m-icon svg { width: 24px; height: 24px; color: var(--amber-400); }
.module-card h3 { font-size: var(--text-lg); margin-bottom: 8px; }
.module-card p { color: rgba(245, 242, 234, 0.72); font-size: var(--text-sm); max-width: none; }

/* ===================== IA ===================== */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-visual { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.ai-suggestion { border: 1px solid var(--teal-100); background: var(--teal-050); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.ai-suggestion .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ai-suggestion .head .spark { width: 30px; height: 30px; border-radius: 9px; background: var(--teal-700); display: grid; place-items: center; }
.ai-suggestion .head .spark svg { width: 17px; height: 17px; color: var(--white); }
.ai-suggestion .head strong { color: var(--teal-800); font-size: var(--text-sm); }
.ai-suggestion p { font-size: var(--text-sm); color: var(--ink-700); margin-bottom: 14px; max-width: none; }
.ai-actions { display: flex; gap: 10px; }
.ai-actions .mini { font-size: var(--text-xs); font-weight: 600; padding: 8px 16px; border-radius: 999px; }
.ai-actions .accept { background: var(--teal-700); color: var(--white); }
.ai-actions .adjust { background: var(--white); color: var(--ink-700); border: 1px solid var(--line); }
.ai-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.ai-row:last-child { border-bottom: none; }
.ai-row .val { font-weight: 600; color: var(--teal-800); }
.ai-steps { list-style: none; margin-top: 26px; }
.ai-steps li { display: flex; gap: 16px; margin-bottom: 22px; }
.ai-steps .num { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: var(--amber-100); color: var(--amber-600); font-weight: 700; display: grid; place-items: center; font-size: var(--text-sm); }
.ai-steps h4 { color: var(--ink-900); font-size: var(--text-base); margin-bottom: 3px; }
.ai-steps p { font-size: var(--text-sm); color: var(--ink-500); max-width: none; }

/* ===================== Souveraineté ===================== */
.sov { background: var(--cream-100); }
.sov-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.sov-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.sov-list { list-style: none; margin-top: 28px; }
.sov-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.sov-list .chk { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: var(--teal-700); display: grid; place-items: center; margin-top: 2px; }
.sov-list .chk svg { width: 15px; height: 15px; color: var(--white); }
.sov-list strong { color: var(--ink-900); display: block; }
.sov-list span { font-size: var(--text-sm); color: var(--ink-500); }

/* ===================== Intégrations ===================== */
.integrations .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.int-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.int-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.int-card .i-icon { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px; background: var(--teal-050); display: grid; place-items: center; }
.int-card .i-icon svg { width: 22px; height: 22px; color: var(--teal-700); }
.int-card strong { display: block; color: var(--ink-900); font-size: var(--text-sm); margin-bottom: 4px; }
.int-card span { font-size: var(--text-xs); color: var(--ink-500); }

/* ===================== Mission / humain ===================== */
.mission { position: relative; overflow: hidden; }
.mission-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.mission-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.mission blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink-900); line-height: 1.25; letter-spacing: -0.02em; }
.mission blockquote .hl { color: var(--teal-700); }
.mission p.lead { font-size: var(--text-lg); color: var(--ink-500); margin-top: 24px; }

/* ===================== Démo (page + section) ===================== */
.demo-hero { background: var(--teal-800); color: var(--cream-100); padding: clamp(56px, 8vw, 96px) 0; }
.demo-hero h1 { color: var(--white); font-size: var(--text-hero); margin-bottom: 18px; }
.demo-hero p { color: rgba(245, 242, 234, 0.8); font-size: var(--text-lg); max-width: 60ch; }
.demo-hero .eyebrow { color: var(--amber-400); }
.player-wrap { max-width: 980px; margin: 0 auto; }
.player {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16/9;
}
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.demo-meta { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.demo-meta .m { display: flex; align-items: center; gap: 9px; font-size: var(--text-sm); color: var(--ink-700); }
.demo-meta svg { width: 18px; height: 18px; color: var(--teal-600); }
.demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.demo-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.demo-card .n { font-family: var(--font-display); color: var(--teal-700); font-size: var(--text-2xl); margin-bottom: 6px; }
.demo-card p { font-size: var(--text-sm); color: var(--ink-500); max-width: none; }

/* ===================== CTA ===================== */
.cta { background: linear-gradient(135deg, var(--teal-800), var(--teal-700)); color: var(--white); border-radius: var(--radius-lg); padding: clamp(48px, 6vw, 76px); text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: var(--white); margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, 0.82); font-size: var(--text-lg); margin: 0 auto 32px; max-width: 56ch; }
.cta .btn-amber { font-size: var(--text-base); padding: 16px 34px; }
.cta .glow { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(237, 192, 106, 0.16); filter: blur(80px); top: -120px; right: -80px; }

/* ===================== Formulaire contact ===================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .ci-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-050); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ci-icon svg { width: 20px; height: 20px; color: var(--teal-700); }
.contact-info strong { display: block; color: var(--ink-900); }
.contact-info span, .contact-info a { font-size: var(--text-sm); color: var(--ink-500); }
.contact-info a:hover { color: var(--teal-700); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: var(--text-sm); color: var(--ink-900); background: var(--cream-050);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-050); background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: var(--text-xs); color: var(--ink-500); margin-top: 14px; }
.form-note a { color: var(--teal-700); text-decoration: underline; }

/* ===================== Footer ===================== */
.site-footer { background: var(--teal-900); color: rgba(245, 242, 234, 0.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(245, 242, 234, 0.5); }
.footer-brand p { font-size: var(--text-sm); margin-top: 16px; color: rgba(245, 242, 234, 0.6); max-width: 34ch; }
.footer-col h4 { color: var(--white); font-size: var(--text-sm); font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col a, .footer-col span { display: block; font-size: var(--text-sm); color: rgba(245, 242, 234, 0.68); margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber-400); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: var(--text-xs); color: rgba(245, 242, 234, 0.5); }
.footer-bottom .brand { color: var(--white); }

/* ===================== Pages légales ===================== */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: var(--text-3xl); margin-bottom: 12px; }
.legal .updated { color: var(--ink-500); font-size: var(--text-sm); margin-bottom: 40px; }
.legal h2 { font-size: var(--text-xl); margin: 40px 0 14px; }
.legal p, .legal li { color: var(--ink-700); font-size: var(--text-base); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--teal-700); text-decoration: underline; }
.legal .callout { background: var(--amber-100); border-left: 3px solid var(--amber-500); border-radius: var(--radius-sm); padding: 16px 20px; font-size: var(--text-sm); color: var(--ink-700); margin: 20px 0; }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 960px) {
  .hero-grid, .ai-grid, .sov-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .value-grid, .modules-grid, .demo-cards { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sov-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--cream-050); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow); }
  .value-grid, .modules-grid, .demo-cards, .int-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  h2 { font-size: var(--text-2xl); }
  .strip-inner { gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--ink-900); font-size: var(--text-lg); display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal-600); font-size: 1.4em; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-700); padding: 0 0 22px; margin: 0; max-width: 70ch; }
/* ===== Formulaire ===== */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: var(--text-sm); min-height: 1.2em; }
.form-status.ok { color: var(--teal-700); font-weight: 600; }
.form-status.err { color: #a13544; }

/* ===== Excel vs Maryan ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.compare-col { border-radius: var(--radius); padding: 30px 32px; }
.compare-col h3 { margin-bottom: 16px; font-size: var(--text-xl); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-col li { position: relative; padding-left: 30px; font-size: var(--text-base); line-height: 1.45; }
.compare-col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.compare-col.before { background: var(--white); border: 1px solid var(--line); color: var(--ink-700); }
.compare-col.before h3 { color: var(--ink-500); }
.compare-col.before li::before { content: "✕"; color: #a13544; }
.compare-col.after { background: var(--teal-800); color: var(--cream-100); }
.compare-col.after h3 { color: var(--white); }
.compare-col.after li::before { content: "✓"; color: var(--amber-400); }
/* ===== 1, 2, 3 ===== */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--teal-800); color: var(--white); font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: var(--text-sm); }
@media (max-width: 760px) { .compare, .steps3 { grid-template-columns: 1fr; } }

/* ===== Problème ===== */
.problem { max-width: 860px; margin: 0 auto; text-align: center; }
.problem-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.problem-list li { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.25; color: var(--ink-900); }
.problem-impact { color: var(--ink-500); font-size: var(--text-lg); max-width: 62ch; margin: 0 auto 14px; }
.problem-need { font-size: var(--text-lg); color: var(--ink-700); max-width: 62ch; margin: 0 auto; }
.problem-need strong { color: var(--teal-700); }

/* ===== Captures produit ===== */
.hero-visual img.hero-shot { border: 1px solid var(--line); background: #fff; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shot { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); background: #fff; }
.shot picture { display: block; }
.shot figcaption { padding: 18px 22px 22px; font-size: var(--text-sm); color: var(--ink-700); line-height: 1.5; }
.shot figcaption strong { display: block; color: var(--ink-900); font-size: var(--text-base); margin-bottom: 4px; }
/* ===== Faits ===== */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact { background: var(--teal-800); color: var(--cream-100); border-radius: var(--radius); padding: 26px 24px; }
.fact strong { display: block; font-family: var(--font-display); font-size: var(--text-2xl); color: var(--amber-400); margin-bottom: 10px; line-height: 1.1; }
.fact span { font-size: var(--text-sm); line-height: 1.5; color: rgba(245,242,234,.88); }
/* ===== Équipe ===== */
.team-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.team-copy p { color: var(--ink-700); margin-top: 16px; max-width: 58ch; }
.team-copy p.team-demo { color: var(--ink-900); border-top: 1px solid var(--line); padding-top: 18px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.team-eyebrow { display: block; font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); font-weight: 600; margin-bottom: 14px; }
.team-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.team-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-700); font-size: var(--text-sm); line-height: 1.5; }
.team-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-800); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .85rem; }
.team-steps li strong { color: var(--ink-900); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } .team-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) { .shots, .facts { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .nav { gap: 10px; }
  .nav .brand .brand-text { display: none; }
  .nav-cta .btn-primary { padding: 10px 14px; font-size: 0.85rem; white-space: nowrap; }
}
@media (max-width: 960px) {
  .hero-visual { order: 1; }
}

@media (min-width: 961px) {
  .hero-visual img.hero-shot { aspect-ratio: 5/4; object-fit: cover; object-position: left top; }
  .hero-badge { bottom: -22px; left: -22px; }
}


/* ---- Équipe ---- */
#equipe .section-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 820px; }
#equipe .section-head p { font-size: var(--text-base); color: var(--ink-700); }
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.member { --accent: var(--teal-800); --accent-soft: var(--teal-050); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-chiffres { --accent: var(--amber-600); --accent-soft: var(--amber-100); }
.member-ia { --accent: var(--teal-500); --accent-soft: #e3f1ed; }
.member-band { position: relative; height: 182px; padding: 22px 24px; background: radial-gradient(120% 140% at 100% 0%, var(--accent-soft) 0%, var(--white) 60%); border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; }
.member-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent), transparent); }
.member-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line); }
.member-icon { position: absolute; right: 22px; top: 20px; width: 34px; height: 34px; color: var(--accent); opacity: .9; }
.member-icon svg { width: 100%; height: 100%; }
.member-fig { position: absolute; left: 24px; bottom: 18px; display: flex; align-items: baseline; gap: 10px; }
.member-fig strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--accent); font-weight: 600; }
.member-fig span { font-size: var(--text-xs); color: var(--ink-500); letter-spacing: .04em; text-transform: uppercase; max-width: 150px; line-height: 1.25; }
.member-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-size: var(--text-xl); color: var(--ink-900); margin: 0; line-height: 1.15; }
.member-title { margin: 6px 0 16px; color: var(--ink-500); font-size: var(--text-sm); }
.member-title em { font-style: normal; color: var(--accent); font-weight: 600; }
.member-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.member-points li { position: relative; padding-left: 20px; color: var(--ink-700); font-size: var(--text-sm); line-height: 1.45; }
.member-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); background: var(--accent); }
.member-role { margin-top: 18px; padding: 14px 16px; background: var(--cream-050); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.member-role span { display: block; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.member-role p { margin: 0; color: var(--ink-900); font-size: var(--text-sm); line-height: 1.55; }
.member-demo { margin: 12px 0 0; padding: 8px 12px; background: var(--amber-100); border-radius: var(--radius-sm); color: var(--ink-900); font-size: var(--text-sm); font-weight: 600; }
.member-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--teal-800); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.member-link:hover { text-decoration: underline; }
.members-link { text-align: center; margin: 28px auto 0; max-width: 720px; color: var(--ink-700); font-size: var(--text-lg); font-family: var(--font-display); }
.members-link strong { color: var(--teal-800); }
.demo-strip { margin-top: 36px; background: var(--teal-900); color: var(--cream-100); border-radius: var(--radius-lg); padding: 30px 32px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.demo-strip .team-eyebrow { color: var(--amber-400); }
.demo-strip-head p { margin: 0; color: rgba(245,242,234,.8); }
.demo-strip .team-steps li { color: rgba(245,242,234,.8); }
.demo-strip .team-steps li strong { color: var(--white); }
.demo-strip .team-steps li::before { background: var(--amber-500); color: var(--teal-900); }
.team-steps.horizontal { grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; }
.demo-strip .btn { justify-self: start; }
@media (max-width: 960px) { .members { grid-template-columns: 1fr; } .team-steps.horizontal { grid-template-columns: 1fr; } }

/* ===== Passe « vivante » ===== */
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; background: transparent; pointer-events: none; }
.readbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber-500), var(--teal-500)); transition: width .15s linear; }

/* Hero */
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.3deg); } }
@keyframes blobmove { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,20px) scale(1.12); } }
.hero-visual img.float { animation: floaty 7s ease-in-out infinite; }
.hero-blob.b1 { animation: blobmove 14s ease-in-out infinite; }
.hero-blob.b2 { animation: blobmove 18s ease-in-out infinite reverse; }
.hero .container { position: relative; }
.scroll-cue { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--teal-600); border-radius: 14px; display: block; opacity: .7; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal-600); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.hero-title .accent { background: linear-gradient(transparent 62%, var(--amber-100) 62%); }

/* Stagger */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 270ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 360ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 450ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 540ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 630ms; }
.stagger > .reveal:nth-child(9) { transition-delay: 720ms; }

/* Problème : chronologie */
#probleme .section-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 13px; height: 2px; background: var(--line); z-index: 0; }
.timeline.in::before { background: linear-gradient(90deg, var(--amber-500) 0%, #b4452f 66%, var(--teal-500) 75%, var(--teal-500) 100%); background-size: 0% 100%; background-repeat: no-repeat; animation: tlgrow 1.6s var(--ease) .3s forwards; }
@keyframes tlgrow { to { background-size: 100% 100%; } }
.tl-step { position: relative; padding-top: 34px; }
.tl-step::before { counter-increment: tl; content: counter(tl); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--amber-500); color: var(--amber-600); font-size: var(--text-xs); font-weight: 700; display: grid; place-items: center; z-index: 1; }
.tl-late::before { border-color: #b4452f; color: #b4452f; }
.tl-fix::before { content: "✓"; background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }
.tl-when { display: block; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; margin-bottom: 10px; }
.tl-fix .tl-when { color: var(--teal-700); }
.tl-step blockquote { margin: 0 0 10px; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.25; color: var(--ink-900); }
.tl-late blockquote { color: #8a3324; }
.tl-fix { background: var(--teal-050); border-radius: var(--radius); padding: 34px 18px 18px; margin-top: -16px; margin-left: -4px; }
.tl-fix::before { left: 18px; top: 0; transform: translateY(-50%); } 
.tl-fix blockquote { color: var(--teal-800); font-weight: 600; }
.tl-step p { margin: 0; color: var(--ink-500); font-size: var(--text-sm); line-height: 1.5; }
.problem-need { text-align: center; margin: 44px auto 0; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before { display: none; } .tl-fix { margin: 0; } .tl-fix::before { left: 18px; top: 10px; transform: none; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

/* Produit */
.shot { position: relative; cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.shot img { transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot-num { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--teal-900); color: var(--amber-400); font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.hint { display: inline-block; margin-top: 6px; color: var(--teal-700); font-size: var(--text-sm); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(18,33,30,.86); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; backdrop-filter: blur(4px); animation: fadein .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 96vw); max-height: 80vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.lightbox p { color: var(--cream-100); margin: 16px 0 0; max-width: 70ch; text-align: center; font-size: var(--text-base); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Preuves */
.fact { position: relative; overflow: hidden; transition: transform .45s var(--ease); }
.fact::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--amber-400); transition: width .9s var(--ease) .2s; }
.fact.in::before { width: 100%; }
.fact:hover { transform: translateY(-4px); }

/* Parcours d'une opération */
.journey { list-style: none; margin: 0 0 40px; padding: 0; display: flex; justify-content: space-between; position: relative; counter-reset: j; }
.journey::before { content: ""; position: absolute; left: 3%; right: 3%; top: 15px; height: 2px; background: rgba(245,242,234,.18); }
.journey::after { content: ""; position: absolute; left: 3%; top: 15px; height: 2px; width: 0; background: var(--amber-400); transition: width 2s var(--ease) .3s; }
.journey.in::after { width: 94%; }
.journey li { position: relative; flex: 1; text-align: center; }
.journey li::before { counter-increment: j; content: ""; display: block; width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 50%; background: var(--teal-900); border: 2px solid rgba(245,242,234,.3); position: relative; z-index: 1; transition: border-color .4s, background .4s, transform .4s; }
.journey.in li::before { border-color: var(--amber-400); background: var(--amber-400); }
.journey.in li:nth-child(1)::before { transition-delay: .35s; } .journey.in li:nth-child(2)::before { transition-delay: .65s; } .journey.in li:nth-child(3)::before { transition-delay: .95s; } .journey.in li:nth-child(4)::before { transition-delay: 1.25s; } .journey.in li:nth-child(5)::before { transition-delay: 1.55s; } .journey.in li:nth-child(6)::before { transition-delay: 1.85s; } .journey.in li:nth-child(7)::before { transition-delay: 2.15s; }
.journey li span { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: rgba(245,242,234,.8); font-weight: 600; }
@media (max-width: 760px) { .journey { flex-wrap: wrap; gap: 14px 0; } .journey::before, .journey::after { display: none; } .journey li { flex: 0 0 33%; } }

/* Pilotes */
.pilot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.pilot-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pilot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pilot-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--amber-100); color: var(--amber-600); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin-bottom: 14px; }
.pilot-card h3 { font-size: var(--text-lg); margin: 0 0 8px; color: var(--ink-900); }
.pilot-card p { margin: 0; color: var(--ink-700); font-size: var(--text-sm); line-height: 1.55; }
@media (max-width: 760px) { .pilot-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-item { transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--teal-100); }
.faq-item summary { transition: color .2s; }
.faq-item summary:hover { color: var(--teal-700); }

/* CTA flottant */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 900; background: var(--teal-800); color: var(--white); text-decoration: none; font-weight: 600; font-size: var(--text-sm); padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); transform: translateY(120px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.float-cta.show { transform: none; opacity: 1; }
.float-cta:hover { background: var(--teal-700); }
@media (min-width: 961px) { .float-cta { display: none; } }

@media (prefers-reduced-motion: reduce) { .hero-visual img.float, .hero-blob, .scroll-cue span { animation: none !important; } .timeline.in::before, .journey::after { transition: none; animation: none; background-size: 100% 100%; width: 94%; } }
.fact strong .count { font-size: inherit; color: inherit; line-height: inherit; font-family: inherit; }
.shot-num { position: static; display: inline-block; margin: 0 10px 6px 0; vertical-align: middle; }
.shot figcaption { display: block; }
.float-cta { display: none !important; }
.field label .opt { font-weight: 400; color: var(--ink-500); }
.form-card textarea { min-height: 64px; }
.atelier { margin: 44px auto 0; max-width: 1000px; background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.atelier h3 { font-size: var(--text-xl); color: var(--ink-900); margin: 6px 0 8px; }
.atelier p { margin: 0; color: var(--ink-700); font-size: var(--text-sm); max-width: 62ch; }
.atelier .btn { flex-shrink: 0; }
@media (max-width: 760px) { .atelier { flex-direction: column; align-items: flex-start; } }
