/* ==========================================================================
   ALCHIMIE — style.css
   Une seule feuille, sans framework. Sommaire :
   1. Polices   2. Tokens   3. Base   4. Utilitaires   5. Boutons & liens
   6. Header    7. Footer   8. Composants communs   9. Accueil
   10. Outils & services   11. Experts   12. Contact   13. Pages légales
   14. Responsive   15. Mouvement réduit
   ========================================================================== */

/* 1. Polices (auto-hébergées, variables) ---------------------------------- */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  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: "Quicksand";
  src: url("../fonts/quicksand-latin-ext-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* Couleurs de marque (logo : #6E1AFF) */
  --violet: #6e1aff;
  --violet-700: #5410d6;
  --violet-100: #ece3ff;
  --violet-50: #f6f2ff;
  --pink: #ec3f97;
  --pink-100: #fde4f1;
  --pink-50: #fff3f9;

  /* Teintes secondaires (icônes, étiquettes) */
  --blue: #3c6ee6;   --blue-50: #edf2ff;
  --orange: #ef7a2b; --orange-50: #fff2e8;
  --green: #22a45a;  --green-50: #eaf8ef;
  --lilac: #8a5cf6;  --lilac-50: #f2edff;

  /* Neutres */
  --ink: #17122e;
  --text: #4a4561;
  --muted: #736e89;
  --line: #ebe7f3;
  --surface: #ffffff;
  --panel: #f8f6fd;

  /* Typo */
  --font: "Quicksand", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --fs-hero: clamp(2.2rem, 1.4rem + 2.8vw, 3.35rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .9rem;
  --fs-xs: .78rem;

  /* Espacements */
  --space-section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
  --container: 1240px;

  /* Formes */
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(35, 16, 90, .04), 0 4px 14px rgba(35, 16, 90, .045);
  --shadow-md: 0 2px 6px rgba(35, 16, 90, .05), 0 18px 40px -12px rgba(60, 24, 150, .14);
  --shadow-btn: 0 8px 20px -8px rgba(110, 26, 255, .6);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 4. Utilitaires ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.section { padding-block: calc(var(--space-section) * .5); }
.section-lg { padding-block: calc(var(--space-section) * .7); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: .9rem;
}
.eyebrow-pink { color: var(--pink); }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); color: var(--text); }
.subtitle { color: var(--muted); margin-top: .8rem; }
.accent { color: var(--violet); }
.section-head { max-width: 900px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); position: relative; }

/* Annotation manuscrite */
.hand {
  font-family: var(--hand);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.05;
  color: var(--violet);
  position: absolute;
  pointer-events: none;
}
.hand svg { width: 42px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* Pastille d'icône colorée */
.bubble {
  --c: var(--violet); --bg: var(--violet-50);
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); color: var(--c);
  flex: none;
}
.bubble .icon { width: 26px; height: 26px; }
.bubble-lg { width: 72px; height: 72px; }
.bubble-lg .icon { width: 32px; height: 32px; }
.bubble-sm { width: 42px; height: 42px; }
.bubble-sm .icon { width: 20px; height: 20px; }
.tone-blue   { --c: var(--blue);   --bg: var(--blue-50); }
.tone-orange { --c: var(--orange); --bg: var(--orange-50); }
.tone-pink   { --c: var(--pink);   --bg: var(--pink-50); }
.tone-green  { --c: var(--green);  --bg: var(--green-50); }
.tone-violet { --c: var(--violet); --bg: var(--violet-50); }
.tone-lilac  { --c: var(--lilac);  --bg: var(--lilac-50); }

/* Repère "à compléter" (dev_mode uniquement) */
.todo {
  display: inline-block; font-size: .72rem; font-weight: 700; line-height: 1.3;
  color: #8a5300; background: #fff4d6; border: 1px dashed #e0a500;
  padding: .25rem .55rem; border-radius: 8px;
}

/* 5. Boutons & liens ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 2.2; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow-right, .btn:hover [href="#i-arrow-right"] { transform: translateX(3px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--violet-700); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--violet); border-color: #cdb6ff; }
.btn-outline:hover { border-color: var(--violet); background: var(--violet-50); }
.btn-sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .92rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--violet); font-weight: 700; font-size: .95rem; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link-arrow .icon { width: 1em; height: 1em; stroke-width: 2.2; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { color: var(--violet-700); }

/* 6. Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 168px; height: auto; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 2rem; }
.nav-list { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); margin-left: clamp(1rem, 3vw, 3.5rem); }
.nav-list a {
  position: relative; display: inline-block; padding: .4rem 0;
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text);
  transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { transform: scaleX(.5); }
.nav-list a[aria-current="page"] { color: var(--violet); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.link-external {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--violet); font-weight: 600; font-size: .93rem; text-decoration: none;
}
.link-external .icon { width: .95em; height: .95em; stroke-width: 2.2; }
.link-external:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 7. Footer --------------------------------------------------------------- */
.site-footer { margin-top: calc(var(--space-section) * .35); padding-block: 2rem 2.4rem; }
.footer-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 2rem; }
.footer-inner .brand img { width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin-left: auto; margin-right: auto; }
.footer-links a { font-size: var(--fs-small); color: var(--text); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: inline-flex; align-items: center; gap: .8rem; font-size: var(--fs-small); font-weight: 600; text-decoration: none; color: var(--text); }
.linkedin-badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #0a66c2; color: #fff; }
.linkedin-badge .icon { width: 18px; height: 18px; }

/* 8. Composants communs --------------------------------------------------- */

/* Hero */
.hero { padding-top: clamp(1.5rem, 1rem + 2.5vw, 3.2rem); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -.025em; }
.hero h1 .accent { display: block; }
.hero .lead { margin-top: 1.4rem; max-width: 36rem; }
.hero .btn-group { margin-top: 2rem; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; margin-inline: auto; }
.hero-page .hero-visual img { max-width: 560px; }

/* Réassurances du hero */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 1.1rem 1.6rem; margin-top: 2.8rem; }
.proof { display: flex; align-items: center; gap: .7rem; font-size: .86rem; line-height: 1.35; color: var(--text); max-width: 12rem; }
.proof > .icon { width: 24px; height: 24px; color: var(--violet); }
.proof .bubble { width: 44px; height: 44px; }
.proof .bubble .icon { width: 21px; height: 21px; }

/* Panneau doux (sections sur fond teinté) */
.panel {
  background: linear-gradient(180deg, #f7f3ff 0%, #fbf9ff 100%);
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 1.5rem + 3vw, 4rem) clamp(1.25rem, .5rem + 3vw, 3.5rem);
}

/* Carte */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #e0d6f7; }
.card h3 { font-size: var(--fs-h3); }

/* Étiquettes */
.tag {
  --c: var(--violet); --bg: var(--violet-50);
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .32rem .8rem; border-radius: 999px;
  background: var(--bg); color: var(--c);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.2;
}
.tag-soon { --c: #8a5300; --bg: #fff3d8; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Liste à coches */
.checks li { position: relative; padding-left: 1.8rem; font-size: var(--fs-small); line-height: 1.5; }
.checks li + li { margin-top: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks li::before { color: var(--violet); }
.checks-green li::before { color: var(--green); }

/* Bandeau CTA de fin de page */
.cta-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 2rem;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.4rem + 2.5vw, 3.2rem) clamp(1.5rem, 1rem + 3vw, 3.5rem) 0;
  background:
    radial-gradient(60% 90% at 85% 40%, rgba(236, 63, 151, .10), transparent 70%),
    radial-gradient(50% 80% at 10% 10%, rgba(110, 26, 255, .07), transparent 70%),
    linear-gradient(120deg, #fff3fa 0%, #fbf3ff 55%, #f5efff 100%);
}
.cta-band .cta-copy { padding-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.2rem); }
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.45rem); }
.cta-band p { margin-top: 1rem; max-width: 34rem; }
.cta-band .btn { margin-top: 1.8rem; }
.cta-band .cta-visual { align-self: end; justify-self: center; margin-bottom: -1px; }
.cta-band .cta-visual img { width: 100%; max-width: 380px; }

/* Flèches de liaison entre étapes */
.step-arrow { color: var(--ink); opacity: .55; }

/* Apparition au scroll (très légère) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 9. Accueil -------------------------------------------------------------- */
.home-hero .hero-visual img { max-width: 560px; }

.issues { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.issue { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: var(--fs-small); font-weight: 600; color: var(--ink); line-height: 1.4; }
.issue .bubble { width: 68px; height: 68px; }
.issue .bubble .icon { width: 30px; height: 30px; }

.levers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.lever { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; }
.lever h3 { margin-top: .4rem; }
.lever p { font-size: var(--fs-small); }
.lever .link-arrow { margin-top: auto; padding-top: .4rem; }
.levers-hand { right: 0; top: -1.6rem; transform: rotate(8deg); text-align: center; }
.levers-hand svg { margin: .1rem auto 0; transform: rotate(10deg); }

/* Démarche en ligne (accueil) */
.flow {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem .5rem;
}
.flow-label { width: 100%; text-align: center; font-size: var(--fs-small); color: var(--muted); margin-bottom: .4rem; }
.flow-step {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem .45rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: var(--fs-small); font-weight: 700; color: var(--ink);
}
.flow-step .num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet-50); color: var(--violet); font-size: .72rem; }
.flow .sep { color: var(--muted); }
.flow .sep .icon { width: 16px; height: 16px; }
.flow-loop { display: inline-flex; align-items: center; gap: .4rem; color: var(--violet); font-weight: 700; font-size: var(--fs-small); }

/* Référentiel (accueil) */
.ref-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.ref-feature h2 { font-size: var(--fs-h2); }
.ref-feature p { margin-top: 1.1rem; max-width: 30rem; }
.ref-feature .btn { margin-top: 1.8rem; }

/* Experts (accueil) */
.team-teaser { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 2.5rem; }
.team-teaser h2 { font-size: var(--fs-h2); }
.team-teaser p { margin-top: 1.1rem; max-width: 36rem; }
.team-teaser .link-arrow { margin-top: 1.3rem; }
.avatars { position: relative; display: flex; align-items: center; justify-content: center; padding-top: 2.5rem; }
.avatars .avatar { width: 86px; height: 86px; margin-left: -12px; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.avatars .avatar:first-child { margin-left: 0; }
.avatar-more {
  display: grid; place-items: center; width: 86px; height: 86px; margin-left: -12px; border-radius: 50%;
  background: var(--pink-50); color: var(--violet); border: 4px solid #fff; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background-color .2s;
}
.avatar-more:hover { transform: scale(1.06); background: var(--violet-50); }
.avatar-more .icon { width: 26px; height: 26px; }
.avatars-hand { right: 0; top: -1rem; text-align: center; transform: rotate(6deg); }

/* Avatar générique (photo ou initiales) */
.avatar { position: relative; display: block; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(140deg, #f1e9ff, #fde6f2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 700; color: var(--violet); letter-spacing: .02em; }
.avatar-initials .icon { width: 40%; height: 40%; }

/* Qualiopi */
.qualiopi {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  background: var(--panel); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem) clamp(1.25rem, 1rem + 2vw, 2.5rem);
}
.qualiopi-logo { background: #fff; border-radius: var(--r-md); padding: 1rem 1.6rem; box-shadow: var(--shadow-sm); }
.qualiopi-logo img { width: 190px; }
.qualiopi h2 { font-size: var(--fs-h3); }
.qualiopi p { margin-top: .5rem; font-size: var(--fs-small); max-width: 42rem; }
.qualiopi .link-arrow { margin-top: .7rem; font-size: var(--fs-small); }

/* 10. Outils & services --------------------------------------------------- */
.method { position: relative; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; position: relative; }
.step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step .bubble { width: 64px; height: 64px; margin-bottom: 1.1rem; }
.step .bubble .icon { width: 28px; height: 28px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; right: calc(-.7rem - 10px); width: 20px; height: 2px;
  background: linear-gradient(90deg, transparent, #b9a8dd);
}
.step h3 { font-size: 1rem; }
.step h3 .n { color: var(--violet); margin-right: .15rem; }
.step .step-key { margin-top: .3rem; font-size: var(--fs-small); font-weight: 700; color: var(--ink); line-height: 1.35; }
.step .step-text { margin-top: .55rem; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.step .step-text span { display: block; }

/* Boucle d'amélioration continue */
.loop { position: relative; margin-top: 1.4rem; height: 64px; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop svg { vector-effect: non-scaling-stroke; }
.loop path { vector-effect: non-scaling-stroke; fill: none; stroke: #c9b5ff; stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; }
.loop .loop-head { fill: none; stroke: #9b7bff; stroke-width: 2; stroke-dasharray: none; }
.loop-label {
  position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  background: #fff; border: 1px solid #e0d4ff; color: var(--violet);
  padding: .45rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.loop-label .icon { width: 16px; height: 16px; stroke-width: 2.2; }

.pullquote { text-align: center; margin-top: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); position: relative; }
.pullquote p { font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem); font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
.pullquote p span { display: block; color: var(--violet); }

/* Les trois leviers (détaillés) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); align-items: stretch; }
.pillar { display: flex; flex-direction: column; gap: 1.2rem; border-radius: var(--r-lg); padding: clamp(1.3rem, 1rem + 1vw, 1.8rem); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.pillar-blue   { background: linear-gradient(180deg, #fff 0%, #f6f8ff 100%); }
.pillar-orange { background: linear-gradient(180deg, #fff 0%, #fff8f3 100%); }
.pillar-green  { background: linear-gradient(180deg, #fff 0%, #f3fbf6 100%); }
.pillar-head { display: flex; align-items: center; gap: 1rem; }
.pillar-head h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.pillar-lead { font-size: var(--fs-small); }
.pillar-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 7.5; background: var(--panel); }
.pillar-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillar-box { border-radius: var(--r-md); padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.pillar-box h4 { font-size: .9rem; margin-bottom: .75rem; }
.pillar-blue .pillar-box { background: #eef2ff; border-color: #e1e8ff; }
.pillar-orange .pillar-box { background: #fff4ec; border-color: #ffe7d6; }
.pillar-green .pillar-box { background: #ecf8f0; border-color: #d8f0e0; }
.pillar .pillar-foot { margin-top: auto; padding-top: .3rem; }
.pillar .btn { width: 100%; font-size: .92rem; padding-inline: 1.1rem; }
.formats { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.formats li { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-small); font-weight: 600; }
.formats .icon { color: var(--orange); width: 1em; height: 1em; stroke-width: 2.6; }
.pillar-laptop { display: grid; place-items: center; padding: .5rem 0; }
.pillar-laptop img { width: 100%; max-width: 300px; }
.ref-mini { display: flex; gap: .9rem; align-items: flex-start; }
.ref-mini h4 { font-size: .95rem; margin-bottom: .2rem !important; }
.ref-mini p { font-size: .86rem; }
.ref-mini .link-arrow { margin-top: .45rem; font-size: .88rem; }
.soon-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.soon-head h4 { margin: 0 !important; font-size: .95rem; }

/* Cas concret */
.case { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.6rem; }
.case-step { position: relative; padding: 1.1rem 1.1rem 1.25rem; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.case-step .bubble { width: 38px; height: 38px; margin-bottom: .8rem; }
.case-step .bubble .icon { width: 18px; height: 18px; }
.case-step h3 { font-size: .92rem; }
.case-step h3 .n { color: var(--muted); font-weight: 600; }
.case-step p { margin-top: .4rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.case-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -1.25rem; width: .9rem; height: .9rem;
  background: var(--ink); opacity: .5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.case-intro { max-width: 40rem; margin: .8rem auto 0; color: var(--muted); }

/* Boîte à outils */
.toolbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); }
.tool { display: flex; gap: 1.2rem; align-items: flex-start; }
.tool-media { flex: none; width: 104px; }
.tool-media img { width: 100%; }
.tool h3 { font-size: 1.05rem; }
.tool p { margin-top: .4rem; font-size: .88rem; }
.tool .tags { margin-top: .7rem; }
.tool .link-arrow { margin-top: .8rem; font-size: .88rem; }
.tool-status { margin-top: .7rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; font-size: .82rem !important; color: var(--muted); }

/* 11. Experts ------------------------------------------------------------- */
.hero-experts .hero-visual img { max-width: 580px; }
.values {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  background: var(--panel); border-radius: var(--r-lg); padding: 1.4rem .6rem;
}
.value { display: flex; gap: .9rem; align-items: center; padding: .4rem 1.2rem; }
.value + .value { border-left: 1px solid var(--line); }
.value h2 { font-size: .95rem; }
.value p { font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: #cdb6ff; color: var(--violet); }
.filter[aria-pressed="true"] { background: var(--violet); color: #fff; border-color: var(--violet); }

.experts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); }
.expert { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.3rem 1.3rem; }
.expert[hidden] { display: none; }
.expert-photo { position: relative; width: 116px; height: 116px; margin: 0 auto .7rem; }
.expert-photo::before {
  content: ""; position: absolute; inset: -6px -40px -2px -30px; z-index: 0;
  border-radius: 48% 52% 55% 45% / 55% 45% 55% 45%;
  background: radial-gradient(closest-side, var(--blob, #f3ecff), transparent);
  opacity: .9;
}
.expert-photo .avatar { position: relative; z-index: 1; width: 100%; height: 100%; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.expert h3 { font-size: 1.05rem; letter-spacing: 0; }
.expert .tag { align-self: flex-start; line-height: 1.35; }
.expert p { font-size: .87rem; line-height: 1.55; }
.expert p strong {
  font-weight: 700; color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(110, 26, 255, .14) 62%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.expert .todo { align-self: flex-start; }
.expert-more { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .8rem; }
.expert-more h3 { font-size: 1.05rem; }
.expert-more p { font-size: .87rem; color: var(--muted); }
.experts-empty { padding: 2rem; text-align: center; color: var(--muted); }

/* 12. Contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: start; }
.form-card { background: var(--panel); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); border: 1px solid #efeaf8; }
.form-card h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); }
.form-card > p { margin-top: .5rem; font-size: var(--fs-small); }
.form { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.req { color: var(--pink); }
.field input, .field textarea {
  width: 100%; border: 1px solid #e3def0; background: #fff; border-radius: 12px;
  padding: .85rem 1rem; font-size: .95rem; font-weight: 500; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #a39fb5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(110, 26, 255, .12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d6336c; }
.field-error { color: #c2255c; font-size: .82rem; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: .3rem; }
.form-actions .btn { min-width: 250px; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-note .icon { display: inline-block; vertical-align: -2px; margin-right: .35rem; width: 14px; height: 14px; color: var(--ink); }
.form-note a { color: inherit; }
.alert { grid-column: 1 / -1; border-radius: 14px; padding: 1rem 1.2rem; font-weight: 600; font-size: .93rem; display: flex; gap: .7rem; align-items: flex-start; }
.alert .icon { width: 20px; height: 20px; margin-top: .1rem; }
.alert-success { background: var(--green-50); color: #146c3b; border: 1px solid #c9ecd6; }
.alert-error { background: #fff0f4; color: #a51d4a; border: 1px solid #f7cadb; }

.contact-side { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.side-card { border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.side-rdv { background: linear-gradient(160deg, #f6f0ff 0%, #fbf4ff 100%); display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.side-rdv h2 { font-size: 1.25rem; }
.side-rdv p { margin-top: .5rem; font-size: var(--fs-small); }
.side-rdv .btn { margin-top: 1.2rem; }
.side-rdv .bubble { background: #fff; }
.side-other { background: linear-gradient(160deg, #f0fbf4 0%, #f6fcf8 100%); }
.side-other h2 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.contact-lines { display: grid; gap: 1.1rem; }
.contact-line { display: flex; gap: 1rem; align-items: center; }
.contact-line .bubble { background: #fff; }
.contact-line strong { display: block; color: var(--ink); font-size: .93rem; }
.contact-line a, .contact-line span { font-size: .9rem; }
.contact-line a { color: var(--violet); font-weight: 600; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.contact-line .muted { color: var(--muted); font-size: .84rem; display: block; }

.structures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.4rem); }
.structure { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.structure h3 { font-size: 1rem; }
.structure p { font-size: .87rem; color: var(--text); }

/* 13. Pages légales & 404 ------------------------------------------------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.4rem; margin-bottom: .7rem; }
.legal p, .legal li { font-size: .98rem; }
.legal p + p { margin-top: .8rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-top: .6rem; }
.legal ul ul { list-style: circle; margin-top: .4rem; }
.legal li + li { margin-top: .4rem; }
.legal * + p { margin-top: .8rem; }
.legal strong { color: var(--ink); }
.legal-note { margin-top: 2.4rem !important; padding: 1rem 1.2rem; background: var(--panel); border-radius: var(--r-sm); font-size: .9rem !important; color: var(--muted); }
.legal-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-nav a { font-size: .92rem; }
.legal .todo { margin-top: .4rem; }
.legal-intro { margin-top: 1.6rem; color: var(--muted); }
.legal a { color: var(--violet); font-weight: 600; text-underline-offset: 3px; word-break: break-word; }
.notfound { text-align: center; max-width: 640px; }
.notfound h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.notfound p { margin-top: 1rem; }
.notfound .btn-group { justify-content: center; margin-top: 2rem; }

/* 14. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.4rem; }
  .step:nth-child(3n)::after { display: none; }
  .loop { display: none; }
  .loop-mobile { display: flex !important; }
  .case { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-step:nth-child(3n)::after { display: none; }
  .experts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toolbox { grid-template-columns: 1fr; }
  .tool-media { width: 160px; }
}
.loop-mobile { display: none; justify-content: center; margin-top: 2rem; }
.loop-mobile .loop-label { position: static; transform: none; white-space: normal; text-align: center; letter-spacing: .06em; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    background: #fff; padding: 1.2rem var(--gutter) 1.8rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(35, 16, 90, .2);
    max-height: calc(100dvh - 76px); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; margin: 0; }
  .nav-list a { display: block; padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin: .4rem 0 0; gap: 1rem; }
  .nav-actions .link-external { justify-content: center; padding: .6rem; }
  .nav-actions .btn { min-height: 52px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 150px; }
  body.menu-open { overflow: hidden; }

  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .levers, .pillars { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .value:nth-child(3) { border-left: 0; }
  .structures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid, .ref-feature, .team-teaser { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .hero .btn-group .btn { flex: 1 1 auto; }
  .proofs { margin-top: 2rem; }
  .ref-feature .ref-media { max-width: 520px; margin-inline: auto; }
  .avatars { justify-content: flex-start; padding-top: 0; }
  .avatars-hand { display: none; }
  .levers-hand { display: none; }
  .experts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; padding-bottom: 0; }
  .cta-band .cta-copy { padding-bottom: 0; }
  .cta-band .cta-visual img { max-width: 320px; }
  .contact-side { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --r-xl: 26px; --r-lg: 20px; }
  .issues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow .sep { display: none; }
  .proofs { grid-template-columns: 1fr; }
  .issue:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; gap: 1rem; padding-bottom: 1.6rem; }
  .step .bubble { margin: 0; width: 52px; height: 52px; }
  .step:not(:last-child)::after { display: block !important; top: 58px; left: 25px; right: auto; width: 2px; height: calc(100% - 62px); background: linear-gradient(180deg, #c9b5ff, transparent); }
  .case { grid-template-columns: 1fr; gap: .9rem; }
  .case-step { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; }
  .case-step .bubble { grid-row: span 2; margin: 0; }
  .case-step::after { display: none !important; }
  .experts-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
  .structures { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .qualiopi { grid-template-columns: 1fr; }
  .tool { flex-direction: column; }
  .tool-media { width: 180px; }
  .side-rdv { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin: 0; }
  .btn { width: 100%; }
  .nav-actions .btn, .btn-sm { width: auto; }
  .avatars .avatar, .avatar-more { width: 68px; height: 68px; }
}

/* 15. Mouvement réduit ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
