/* ============================================================================
   Studio 1·618 — Vitrine LMS white-label
   Dual theme (clair / sombre) · Urbanist · accent indigo · grille 4px
   ----------------------------------------------------------------------------
   Built on the Studio 1·618 design system foundations (Urbanist, indigo accent,
   warm neutrals, Mondrian color-block motif). The marketing palette is slightly
   warmer than the product tokens, per the brand brief.
   ========================================================================== */

/* ------------------------------- FONTS ----------------------------------- */
/* Urbanist (variable, graisses 300–800) auto-hébergée depuis /vitrine/assets —
   plus AUCUNE requête Google Fonts (googleapis/gstatic), RGPD : pas de tiers.
   Subsets latin + latin-ext (le latin couvre accents FR, œ, €, guillemets et
   l'espace fine insécable U+202F). */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(assets/fonts/urbanist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(assets/fonts/urbanist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------- THEME TOKENS ------------------------------- */
:root,
:root[data-theme="light"] {
  --bg:            #FBFAF7;
  --surface:       #FFFFFF;
  --surface-2:     #F5F2EC;   /* warm sunken */
  --text:          #1A1714;
  --text-2:        #6B645C;
  --border:        #ECE7DF;
  --border-strong: #DED7CC;

  --accent:        #3F3FEF;
  --accent-ink:    #FFFFFF;
  --accent-text:   #3F3FEF;   /* accent used as text on light surfaces */
  --accent-soft:   #EEEEFF;
  --accent-hover:  #2A2ADE;

  /* Mondrian semantic accents — used very sparingly */
  --mondrian-red:    #FF2E2E;
  --mondrian-yellow: #F9D523;

  --ph-bg:     #F3F0EA;
  --ph-stripe: #E3DDD2;

  --shadow-sm: 0 1px 2px rgba(40, 33, 24, .05), 0 1px 3px rgba(40, 33, 24, .04);
  --shadow-md: 0 2px 6px rgba(40, 33, 24, .05), 0 8px 24px rgba(40, 33, 24, .07);
  --shadow-lg: 0 8px 18px rgba(40, 33, 24, .06), 0 28px 56px rgba(40, 33, 24, .12);
  --shadow-accent: 0 8px 24px rgba(63, 63, 239, .28);

  --header-bg: rgba(251, 250, 247, .72);
}

:root[data-theme="dark"] {
  --bg:            #0E0D0C;
  --surface:       #1A1816;
  --surface-2:     #211F1C;
  --text:          #F4F1EC;
  --text-2:        #A39C92;
  --border:        #2A2723;
  --border-strong: #38332D;

  --accent:        #6E6EF7;
  --accent-ink:    #FFFFFF;
  --accent-text:   #9D9DFF;   /* lighter indigo reads better on dark */
  --accent-soft:   #1E1D33;
  --accent-hover:  #8585FA;

  --mondrian-red:    #FF5A5A;
  --mondrian-yellow: #F9D523;

  --ph-bg:     #211F1C;
  --ph-stripe: #2E2A25;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, .45), 0 32px 64px rgba(0, 0, 0, .55);
  --shadow-accent: 0 8px 28px rgba(110, 110, 247, .40);

  --header-bg: rgba(14, 13, 12, .72);
}

/* ------------------------------- STATICS --------------------------------- */
:root {
  --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 260ms;
}

/* Smooth, scoped theme cross-fade — only active during a switch */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color var(--t) ease, border-color var(--t) ease,
              color var(--t) ease, fill var(--t) ease, box-shadow var(--t) ease !important;
}

/* ------------------------------- RESET ----------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ----------------------------- ICÔNES ------------------------------------ */
/* Le sprite enveloppe ses <symbol> dans un <g fill="none" stroke="currentColor">,
   mais <use> ne clone QUE le symbole — jamais son ancêtre <g>. Les attributs de
   présentation étaient donc perdus à l'instanciation et les icônes se
   remplissaient en noir (les « points noirs » visibles partout). On rétablit le
   trait sur chaque hôte d'icône (tout <svg> contenant un <use>). Les valeurs
   étant HÉRITÉES, les sous-formes à remplissage explicite (ex. la flèche pleine
   de #i-play) conservent leur fill="currentColor". */
svg:has(use) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------- LAYOUT ------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section { position: relative; }
.section-pad { padding: clamp(72px, 11vw, 132px) 0; }

/* ----------------------------- TYPOGRAPHY -------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--accent);
}
.eyebrow.is-red::before { background: var(--mondrian-red); }
.eyebrow.is-yellow::before { background: var(--mondrian-yellow); }

.display {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
}
.h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}
.h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: 1.3rem;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-2);
}
.prose { color: var(--text-2); line-height: 1.7; max-width: 60ch; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.tnum { font-variant-numeric: tabular-nums; }

/* ----------------------------- BUTTONS ----------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

:where(a, button):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
  border-radius: 12px;
}

/* ------------------------------ HEADER (île flottante) ------------------- */
.header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin-top: 16px;
  background: transparent;
}
.header-rail { display: flex; align-items: center; gap: 12px; }
.header-inner {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 62px;
  padding: 0 12px 0 20px;
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) ease, border-color var(--t) ease,
              background-color var(--t) ease, transform var(--t) ease;
}
.header.scrolled .header-inner {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.nav a.is-active { color: var(--text); background: var(--surface-2); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.brand span { white-space: nowrap; }
/* Marque = symbole officiel (pinwheel) + nom. Le pétale « encre » suit le thème
   (noir #1C1C1C en clair → crème en sombre, comme la charte). */
.brand .symbole { height: 42px; width: auto; flex: none; color: var(--text); }
.brand .symbole .ink { fill: currentColor; }
/* Logo « 1·618 » du pied de page (img) — bascule clair/sombre */
.footer-logo--light { display: none; }
:root[data-theme="dark"] .footer-logo--dark { display: none; }
:root[data-theme="dark"] .footer-logo--light { display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--text-2);
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header-inner .brand { font-size: 1.08rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
/* CTA du header : pill compact qui épouse la hauteur de l'île flottante */
.header-cta { padding: 0 18px; height: 42px; font-size: .95rem; border-radius: 999px; }
.header-cta svg { width: 15px; height: 15px; }
/* Lien externe « Le studio » — SORTI de la nav, posé à droite avec les actions
   (sépare la nav interne du renvoi vers le site officiel studio-1618.fr). */
.header-ext {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 9px;
  color: var(--text-2); font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.header-ext:hover { color: var(--text); background: var(--surface-2); }
.header-ext svg { width: 13px; height: 13px; opacity: .6; }

/* Îlot utilitaire flottant, détaché à droite du bandeau principal (même matière
   que l'île : verre dépoli + bordure + pill). Contient « Le studio » + le thème. */
.header-utils {
  display: flex; align-items: center; gap: 6px; flex: none;
  height: 62px; padding: 0 8px;
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) ease, border-color var(--t) ease;
}
.header.scrolled .header-utils { box-shadow: var(--shadow-md); border-color: var(--border-strong); }

/* Icône de marque colorée « espace client » (écran/portail, charte 3 couleurs). */
.header-cta .ec-glyph { width: 20px; height: 20px; flex: none; }

/* theme toggle */
.toggle {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background-color .18s, border-color .18s, transform .3s var(--ease);
}
.toggle:hover { background: var(--surface-2); }
.toggle svg { width: 19px; height: 19px; }
.toggle .icon-moon { display: none; }
:root[data-theme="dark"] .toggle .icon-sun { display: none; }
:root[data-theme="dark"] .toggle .icon-moon { display: block; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------------- CTA flottant « Demander une démo » --------------------- */
/* Sorti du header → pastille fixe bas-droite. Masquée en haut (le hero porte
   déjà le CTA) ; révélée à la descente ; se retire quand #contact est visible. */
.fab-demo {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .96rem; letter-spacing: -0.01em; text-decoration: none;
  box-shadow: var(--shadow-md), 0 6px 22px color-mix(in oklab, var(--accent) 32%, transparent);
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .18s;
}
.fab-demo.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-demo:hover { background: var(--accent-hover); transform: translateY(-2px); }
.fab-demo svg { width: 17px; height: 17px; fill: none; stroke: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .fab-demo { transition: opacity .2s linear; transform: none; }
  .fab-demo.show { transform: none; }
  .fab-demo:hover { transform: none; }
}

/* mobile drawer — carte flottante sous le pill */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 10px 28px 0;
  padding: 10px 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; }

/* ------------------------------- HERO ------------------------------------ */
.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .display { margin: 22px 0 0; }
.hero-copy .lead { margin: 24px 0 0; max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* soft accent halo behind hero visual — subtle, not a "blob" */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -12% 6%;
  background: radial-gradient(60% 55% at 70% 35%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  opacity: .8;
}

/* browser frame mock */
.window {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.window-bar .dot { width: 11px; height: 11px; border-radius: 999px; background: var(--border-strong); flex: none; }
.window-url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* progress chip overlapping the hero window */
.hero-chip {
  position: absolute;
  z-index: 2;
  left: -22px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px 12px 12px;
  animation: float 7s ease-in-out infinite .8s;
}
/* Texte des chips flottants (hero, réalisation…) — strong/small empilés */
.chip-text { font-size: 13px; line-height: 1.3; }
.chip-text strong { font-weight: 700; display: block; }
.chip-text small { display: block; color: var(--text-2); font-size: 12px; }

/* ---------------------------- PLACEHOLDERS ------------------------------- */
.ph {
  position: relative;
  background-color: var(--ph-bg);
  background-image: repeating-linear-gradient(45deg, var(--ph-stripe) 0 1.5px, transparent 1.5px 11px);
  display: grid;
  place-items: center;
}
/* ------------------------------ CONSTAT ---------------------------------- */
.constat { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.constat .h2 { margin-top: 18px; max-width: 16ch; }
.constat .prose { font-size: 1.18rem; }
.constat .prose .accent { color: var(--text); font-weight: 600; }

/* ------------------------------- OFFRE ----------------------------------- */
.section-head { max-width: 56ch; }
.section-head .h2 { margin-top: 16px; }
.section-head.center { margin: 0 auto; text-align: center; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .h3 { margin: 18px 0 12px; }
.card p { color: var(--text-2); font-size: 1rem; line-height: 1.6; }

/* --------------------------- FONCTIONNALITÉS ----------------------------- */
.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature {
  background: var(--surface);
  padding: 34px 32px 38px;
  transition: background-color .2s;
}
.feature:hover { background: var(--surface-2); }
.feature .gicon { --size: 52px; margin-bottom: 22px; }
.feature--hero .gicon { --size: 66px; }
.feature h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; }
.feature p { margin-top: 11px; color: var(--text-2); font-size: .98rem; line-height: 1.6; }

/* ------------------------------ ÉTUDE DE CAS ----------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
/* colonne texte : pile à rythme régulier (corrige l'alignement / les trous) */
.case-copy { display: flex; flex-direction: column; align-items: flex-start; }
.case-copy .h2 { margin-top: 16px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.case-url {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .88rem; font-weight: 600;
  color: var(--accent-text);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 15px;
  transition: border-color .15s, color .15s, transform .15s var(--ease);
}
.case-url:hover { border-color: var(--accent); transform: translateY(-1px); }
.case-url svg { width: 15px; height: 15px; }
.case-url .case-url__ext { color: var(--text-2); }
.case-copy .prose { margin-top: 22px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; width: 100%; }
.stat {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.case .stat:nth-child(1)::before { background: var(--accent); }
.case .stat:nth-child(2)::before { background: var(--mondrian-yellow); }
.case .stat:nth-child(3)::before { background: var(--mondrian-red); }
.stat .num { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .num.is-qualiopi { color: var(--accent-text); }
.stat .lbl { margin-top: 8px; font-size: .9rem; color: var(--text-2); font-weight: 500; }
.clients { margin-top: 28px; font-size: .98rem; color: var(--text-2); }
.clients strong { color: var(--text); font-weight: 700; }
.case-quote {
  margin-top: 26px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.18rem, 2vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.case-cta { margin-top: 32px; }

/* ------------------------------- POURQUOI -------------------------------- */
.why { background: var(--surface); border-top: 1px solid var(--border); }
.why-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.why .prose { margin: 26px auto 0; font-size: 1.22rem; max-width: 64ch; }
.why-accroche {
  margin-top: 40px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.why-accroche .dot { color: var(--accent); }
.why-cta { margin-top: 32px; }

/* ----------------------------- BANDEAU PREUVE ---------------------------- */
.proof { background: var(--accent); color: var(--accent-ink); }
:root[data-theme="dark"] .proof { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--text); }
.proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proof-item {
  padding: 30px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.proof-item + .proof-item { border-left: 1px solid color-mix(in oklab, var(--accent-ink) 22%, transparent); }
:root[data-theme="dark"] .proof-item + .proof-item { border-left-color: var(--border); }
.proof-item svg { width: 24px; height: 24px; flex: none; opacity: .9; }

/* ------------------------------ CTA / FORM ------------------------------- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.cta-copy .h2 { margin-top: 16px; max-width: 14ch; }
.cta-copy .lead { margin-top: 22px; max-width: 36ch; }
.cta-aside {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--text-2);
  font-size: .98rem;
}
.cta-aside svg { width: 20px; height: 20px; color: var(--accent-text); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .15s, box-shadow .15s, background-color var(--t);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-2); opacity: .7; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  color: var(--text);
  margin-top: 4px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--accent-text); flex: none; margin-top: 2px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--text-2); text-align: center; }

/* ------------------------------- FOOTER ---------------------------------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}
.footer .brand { font-size: 1.3rem; }
.footer-brand { display: inline-block; }
.footer-logo { height: 34px; width: auto; }
.footer-tag { margin-top: 18px; color: var(--text-2); max-width: 38ch; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  max-width: 460px;
}
.footer-links a {
  color: var(--text-2);
  font-weight: 500;
  font-size: .96rem;
  transition: color .15s;
}
.footer-links a:hover { color: var(--accent-text); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: var(--text-2);
}

/* ------------------------- SCROLL REVEAL --------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- RESPONSIVE -------------------------------- */
@media (max-width: 1040px) {
  /* header resserré : nav + « Espace client » + « Demander une démo » cohabitent */
  .header-inner { gap: 12px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 11px; }
  .header-cta { padding: 0 14px; }
  .proof-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: none; }
  .proof-item:nth-child(2n+1) { border-left: none; }
  :root[data-theme="dark"] .proof-item:nth-child(2n+1) { border-left: none; }
  .proof-item:nth-child(n+3) { border-top: 1px solid color-mix(in oklab, var(--accent-ink) 22%, transparent); }
  :root[data-theme="dark"] .proof-item:nth-child(n+3) { border-top-color: var(--border); }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .header-utils { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-copy .lead { max-width: 46ch; }
  .case-grid { grid-template-columns: 1fr; }
  .case-visual { order: -1; }
  .cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .proof-inner { grid-template-columns: 1fr; }
  .proof-item { border-left: none !important; border-top: 1px solid color-mix(in oklab, var(--accent-ink) 22%, transparent); }
  .proof-item:first-child { border-top: none; }
  :root[data-theme="dark"] .proof-item { border-top-color: var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .hero-chip { left: 0; right: auto; bottom: -18px; }
  .footer-bottom { flex-direction: column; }
}

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


/* ==========================================================================
   REFONTE 2026 — hero/constat/offre/fonctionnalités/réalisation/pourquoi
   Mouvement maîtrisé, mêmes tokens, theme-aware, reduced-motion safe.
   ========================================================================== */

/* ------------------------------ HERO (refonte) --------------------------- */
.hero-grid { position: relative; z-index: 1; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(42% 52% at 78% 26%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 70%);
}

/* surlignage kinétique « vraiment apprendre » */
.hl { position: relative; white-space: nowrap; color: var(--accent-text); }
.hl-line { position: absolute; left: 0; right: 0; bottom: -.06em; width: 100%; height: .34em; overflow: visible; color: var(--accent); }
.hl-line path {
  fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  transition: stroke-dashoffset .9s var(--ease) .55s;
}
.reveal.in .hl-line path { stroke-dashoffset: 0; }

.hero-trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--text-2); }
.hero-trust svg { width: 17px; height: 17px; color: var(--accent-text); }

/* deux chips flottants distincts */
.hero-chip--ring { left: -22px; right: auto; top: auto; bottom: 34px; }
.hero-chip--seal { right: -18px; left: auto; bottom: auto; top: 28px; animation: float 7s ease-in-out infinite 1.4s; }
.seal { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.seal svg { width: 20px; height: 20px; }
.seal--eco { background: color-mix(in oklab, #2E8B57 16%, var(--surface)); color: #2E8B57; }

/* ------- Pâle copie fidèle du tableau de bord apprenant (.lpx) ----------- */
.lpx {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--bg);
  aspect-ratio: 16 / 11.8;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
}
.lpx-side { background: var(--surface-2); border-right: 1px solid var(--border); padding: 13px 11px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lpx-brand { display: flex; align-items: center; gap: 7px; min-width: 0; }
.lpx-mark { height: 17px; width: auto; flex: none; color: var(--text); }
.lpx-mark .ink { fill: currentColor; }
.lpx-wm { font-weight: 800; font-size: 11px; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lpx-nav { display: flex; flex-direction: column; gap: 2px; }
.lpx-sec { font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin: 7px 0 2px 7px; }
.lpx-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--text-2); font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.lpx-item svg { width: 13px; height: 13px; flex: none; }
.lpx-item.is-on { background: var(--accent-soft); color: var(--accent-text); }
.lpx-user { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); min-width: 0; }
.lpx-av { width: 24px; height: 24px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; }
.lpx-uc { display: flex; flex-direction: column; min-width: 0; }
.lpx-uc b { font-size: 10.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lpx-uc i { font-style: normal; font-size: 9px; color: var(--text-2); }

.lpx-main { display: flex; flex-direction: column; min-width: 0; }
.lpx-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.lpx-srch { flex: 1; display: flex; align-items: center; gap: 7px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; color: var(--text-2); font-size: 10px; min-width: 0; white-space: nowrap; overflow: hidden; }
.lpx-srch svg { width: 12px; height: 12px; flex: none; }
.lpx-chip { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 5px 10px; white-space: nowrap; flex: none; }
.lpx-chip svg { width: 12px; height: 12px; }
.lpx-bell { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); flex: none; }
.lpx-bell svg { width: 13px; height: 13px; }

.lpx-body { padding: 14px 16px 15px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.lpx-hi { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.lpx-h1 { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1.05; }

.lpx-resume { display: grid; grid-template-columns: 1.55fr .9fr; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); box-shadow: var(--shadow-accent); }
.lpx-rl { padding: 13px 15px; display: flex; flex-direction: column; gap: 6px; color: #fff; min-width: 0; }
.lpx-eye { font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.lpx-rt { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lpx-rm { font-size: 9.5px; opacity: .85; }
.lpx-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .26); overflow: hidden; max-width: 190px; }
.lpx-bar i { display: block; height: 100%; background: #fff; border-radius: 999px; }
.lpx-rbtn { margin-top: 4px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--accent); font-weight: 800; font-size: 9.5px; padding: 7px 11px; border-radius: 999px; }
.lpx-rbtn svg { width: 12px; height: 12px; }
.lpx-rr { position: relative; display: grid; place-items: center; background: rgba(0, 0, 0, .14); }

.lpx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.lpx-st { background: var(--surface); padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lpx-st em { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in oklab, var(--mondrian-yellow) 22%, var(--surface)); color: var(--text); }
.lpx-st em svg { width: 12px; height: 12px; }
.lpx-st em.is-acc { background: var(--accent-soft); color: var(--accent-text); }
.lpx-st em.is-ok { background: color-mix(in oklab, #2E8B57 16%, var(--surface)); color: #2E8B57; }
.lpx-st b { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.lpx-st i { font-style: normal; font-size: 8.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lpx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lpx-cc { aspect-ratio: 16 / 10; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.lpx-cc::before { content: ""; position: absolute; inset: 0 0 42% 0; background: color-mix(in oklab, var(--accent) 22%, var(--surface)); }
.lpx-cc:nth-child(2)::before { background: color-mix(in oklab, var(--mondrian-yellow) 30%, var(--surface)); }
.lpx-cc:nth-child(3)::before { background: color-mix(in oklab, var(--accent) 10%, var(--surface)); }

/* ----------------------------- CONSTAT (refonte) ------------------------- */
.constat-kill {
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  font-size: clamp(2rem, 4.7vw, 3.4rem);
  margin-top: 18px; max-width: 19ch;
}
.strike { position: relative; white-space: nowrap; color: var(--text-2); }
.strike-line { position: absolute; left: -2%; bottom: 22%; width: 104%; height: .5em; overflow: visible; color: var(--mondrian-red); pointer-events: none; }
.strike-line path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1s var(--ease) .45s; }
.reveal.in .strike-line path { stroke-dashoffset: 0; }

.constat-lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--text); font-weight: 500; line-height: 1.5; margin-top: clamp(22px, 3vw, 34px); max-width: 58ch; }
.constat-lead .accent { color: var(--accent-text); font-weight: 700; }

/* Comparatif « d'habitude » vs « méthode Studio 1·618 » (esprit 360learning) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); margin-top: clamp(30px, 4vw, 48px); align-items: stretch; }
.compare-col { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); overflow: hidden; }
.compare-col--good { background: var(--surface); border-color: color-mix(in oklab, var(--accent) 34%, var(--border)); box-shadow: var(--shadow-md); }
/* liseré Mondrian (indigo → jaune → rouge) sur la colonne « méthode » */
.compare-col--good::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--mondrian-yellow), var(--mondrian-red)); }
.compare-tag { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.compare-tag .pip { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.compare-col--bad .compare-tag { color: var(--text-2); }
.compare-col--bad .compare-tag .pip { background: var(--mondrian-red); }
.compare-col--good .compare-tag { color: var(--accent-text); }
.compare-col--good .compare-tag .pip { background: var(--accent); }

.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: 1.02rem; line-height: 1.45; }
.compare-x { width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; background: color-mix(in oklab, var(--mondrian-red) 14%, var(--surface)); color: var(--mondrian-red); margin-top: 1px; }
.compare-x svg { width: 14px; height: 14px; }

/* principes mémoire (récupération / espacement / élaboration) — tuiles charte */
.principle-row { display: flex; flex-direction: column; gap: 15px; }
.principle { display: flex; align-items: center; gap: 13px; }
.principle .pic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.principle .pic svg { width: 20px; height: 20px; }
.principle--test .pic { background: var(--accent-soft); color: var(--accent-text); }
.principle--space .pic { background: color-mix(in oklab, var(--mondrian-yellow) 26%, var(--surface)); color: var(--text); }
.principle--elab .pic { background: color-mix(in oklab, var(--mondrian-red) 15%, var(--surface)); color: var(--mondrian-red); }
.principle .pt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.principle b { font-weight: 800; font-size: 1.04rem; letter-spacing: -0.01em; }
.principle i { font-style: normal; font-size: .88rem; color: var(--text-2); }

.constat-punch { margin-top: clamp(34px, 5vw, 52px); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.constat-punch .under { box-shadow: inset 0 -0.42em 0 var(--accent-soft); border-radius: 3px; padding: 0 2px; }

/* ----------------------- ICÔNES (glyphes de marque) --------------------- */
/* Holder neutre + glyphe génératif (brand-gfx.js) sur les cartes Offre, icône
   Lucide sur les Fonctionnalités. Line-art charte, theme-aware. */
.gicon {
  width: var(--size, 58px); height: var(--size, 58px); box-sizing: border-box;
  border-radius: 16px; padding: 13px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s var(--ease), background-color .2s;
}
.gicon svg { width: 100%; height: 100%; display: block; }
.gicon .gicon-ic { color: var(--accent-text); }
.flow-step:hover .gicon, .feature:hover .gicon { border-color: var(--border-strong); }

/* ----------------------- FLORAISON (fond de hero) ----------------------- */
/* Phyllotaxie générative (floraison.js) derrière le hero — fondue en disque. */
.hero-bloom {
  position: absolute; z-index: 0; top: 50%; right: -8%;
  width: min(60vw, 700px); aspect-ratio: 1; transform: translateY(-50%);
  pointer-events: none; opacity: .85;
  -webkit-mask-image: radial-gradient(closest-side, #000 56%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 56%, transparent 100%);
}

/* ----------------------- ÉCRAN DE CHARGEMENT ---------------------------- */
/* Filet de sécurité : s'efface seul (anim CSS) même si JS ne tourne pas. */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; align-content: center; gap: 20px;
  background: var(--bg); animation: ld-out .55s var(--ease) 2s forwards;
}
.page-loader.is-out { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s var(--ease), visibility .55s; }
.loader-bloom { width: clamp(120px, 26vw, 190px); aspect-ratio: 1; }
.loader-word { font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; color: var(--text-2); }
@keyframes ld-out { to { opacity: 0; visibility: hidden; } }

/* ----------------------- ANNEAUX DE PROGRESSION ------------------------- */
.chip-ring { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.chip-ring__svg { position: absolute; inset: 0; display: block; }
.chip-ring b { position: relative; font-size: 11px; font-weight: 800; }
.lpx-ring { width: 78%; aspect-ratio: 1; display: block; }
.lpx-ring-pct { position: absolute; font-size: 11px; font-weight: 800; color: #fff; }

/* ----------------------- FONDS GÉNÉRATIFS (sections) -------------------- */
/* Fonctionnalités (arcs), Réalisation (phyllotaxie), Pourquoi (spirale d'or),
   Contact (floraison) — discrets, derrière le contenu, fondus. Le contenu est
   remonté en z-index. Sections concernées : classe .has-gfx + overflow caché. */
.has-gfx { overflow: hidden; }
.has-gfx > .container { position: relative; z-index: 1; }
.gfx-bg { position: absolute; z-index: 0; pointer-events: none; }
.gfx-bg .gfx { width: 100%; height: 100%; display: block; }
.gfx-bg--features { top: -40px; right: -46px; width: clamp(200px, 26vw, 330px); aspect-ratio: 1; opacity: .4;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.gfx-bg--realisation { left: -54px; bottom: -54px; width: clamp(200px, 26vw, 340px); aspect-ratio: 1; opacity: .36;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); }
.gfx-bg--why { left: -44px; bottom: -52px; width: clamp(220px, 30vw, 360px); aspect-ratio: 1.618; opacity: .32; }
.gfx-bg--contact { right: -56px; bottom: -52px; width: clamp(220px, 30vw, 380px); aspect-ratio: 1; opacity: .4;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent); mask-image: radial-gradient(closest-side, #000 58%, transparent); }

/* ------------------------------- OFFRE (flow) ---------------------------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.flow-track { position: absolute; left: 4%; right: 4%; top: 0; height: 2px; z-index: 0; background: repeating-linear-gradient(90deg, var(--border-strong) 0 7px, transparent 7px 14px); }
.flow-step { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px 28px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.flow-num { position: absolute; top: -15px; left: 22px; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-accent); }
.flow-step .gicon { --size: 58px; margin: 20px 0 18px; }
.flow-step .h3 { margin-bottom: 10px; }
.flow-step p { color: var(--text-2); font-size: .98rem; line-height: 1.6; }

/* -------------------------- FONCTIONNALITÉS (bento) ---------------------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature--hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.feature--hero h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.feature--hero > p { max-width: 44ch; font-size: 1.05rem; }
.mech-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 24px; }
.mech-chips span { font-size: .85rem; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; transition: transform .2s var(--ease), border-color .2s, color .2s; }
.feature--hero:hover .mech-chips span { border-color: var(--border-strong); }
.mech-chips span:hover { transform: translateY(-2px); color: var(--text); border-color: var(--accent); }
.mech-chips span:last-child { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; font-weight: 700; }

/* --------------------------- RÉALISATION (iframe live) ------------------- */
.case-visual { position: relative; }
.window-ext { margin-left: auto; width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--text-2); transition: color .15s, background-color .15s; }
.window-ext:hover { color: var(--accent-text); background: var(--bg); }
.window-ext svg { width: 14px; height: 14px; }
.live-frame { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--surface-2); }
.live-frame__doc { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: top left; pointer-events: none; }
.live-frame__open { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 16px; }
.live-frame__cue { opacity: 0; transform: translateY(7px); transition: opacity .25s var(--ease), transform .25s var(--ease); display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .9rem; }
.live-frame__cue svg { width: 15px; height: 15px; color: var(--accent-text); }
.live-frame:hover .live-frame__cue,
.live-frame__open:focus-visible .live-frame__cue { opacity: 1; transform: none; }
.case-chip { position: absolute; z-index: 3; right: -16px; bottom: 28px; display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 11px 15px 11px 11px; animation: float 7s ease-in-out infinite .6s; }
.case-live-dot { position: absolute; z-index: 3; top: -13px; left: 18px; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 6px 13px 6px 11px; font-size: 11px; font-weight: 700; color: var(--text); }
.case-live-dot i { width: 8px; height: 8px; border-radius: 999px; background: var(--mondrian-red); box-shadow: 0 0 0 0 color-mix(in oklab, var(--mondrian-red) 55%, transparent); animation: pulse-dot 2.2s ease-out infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--mondrian-red) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ------------------------------- POURQUOI (refonte) ---------------------- */
.why { position: relative; overflow: hidden; }
.why-phi { position: absolute; right: -1%; top: 50%; transform: translateY(-50%); font-size: clamp(8rem, 22vw, 19rem); font-weight: 800; letter-spacing: -0.04em; color: var(--text); opacity: .035; pointer-events: none; user-select: none; line-height: 1; white-space: nowrap; }
.why-inner { position: relative; z-index: 1; }
.why-disc { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.disc { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.disc svg { width: 20px; height: 20px; color: var(--accent-text); }
.disc-sep { width: 5px; height: 5px; border-radius: 2px; background: var(--accent); opacity: .55; }

/* ----------------------- RESPONSIVE (refonte) ---------------------------- */
@media (max-width: 1040px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-track { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature--hero { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 880px) {
  .compare { grid-template-columns: 1fr; }
  .hero-chip--seal { display: none; }
  .why-phi { font-size: clamp(7rem, 30vw, 12rem); }
}
@media (max-width: 560px) {
  .header-inner { padding: 0 8px 0 15px; height: 58px; }
  .header-utils { height: 58px; }
  .hl { white-space: normal; }
  .hl-line { display: none; }
  .constat-kill { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .flow { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .feature--hero { grid-column: auto; }
  .stat-row { grid-template-columns: 1fr; }
  .case-chip { display: none; }
  .hero-bloom { width: 90vw; right: -22%; opacity: .6; }
  .lpx { font-size: 10px; grid-template-columns: 106px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hl-line path, .strike-line path { transition: none; stroke-dashoffset: 0; }
  .case-chip { animation: none; }
  .case-live-dot i { animation: none; }
  .gicon { transition: none; }
  .page-loader { display: none; }
}
