/* ============================================================
   EVOLUX.AI · Landing logiciel de gestion restauration
   Charte : lime / noir / blanc (identité Evolux)
   ============================================================ */

/* ── TOKENS ── */
:root {
  --white: #FFFFFF;
  --black: #222222;
  --lime: #BBFF33;
  --lime-dark: #99DD11;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F7F7F5;
  --accent: #BBFF33;                 /* lime, en aplat uniquement */
  --accent-glow: rgba(187,255,51,0.18);
  --text-primary: #222222;
  --text-secondary: #5A5A54;
  --text-muted: #9B9B94;
  --border: #EFEFED;
  --border-soft: rgba(0,0,0,0.06);
  --border-accent: rgba(187,255,51,0.55);
  --shadow-card: 0 2px 0 #E7E7E3, 0 24px 64px rgba(0,0,0,0.06);
  --shadow-accent: 0 0 48px rgba(187,255,51,0.30);
  --display: 'Montserrat', 'DM Sans', sans-serif;
  --sans: 'DM Sans', sans-serif;
  --maxw: 1180px;
}

/* ── MODE NUIT ── */
html[data-theme="dark"] {
  --white: #1A1A22;        /* les surfaces "blanches" deviennent sombres */
  --black: #ECEAE6;        /* l'encre noire devient claire */
  --bg-primary: #0E0E12;
  --bg-secondary: #15151B;
  --bg-card: #1A1A22;
  --bg-card-hover: #22222C;
  --text-primary: #ECEAE6;
  --text-secondary: #A6A4B0;
  --text-muted: #6E6C78;
  --border: #2A2A33;
  --border-soft: rgba(255,255,255,0.07);
  --border-accent: rgba(187,255,51,0.5);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04), 0 24px 64px rgba(0,0,0,0.55);
  --shadow-accent: 0 0 48px rgba(187,255,51,0.16);
}
html[data-theme="dark"] body { background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(40,44,66,0.4), transparent 70%); }
html[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.02; }
html[data-theme="dark"] .nav { background: rgba(14,14,18,0.82); }
html[data-theme="dark"] .nav.scrolled { background: rgba(14,14,18,0.94); }
/* éléments à fond lime : garder un texte foncé fixe (le lime reste clair) */
html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .hero h1 .accent,
html[data-theme="dark"] .problem-quote em,
html[data-theme="dark"] .ctable thead .own,
html[data-theme="dark"] .haccp-badge,
html[data-theme="dark"] .final h2 em,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .nav-cta:hover,
html[data-theme="dark"] .dp-action:hover,
html[data-theme="dark"] .price-card.featured .price-tag { color: #16160F; }
html[data-theme="dark"] .hero-badge::before,
html[data-theme="dark"] .haccp-badge::before { background: #16160F; }
html[data-theme="dark"] .faq-item.open .faq-icon::before,
html[data-theme="dark"] .faq-item.open .faq-icon::after { background: #16160F; }
/* pastille initiales avis */
html[data-theme="dark"] .review-id .ini { background: #2A2A33; }
/* carte tarif recommandée : rester sombre, textes clairs */
html[data-theme="dark"] .price-card.featured,
html[data-theme="dark"] .price-card.featured::after { background: #07070A; }
html[data-theme="dark"] .price-card.featured .price-name,
html[data-theme="dark"] .price-card.featured .price-feats li.strong { color: #fff; }
/* icônes SVG des cartes démo (non sélectionnées) : éclaircir le trait sombre */
html[data-theme="dark"] .dmod:not(.sel) .dmod-ic svg [stroke="#222"] { stroke: #C9C7D2; }
html[data-theme="dark"] .dmod:not(.sel) .dmod-ic svg [fill="#222"] { fill: #C9C7D2; }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  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; color: inherit; }
ul { list-style: none; }

/* ── GRAIN TEXTURE GLOBALE (très subtile) ── */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none; z-index: 9999; mix-blend-mode: multiply;
}

/* ── TYPO ── */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--black); }
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--lime); display: inline-block; }
.center .eyebrow { justify-content: center; }
.section { padding: 116px 32px; position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.center { text-align: center; }
.dot { color: var(--lime-dark); padding: 0 6px; }

/* ── BOUTONS (style Evolux : noir -> lime au survol) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
  padding: 15px 30px; border-radius: 10px;
  transition: background .22s ease, color .22s ease, transform .18s cubic-bezier(.25,1,.5,1), box-shadow .22s ease, border-color .22s ease;
}
.btn-primary { background: var(--black); color: var(--white); border: 2px solid var(--black); box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 20px rgba(0,0,0,0.16); }
.btn-primary:hover { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); box-shadow: 0 14px 34px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.btn-outline:active { transform: translateY(0); }

/* ── REASSURANCE ── */
.reassurance { font-size: 12px; color: var(--text-muted); letter-spacing: 0.01em; }

/* ── LIEN D'ÉVITEMENT (accessibilité) ── */
.skip-link { position: absolute; left: 8px; top: -52px; z-index: 3000; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: top .2s ease; }
.skip-link:focus { top: 8px; }

/* =========================================================
   1. NAVIGATION
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; height: 72px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled { background: rgba(255,255,255,0.94); border-bottom-color: var(--border); }
.logo { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--black); display: inline-flex; align-items: center; gap: 8px; }
.logo .ldot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color .2s; }
.nav-links a:hover { color: var(--black); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { background: var(--black); color: var(--white); padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s, transform .15s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px var(--accent-glow); }
.nav-cta:hover { background: var(--lime); color: var(--black); transform: translateY(-1px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* drawer mobile */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
  width: min(82vw, 340px); background: var(--white);
  border-left: 1px solid var(--border);
  padding: 90px 28px 32px; display: flex; flex-direction: column; gap: 2px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.drawer.open { transform: translateX(0); }
.drawer a { padding: 16px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--black); }
.drawer .btn { margin-top: 20px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  padding: 124px 32px 84px; position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--black);
  border-radius: 4px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px; opacity: 0; animation: fadeDown .7s ease forwards;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--black); }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); max-width: 940px; margin: 0 auto 28px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(20px); animation: wordIn .6s ease forwards; }
.hero h1 .accent { background: var(--lime); color: var(--black); padding: 0 12px; border-radius: 8px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); font-weight: 300; color: var(--text-secondary); max-width: 600px; margin: 0 auto 38px; line-height: 1.6; opacity: 0; animation: fadeUp .7s ease .4s forwards; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: scale(.96); animation: popIn .6s ease .7s forwards; }
.hero-reassurance { margin-top: 22px; opacity: 0; animation: fadeUp .7s ease .9s forwards; }

/* visuel dashboard pur CSS */
.hero-visual { margin-top: 68px; width: 100%; max-width: 940px; perspective: 1600px; opacity: 0; animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .5s forwards; }
.dash { background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); transform: rotateX(8deg); transform-origin: center top; overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D9D4; display: inline-block; }
.dash-bar i:first-child { background: var(--lime); }
.dash-bar span { margin-left: 10px; font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; }
.dash-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.dash-cell { background: var(--white); padding: 26px 22px; text-align: left; }
.dash-cell .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.dash-cell .v { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--black); margin-top: 6px; }
.dash-cell .v.crit { color: var(--lime-dark); }
.dash-graph { padding: 8px 22px 22px; background: var(--white); border-top: 1px solid var(--border); }
.dash-graph svg { width: 100%; height: 60px; }

/* =========================================================
   3. PROBLEME
   ========================================================= */
.problem { background: var(--bg-secondary); }
.problem h2 { font-size: clamp(34px, 4.6vw, 52px); max-width: 760px; margin: 0 auto 22px; }
.problem .lead { color: var(--text-secondary); font-weight: 300; max-width: 600px; margin: 0 auto 60px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.pain { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 30px 28px; text-align: left; }
.pain .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime-dark); font-weight: 700; margin-bottom: 12px; }
.pain p { color: var(--text-secondary); font-size: 15px; font-weight: 300; }
.problem-quote { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); color: var(--black); text-align: center; max-width: 700px; margin: 56px auto 0; letter-spacing: -0.01em; }
.problem-quote em { font-style: normal; background: var(--lime); padding: 0 8px; border-radius: 4px; }

/* =========================================================
   4. SOLUTION / MODULES
   ========================================================= */
.solution h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 16px; }
.solution .lead { color: var(--text-secondary); font-weight: 300; max-width: 560px; margin: 0 auto 76px; }
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1040px; margin: 0 auto; padding: 56px 0; }
.module + .module { border-top: 1px solid var(--border); }
.module.reverse .module-visual { order: 2; }
.module-num { font-family: var(--display); font-size: 16px; color: var(--lime-dark); letter-spacing: 0.08em; margin-bottom: 14px; }
.module h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.module p { color: var(--text-secondary); font-weight: 300; margin-bottom: 24px; font-size: 15.5px; line-height: 1.7; }
.module p a { color: var(--lime-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.module p a:hover { color: var(--black); }
.module-points li { position: relative; padding-left: 22px; color: var(--black); font-size: 14.5px; margin-bottom: 12px; }
.module-points li::before { content: ''; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; background: var(--lime); }

/* visuels de modules */
.viz { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-card); }
.viz-head { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 18px; }
.stock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; color: var(--text-secondary); }
.stock-row .name { width: 90px; flex-shrink: 0; color: var(--black); }
.stock-bar { flex: 1; height: 7px; background: var(--bg-secondary); border-radius: 99px; overflow: hidden; }
.stock-bar i { display: block; height: 100%; background: var(--lime-dark); border-radius: 99px; }
.stock-bar i.low { background: #E0613F; }
.stock-row .pct { width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.stock-alert { margin-top: 10px; font-size: 12px; color: #C9542F; display: flex; align-items: center; gap: 8px; }
.stock-alert::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #C9542F; }
.ca-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.ca-kpi .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ca-kpi .v { font-family: var(--display); font-size: 24px; color: var(--black); margin-top: 4px; }
.ca-graph svg { width: 100%; height: 70px; }
.plan-grid { display: grid; grid-template-columns: 66px repeat(5, 1fr); gap: 6px; }
.plan-grid .h { font-size: 10px; color: var(--text-muted); text-align: center; padding: 4px 0; }
.plan-grid .n { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; }
.plan-cell { height: 26px; border-radius: 4px; background: var(--bg-secondary); }
.plan-cell.on { background: var(--lime); }
.plan-cell.on2 { background: rgba(187,255,51,0.45); }
.haccp-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.haccp-row:last-of-type { border-bottom: none; }
.haccp-row .t { color: var(--text-secondary); }
.haccp-row .deg { font-family: var(--display); font-size: 18px; color: var(--black); }
.haccp-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; background: var(--lime); color: var(--black); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 4px; }
.haccp-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--black); }

/* =========================================================
   5. AVANTAGES
   ========================================================= */
.benefits { background: var(--bg-secondary); }
.benefits h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; }
.benefits .lead { color: var(--text-secondary); font-weight: 300; margin-bottom: 60px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.benefit { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 28px 26px; text-align: left; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.benefit:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.benefit .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--lime-dark); font-weight: 700; margin-bottom: 14px; }
.benefit h3 { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-bottom: 10px; letter-spacing: -0.01em; }
.benefit p { font-size: 14px; color: var(--text-secondary); font-weight: 300; }

/* =========================================================
   6. STATS ROI
   ========================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 0 auto; }
.stat { text-align: center; padding: 20px 24px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--border); }
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 7vw, 80px); color: var(--black); line-height: 1; }
.stat .num::after { content: ''; display: block; width: 32px; height: 3px; background: var(--lime); border-radius: 99px; margin: 14px auto 0; }
.stat .lbl { font-size: 13px; color: var(--text-secondary); margin-top: 14px; }

/* =========================================================
   7. COMPARATIF
   ========================================================= */
.compare { background: var(--bg-secondary); }
.compare h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; }
.compare .lead { color: var(--text-secondary); font-weight: 300; max-width: 600px; margin: 0 auto 52px; }
.ctable-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; position: relative; }
.ctable-wrap::after { content: ''; display: none; position: absolute; top: 0; right: 0; bottom: 0; width: 32px; background: linear-gradient(90deg, transparent, var(--bg-primary)); pointer-events: none; }
.ctable { width: 100%; border-collapse: collapse; min-width: 660px; background: var(--white); border-radius: 12px; overflow: hidden; }
.ctable th, .ctable td { padding: 16px 18px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
.ctable thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); background: var(--bg-secondary); font-weight: 600; }
.ctable tbody th { text-align: left; font-weight: 400; color: var(--text-secondary); font-family: var(--sans); }
.ctable .own { background: var(--accent-glow) !important; border-left: 2px solid var(--lime-dark); border-right: 2px solid var(--lime-dark); }
.ctable thead .own { background: var(--lime) !important; color: var(--black); font-weight: 700; }
.ctable tbody tr:last-child td, .ctable tbody tr:last-child th { border-bottom: none; }
.yes { color: var(--lime-dark); font-weight: 700; }
.no { color: var(--text-muted); }
.ctable .own.yes { color: #6fa30a; }

/* =========================================================
   8. TARIFS
   ========================================================= */
.pricing h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 14px; }
.pricing .lead { color: var(--text-secondary); font-weight: 300; max-width: 580px; margin: 0 auto 30px; }
.toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 99px; padding: 4px; margin: 0 auto 56px; }
.toggle button { font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 99px; color: var(--text-secondary); transition: color .2s, background .2s; }
.toggle button.active { background: var(--black); color: var(--white); }
.toggle .save { font-size: 11px; color: var(--lime-dark); margin-left: 5px; font-weight: 700; }
.toggle button.active .save { color: var(--lime); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 32px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; text-align: left; transition: border-color .25s, transform .25s, box-shadow .25s; }
.price-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card); }
/* carte recommandée : fond noir + bordure lime animée */
.price-card.featured { background: var(--black); border: 1px solid transparent; box-shadow: var(--shadow-accent); transform: translateY(-16px); overflow: hidden; }
.price-card.featured::before { content: ''; position: absolute; inset: -120%; z-index: 0; background: conic-gradient(from 0deg, transparent 0deg, var(--lime) 32deg, transparent 90deg); animation: borderSpin 6s linear infinite; }
.price-card.featured::after { content: ''; position: absolute; inset: 1.5px; z-index: 0; background: var(--black); border-radius: 13px; }
.price-card.featured > * { position: relative; z-index: 1; }
.price-tag { align-self: flex-start; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 99px; padding: 4px 12px; }
.price-card.featured .price-tag { background: var(--lime); color: var(--black); border-color: var(--lime); font-weight: 700; }
.price-name { font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--black); }
.price-card.featured .price-name { color: var(--white); }
.price-amount { display: flex; align-items: baseline; gap: 5px; }
.price-amount .val { font-family: var(--display); font-size: 46px; font-weight: 600; color: var(--black); line-height: 1; }
.price-card.featured .price-amount .val { color: var(--lime); }
.price-amount .per { font-size: 13px; color: var(--text-muted); }
.price-amount.devis .val { font-size: 30px; }
.price-billing { font-size: 12px; color: var(--text-muted); margin-top: -10px; min-height: 16px; }
.price-desc { font-size: 13.5px; color: var(--text-secondary); font-weight: 300; line-height: 1.55; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.6); }
.price-divider { height: 1px; background: var(--border); }
.price-card.featured .price-divider { background: rgba(255,255,255,0.12); }
.price-feats { display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-feats li { font-size: 13.5px; color: var(--text-secondary); font-weight: 300; padding-left: 24px; position: relative; line-height: 1.45; }
.price-card.featured .price-feats li { color: rgba(255,255,255,0.78); }
.price-feats li::before { content: ''; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4' stroke='%23222' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: contain; }
.price-feats li.strong { color: var(--black); font-weight: 600; }
.price-card.featured .price-feats li.strong { color: var(--white); }
.price-card .btn { width: 100%; }

/* =========================================================
   9. AVIS
   ========================================================= */
.reviews { background: var(--bg-secondary); }
.reviews h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 52px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.review { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; text-align: left; transition: border-color .25s, transform .25s; }
.review:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.review.featured-review { border-color: var(--border-accent); box-shadow: var(--shadow-card); }
.stars { color: var(--lime-dark); letter-spacing: 3px; font-size: 14px; }
.review blockquote { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.5; color: var(--black); }
.review .sep { height: 1px; background: var(--border); }
.review-id { display: flex; align-items: center; gap: 12px; }
.review-id .ini { width: 44px; height: 44px; border-radius: 50%; background: var(--black); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--lime); }
.review-id .who { font-size: 14px; font-weight: 700; color: var(--black); }
.review-id .role { font-size: 12.5px; color: var(--text-secondary); }

/* =========================================================
   10. FAQ
   ========================================================= */
.faq { padding-bottom: 84px; }
.faq h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 44px; }
.faq-list { max-width: 720px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; font-size: 16px; font-weight: 600; color: var(--black); transition: color .2s; }
.faq-q:hover { color: var(--lime-dark); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; background: var(--bg-secondary); position: relative; transition: transform .3s ease, background .2s; }
.faq-item.open .faq-icon { background: var(--lime); transform: rotate(45deg); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--black); border-radius: 2px; }
.faq-icon::before { top: 50%; left: 7px; right: 7px; height: 1.6px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 7px; bottom: 7px; width: 1.6px; transform: translateX(-50%); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--text-secondary); font-size: 15px; font-weight: 300; line-height: 1.7; padding-bottom: 0; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-item.open .faq-a p { padding-bottom: 24px; }

/* =========================================================
   11. CTA FINAL
   ========================================================= */
.final { background: var(--bg-secondary); text-align: center; position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 80px; border-top: 1px solid var(--border); }
.final-glow { position: absolute; top: -8%; left: 50%; transform: translateX(-50%); width: 460px; height: 360px; max-width: 90vw; background: radial-gradient(ellipse, rgba(187,255,51,0.13), transparent 65%); pointer-events: none; }
.final > * { position: relative; z-index: 1; }
.final h2 { font-size: clamp(34px, 5vw, 58px); color: var(--black); max-width: 780px; margin: 0 auto 22px; }
.final h2 em { font-style: normal; background: var(--lime); color: var(--black); padding: 0 10px; border-radius: 6px; }
.final .lead { font-size: 17px; color: var(--text-secondary); font-weight: 300; max-width: 560px; margin: 0 auto 38px; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }

/* =========================================================
   12. FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 40px 32px; background: var(--white); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-secondary); transition: color .2s; }
.footer-links a:hover { color: var(--black); }
.footer-made { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 24px; }

/* =========================================================
   DEMO INTERACTIVE
   ========================================================= */
.demo { background: var(--bg-secondary); }
.demo h2 { font-size: clamp(32px, 4.4vw, 48px); }
.demo .lead { color: var(--text-secondary); font-weight: 300; max-width: 600px; margin: 0 auto; }
.demo-window { max-width: 1000px; margin: 44px auto 0; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; text-align: left; }
.demo-topbar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.demo-topbar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D9D4; }
.demo-topbar i:first-child { background: var(--lime); }
.demo-topbar span { margin-left: 10px; font-size: 12px; color: var(--text-muted); }
/* config */
.demo-config { padding: 34px 30px; }
.demo-config.hidden { display: none; }
.demo-cfg-title { font-family: var(--display); font-size: 23px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.demo-cfg-sub { font-size: 14px; color: var(--text-secondary); font-weight: 300; margin-bottom: 24px; }
.demo-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.dmod { position: relative; border: 1.5px solid var(--border); border-radius: 12px; padding: 20px 18px; cursor: pointer; text-align: left; background: var(--white); transition: border-color .2s, background .2s, transform .15s; }
.dmod:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.dmod.sel { border-color: var(--lime-dark); background: var(--accent-glow); }
.dmod-check { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); transition: background .2s, border-color .2s; }
.dmod.sel .dmod-check { border-color: var(--lime); background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4' stroke='%23222' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.dmod-ic { width: 36px; height: 36px; border-radius: 9px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background .2s; }
.dmod.sel .dmod-ic { background: var(--lime); }
.dmod-ic svg { width: 18px; height: 18px; }
.dmod-name { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; color: var(--black); }
.dmod-desc { font-size: 12px; color: var(--text-secondary); font-weight: 300; line-height: 1.4; }
.demo-launch { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.demo-hint { font-size: 12px; color: var(--text-muted); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
/* app */
.demo-app { display: none; }
.demo-app.active { display: block; }
.demo-app-layout { display: grid; grid-template-columns: 210px 1fr; min-height: 440px; }
.demo-side { border-right: 1px solid var(--border); padding: 20px 14px; background: var(--bg-secondary); }
.demo-side-brand { font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 0 10px; color: var(--black); }
.demo-tab { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 12px; border-radius: 8px; font-size: 13.5px; color: var(--text-secondary); font-weight: 500; margin-bottom: 2px; transition: background .15s, color .15s; }
.demo-tab:hover { color: var(--black); }
.demo-tab.active { background: var(--white); color: var(--black); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.demo-tab .tdot { width: 7px; height: 7px; border-radius: 2px; background: var(--border); flex-shrink: 0; }
.demo-tab.active .tdot { background: var(--lime); }
.demo-main { padding: 28px; }
.demo-panel { display: none; }
.demo-panel.active { display: block; animation: fadeUp .4s ease; }
.dp-head { font-family: var(--display); font-size: 23px; font-weight: 600; color: var(--black); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dp-sub { font-family: var(--sans); font-size: 12px; color: var(--text-muted); font-weight: 400; }
.dp-list { margin-top: 22px; }
.dp-list-h { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 8px; }
.dp-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.dp-row:last-child { border-bottom: none; }
.dp-row .nm { color: var(--black); }
.dp-row .vl { font-family: var(--display); font-size: 17px; color: var(--black); }
.dp-action { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 7px; transition: background .2s, color .2s; }
.dp-action:hover { background: var(--lime); color: var(--black); }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.demo-restart { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.demo-restart:hover { color: var(--black); }
@media (max-width: 768px) {
  .demo-mods { grid-template-columns: 1fr 1fr; }
  .demo-app-layout { grid-template-columns: 1fr; }
  .demo-side { border-right: none; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px; }
  .demo-side-brand { width: 100%; }
  .demo-tab { width: auto; }
}
/* démo : identité produit distincte (accent bleu) pour qu'elle se lise comme une vraie app */
.demo-app { --d-accent: #3E63DD; }
.demo-app .demo-side-brand .ldot { background: var(--d-accent); }
.demo-app .demo-tab.active { box-shadow: inset 2px 0 0 var(--d-accent), 0 1px 2px rgba(0,0,0,0.04); }
.demo-app .demo-tab.active .tdot { background: var(--d-accent); }
.demo-app .stock-bar i { background: var(--d-accent); }
.demo-app .stock-bar i.low { background: #E0613F; }
.demo-app .plan-cell.on { background: var(--d-accent); }
.demo-app .plan-cell.on2 { background: rgba(62,99,221,0.4); }
.demo-app .haccp-badge { background: var(--d-accent); color: #fff; }
.demo-app .haccp-badge::before { background: #fff; }
.demo-app .dp-action { background: var(--d-accent); color: #fff; }
.demo-app .dp-action:hover { background: #2F50C2; color: #fff; }
.demo-app .demo-foot .btn-primary { background: var(--d-accent); border-color: var(--d-accent); color: #fff; }
.demo-app .demo-foot .btn-primary:hover { background: #2F50C2; border-color: #2F50C2; color: #fff; transform: translateY(-2px); }

/* ── BOUTON MODE NUIT ── */
.theme-toggle { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: color .2s, border-color .2s; flex-shrink: 0; }
.theme-toggle:hover { color: var(--black); border-color: var(--border-accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ── HERO : aura ambiante (animation passive + parallaxe souris) ── */
.hero-aura-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.hero-aura { position: absolute; top: 8%; left: 50%; width: 640px; height: 640px; max-width: 92vw; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--accent-glow), transparent 64%); will-change: transform; animation: auraDrift 16s ease-in-out infinite; }
@keyframes auraDrift { 0%, 100% { transform: translateX(-50%) translateY(0) scale(1); } 50% { transform: translateX(-50%) translateY(-22px) scale(1.07); } }
.hero-beams { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }
@media (max-width: 640px) { .hero-beams { opacity: 0.7; } }

/* ── DEMO : sélecteur de couleur ── */
.demo-color { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 24px; flex-wrap: wrap; }
.demo-color-label { font-size: 12.5px; color: var(--text-muted); }
.demo-swatches { display: flex; gap: 9px; }
.swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); border: 2px solid var(--bg-card); box-shadow: 0 0 0 1px var(--border); cursor: pointer; transition: transform .15s, box-shadow .15s; padding: 0; }
.swatch:hover { transform: scale(1.14); }
.swatch.active { box-shadow: 0 0 0 2px var(--sw); }
.demo-app .ca-graph { color: var(--d-accent); }
.demo-app .ca-graph .g-area { fill: var(--d-accent); opacity: .15; }
.demo-app .ca-graph .g-line { stroke: var(--d-accent); fill: none; }

/* ── REVEAL (fade + légère profondeur façon parallaxe douce) ──
   Titres/paragraphes (.reveal) : translateY(30px), un peu de recul.
   Cards en grille (.stagger > *) : translateY(50px), plus de profondeur,
   + delay en cascade déjà en place ci-dessous pour un effet de vague.
   Transform + opacity uniquement (pas de reflow), toujours piloté par
   le même IntersectionObserver dans site.js (aucun scroll listener). */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(50px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1){transition-delay:0ms}.stagger.visible > *:nth-child(2){transition-delay:100ms}.stagger.visible > *:nth-child(3){transition-delay:200ms}.stagger.visible > *:nth-child(4){transition-delay:300ms}.stagger.visible > *:nth-child(5){transition-delay:400ms}.stagger.visible > *:nth-child(6){transition-delay:500ms}

/* ── KEYFRAMES ── */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { to { opacity: 1; transform: scale(1); } }
@keyframes borderSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .module { gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 80px 22px; }
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 108px 22px 60px; }
  .hero-visual { margin-top: 48px; }
  .dash { transform: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .module, .module.reverse .module-visual { grid-template-columns: 1fr; order: 0; }
  .module-visual { order: -1 !important; }
  .viz { padding: 18px; }
  .ca-kpis { gap: 6px; }
  .ca-kpi .v { font-size: 18px; }
  .ctable-wrap::after { display: block; }
  .dash-cell { padding: 16px 12px; }
  .dash-cell .k { font-size: 9.5px; letter-spacing: 0.04em; }
  .dash-cell .v { font-size: 18px; line-height: 1.15; margin-top: 5px; letter-spacing: -0.01em; }
  .dash-bar span { font-size: 11px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stat:nth-child(2)::before, .stat:nth-child(3)::before { content: none; }
  .price-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}



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

/* ── CTA module (lien vers la page SEO dédiée) ── */
.module-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; font-weight: 700; color: var(--black); border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 18px; transition: border-color .2s, background .2s, transform .2s; }
.module-cta::after { content: '\2192'; transition: transform .2s ease; }
.module-cta:hover { border-color: var(--border-accent); background: var(--accent-glow); transform: translateY(-2px); }
.module-cta:hover::after { transform: translateX(3px); }

/* =========================================================
   13. PAGES SEO SECONDAIRES (HACCP, stock, planning)
   ========================================================= */
.subhero { padding: 148px 32px 64px; text-align: center; }
.subhero .wrap { max-width: 780px; }
.subhero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 22px; }
.subhero .lead { font-size: clamp(16px, 2vw, 18px); font-weight: 300; color: var(--text-secondary); line-height: 1.65; margin-bottom: 34px; }
.back-home { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 24px; transition: color .2s; }
.back-home:hover { color: var(--black); }
.related-pages { border-top: 1px solid var(--border); padding-top: 40px; margin-top: 8px; }
.related-pages h3 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 18px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-card { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; font-size: 14px; font-weight: 600; color: var(--black); transition: border-color .2s, transform .2s; }
.related-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.related-card span { display: block; font-size: 12.5px; font-weight: 400; color: var(--text-secondary); margin-top: 6px; }
@media (max-width: 768px) {
  .subhero { padding: 116px 22px 48px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   14. ARTICLE DE BLOG
   ========================================================= */
.article-hero { padding: 148px 32px 20px; text-align: center; }
.article-hero .wrap { max-width: 760px; }
.article-hero .eyebrow { justify-content: center; margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 18px; }
.article-hero .lead { font-size: 16px; font-weight: 300; color: var(--text-secondary); line-height: 1.6; }
.article-body { padding: 40px 32px 100px; }
.article-body .wrap { max-width: 700px; text-align: left; }
.article-body h2 { font-size: clamp(22px, 2.8vw, 27px); margin: 48px 0 16px; }
.article-body p { font-size: 16px; font-weight: 300; color: var(--text-secondary); line-height: 1.75; margin-bottom: 4px; }
.article-body .wrap > p a { color: var(--lime-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body .wrap > p a:hover { color: var(--text-primary); }
.article-body p + h2 { margin-top: 48px; }
.article-cta { margin-top: 44px; padding: 28px 26px; background: var(--bg-secondary); border-radius: 12px; border: 1px solid var(--border); }
.article-cta p { color: var(--text-primary); margin-bottom: 0; }
.article-cta a { color: var(--lime-dark); font-weight: 700; }

/* =========================================================
   15. REFONTE NARRATIVE — zones photo, storytelling, différenciant, preuve, footer
   ========================================================= */

/* ── ZONE PHOTO (placeholder honnête, jamais une icône générique) ── */
.photo-slot { position: relative; border: 1px dashed var(--border); border-radius: 12px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; border: none; border-radius: inherit; }
.photo-slot-label { font-size: 12.5px; color: var(--text-muted); text-align: center; padding: 0 24px; font-weight: 500; line-height: 1.5; }
.photo-slot--wide { max-width: 900px; margin: 44px auto 0; aspect-ratio: 16 / 7; }
.photo-slot--filled { border-style: solid; border-color: var(--border); }
.photo-slot--wide.photo-slot--filled img { object-position: center; }
.proof-photo.photo-slot--filled img { object-position: center 25%; }

/* ── STORYTELLING (bascule en 3 temps) ── */
.storytelling { position: relative; padding: 128px 24px; text-align: center; overflow: hidden; background: var(--black); }
.storytelling::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,7,10,0.78), rgba(7,7,10,0.9)); pointer-events: none; }
html[data-theme="dark"] .storytelling { background: #07070A; }
.story-bg { position: absolute; inset: 0; z-index: 0; border-radius: 0; border: none; opacity: .55; }
.story-bg .photo-slot-label { color: rgba(236,234,230,0.4); }
.story-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14vh; }
.story-line { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 3vw, 30px); line-height: 1.45; color: #ECEAE6; letter-spacing: -0.01em; }
.story-line--turn { font-weight: 700; color: #BBFF33; }
@media (max-width: 768px) {
  .storytelling { padding: 88px 22px; }
  .story-inner { gap: 9vh; }
}

/* ── ARGUMENT DIFFÉRENCIANT (bandeau pleine largeur) ── */
.diff-banner { background: var(--black); color: #ECEAE6; text-align: center; }
html[data-theme="dark"] .diff-banner { background: #07070A; }
.diff-banner .eyebrow { color: rgba(236,234,230,0.55); justify-content: center; }
.diff-headline { font-size: clamp(34px, 5.4vw, 60px); color: #ECEAE6; max-width: 780px; margin: 14px auto 18px; }
.diff-headline .accent { background: #BBFF33; color: #16160F; padding: 0 12px; border-radius: 8px; }
.diff-banner .lead { color: rgba(236,234,230,0.7); max-width: 560px; margin: 0 auto 30px; }
.diff-cta { margin-bottom: 64px; }
.diff-banner .stat .num { color: #ECEAE6; }
.diff-banner .stat .lbl { color: rgba(236,234,230,0.6); }
.diff-banner .stat .num::after { background: #BBFF33; }
.diff-banner .stats-grid { border-top: 1px solid rgba(236,234,230,0.12); padding-top: 44px; }
.diff-banner .stat + .stat::before { background: rgba(236,234,230,0.14); }
@media (max-width: 768px) {
  .diff-cta { margin-bottom: 40px; }
  .proof-feature { margin-top: 28px; }
}

/* ── PREUVE SOCIALE (client unique, honnête) ── */
.proof-feature { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; max-width: 880px; margin: 40px auto 0; text-align: left; background: var(--white); border: 1px solid var(--border-accent); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-card); }
.proof-photo { aspect-ratio: 1 / 1; margin: 0; }
.proof-content { display: flex; flex-direction: column; gap: 16px; }
.proof-content blockquote { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.5; color: var(--black); }
.proof-content .sep { height: 1px; background: var(--border); }
.proof-honesty { max-width: 560px; margin: 28px auto 0; font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 768px) {
  .proof-feature { grid-template-columns: 1fr; padding: 24px; }
  .proof-photo { aspect-ratio: 16 / 10; }
}

/* ── FOOTER : nom de marque en grand ── */
.footer-wordmark { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 13vw, 160px); line-height: 1; text-align: center; letter-spacing: -0.02em; color: var(--text-muted); margin: 36px 0 0; user-select: none; }

/* =========================================================
   16. LUMIÈRE & PROFONDEUR
   Dégradés de fond sombre → légèrement plus clair + touches de
   l'accent lime existant (--lime / --accent-glow / --shadow-accent,
   aucune nouvelle couleur), uniquement sur les sections clés :
   hero des pages secondaires (.subhero/.article-hero — la home a
   déjà sa propre aura dédiée plus haut), "cas d'usage" des pages
   module, et le bloc CTA final partagé par toutes les pages.
   ========================================================= */

/* Sub-hero (pages module, blog) : pas d'aura dédiée comme sur la home,
   on ajoute une remontée de lumière douce en haut de section + un
   souffle lime très discret. Pseudo-élément non cliquable, z-index
   négatif isolé pour ne jamais déborder sur les sections voisines. */
.subhero, .article-hero {
  position: relative;
  isolation: isolate;
}
.subhero::before, .article-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-glow), transparent 65%),
    linear-gradient(180deg, var(--bg-card-hover), transparent 60%);
  pointer-events: none;
}

/* Cas d'usage (pages module) : ciblé via l'aria-labelledby déjà posé
   sur la section (usecases-planning-title, usecases-ca-title, etc.),
   pas besoin d'ajouter une classe dans le HTML. */
section[aria-labelledby^="usecases-"] {
  position: relative;
  isolation: isolate;
}
section[aria-labelledby^="usecases-"]::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

/* CTA final (toutes pages) : glow existant très légèrement renforcé
   + remontée de lumière en fond de section. */
.final { background-image: radial-gradient(ellipse 90% 70% at 50% 100%, var(--bg-card-hover), transparent 60%); }
.final-glow { background: radial-gradient(ellipse, rgba(187,255,51,0.16), transparent 65%); }

/* Halo discret derrière quelques chiffres/icônes clés */
.stat { isolation: isolate; }
.stat::before {
  content: '';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--accent-glow), transparent 72%);
  pointer-events: none;
}
.module-num { text-shadow: 0 0 18px var(--accent-glow); }
.dash-cell .v.crit { text-shadow: 0 0 16px var(--accent-glow); }
.price-card.featured .price-amount .val { text-shadow: 0 0 28px rgba(187,255,51,0.35); }
.dmod.sel .dmod-ic { box-shadow: 0 0 0 1px var(--lime), 0 6px 18px var(--accent-glow); }

/* Accent lime renforcé au hover sur les CTA (réutilise --shadow-accent,
   déjà défini pour la carte tarif recommandée) */
.btn-primary:hover { box-shadow: 0 14px 34px var(--accent-glow), var(--shadow-accent); }
.nav-cta:hover { box-shadow: 0 8px 18px var(--accent-glow), var(--shadow-accent); }
.module-cta:hover { box-shadow: 0 10px 26px var(--accent-glow); }
