/* ==========================================================================
   Spinaformation — feuille de style commune
   Palette issue du logo Spinaformation (bleu nuit + dégradé bleu/cyan)
   et du logo Éclohésion (orange, vert, bleu clair).
   ========================================================================== */

:root {
  /* Marque Spinaformation */
  --navy-950: #070F2E;
  --navy-900: #0A1640;
  --navy-800: #0E1F57;
  --navy-700: #16307C;
  --blue-600: #0B6FE0;
  --blue-500: #1E88F0;
  --cyan-400: #22B8F5;
  --sky-100: #E3F1FE;
  --sky-50: #F2F8FF;

  /* Éclohésion */
  --eclo-orange: #EA9A3D;
  --eclo-orange-ink: #B4661A;
  --eclo-green: #A3C95F;
  --eclo-green-ink: #5E8A1F;
  --eclo-blue: #66C3D3;
  --eclo-blue-ink: #1F7F92;
  --eclo-brown: #7A4A2B;

  /* Pôles / pages */
  --projet: #3550D4;
  --projet-soft: #ECEFFD;
  --vitalite: #0E9B78;
  --vitalite-ink: #08745A;
  --vitalite-soft: #E4F6F0;
  --ia: #6A4CE0;
  --ia-soft: #EFEBFD;
  --coaching: #0B6FE0;
  --creation: #E07B1F;
  --creation-ink: #A8540C;
  --creation-soft: #FDF1E5;

  /* Neutres */
  --ink: #0F1B3A;
  --text: #2A3656;
  --muted: #5B6784;
  --line: #DDE5F1;
  --line-strong: #C6D2E4;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;

  --accent: var(--blue-600);
  --accent-soft: var(--sky-100);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 64, .06), 0 2px 8px rgba(10, 22, 64, .05);
  --shadow: 0 2px 6px rgba(10, 22, 64, .05), 0 12px 32px rgba(10, 22, 64, .08);
  --shadow-lg: 0 8px 20px rgba(10, 22, 64, .08), 0 28px 60px rgba(10, 22, 64, .12);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 720; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 680; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 680; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-100); color: var(--navy-900); }

.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: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* Placeholder visible pendant la phase de test : à remplacer avant mise en ligne */
.a-completer {
  background: #FFF3BF; color: #6B4E00; border-radius: 4px; padding: 0 .3em;
  box-shadow: inset 0 0 0 1px #F5D565; font-weight: 600;
}

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(11, 111, 224, .28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { --btn-bg: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); background-image: linear-gradient(135deg, var(--blue-600) 0%, #1A8DF2 55%, var(--cyan-400) 100%); }
.btn--dark { --btn-bg: var(--navy-900); }
.btn--dark:hover { box-shadow: 0 8px 22px rgba(10, 22, 64, .3); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--navy-900); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--light:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { --btn-bd: #fff; box-shadow: none; background: rgba(255, 255, 255, .08); }
.btn--accent { --btn-bg: var(--accent); }
.btn--sm { padding: .62em 1.1em; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none;
  color: var(--accent);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(10, 22, 64, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-symbol { width: 40px; height: auto; }
.brand-word { width: 172px; height: auto; }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--sky-50); color: var(--blue-600); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { color: var(--blue-600); }
.nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px;
  border-radius: 3px; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}
.has-sub > .nav-link { padding-right: 34px; }
.sub-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; background: transparent; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--muted);
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-sub:hover .sub-toggle svg, .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 330px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.sub-menu a {
  display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; align-items: start;
  padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink);
}
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--bg-soft); }
.sub-menu a[aria-current="page"] { background: var(--sky-50); }
.sub-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: .45em; background: var(--dot, var(--blue-600)); }
.sub-title { font-weight: 650; line-height: 1.3; display: block; }
.sub-desc { font-size: .86rem; color: var(--muted); line-height: 1.35; display: block; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; place-items: center;
}
.burger, .burger::before, .burger::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-900);
  transition: transform .25s, opacity .2s; position: relative;
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  /* backdrop-filter créerait un bloc conteneur pour le menu en position fixe */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; }
  .brand-word { width: 150px; }
  .site-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0; z-index: 99;
    background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 12px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    display: block; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
  /* Menu fermé : rien à l'intérieur ne doit rester visible ni cliquable */
  .site-nav:not(.is-open) * { visibility: hidden !important; pointer-events: none !important; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav-link { padding: 16px 4px; font-size: 1.1rem; border-radius: 0; }
  .nav-link:hover, .nav-item:focus-within > .nav-link { background: transparent; }
  .nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-link::after { display: none; }
  .has-sub > .nav-link { padding-right: 4px; }
  .sub-toggle { display: none; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: inherit; pointer-events: inherit;
    min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px 4px; background: transparent; transition: none;
  }
  .sub-menu::before { display: none; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu { transform: none; visibility: inherit; pointer-events: inherit; }
  .sub-menu a { padding: 12px 10px; min-height: 48px; }
  .nav-cta { margin: 20px 0 0; border-bottom: 0; }
  .nav-cta .btn { width: 100%; padding: 1em; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  background: var(--bg-soft);
}
.hero--home {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(34, 184, 245, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(11, 111, 224, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, #0D2C7A 100%);
  color: #DCE7FF;
  padding-top: clamp(64px, 10vw, 128px);
}
.hero--home h1 { color: #fff; }
.hero--home .lead { color: #C9D7F5; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .grad {
  background: linear-gradient(90deg, #3AA3FF 0%, var(--cyan-400) 30%, #9BE2FF 50%, var(--cyan-400) 70%, #3AA3FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}

/* Visuel d'accueil : logo dans un orbe lumineux, orbites et bulles cliquables */
.hero-visual { position: relative; justify-self: center; width: min(460px, 100%); aspect-ratio: 1; }
.orb { position: absolute; inset: 0; display: grid; place-items: center; }
.orb-core {
  position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 28%, #FFFFFF 0%, #F4FAFF 48%, #D9ECFF 100%);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .05), 0 0 0 26px rgba(255, 255, 255, .03), 0 24px 90px rgba(34, 184, 245, .45), inset 0 -14px 34px rgba(11, 111, 224, .14);
  animation: floaty 7s ease-in-out infinite;
}
.orb-core img { width: 66%; height: auto; transform: translate(4%, 2%); filter: drop-shadow(0 14px 18px rgba(11, 111, 224, .22)); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); animation: spin 30s linear infinite; }
.orbit.o1 { inset: 12%; border: 1.5px dashed rgba(34, 184, 245, .38); animation-duration: 28s; }
.orbit.o2 { inset: 2%; animation-duration: 44s; animation-direction: reverse; }
.orbit.o3 { inset: -7%; border-color: rgba(255, 255, 255, .07); animation: none; }
.orbit i {
  position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--cyan-400); box-shadow: 0 0 14px 4px rgba(34, 184, 245, .65);
}
.orbit.o2 i:nth-child(2) { top: auto; bottom: -5px; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 255, 255, .5); }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 650; font-size: .95rem; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(3, 10, 40, .35);
  animation: bob 6s ease-in-out infinite;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.float-chip:hover { color: #fff; background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); box-shadow: 0 14px 34px rgba(34, 184, 245, .35); }
.fc-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); }
.fc-ico svg { width: 17px; height: 17px; }
.fc1 { top: 7%; left: -4%; }
.fc2 { top: 47%; right: -3%; animation-delay: -2s; }
.fc3 { bottom: 5%; left: 2%; animation-delay: -4s; }
.fc3 .fc-ico { background: linear-gradient(135deg, #D9701A, #F2A541); }

/* Fond animé du héros d'accueil */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 20s ease-in-out infinite alternate; }
.blob.b1 { width: 540px; height: 540px; background: #1E88F0; top: -200px; right: -120px; }
.blob.b2 { width: 440px; height: 440px; background: #22B8F5; bottom: -220px; left: -140px; opacity: .38; animation-duration: 24s; }
.blob.b3 { width: 320px; height: 320px; background: #6A4CE0; top: 30%; left: 38%; opacity: .2; animation-duration: 28s; }
.hero-bg .dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 0%, transparent 75%);
  animation: dots-pan 80s linear infinite;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 46em; }
.hero .btn-row { margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem; color: #E4ECFF;
}
.hero-tags svg { width: 16px; height: 16px; color: var(--cyan-400); }

/* Héros de page intérieure */
.hero--page {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%); /* repli anciens navigateurs */
  background:
    radial-gradient(800px 380px at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%);
  padding: clamp(44px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.hero--page .hero-grid { grid-template-columns: 1.3fr .7fr; }
.hero-aside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
}
.hero-aside h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.hero-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-aside li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.hero-aside li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.hero--home .eyebrow { color: var(--cyan-400); }

.target-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .95rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.target-pill b { display: inline-grid; place-items: center; flex: none; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--accent-soft); }
.section--dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #C9D7F5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: #B9C8EA; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }

/* ---------- Cartes ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s, border-color .2s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card--link .link-arrow { margin-top: auto; padding-top: 18px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--c-soft, var(--sky-100)); color: var(--c, var(--blue-600));
}
.card-icon svg { width: 26px; height: 26px; }
.card-kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c, var(--accent)); margin-bottom: 6px; }
.card--accent-top { border-top: 4px solid var(--c, var(--accent)); }

/* Pôles (accueil) */
.pole-card { padding: 0; overflow: hidden; }
.pole-card .pole-top {
  padding: 28px 28px 22px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.pole-card .pole-top::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.pole-card .pole-top h3 { color: #fff; font-size: 1.5rem; margin: 10px 0 0; }
.pole-card .pole-top .pole-num { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.pole-card .pole-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.pole-card ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.pole-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; line-height: 1.4; }
.pole-card li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c1); margin-top: .5em; }

/* Liste à puces cochées */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6FE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(255, 255, 255, .1); }
.page-vitalite .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9B78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.page-ia .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A4CE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.page-projet .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233550D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.page-creation .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07B1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.page-eclo .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E8A1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 26px; box-shadow: var(--shadow-sm); counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  font: 750 1.1rem/1 var(--font-display); color: #fff;
  background: var(--accent); /* repli anciens navigateurs */
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--cyan-400)));
  box-shadow: 0 8px 18px rgba(10, 22, 64, .18);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 30%, transparent);
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--muted); margin: 0; }
.step .step-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }

/* Timeline verticale */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--accent); opacity: .5; }
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .timeline::before { opacity: 1; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
}
.timeline li { position: relative; padding: 0 0 28px 72px; counter-increment: tl; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--accent); color: var(--accent);
  font: 750 1.05rem/1 var(--font-display);
}
.timeline h3 { margin: 10px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Citation ---------- */
.big-quote {
  position: relative; margin: 0; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; overflow: hidden;
}
.big-quote::before {
  content: "“"; position: absolute; left: 18px; top: -30px; font: 700 12rem/1 Georgia, serif; color: rgba(34, 184, 245, .25);
}
.big-quote p { position: relative; font: 650 clamp(1.5rem, 3.2vw, 2.4rem)/1.25 var(--font-display); letter-spacing: -0.02em; margin: 0 0 14px; color: #fff; }
.big-quote cite { position: relative; font-style: normal; color: #A9C2F0; font-weight: 600; }

/* ---------- Personnes ---------- */
.person {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.person-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--bg-soft); }
.person h3 { margin-bottom: 2px; }
.person-role { color: var(--accent); font-weight: 650; margin-bottom: 12px; font-size: .98rem; }
.person p { margin-bottom: .8em; }
.person-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.person-tags li { font-size: .84rem; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.person--stack { grid-template-columns: 1fr; gap: 18px; }
.person--stack .person-photo { aspect-ratio: 1 / 1; }

/* ---------- Tableau d'infos pratiques ---------- */
.info-table { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.info-table > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.info-table > div:nth-child(odd) { background: var(--bg-soft); }
.info-table > div:last-child { border-bottom: 0; }
.info-table dt { font-weight: 650; color: var(--ink); }
.info-table dd { margin: 0; }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B3A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 20px; color: var(--text); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px); color: #DCE7FF;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(34, 184, 245, .35), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #C3D3F3; }

/* ---------- Qualiopi ---------- */
.qualiopi {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px;
}
.qualiopi img { width: 200px; }
.qualiopi h3 { margin-bottom: .3em; }
.qualiopi p { margin: 0 0 .5em; color: var(--muted); }
.qualiopi p:last-child { margin: 0; }
.qualiopi--compact { grid-template-columns: 150px 1fr; padding: 18px 22px; }
.qualiopi--compact img { width: 150px; }
.funding-strip {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 26px;
  font-size: .95rem; color: var(--ink);
}
.funding-strip span { display: inline-flex; align-items: center; gap: 8px; }
.funding-strip svg { width: 18px; height: 18px; color: var(--accent); }
.funding-strip img { height: 56px; width: auto; background: #fff; border-radius: 8px; padding: 4px 6px; border: 1px solid var(--line); }

/* ---------- Badges / pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 650; background: var(--accent-soft); color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font: 750 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--font-display); color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat span { font-size: .95rem; color: #B9C8EA; line-height: 1.4; display: block; }
.stats--light .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stats--light .stat b { color: var(--accent); }
.stats--light .stat span { color: var(--muted); }
.source { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.section--dark .source { color: #8FA3CF; }
.section--dark .source a { color: #BFD3FF; }

/* ---------- Partenariat Éclohésion ---------- */
.partner-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2E2A26 0%, #1D1B19 100%);
  color: #E9E4DD; padding: clamp(28px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.partner-band::before {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 154, 61, .35), transparent 65%);
}
.partner-band::after {
  content: ""; position: absolute; right: 120px; top: -100px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 201, 95, .28), transparent 65%);
}
.partner-band > * { position: relative; z-index: 1; }
.partner-band h2 { color: #fff; }
.partner-band p { color: #D8D1C7; }
.partner-band .eyebrow { color: var(--eclo-orange); }
.partner-logo { width: min(340px, 100%); margin-bottom: 22px; }
.eclo-gammes { display: grid; gap: 12px; }
.eclo-gamme {
  display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.eclo-gamme i { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; background: var(--g); }
.eclo-gamme b { color: #fff; display: block; font-size: 1.05rem; }
.eclo-gamme span { font-size: .94rem; color: #CFC7BC; }

/* Page Éclohésion */
.page-eclo { --accent: var(--eclo-orange-ink); --accent-soft: #FDF3E7; }
.page-eclo .hero--page {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(163, 201, 95, .28), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(102, 195, 211, .22), transparent 70%),
    linear-gradient(180deg, #FFF6EC 0%, #fff 100%);
}
.eclo-hero-logo { width: min(380px, 90%); margin-bottom: 26px; }
.duo-logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.duo-logos img { height: 54px; width: auto; }
.duo-logos .x { font-size: 1.6rem; color: var(--muted); font-weight: 300; }

.tree-wrap { position: relative; }
.tree-figure { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(10px, 2vw, 28px); box-shadow: var(--shadow-sm); }
.tree-svg { width: 100%; height: auto; overflow: visible; }
.tree-svg .t-node { cursor: pointer; outline: none; }
.tree-svg .t-node .ring { transition: transform .2s ease, filter .2s; transform-box: fill-box; transform-origin: center; }
.tree-svg .t-node:hover .ring, .tree-svg .t-node:focus-visible .ring, .tree-svg .t-node.is-active .ring { transform: scale(1.12); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
.tree-svg .t-node:focus-visible .focus-ring, .tree-svg .t-node.is-active .focus-ring { opacity: 1; }
.tree-svg .focus-ring { opacity: 0; transition: opacity .2s; }
.tree-svg .t-label { font-family: var(--font); font-size: 15.5px; fill: #3A3A3A; }
.tree-svg .t-label .strong { font-weight: 700; }
.tree-svg .t-num { font: 700 17px var(--font); text-anchor: middle; dominant-baseline: central; }
.tree-svg .t-box text { font-family: var(--font); font-size: 14.5px; fill: #3A3A3A; text-anchor: middle; }
.tree-svg .t-box .strong { font-weight: 700; fill: #2C5BA8; }
.tree-svg .t-num { display: none; }
.tree-caption { text-align: center; font-size: .92rem; color: var(--muted); margin-top: 6px; }

.tree-detail {
  position: absolute; z-index: 5; width: 360px; left: 0; top: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px 22px; box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--detail-c, var(--eclo-orange));
  animation: fadeUp .25s ease both;
}
.tree-detail[hidden] { display: none; }
.tree-detail .link-arrow { --accent: var(--detail-ink, var(--eclo-orange-ink)); margin-top: 6px; }
.tree-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--bg-soft); color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.tree-close:hover { background: var(--line); }
.tree-close svg { width: 16px; height: 16px; }
@media (max-width: 899px) {
  .tree-detail {
    position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; z-index: 120;
    max-height: 70vh; overflow-y: auto;
  }
}
.tree-detail .gamme-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--detail-ink, var(--eclo-orange-ink)); margin-bottom: 10px; }
.tree-detail .gamme-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--detail-c, var(--eclo-orange)); }
.tree-detail h3 { font-size: 1.35rem; }
.tree-detail p { color: var(--text); }
.tree-detail .tree-part { font-size: .9rem; color: var(--muted); margin: 0; }
.tree-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0 0 20px; }
.tree-legend li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); line-height: 1.4; }
@media (max-width: 900px) { .tree-legend { grid-template-columns: 1fr; } }
.tree-legend i { width: 16px; height: 16px; border-radius: 50%; margin-top: 3px; background: var(--g); }
.tree-legend b { color: var(--ink); }
.tree-legend span { font-size: .92rem; color: var(--muted); display: block; }

.gamme-col { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.gamme-col header { padding: 22px 24px 18px; background: var(--g-soft); border-bottom: 1px solid var(--line); }
.gamme-col header .g-name { font: 750 1.35rem/1.1 var(--font-display); color: var(--g-ink); letter-spacing: -0.01em; }
.gamme-col header .g-part { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g-ink); opacity: .8; display: block; margin-bottom: 6px; }
.gamme-col header p { margin: 8px 0 0; font-size: .95rem; color: var(--text); }
.gamme-col ol { list-style: none; margin: 0; padding: 10px 14px 18px; display: grid; gap: 4px; }
.gamme-col li { padding: 12px 10px; border-bottom: 1px dashed var(--line); }
.gamme-col li:last-child { border-bottom: 0; }
.gamme-col li b { display: block; color: var(--ink); line-height: 1.35; }
.gamme-col li span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.g-moi { --g: var(--eclo-orange); --g-ink: var(--eclo-orange-ink); --g-soft: #FDF1E3; }
.g-nous { --g: var(--eclo-green); --g-ink: var(--eclo-green-ink); --g-soft: #F1F7E6; }
.g-exe { --g: var(--eclo-blue); --g-ink: var(--eclo-blue-ink); --g-soft: #E6F5F8; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value b { display: block; font: 700 1.15rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 6px; }
.value span { font-size: .95rem; color: var(--muted); }
.value::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--v); margin-bottom: 16px; }

/* ---------- Pages : accents ---------- */
.page-formation { --accent: var(--blue-600); --accent-soft: var(--sky-100); }
.page-projet { --accent: var(--projet); --accent-soft: var(--projet-soft); }
.page-vitalite { --accent: var(--vitalite-ink); --accent-soft: var(--vitalite-soft); }
.page-ia { --accent: var(--ia); --accent-soft: var(--ia-soft); }
.page-coaching { --accent: var(--coaching); --accent-soft: var(--sky-100); }
.page-creation { --accent: var(--creation-ink); --accent-soft: var(--creation-soft); }

/* Module (programme) */
.module {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
}
.module-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.module-ico svg { width: 30px; height: 30px; }
.module h3 { margin-bottom: .35em; }
.module p { color: var(--muted); margin-bottom: .6em; }
.module ul { margin: 0; padding-left: 1.1em; color: var(--text); }
.module ul li { margin-bottom: 4px; }
.module .module-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Vitalité : piliers */
.pillar { text-align: left; }
.pillar .card-icon { background: var(--accent-soft); color: var(--accent); }

/* ---------- Onglets ---------- */
.tabs { margin-top: 8px; }
.tablist {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); margin-bottom: clamp(28px, 4vw, 44px);
}
.tab {
  border: 0; background: transparent; cursor: pointer; padding: 12px 22px; border-radius: 999px;
  font: 650 1rem/1.2 var(--font); color: var(--muted); transition: background-color .2s, color .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .96rem; }
.field label .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 136, 240, .15); }
.field-hint { font-size: .86rem; color: var(--muted); }
.form-legal { font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 0; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.contact-card h2 { font-size: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); border: 1px solid var(--line); }
.contact-list .ci svg { width: 19px; height: 19px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .2em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal dl { display: grid; grid-template-columns: 240px 1fr; gap: 8px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 650; color: var(--ink); }
.legal dd { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .96rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); color: var(--ink); }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #A9B8DB; padding: clamp(48px, 7vw, 80px) 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 44px; }
.footer-brand img.f-word { width: 190px; margin-bottom: 16px; }
.footer-brand p { color: #93A4CC; max-width: 30em; }
.footer-qualiopi { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 10px; margin-top: 8px; }
.footer-qualiopi img { width: 170px; }
.site-footer h2 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 4px 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D5F2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .contact-list .ci { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--cyan-400); }
.site-footer .contact-list a { color: #fff; font-weight: 600; }
.site-footer .contact-list span { color: #C9D5F2; }
.footer-partner { margin-top: 18px; }
.footer-partner img { width: 150px; opacity: .9; }
.footer-partner small { display: block; color: #8193BE; margin-bottom: 8px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; font-size: .86rem; color: #8193BE; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nda { width: 100%; color: #7486B3; }

/* ==========================================================================
   Animations douces et micro-interactions
   (toutes désactivées si l'utilisateur préfère réduire les animations)
   ========================================================================== */
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 24px) scale(.95); }
}
@keyframes dots-pan { to { background-position: 280px 280px; } }
@keyframes aurora { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(6%, -5%) rotate(10deg); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes caret { 50% { opacity: 0; } }

/* Héros des pages intérieures : deux halos qui dérivent lentement */
.hero--page::before, .hero--page::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero--page::before {
  width: 520px; height: 520px; right: -140px; top: -200px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 65%);
}
.hero--page::after {
  width: 440px; height: 440px; left: -160px; bottom: -240px; animation-duration: 28s;
  background: radial-gradient(circle, rgba(34, 184, 245, .16) 0%, transparent 65%);
}
.hero--page .container { position: relative; }
.hero--page .container::before {
  content: ""; position: absolute; z-index: -1; right: 4%; top: 10%; width: 300px; height: 220px; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 35%, transparent) 1.2px, transparent 1.6px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
  opacity: .55; animation: dots-pan 90s linear infinite;
}

/* Sections sombres : aurore lente */
.section--dark { position: relative; overflow: hidden; isolation: isolate; }
.section--dark::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(35% 35% at 20% 30%, rgba(34, 184, 245, .2), transparent 70%),
    radial-gradient(30% 30% at 80% 70%, rgba(106, 76, 224, .2), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
}
.cta-band { isolation: isolate; }
.cta-band::after {
  content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; border-radius: 50%; left: -100px; bottom: -160px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 68%);
  animation: drift 16s ease-in-out infinite alternate;
}
.partner-band::before { animation: drift 20s ease-in-out infinite alternate; }
.partner-band::after { animation: drift 26s ease-in-out infinite alternate-reverse; }
.big-quote { isolation: isolate; }
.big-quote::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 184, 245, .35), transparent 68%); animation: drift 14s ease-in-out infinite alternate;
}

/* Boutons : reflet au survol */
.btn { position: relative; overflow: hidden; }
.btn--primary::before, .btn--accent::before, .btn--dark::before {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
  transition: left .7s ease;
}
.btn--primary:hover::before, .btn--accent:hover::before, .btn--dark:hover::before { left: 130%; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* Cartes : halo qui suit la souris, icônes qui s'animent */
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--accent)) 12%, transparent), transparent 45%);
}
.spot:hover::after { opacity: 1; }
.card-icon, .module-ico, .choice-ico { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.card:hover .card-icon, .module:hover .module-ico { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.module, .person, .value, .step, .gamme-col { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.module:hover, .value:hover, .step:hover, .gamme-col:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.person-photo { transition: transform .5s ease; }
.person { overflow: hidden; }
.person:hover .person-photo { transform: scale(1.025); }
.gamme-col li { transition: background-color .2s, padding-left .2s; border-radius: 8px; }
.gamme-col li:hover { background: var(--g-soft); padding-left: 16px; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--accent); }

/* Titres de section : le trait de l'intertitre se dessine à l'apparition */
.eyebrow::before { transition: width .7s cubic-bezier(.22, 1, .36, 1) .15s; }
.js .reveal:not(.is-visible) .eyebrow::before { width: 0; }

/* Barre de progression de lecture et retour en haut */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; pointer-events: none;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400), #8FD8FF);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 110; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); box-shadow: 0 10px 26px rgba(11, 111, 224, .35);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }
body.nav-open .to-top { opacity: 0; pointer-events: none; }

/* ---------- Guide d'orientation (accueil) ---------- */
.section--orient { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.orient {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-lg);
}
.orient::before {
  content: ""; position: absolute; top: -140px; right: -140px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(34, 184, 245, .14), transparent 65%); animation: drift 18s ease-in-out infinite alternate;
}
.orient > * { position: relative; }
.orient-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.orient-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.orient-progress { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 8px; flex: none; }
.orient-progress li { width: 34px; height: 6px; border-radius: 6px; background: var(--line); transition: background-color .3s, width .3s; }
.orient-progress li.is-active { width: 52px; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); }
.orient-progress li.is-done { background: var(--blue-500); }
.orient-q { font-size: 1.25rem; margin-bottom: 18px; outline: none; }
.orient-step:not([hidden]), .orient-result:not([hidden]) { animation: fadeUp .4s ease both; }
.choice-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.choice {
  position: relative; display: grid; align-content: start; justify-items: start; gap: 6px; text-align: left; cursor: pointer;
  padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--text);
  transition: transform .2s ease, border-color .2s, box-shadow .25s, background-color .2s;
}
.choice:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 18%, transparent); }
.choice:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.choice.is-selected { border-color: var(--c); background: var(--c-soft); }
.choice-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); margin-bottom: 6px; }
.choice:hover .choice-ico { transform: scale(1.1) rotate(-6deg); }
.choice-ico svg { width: 23px; height: 23px; }
.choice b { color: var(--ink); font-size: 1.02rem; line-height: 1.3; }
.choice > span:last-child { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.orient-nav { display: flex; gap: 10px; margin-top: 22px; }
.orient-nav button {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--bg-soft); color: var(--ink);
  font: 600 .95rem/1 var(--font); padding: 11px 16px; border-radius: 999px; cursor: pointer; transition: background-color .2s;
}
.orient-nav button:hover { background: var(--line); }
.orient-nav button[hidden] { display: none; }
.orient-nav svg { width: 16px; height: 16px; }
.orient-result { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.reco {
  position: relative; overflow: hidden; border-radius: 22px; padding: clamp(22px, 3vw, 34px); color: #fff;
  background: linear-gradient(135deg, var(--r1), var(--r2));
}
.reco::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); animation: drift 14s ease-in-out infinite alternate; }
.reco > * { position: relative; z-index: 1; }
.reco .reco-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; }
.reco h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.reco p { color: rgba(255, 255, 255, .92); margin-bottom: 14px; }
.reco .reco-tip { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); font-size: .95rem; margin-bottom: 18px; }
.reco .reco-tip svg { width: 20px; height: 20px; margin-top: 2px; }
.reco-alt { border-radius: 22px; padding: 22px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.reco-alt small { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.reco-alt b { color: var(--ink); font-size: 1.1rem; line-height: 1.3; }
.reco-alt p { margin: 0; color: var(--muted); font-size: .95rem; }
.reco-alt .link-arrow { margin-top: auto; }

/* ---------- Auto-diagnostic AI Act ---------- */
.quiz { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.quiz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: qz; }
.quiz-item {
  counter-increment: qz; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); transition: border-color .25s, box-shadow .25s;
}
.quiz-item::before {
  content: counter(qz); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ia-soft); color: var(--ia); font-weight: 750;
}
.quiz-item.is-answered { border-color: color-mix(in srgb, var(--ia) 40%, transparent); }
.quiz-item.is-answered::before { content: "✓"; background: var(--ia); color: #fff; animation: pop .35s ease both; }
.quiz-item p { margin: 6px 0 12px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.yn { display: flex; flex-wrap: wrap; gap: 8px; }
.yn button {
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; font: 600 .92rem/1 var(--font);
  padding: 10px 16px; border-radius: 999px; transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.yn button:hover { border-color: var(--ia); transform: translateY(-1px); }
.yn button[aria-pressed="true"] { background: var(--ia); border-color: var(--ia); color: #fff; }
.quiz-panel { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 22px; padding: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.gauge { width: 150px; height: 150px; margin: 0 auto 14px; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: var(--ia-soft); stroke-width: 12; }
.gauge .g-bar { fill: none; stroke: var(--g-color, var(--ia)); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.22, 1, .36, 1), stroke .4s; }
.gauge .g-label { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.gauge .g-label b { font: 750 2rem/1 var(--font-display); color: var(--ink); }
.gauge .g-label span { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.quiz-panel h3 { margin-bottom: 8px; }
.quiz-panel p { color: var(--muted); font-size: .97rem; }
.quiz-panel ul { text-align: left; }

/* ---------- Bulle « question de coach » ---------- */
.coach-bubble {
  display: inline-grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: center; margin-top: 22px;
  padding: 12px 20px 12px 12px; border-radius: 20px 20px 20px 6px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  max-width: 100%;
}
.coach-bubble .cb-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 750 1.2rem/1 var(--font-display); background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); }
.coach-bubble .cb-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coach-bubble .cb-line { font-weight: 650; color: var(--ink); font-size: 1.05rem; min-height: 1.5em; }
.coach-bubble .cb-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--blue-600); animation: caret 1s steps(1) infinite; }

/* ---------- Arbre : pousse à l'apparition ---------- */
.js .tree-svg .t-branches path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.22, 1, .36, 1) .35s; }
.js .tree-svg .t-trunk { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.js .tree-svg .t-node, .js .tree-svg .t-deco circle {
  opacity: 0; transform: scale(.5); transform-box: fill-box; transform-origin: center;
  transition: opacity .45s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i, 0) * 70ms + .7s);
}
.js .tree-svg.is-drawn .t-branches path { stroke-dashoffset: 0; }
.js .tree-svg.is-drawn .t-trunk { transform: none; }
.js .tree-svg.is-drawn .t-node, .js .tree-svg.is-drawn .t-deco circle { opacity: 1; transform: none; }
.tree-svg .t-node.is-active .ring circle:first-child { filter: brightness(1.05); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .stats, .values, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fc1 { left: -2%; } .fc2 { right: -2%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .hero--page .hero-grid, .split, .contact-grid, .tree-wrap, .partner-band, .cta-band { grid-template-columns: 1fr; }
  .grid-3, .steps--3 { grid-template-columns: 1fr; }
  .quiz, .orient-result { grid-template-columns: 1fr; }
  .quiz-panel { position: static; }
  .choice-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { width: min(340px, 82%); margin-top: 8px; }
  .float-chip { font-size: .86rem; padding: 7px 12px 7px 7px; }
  .fc-ico { width: 28px; height: 28px; }
  .fc1 { left: -8%; } .fc2 { right: -10%; }
  .tree-panel { position: static; }
  .person { grid-template-columns: 160px 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .tree-svg .t-label, .tree-svg .t-box { display: none; }
  .tree-svg .t-num { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-4, .stats, .values, .steps--4, .people-grid, .form-row { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person-photo { max-width: 260px; }
  .info-table > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
  .legal td { border-bottom: 1px solid var(--line); }
  .legal td:last-child { border-bottom: 0; }
  .legal td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .qualiopi, .qualiopi--compact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: 1fr; }
  .tablist { border-radius: 18px; display: flex; }
  .tab { flex: 1 1 100%; justify-content: center; border-radius: 12px; white-space: normal; text-align: center; }
  .btn { white-space: normal; }
  .hero .btn-row .btn { width: 100%; }
  .choice-grid, .choice-grid--3, .choice-grid--2 { grid-template-columns: 1fr; gap: 10px; }
  .choice { grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; padding: 14px; }
  .choice-ico { grid-row: span 2; margin: 0; }
  .orient-head { flex-direction: column; gap: 14px; }
  .orient-progress { margin: 0; }
  .quiz-item { grid-template-columns: 1fr; gap: 8px; }
  .coach-bubble { display: grid; }
  .to-top { right: 12px; bottom: 12px; width: 44px; height: 44px; }
  .big-quote::before { font-size: 8rem; top: -18px; }
}

/* ==========================================================================
   Mobile et écrans tactiles
   ========================================================================== */
html { -webkit-tap-highlight-color: rgba(11, 111, 224, .12); }

/* Pas d'effets de survol « collants » après un toucher ; un léger retour à l'appui */
@media (hover: none) {
  .card--link:hover, .choice:hover, .module:hover, .value:hover, .step:hover, .gamme-col:hover, .btn:hover, .to-top:hover, .yn button:hover { transform: none; }
  .card:hover .card-icon, .module:hover .module-ico, .choice:hover .choice-ico, .btn:hover svg { transform: none; }
  .choice:hover { box-shadow: none; border-color: var(--line); }
  .choice.is-selected { border-color: var(--c); }
  .gamme-col li:hover { background: transparent; padding-left: 10px; }
  .person:hover .person-photo { transform: none; }
  .btn--primary:hover::before, .btn--accent:hover::before, .btn--dark:hover::before { left: -70%; }
  .card--link:active, .choice:active { transform: scale(.98); }
  .btn:active, .yn button:active { transform: scale(.97); }
}

@media (max-width: 720px) {
  /* Arbre : consigne au-dessus, cercles agrandis et zones de toucher élargies */
  .tree-figure { display: flex; flex-direction: column; padding: 10px 4px 12px; }
  .tree-caption { order: -1; margin: 4px 8px 10px; font-weight: 600; color: var(--ink); }
  .tree-svg .t-node .ring, .tree-svg .t-node:hover .ring, .tree-svg .t-node:focus-visible .ring { transform: scale(1.45); }
  .tree-svg .t-node.is-active .ring { transform: scale(1.62); }
  .tree-svg .focus-ring { pointer-events: all; }
  .tree-detail { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 640px) {
  .duo-logos { gap: 10px 14px; }
  .duo-logos img { height: 34px !important; width: auto; }
  .duo-logos .x { display: none; }
  .coach-bubble .cb-line { min-height: 3em; }
  .reco .btn-row .btn, .cta-band .btn-row .btn, .partner-band .btn-row .btn { width: 100%; }
  .cta-band .btn-row, .partner-band .btn-row { width: 100%; }
  .orient { border-radius: 22px; }
  .orient-nav button { padding: 13px 18px; }
  .yn button { padding: 12px 18px; min-height: 44px; }
  .faq summary { padding: 18px 52px 18px 18px; }
  .faq .faq-body { padding: 0 18px 18px; }
  .to-top { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .legal-nav .btn { flex: 1 1 100%; }
  .link-arrow { min-height: 44px; }
  .btn--sm { min-height: 44px; }
  .footer-partner a { display: inline-block; padding: 10px 0; }
  .target-pill b { font-size: .8rem; }
}
/* Repli pour les navigateurs sans « aspect-ratio » (iPhone sous iOS 14) */
@supports not (aspect-ratio: 1 / 1) {
  .hero-visual { height: 460px; }
  .orb-core { width: 285px; height: 285px; }
  .person-photo { height: 260px; }
  @media (max-width: 900px) {
    .hero-visual { height: 300px; }
    .orb-core { width: 190px; height: 190px; }
  }
}