/* Site vitrine OneAsso — même univers visuel que l'application et ses pages de connexion et d'inscription :
   bandeau et en-têtes de page en dégradé bleu nuit (#213155 → #061938) avec halos violets, cartes aux angles
   arrondis, boutons indigo, police Inter hébergée sur le site. Aucune dépendance externe. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bar: 0px;
  --head: calc(68px + var(--bar));
  --ink: #0a1530;
  --text: #1c2540;
  --muted: #5b6580;
  --line: #e4e8f2;
  --soft: #f7f8fc;
  --indigo: #6366f1;
  --indigo-d: #4f46e5;
  --indigo-soft: #eef0ff;
  --blue: #395cff;
  --violet: #8b3cff;
  --navy: linear-gradient(135deg, #213155 0%, #1c2d48 45%, #061938 100%);
  --green: #0b7a4b;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo-d); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(99, 102, 241, .5); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ───────────────────────── En-tête ───────────────────────── */
/* Même bandeau bleu nuit que l'application. Il recouvre le haut de la page d'en-tête (marge négative) : transparent en haut de page, donc sans couture avec le fond, puis opaque dès qu'on défile. */
.site-header { position: sticky; top: 0; z-index: 30; margin-bottom: calc(-1 * var(--head)); background: rgba(23, 37, 66, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .2s; }
html.js .site-header:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 10px; color: #fff; text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.brand img { display: block; width: 34px; height: auto; }
.nav { display: flex; gap: 6px; margin: 0 auto 0 12px; }
.nav a { padding: 8px 14px; border-radius: 9px; color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .13); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-btn { display: none; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 9px 14px; font: 600 14px var(--font); color: #fff; cursor: pointer; }

/* Bandeau du webinaire : première ligne de l'en-tête, avec compte à rebours */
html.has-bar { --bar: 40px; }
[hidden] { display: none !important; }
.head-bar { height: var(--bar); background: linear-gradient(90deg, #4f46e5, #7745ff 55%, #8b3cff); color: #fff; font-size: 13.5px; font-weight: 600; }
.site-header .head-bar .wrap { justify-content: center; gap: 22px; height: 100%; }
.hb-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; white-space: nowrap; }
.hb-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: hb-pulse 1.8s ease-out infinite; }
@keyframes hb-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .hb-live i { animation: none; } }
.hb-when { white-space: nowrap; opacity: .92; }
.hb-count { display: inline-flex; gap: 6px; }
.hb-count > span { display: inline-flex; align-items: baseline; gap: 3px; padding: 3px 8px; border-radius: 7px; background: rgba(6, 25, 56, .35); font-variant-numeric: tabular-nums; }
.hb-count b { font-size: 14.5px; font-weight: 800; }
.hb-count small { font-size: 11.5px; font-weight: 600; opacity: .8; }
.hb-cta { padding: 4px 13px; border-radius: 999px; background: #fff; color: var(--indigo-d); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform .12s; }
.hb-cta:hover { transform: translateY(-1px); }

/* ───────────────────────── Boutons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 14.5px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
}
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(99, 102, 241, .32); }
.btn-primary:hover { background: var(--indigo-d); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(99, 102, 241, .42); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #d6dbe9; }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo-d); }
.btn-sm { padding: 10px 17px; font-size: 14px; white-space: nowrap; }

/* Boutons secondaires sur fond bleu nuit : contour clair translucide. */
.site-header .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.site-header .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }

/* ───────────────────────── Fonds bleu nuit : halos violet et bleu ───────────────────────── */
.hero, .page-hero, .cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before, .page-hero::before, .cta-band::before,
.hero::after, .page-hero::after, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(100px); }
.hero::before, .page-hero::before, .cta-band::before { right: -140px; top: -170px; width: 460px; height: 460px; background: rgba(119, 69, 255, .38); }
.hero::after, .page-hero::after, .cta-band::after { left: -160px; bottom: -220px; width: 460px; height: 460px; background: rgba(57, 92, 255, .3); }
.hero > .wrap, .page-hero > .wrap, .cta-band > * { position: relative; z-index: 1; }

/* ───────────────────────── Accueil : héros ───────────────────────── */
.hero { padding: calc(84px + var(--head)) 0 96px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow, .page-hero .eyebrow { color: #b9b8ff; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.gradient-text { background: linear-gradient(90deg, #8ea2ff, #c9a2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 40em; }
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .74); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.mock { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 56px rgba(30, 45, 110, .12); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d9ea; }
.mock-body { padding: 20px 22px 12px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; color: var(--ink); font-size: 15px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 11px; padding: 12px; }
.kpi b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.kpi span { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.mock-row small { font-size: 12px; color: var(--muted); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo-d); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: #e6f7ee; color: var(--green); }
.pill.warn { background: #fff2dc; color: #a35a00; }
.mock-caption { margin-top: 10px; text-align: right; font-size: 12.5px; color: var(--muted); }

/* ───────────────────────── Captures de l'application ───────────────────────── */
.shot { margin: 0; border: 1px solid rgba(15, 23, 42, .1); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(30, 45, 110, .16); overflow: hidden; }
.shot-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d9ea; }
.shot img { display: block; width: 100%; height: auto; }
.hero .shot { background: #14213f; border-color: rgba(255, 255, 255, .22); box-shadow: 0 28px 70px rgba(0, 0, 0, .45); }
.hero .shot-bar { background: rgba(255, 255, 255, .08); border-bottom-color: rgba(255, 255, 255, .12); }
.hero .shot-bar i { background: rgba(255, 255, 255, .3); }

.hero-shots { position: relative; padding: 0 0 70px; }
/* Sur grand écran, les captures débordent un peu de la colonne vers le bord de la page. */
@media (min-width: 1300px) {
  .hero-shots { margin-right: -80px; }
  .tour-row .tour-shot { margin-right: -80px; }
  .tour-row:nth-of-type(even) .tour-shot { margin-right: 0; margin-left: -80px; }
}
.hero-shots .main { width: 100%; }
.hero-shots .float { position: absolute; left: 0; bottom: 0; width: 52%; box-shadow: 0 26px 70px rgba(0, 0, 0, .55); }
.hero .grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
.hero h1 { font-size: clamp(32px, 3.5vw, 44px); }

/* ───────────────────────── Maya, la mascotte ───────────────────────── */
.asso { display: block; height: auto; pointer-events: none; user-select: none; }
.asso-hero { position: absolute; z-index: 3; right: -2px; bottom: -30px; width: 200px; filter: drop-shadow(0 22px 28px rgba(4, 10, 40, .5)); animation: asso-in .9s .7s cubic-bezier(.2, .9, .3, 1.25) both, asso-float 6s 1.7s ease-in-out infinite alternate; }
@keyframes asso-in { from { opacity: 0; transform: translateY(26px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes asso-float { to { transform: translateY(-9px); } }
.cta-lead { display: flex; align-items: center; gap: 24px; }
.asso-cta { flex: none; width: 150px; margin: -22px 0 -28px -8px; filter: drop-shadow(0 16px 22px rgba(4, 10, 40, .45)); animation: asso-float 4.5s ease-in-out infinite alternate; }
.compare-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.compare-head .section-head { margin-bottom: 0; padding-bottom: 14px; }
.asso-compare { flex: none; width: 170px; margin: -34px 4px -14px 0; filter: drop-shadow(0 16px 22px rgba(30, 45, 110, .26)); animation: asso-float 5s ease-in-out infinite alternate; }
.asso-academie { position: absolute; z-index: 0; right: 0; bottom: -34px; width: 270px; filter: drop-shadow(0 22px 28px rgba(4, 10, 40, .5)); animation: asso-float 5.5s ease-in-out infinite alternate; }
.demo-mascot { display: block; width: 108px; height: 108px; margin-top: -4px; filter: drop-shadow(0 14px 22px rgba(99, 60, 255, .32)); animation: asso-pop .55s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes asso-pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .asso-hero, .asso-cta, .asso-compare, .asso-academie, .demo-mascot { animation: none; } }

.tour-intro { padding: 44px 0 40px; }
.tour-intro .section-head { max-width: 860px; margin-bottom: 0; }
.tour-row { padding: 52px 0; }
.tour-row:nth-of-type(odd) { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 52px; align-items: center; }
.tour-row:nth-of-type(even) .tour-text { order: 2; }
.tour-row:nth-of-type(even) .tour-grid { grid-template-columns: 1.28fr .72fr; }
.tour-row:nth-of-type(even) .tour-shot { order: 1; }
.tour-text h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; }
.tour-lead { margin: 14px 0 22px; font-size: 17px; color: var(--muted); }
.tour-text .eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow .plan-tag { letter-spacing: 0; text-transform: none; }

/* Témoignages */
.voices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quote { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(100, 116, 139, .07); }
.quote blockquote { margin: 0; color: var(--ink); font-size: 16.5px; line-height: 1.6; }
.quote blockquote::before { content: "\201C"; display: block; margin-bottom: 8px; color: var(--indigo); font-size: 46px; font-weight: 800; line-height: .55; }
.quote figcaption { display: flex; align-items: center; gap: 14px; min-height: 112px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.q-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.q-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; }
.q-initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #395cff, #8b3cff); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 8px 18px rgba(99, 102, 241, .28); }
.q-logo { padding: 5px; object-fit: contain; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px rgba(100, 116, 139, .16); }
img.q-avatar:not(.q-logo) { object-fit: cover; }
.q-who span { min-height: 2.8em; color: var(--muted); font-size: 14px; line-height: 1.4; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid #d6dbe9; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; }

html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; transition: none; } }

/* ───────────────────────── Sections ───────────────────────── */
section { padding: 76px 0; }
section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.025em; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* Pastille d'icône : même tuile que dans l'application (fond indigo clair). */
.ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--indigo-soft); color: var(--indigo); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.one { grid-template-columns: minmax(0, 720px); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(100, 116, 139, .07); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .15s; }
.card > .ico { margin-bottom: 6px; }
a.card:hover { border-color: #c3c6ff; box-shadow: 0 20px 44px rgba(79, 70, 229, .13); transform: translateY(-2px); }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card .more { margin-top: auto; padding-top: 6px; color: var(--indigo-d); font-weight: 700; font-size: 15px; }
.card .plan-tag { align-self: flex-start; }

.plan-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo-d); font-size: 12px; font-weight: 700; }
.plan-tag.std { background: #f3e9ff; color: #6d28d9; }
.page-hero .plan-tag { background: rgba(255, 255, 255, .13); color: #dcdcff; }
.page-hero .plan-tag.std { background: rgba(139, 60, 255, .35); color: #ecdcff; }

.steps { display: grid; gap: 24px; counter-reset: step; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.step { counter-increment: step; }
.step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 6px 14px rgba(99, 102, 241, .3); }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; font-size: 16px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 8px; border-left: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(-45deg) scale(.92); }

/* Schéma de parcours (pages de modules) */
.flow-section { padding: 52px 0 4px; }
.flow-section h2 { margin-bottom: 26px; font-size: clamp(24px, 2.8vw, 30px); font-weight: 800; letter-spacing: -.025em; }
.flow { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
/* Frise : un nœud par étape, relié au suivant par un trait en dégradé ; le texte se lit sous le nœud. */
.flow li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 22px 0 0; }
.flow li:not(:last-child)::before { content: ""; position: absolute; top: 31px; left: 70px; right: 6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6366f1, #c4b5fd); opacity: .55; }
.flow-node { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 10px; border-radius: 50%; background: linear-gradient(135deg, #395cff, #8b3cff); color: #fff; box-shadow: 0 12px 26px rgba(99, 102, 241, .35), inset 0 0 0 4px rgba(255, 255, 255, .18); transition: transform .2s; }
.flow-node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.flow li:hover .flow-node { transform: translateY(-3px) scale(1.04); }
.flow-step { color: var(--indigo-d); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.flow li b { color: var(--ink); font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.flow li p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Rubriques des pages de modules : texte à gauche, visuel à droite, même grille partout */
.mod-row { padding: 52px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head) + 12px); }
.flow-section + .mod-row, .page-hero + .mod-row { border-top: 0; }
.mod-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 52px; align-items: center; }
.mod-text h2 { font-size: clamp(25px, 3vw, 32px); font-weight: 800; letter-spacing: -.025em; }
.mod-lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.mod-text .note { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--indigo-soft); color: #4457a6; font-size: 14.5px; }
.mod-text .ticks { margin-top: 22px; }
.mod-visual { min-width: 0; }
.mod-visual .shot { width: 100%; }
.mod-card { padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(100, 116, 139, .07); }
.shot-cap { margin-top: 12px; color: var(--muted); font-size: 13.5px; }

/* Frise d'étapes (états d'un dossier) : liste verticale reliée, dans une carte */
.pipeline { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 22px 28px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(100, 116, 139, .07); }
.pipeline li { position: relative; width: 100%; padding: 9px 0 9px 34px; color: var(--ink); font-size: 15.5px; font-weight: 600; }
.pipeline li::before { content: ""; position: absolute; left: 3px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); transform: translateY(-50%); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: calc(50% + 12px); bottom: calc(-50% + 12px); width: 2px; background: #d9dcff; }
.pipeline .outcomes { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 4px; }
.pipeline .outcomes::before { background: var(--green); box-shadow: 0 0 0 4px #e6f7ee; top: calc(50% + 4px); }
.pipeline .outcomes span { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.pipeline .outcomes .ok { background: #e6f7ee; color: var(--green); }
.pipeline .outcomes .no { background: #fdecec; color: #b42318; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .12); }
.cta-band h2 { color: #fff; font-size: clamp(25px, 3vw, 32px); font-weight: 800; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 34em; }
.cta-band .hero-cta { flex-shrink: 0; }

/* ───────────────────────── Pages intérieures ───────────────────────── */
.page-hero { padding: calc(56px + var(--head)) 0 48px; border-bottom: 1px solid rgba(119, 69, 255, .25); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.page-hero .lead { margin-top: 14px; font-size: 18px; max-width: 42em; }
.crumbs { margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero .plan-tag { margin-bottom: 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.toc a:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }

.pager { display: flex; justify-content: space-between; gap: 16px; }
.pager a { display: block; flex: 1; max-width: 50%; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .2s; }
.pager a:hover { border-color: #c3c6ff; box-shadow: 0 10px 26px rgba(79, 70, 229, .1); }
.pager a.next { text-align: right; margin-left: auto; }
.pager small { display: block; font-size: 13px; color: var(--muted); }
.pager b { font-size: 17px; }

/* ───────────────────────── Tarifs ───────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 40px rgba(100, 116, 139, .07); }
.plan.featured { border: 2px solid var(--indigo); box-shadow: 0 22px 54px rgba(99, 102, 241, .2); }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .tagline { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.price { margin: 22px 0 20px; font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -.035em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-year { margin: -8px 0 20px; font-size: 14px; color: var(--muted); }

/* Tarifs : l'Académie, incluse dans toutes les offres, mise en avant sous les trois cartes. */
.ac-incl { position: relative; display: flex; align-items: center; gap: 28px; margin-top: 30px; padding: 28px 32px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, #0b1230 0%, #243a9a 55%, #6d3cf0 100%); overflow: hidden; }
.ac-incl .asso { flex: none; width: 150px; height: 150px; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .35)); }
.ac-incl .eyebrow { color: #a9b8ff; }
.ac-incl h3 { margin-top: 4px; color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ac-incl p { margin-top: 8px; max-width: 62ch; color: #d6dcff; font-size: 15.5px; line-height: 1.55; }
.ac-incl-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 18px; padding: 0; list-style: none; }
.ac-incl-list li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; }
.ac-incl .btn { background: #fff; color: #1b2a78; border-color: #fff; }
@media (max-width: 720px) { .ac-incl { flex-direction: column; align-items: flex-start; padding: 24px 20px; } .ac-incl .asso { width: 110px; height: 110px; } }
.trial { display: flex; align-items: flex-start; gap: 18px; margin-top: 26px; padding: 24px 26px; border: 1px solid #d9dcff; border-radius: var(--radius); background: var(--indigo-soft); }
.trial h3 { font-size: 18px; font-weight: 800; }
.trial p { margin-top: 6px; color: #3f4a6b; font-size: 15.5px; line-height: 1.55; }
.trial .ico { background: #fff; }
.plan .ticks { flex: 1; gap: 12px; margin-bottom: 26px; }
.plan .btn { width: 100%; }
.note { font-size: 14.5px; color: var(--muted); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th { padding: 15px 18px; background: var(--soft); color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15.5px; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { width: 40%; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: #a7afc4; }

/* ───────────────────────── Pied de page ───────────────────────── */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1fr; gap: 32px; }
.site-footer p { margin-top: 12px; color: var(--muted); max-width: 22em; }
.site-footer h4 { margin-bottom: 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--indigo-d); text-decoration: underline; }
.copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ───────────────────────── Annonce du webinaire (accueil) ───────────────────────── */
dialog.webinar { width: min(92vw, 560px); max-height: 94vh; margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 100px rgba(6, 25, 56, .5); }
dialog.webinar[open] { animation: webinar-in .35s cubic-bezier(.2, .8, .2, 1); }
dialog.webinar::backdrop { background: rgba(6, 16, 40, .62); backdrop-filter: blur(3px); }
@keyframes webinar-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.webinar[open] { animation: none; } }
.webinar-close { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(6, 25, 56, .45); color: #fff; cursor: pointer; transition: background .15s; }
.webinar-close:hover { background: rgba(6, 25, 56, .75); }
.webinar-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.webinar-visual { position: relative; height: 236px; padding: 30px 40px 0; overflow: hidden; background: var(--navy); }
.webinar-visual::before, .webinar-visual::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); }
.webinar-visual::before { right: -60px; top: -90px; width: 260px; height: 260px; background: rgba(119, 69, 255, .5); }
.webinar-visual::after { left: -70px; bottom: -120px; width: 260px; height: 260px; background: rgba(57, 92, 255, .4); }
.wv-window { position: relative; z-index: 1; margin: 0 auto; border: 1px solid rgba(255, 255, 255, .28); border-bottom: 0; border-radius: 14px 14px 0 0; overflow: hidden; background: #14213f; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.wv-bar { display: flex; gap: 6px; padding: 9px 12px; background: rgba(255, 255, 255, .08); }
.wv-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .32); }
.wv-window img { display: block; width: 100%; height: auto; }
.wv-live { position: absolute; top: 34px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(225, 29, 72, .45); }
.wv-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: webinar-pulse 1.6s ease-in-out infinite; }
@keyframes webinar-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .wv-live i { animation: none; } }
.wv-date { position: absolute; z-index: 2; left: 22px; bottom: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; height: 82px; min-width: 76px; padding: 0 14px; border-radius: 14px; background: #fff; color: var(--ink); text-align: center; line-height: 1; box-shadow: 0 16px 36px rgba(0, 0, 0, .4); }
.wv-date span { color: var(--indigo-d); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wv-date b { margin: 4px 0 3px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.wv-date em { color: var(--muted); font-size: 12.5px; font-style: normal; font-weight: 700; }
.wv-partner { position: absolute; z-index: 2; right: 22px; bottom: 16px; display: flex; align-items: center; gap: 11px; height: 82px; padding: 0 16px 0 12px; border-radius: 14px; background: #fff; color: var(--ink); line-height: 1.2; box-shadow: 0 16px 36px rgba(0, 0, 0, .4); }
.wv-partner img { display: block; width: auto; height: 58px; }
.wv-partner span { display: flex; flex-direction: column; gap: 3px; }
.wv-partner small { color: var(--indigo-d); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wv-partner b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }

.webinar-body { padding: 26px 32px 30px; }
.webinar-body h2 { margin-top: 2px; font-size: 26px; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.webinar-when { margin: 10px 0 12px; color: var(--indigo-d); font-size: 18px; font-weight: 800; }
.webinar-body p:not(.eyebrow):not(.webinar-when) { color: var(--muted); font-size: 16px; line-height: 1.6; }
.webinar-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ───────────────────────── Demande de démo (accueil) ───────────────────────── */
dialog.demo { width: min(94vw, 460px); max-height: 94vh; margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 40px 100px rgba(6, 25, 56, .5); }
dialog.demo[open] { animation: webinar-in .35s cubic-bezier(.2, .8, .2, 1); }
dialog.demo::backdrop { background: rgba(6, 16, 40, .62); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: reduce) { dialog.demo[open] { animation: none; } }
.demo-close { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(79, 70, 229, .08); color: var(--ink); cursor: pointer; transition: background .15s; }
.demo-close:hover { background: rgba(79, 70, 229, .16); }
.demo-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.demo-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 30px 18px; text-align: center; background: linear-gradient(180deg, #eef1ff 0%, #f6f3ff 55%, #fff 100%); }
.demo-head h2 { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; outline: none; }
.demo-head p { max-width: 36ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.demo-pill { display: inline-flex; padding: 5px 13px; border-radius: 999px; background: #fff; border: 1px solid #dfe3f7; color: var(--indigo-d); font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 12px rgba(99, 102, 241, .1); }
.demo-form { display: flex; flex-direction: column; gap: 14px; padding: 6px 28px 26px; }
.demo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.demo-field { position: relative; display: block; }
.demo-field > span { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 700; }
.demo-field > i { position: absolute; left: 13px; bottom: 13px; display: flex; color: var(--indigo); pointer-events: none; }
.demo-field > i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-field input { width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1px solid #d6dbe9; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.demo-field input::placeholder { color: #9aa3ba; }
.demo-field input:focus { outline: none; border-color: #6e86ff; box-shadow: 0 0 0 4px rgba(191, 210, 255, .55); }
.demo-field input:user-invalid { border-color: #e11d48; }
.demo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-error { padding: 10px 14px; border-radius: 12px; background: #fff1f2; color: #be123c; font-size: 14px; line-height: 1.5; }
.demo-error a { color: inherit; font-weight: 700; }
.demo-actions { display: flex; gap: 10px; margin-top: 4px; }
.demo-actions .btn { flex: 0 0 auto; }
.demo-submit { flex: 1 1 auto; min-width: 0; justify-content: center; gap: 8px; border: 0; background: linear-gradient(135deg, #395cff, #8b3cff); color: #fff; box-shadow: 0 14px 30px rgba(99, 60, 255, .35); cursor: pointer; }
.demo-submit:hover { filter: brightness(1.06); }
.demo-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.demo-submit[disabled] { opacity: .7; cursor: progress; }
.demo-legal { color: var(--muted); font-size: 12.5px; line-height: 1.5; text-align: center; }
.demo-legal a { color: var(--muted); text-underline-offset: 2px; }
.demo-done[hidden], .demo-form-view[hidden] { display: none; }
.demo-done .demo-head { padding-bottom: 8px; }
.demo-done .demo-actions { justify-content: center; }
.demo-done .demo-submit { flex: 0 0 auto; min-width: 160px; }
.demo-done .demo-head p b { color: var(--ink); overflow-wrap: anywhere; }

/* ───────────────────────── Page 404 ───────────────────────── */
.nf { display: flex; align-items: center; min-height: calc(100vh - 150px); padding-bottom: 72px; text-align: center; }
.nf > .wrap { width: 100%; }
.nf-code { display: flex; align-items: center; justify-content: center; font-size: clamp(120px, 26vw, 250px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.nf-code span { background: linear-gradient(135deg, #8ea2ff, #c9a2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.asso-404 { flex: none; width: .92em; height: .92em; margin: 0 -.03em; filter: drop-shadow(0 22px 28px rgba(4, 10, 40, .5)); }
.nf h1 { margin-top: 6px; font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.nf .lead { margin-inline: auto; }
.nf .hero-cta { justify-content: center; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; }
.nf-links a { color: #c9d0ff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(201, 208, 255, .35); text-underline-offset: 4px; }
.nf-links a:hover { color: #fff; text-decoration-color: #fff; }

/* ───────────────────────── Mentions légales ───────────────────────── */
.legal > * { max-width: 760px; }
.legal h2 { margin: 40px 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 10px; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.copy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.copy a:hover { color: var(--indigo-d); }

/* ───────────────────────── Adaptation ───────────────────────── */
@media (max-width: 960px) {
  .asso-hero { width: 120px; right: -2px; bottom: -16px; }
  .asso-cta { width: 112px; margin: -10px 0 -14px -4px; }
  .asso-compare { width: 112px; margin: -20px 0 -10px 0; }
  .asso-academie { width: 150px; bottom: -22px; }
  .hero .grid, .mod-grid, .tour-grid, .tour-row:nth-of-type(even) .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tour-row:nth-of-type(even) .tour-text, .tour-row:nth-of-type(even) .tour-shot { order: initial; }
  .hero-shots .float { left: 4%; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .flow li { padding: 0 0 0 82px; min-height: 62px; }
  .flow li:not(:last-child)::before { top: 66px; bottom: -22px; left: 30px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, #6366f1, #c4b5fd); }
  .flow-node { position: absolute; left: 0; top: 0; margin: 0; }
  .voices-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .steps.five { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hb-when { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .site-header .wrap { gap: 16px; }
}
@media (max-width: 760px) {
  html.has-bar { --bar: 38px; }
  .site-header .head-bar .wrap { gap: 12px; padding: 0 12px; }
  .hb-count { gap: 4px; }
  .hb-count > span { padding: 2px 6px; }
  .hero-shots { padding-bottom: 0; }
  .hero-shots .float { display: none; }
  .nav { display: none; margin: 0; }
  .menu-btn { display: inline-block; }
  .nav-actions .btn-ghost { display: none; }
  .site-header .wrap { gap: 12px; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--head); padding: 10px 24px 16px; background: #1c2d48; border-bottom: 1px solid rgba(255, 255, 255, .12); gap: 2px; }
  .nav.open a { padding: 12px 4px; border-radius: 0; font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: calc(52px + var(--head)) 0 64px; }
  .cards, .cards.two, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
  .cta-band { padding: 28px; }
  .webinar-visual { height: 196px; padding: 26px 24px 0; }
  .webinar-body { padding: 22px 22px 26px; }
  .demo-head { padding: 26px 22px 14px; }
  .demo-mascot { width: 92px; height: 92px; }
  .demo-form { padding: 6px 20px 22px; }
  .demo-row { grid-template-columns: minmax(0, 1fr); }
  .demo-actions { flex-direction: column-reverse; }
  .demo-actions .btn { flex: 1 1 auto; justify-content: center; }
  .webinar-body h2 { font-size: 23px; }
  .wv-date { left: 14px; bottom: 12px; height: 70px; min-width: 62px; }
  .wv-date b { font-size: 27px; }
  .wv-partner { right: 14px; bottom: 12px; gap: 8px; height: 70px; padding: 0 11px 0 9px; border-radius: 12px; }
  .wv-partner img { height: 48px; }
  .wv-partner small { font-size: 9px; }
  .wv-partner b { font-size: 12.5px; }
}
@media (max-width: 600px) {
  .cta-lead { flex-direction: column; align-items: flex-start; gap: 4px; }
  .asso-cta { width: 108px; margin: -8px 0 -6px -6px; }
}
@media (max-width: 350px) {
  .nav-actions .btn { display: none; }
}
@media (max-width: 400px) {
  .hb-live { font-size: 0; gap: 0; }
  .hb-live i { margin-right: 2px; }
  .site-header .head-bar .wrap { gap: 8px; padding: 0 8px; }
  .hb-count > span { padding: 2px 5px; }
  .hb-count b { font-size: 13.5px; }
  .brand { font-size: 19px; }
  .brand img { width: 30px; }
  .nav-actions .btn-sm { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 480px) {
  .head-bar { font-size: 12.5px; }
  .hb-cta { display: none; }
  .site-header .wrap { padding: 0 16px; gap: 8px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { padding: 9px 12px; font-size: 13.5px; }
  .menu-btn { padding: 8px 11px; font-size: 13px; }
  .nav.open { padding: 10px 16px 16px; }
  .steps.five { grid-template-columns: minmax(0, 1fr); }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Page Académie : même charte que le reste du site (marine, indigo, violet, Inter) ----------
   Fiches de parcours détaillées ; tout est limité à .ac-theme. */
.ac-theme .lead-dark { margin-top: 14px; color: var(--muted); font-size: 17.5px; line-height: 1.7; max-width: 42em; }
.ac-theme .ticks li { }

.ac-hero { padding-bottom: 72px; }
.ac-crest { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #b9b8ff; }
.ac-hero .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.ac-hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.ac-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 46px 0 0; padding: 0; list-style: none; max-width: 840px; }
.ac-stats li { padding: 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.ac-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.ac-stats span { display: block; margin-top: 4px; font-size: 13.5px; color: #c9ccf2; }

.ac-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ac-three > div { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(100, 116, 139, .07); }
.ac-roman { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--indigo-soft); color: var(--indigo-d); font-size: 14px; font-weight: 800; }
.ac-three h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.ac-three p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.ac-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ac-tracks { display: inline-flex; gap: 4px; margin-bottom: 18px; padding: 4px; background: var(--indigo-soft); border: 1px solid #dfe3fb; border-radius: 999px; }
.ac-tracks[hidden] { display: none; }
.ac-track { padding: 10px 20px; font: inherit; font-size: 15px; font-weight: 800; color: var(--indigo-d); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.ac-track:hover { background: rgba(99, 102, 241, .12); }
.ac-track.on { background: var(--indigo); color: #fff; box-shadow: 0 6px 16px rgba(99, 102, 241, .3); }
.ac-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ac-topics[hidden] { display: none; }
.ac-topic { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid #d6dbe9; border-radius: 999px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.ac-topic span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ac-topic:hover { border-color: var(--indigo); color: var(--indigo-d); }
.ac-topic.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.ac-topic.on span { color: #dfe1ff; }
.ac-card[hidden] { display: none; }
.ac-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .15s; }
.ac-card:hover { border-color: #b9bdf7; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(100, 116, 139, .12); }
.ac-card:focus-visible { outline: 3px solid rgba(99, 102, 241, .45); outline-offset: 2px; }
.ac-card.on { border-color: var(--indigo); background: var(--indigo-soft); box-shadow: 0 0 0 2px rgba(99, 102, 241, .22); }
.ac-card-no { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--indigo-d); }
.ac-card b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.ac-card-aud { color: var(--muted); font-size: 14px; line-height: 1.45; }
.ac-card-meta { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--indigo-d); }
html.js .ac-sheet { display: none; }
html.js .ac-sheet.on { display: block; }
.ac-sheet { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(100, 116, 139, .07); overflow: hidden; }
.ac-sheet-head { position: relative; padding: 30px 34px 24px; background: var(--indigo-soft); border-bottom: 1px solid #dfe3fb; }
.ac-sheet-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #395cff, #8b3cff); }
.ac-sheet-no { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--indigo-d); }
.ac-sheet-head h3 { margin-top: 6px; font-size: clamp(24px, 2.8vw, 30px); font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.ac-sheet-aud { margin-top: 6px; color: var(--muted); font-size: 16px; }
.ac-facts { display: flex; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid #d9defa; }
.ac-facts li { flex: 1 1 140px; padding: 14px 18px 0 0; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.ac-facts b { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.ac-sheet-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ac-sheet-side { padding: 28px 34px 32px; border-right: 1px solid var(--line); background: var(--soft); }
.ac-sheet-prog { padding: 28px 34px 32px; }
.ac-sheet h4 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--indigo-d); }
.ac-sheet-side h4:not(:first-child) { margin-top: 26px; }
.ac-sheet-side p { color: var(--text); font-size: 15.5px; line-height: 1.65; }
.ac-sheet-side .ticks { margin: 0; }
.ac-module + .ac-module { margin-top: 24px; }
.ac-module h5 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 6px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.ac-module h5 span { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--indigo-d); }
.ac-module ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ac-module li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ac-n { flex: none; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo-d); font-size: 13.5px; font-weight: 800; }
.ac-lt { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0; }
.ac-lt b { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.ac-lt em { flex: none; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ac-ls { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ac-lq { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--indigo-d); }
.ac-soon { margin-top: 48px; }
.ac-soon > h3 { font-size: 20px; font-weight: 800; }
.ac-soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.ac-soon-card { padding: 22px 24px; border: 1px dashed #c4c9e6; border-radius: var(--radius); }
.ac-soon-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo-d); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ac-soon-card h4 { margin: 12px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.ac-soon-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.ac-anatomy-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.ac-anatomy h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.025em; }
.ac-parts { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: part; border-top: 1px solid var(--line); }
.ac-parts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); counter-increment: part; }
.ac-parts li::before { content: counter(part); grid-row: span 2; align-self: start; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo-d); font-size: 13px; font-weight: 800; }
.ac-parts b { font-size: 16px; font-weight: 800; color: var(--ink); }
.ac-parts span { font-size: 14.5px; color: var(--muted); }
.ac-anatomy-shot { position: sticky; top: calc(var(--head) + 24px); }

.ac-network { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.ac-network h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.025em; }
.ac-faq-list { margin: 0; max-width: 820px; border-top: 1px solid var(--line); }
.ac-faq-list > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ac-faq-list dt { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.ac-faq-list dd { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

@media (max-width: 960px) {
  .ac-sheet-body, .ac-anatomy-grid, .ac-network { grid-template-columns: minmax(0, 1fr); }
  .ac-sheet-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .ac-anatomy-shot { position: static; }
  .ac-three, .ac-soon-grid { grid-template-columns: minmax(0, 1fr); }
  .ac-network { gap: 28px; }
}
@media (max-width: 760px) {
  .ac-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-sheet-head, .ac-sheet-side, .ac-sheet-prog { padding-left: 22px; padding-right: 22px; }
  .ac-lt { flex-direction: column; gap: 2px; }
  .ac-facts li { flex-basis: 45%; }
}

/* Page Essai : puces de réassurance dans l'en-tête, et frise en quatre temps. */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .13); color: #e4e6ff; font-size: 14px; font-weight: 600; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }

/* Accueil, « Le reste de l'outil » : une rangée de fonctions, puis le détail de celle choisie dans un bandeau compact (sans script, tous les détails restent visibles). */
.more { display: grid; gap: 16px; }
.more-list { display: flex; flex-wrap: wrap; gap: 8px; }
.more-tab { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.more-tab .ico { width: 28px; height: 28px; border-radius: 50%; }
.more-tab .ico svg { width: 15px; height: 15px; }
.more-tab:hover { border-color: #c3c6ff; }
.more-tab.on { border-color: var(--indigo); background: var(--indigo); color: #fff; box-shadow: 0 8px 18px rgba(79, 70, 229, .25); }
.more-tab.on .ico { background: rgba(255, 255, 255, .2); color: #fff; }
.more-tab:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.more-panels { display: grid; }
.more-panel { display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 8px 26px; padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 32px rgba(100, 116, 139, .07); }
.more-panel > .ico { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 14px; }
.more-panel > .ico svg { width: 24px; height: 24px; }
.more-panel h3 { grid-column: 2; align-self: end; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.more-panel p { grid-column: 2; align-self: start; color: var(--muted); font-size: 15px; line-height: 1.55; }
.more-panel .ticks { grid-column: 3; grid-row: 1 / span 2; gap: 8px; margin: 0; }
.more-panel .ticks li { font-size: 14.5px; }
.more-link { grid-column: 3; display: none; }
.more-panel > .more-link { display: inline-flex; align-items: center; gap: 6px; grid-column: 2; margin-top: 2px; color: var(--indigo-d); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.more-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.more-link:hover svg { transform: translateX(4px); }
.more.js .more-panel { display: none; }
.more.js .more-panel.on { display: grid; animation: more-in .25s ease-out; }
@keyframes more-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.more:not(.js) .more-list { display: none; }
.more:not(.js) .more-panels { gap: 12px; }
@media (max-width: 860px) {
  .more-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .more-tab { flex: none; white-space: nowrap; }
  .more-panel { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .more-panel .ticks { grid-column: 1 / -1; grid-row: auto; }
  .more-panel > .more-link { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .more.js .more-panel.on { animation: none; } }
