/* IA AGENCY — charte Carla (27/08/2026) : #040053 bleu nuit, #FF5E29 orange, #00E3F8 cyan, #FFFFFF.
   Montserrat Bold (titres), Inclusive Sans Bold (sous-titres), Questrial (corps). Polices locales, aucun service tiers.
   Langage graphique : le réseau de nœuds du logo (orange en haut, cyan en bas), des lignes qui se dessinent,
   un héros qui respire, des révélations en cascade au scroll. */

@font-face { font-family: "Montserrat"; font-weight: 700 800; font-display: swap; src: url("/fonts/Montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Inclusive Sans"; font-weight: 300 700; font-display: swap; src: url("/fonts/InclusiveSans-400.woff2") format("woff2"); }
@font-face { font-family: "Questrial"; font-weight: 400; font-display: swap; src: url("/fonts/Questrial-400.woff2") format("woff2"); }

:root {
  --navy: #040053; --navy-2: #0a0a8c; --navy-deep: #020034; --ink: #0f0f2e; --muted: #4f5175;
  --orange: #ff5e29; --orange-2: #ff8a5c; --cyan: #00e3f8; --cyan-deep: #00b5c6; --white: #fff;
  --line: #dfe1ee; --surface: #f5f6fc; --surface-2: #eef0fa;
  --font-title: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-sub: "Inclusive Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --r: 18px; --max: 1160px; --ease: cubic-bezier(.2,.7,.2,1);
  --mx: 0; --my: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
::selection { background: var(--cyan); color: var(--navy); }

h1, h2, h3 { font-family: var(--font-title); font-weight: 800; line-height: 1.08; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 0; }
h3 { font-family: var(--font-sub); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; margin-top: 1.4rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin: .3em 0; }
strong { font-family: var(--font-sub); font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.accent { color: var(--orange); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-family: var(--font-sub); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head h2 { position: relative; }
.section-head h2::after { content: ""; display: block; width: 0; height: 4px; margin-top: .6rem; background: linear-gradient(90deg, var(--orange), var(--cyan)); border-radius: 2px; transition: width 1s var(--ease) .2s; }
.is-visible .section-head h2::after, .section-head.is-visible h2::after { width: 72px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- révélations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > :nth-child(1) { transition-delay: .05s } .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .15s }
.reveal-stagger.is-visible > :nth-child(3) { transition-delay: .25s } .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .35s }
.reveal-stagger.is-visible > :nth-child(5) { transition-delay: .45s } .reveal-stagger.is-visible > :nth-child(6) { transition-delay: .55s }
.split-text { text-wrap: wrap; }
.split-text .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-text .word-inner { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + .15s); }
.split-text.is-visible .word-inner { transform: none; }
/* En-têtes de page : entrée par animation CSS (ne dépend ni du scroll ni d'un onglet actif). */
@keyframes enter-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { transform: translateY(110%); } to { transform: none; } }
.hero .reveal, .page-head .reveal, .fiche-head .reveal { opacity: 1; transform: none; transition: none; animation: enter-up .9s var(--ease) .45s both; }
.hero .reveal-stagger > *, .fiche-head .reveal-stagger > * { opacity: 1; transform: none; transition: none; animation: enter-up .8s var(--ease) both; }
.hero .reveal-stagger > :nth-child(1), .fiche-head .reveal-stagger > :nth-child(1) { animation-delay: .6s } .hero .reveal-stagger > :nth-child(2), .fiche-head .reveal-stagger > :nth-child(2) { animation-delay: .7s }
.hero .reveal-stagger > :nth-child(3), .fiche-head .reveal-stagger > :nth-child(3) { animation-delay: .8s } .hero .reveal-stagger > :nth-child(4), .fiche-head .reveal-stagger > :nth-child(4) { animation-delay: .9s }
.hero .split-text .word-inner, .page-head .split-text .word-inner, .fiche-head .split-text .word-inner { transform: none; transition: none; animation: word-up .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + .15s); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .split-text .word-inner { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
}

/* ---------- en-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(4, 0, 83, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--white); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px rgba(2, 0, 52, .35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--white); text-decoration: none; font-family: var(--font-title); font-weight: 800; letter-spacing: .04em; font-size: 1.05rem; }
.brand img { width: 46px; height: 46px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span b { color: var(--orange); }
.nav { display: flex; gap: .15rem; align-items: center; }
.nav a { position: relative; color: rgba(255,255,255,.86); text-decoration: none; padding: .6rem .8rem; border-radius: 8px; font-family: var(--font-sub); font-weight: 700; font-size: .93rem; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .cta { background: var(--orange); color: var(--navy); margin-left: .5rem; padding: .65rem 1.1rem; border-radius: 999px; }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--orange-2); color: var(--navy); }
.nav-toggle { display: none; background: transparent; border: 2px solid rgba(255,255,255,.5); color: var(--white); border-radius: 999px; padding: .5rem .9rem; font-family: var(--font-sub); font-weight: 700; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  .nav.open { display: flex; }
  .nav .cta { margin: .4rem 0 0; text-align: center; }
  .header .wrap { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .brand { font-size: .92rem; gap: .5rem; }
  .brand img { width: 40px; height: 40px; }
  .nav-toggle { padding: .45rem .75rem; }
}
.readbar { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--orange), var(--cyan)); z-index: 60; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.5rem; border-radius: 999px; font-family: var(--font-sub); font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 30px rgba(255, 94, 41, .28); }
.btn-primary:hover { background: var(--orange-2); color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 94, 41, .36); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 30px rgba(4, 0, 83, .25); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); transform: translateY(-2px); }

/* ---------- héros ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); isolation: isolate; }
.hero-bg { position: absolute; inset: -20%; z-index: -2; background:
  radial-gradient(60% 55% at 78% 22%, rgba(0, 227, 248, .32), transparent 62%),
  radial-gradient(45% 45% at 12% 88%, rgba(255, 94, 41, .30), transparent 60%),
  radial-gradient(70% 60% at 50% 50%, #0b0b8f, var(--navy) 70%);
  animation: hero-breathe 18s ease-in-out infinite alternate;
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -14px), 0);
  transition: transform .6s var(--ease);
}
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); }
@keyframes hero-breathe { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(2%, -1.5%, 0) scale(1.06); } 100% { transform: translate3d(-1.5%, 1.5%, 0) scale(1.03); } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-logo { max-width: 400px; justify-self: center; } }
@media (max-width: 640px) { .eyebrow { white-space: normal; } .hero h1 { max-width: none; } .hero-facts { gap: 1rem 1.4rem; } }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 58ch; color: rgba(255,255,255,.86); }
.hero .kicker { color: var(--cyan); }
.hero .kicker::before { background: var(--cyan); }
.hero .actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.fiche-body h3.sub { margin: 1.6rem 0 .6rem; font-family: var(--font-sub); font-size: 1.05rem; color: var(--navy); }
.fiche-body h3.sub + .timeline, .fiche-body h3.sub + p + .timeline { margin-top: .4rem; }
/* Héros : le logo de Carla (fichier de l'en-tête) inliné par site/logo.ts. Ordre d'entrée : nœuds → segments → anneau → livre → mot-symbole. */
.hero-logo { position: relative; width: 100%; max-width: 520px; justify-self: end; transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 18px), 0); transition: transform .6s var(--ease); }
.hero-logo svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 20px 60px rgba(0, 227, 248, .18)); }
.lg-node { transform-box: fill-box; transform-origin: center; animation: node-in .7s var(--ease) both, pulse 3.8s ease-in-out infinite; animation-delay: calc(.15s + var(--i) * .13s), calc(2.2s + var(--i) * .45s); }
@keyframes node-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.lg-line { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 1.2s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .1s); }
.lg-ring { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 1s 1.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lg-book { opacity: 0; transform-box: fill-box; transform-origin: center; animation: book-in 1.1s 1.8s var(--ease) forwards; }
@keyframes book-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lg-word { opacity: 0; animation: word-in 1s 2.4s var(--ease) forwards; }
@keyframes word-in { to { opacity: 1; } }
.net-float { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 16px; opacity: 0; animation: cue-fade 1.5s 1.2s ease forwards, cue-bob 2.6s 2s ease-in-out infinite; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue-dot 2.6s 2s ease-in-out infinite; }
@keyframes cue-fade { to { opacity: .7; } } @keyframes cue-bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 8px; } } @keyframes cue-dot { 0% { top: 8px; opacity: 1; } 70% { top: 22px; opacity: 0; } 100% { top: 8px; opacity: 0; } }
.hero-facts { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-facts div { font-family: var(--font-sub); font-weight: 700; font-size: .92rem; color: rgba(255,255,255,.8); }
.hero-facts strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; color: var(--white); letter-spacing: -.02em; }

/* ---------- workflow animé (signature) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; position: relative; padding: 1.2rem 0; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(1.2rem + 32px); height: 2px; background: rgba(4,0,83,.12); }
.flow.on-dark::before { background: rgba(255,255,255,.16); }
.flow-line { position: absolute; left: 10%; top: calc(1.2rem + 32px); height: 2px; width: 0; background: linear-gradient(90deg, var(--orange), var(--cyan)); }
.flow.is-visible .flow-line { animation: flow-line 6s var(--ease) infinite; }
@keyframes flow-line { 0% { width: 0; opacity: 1; } 70% { width: 80%; opacity: 1; } 92% { width: 80%; opacity: 0; } 100% { width: 0; opacity: 0; } }
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; position: relative; z-index: 1; }
.flow-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid rgba(4,0,83,.14); color: var(--navy); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s; }
.flow.on-dark .flow-icon { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: var(--white); }
.flow-icon svg { width: 26px; height: 26px; }
.flow.is-visible .flow-step .flow-icon { animation: flow-step 6s var(--ease) infinite; animation-delay: calc(var(--n) * .9s); }
@keyframes flow-step { 0%, 8% { transform: scale(1); border-color: rgba(4,0,83,.14); box-shadow: none; } 12%, 30% { transform: scale(1.12); border-color: var(--orange); box-shadow: 0 0 0 8px rgba(255,94,41,.14); } 40%, 100% { transform: scale(1); border-color: var(--cyan-deep); box-shadow: none; } }
.flow.on-dark.is-visible .flow-step .flow-icon { animation-name: flow-step-dark; }
@keyframes flow-step-dark { 0%, 8% { transform: scale(1); border-color: rgba(255,255,255,.22); box-shadow: none; } 12%, 30% { transform: scale(1.12); border-color: var(--orange); box-shadow: 0 0 0 8px rgba(255,94,41,.18); } 40%, 100% { transform: scale(1); border-color: var(--cyan); box-shadow: none; } }
.flow-step strong { font-size: .9rem; color: inherit; }
.flow-step span { font-size: .82rem; color: var(--muted); max-width: 18ch; }
.flow.on-dark .flow-step span { color: rgba(255,255,255,.7); }
@media (max-width: 720px) { .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; } .flow-icon { width: 48px; height: 48px; } .flow-icon svg { width: 20px; height: 20px; } .flow-step span { display: none; } .flow::before, .flow-line { top: calc(1.2rem + 24px); } }

/* ---------- sections ---------- */
.section { padding: clamp(3.4rem, 7vw, 6rem) 0; position: relative; }
.section.alt { background: var(--surface); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .section-head p { color: rgba(255,255,255,.78); }
.section.dark .eyebrow { color: var(--cyan); } .section.dark .eyebrow::before { background: var(--cyan); }
.grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* ---------- cartes ---------- */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(4, 0, 83, .12); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-top: .2rem; font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--orange); }
.card .chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-sub); font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: .28rem .7rem; border-radius: 999px; background: var(--surface-2); color: var(--navy); }
.chip.o { background: rgba(255,94,41,.12); color: #b83a0f; }
.chip.c { background: rgba(0,227,248,.16); color: #005f69; }
.card .price { color: var(--navy); font-family: var(--font-sub); font-weight: 700; }
.card .price small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8rem; }
.card a.more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-sub); font-weight: 700; text-decoration: none; }
.card a.more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover a.more svg { transform: translateX(5px); }
.card.dark { background: linear-gradient(160deg, #0b0b8c, var(--navy)); color: var(--white); border-color: transparent; }
.card.dark h3, .card.dark a, .card.dark .price { color: var(--white); }
.card.dark .chip { background: rgba(255,255,255,.12); color: var(--white); }
.card-num { font-family: var(--font-title); font-weight: 800; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(4,0,83,.35); }
.card.dark .card-num { -webkit-text-stroke-color: rgba(255,255,255,.45); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,227,248,.18), rgba(255,94,41,.14)); color: var(--navy); }
.icon-badge svg { width: 26px; height: 26px; }
.card.dark .icon-badge { color: var(--cyan); background: rgba(255,255,255,.08); }

/* ---------- parcours (timeline horizontale) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); position: relative; }
.steps li { counter-increment: step; position: relative; padding: 1.6rem 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: transform .4s var(--ease), box-shadow .4s; }
.steps li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(4,0,83,.1); }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: 12px; background: var(--navy); color: var(--cyan); font-family: var(--font-title); font-weight: 800; margin-bottom: .8rem; letter-spacing: .04em; }
.steps li strong { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: .3rem; }
.steps li p { margin: 0; font-size: .95rem; color: var(--muted); }
.badges { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.badges li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .9rem; font-size: .9rem; font-family: var(--font-sub); font-weight: 700; color: var(--navy); transition: border-color .3s, color .3s, transform .3s var(--ease); }
.badges li:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.section.dark .badges li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--white); }

/* ---------- bandeau CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, #0b0b8c); color: var(--white); border-radius: 26px; padding: clamp(2.2rem, 5vw, 3.6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(0,227,248,.28), transparent 65%); }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- visuels ---------- */
.card-img { margin: -1.7rem -1.7rem 1rem; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.08); }
.page-head.has-img { padding: clamp(4rem, 9vw, 7rem) 0; }
.page-head.has-img .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: img-drift 24s ease-in-out infinite alternate; }
.page-head.has-img .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4, 0, 83, .92) 0%, rgba(4, 0, 83, .78) 45%, rgba(4, 0, 83, .35) 100%); }
.page-head.has-img::before { display: none; }
@keyframes img-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.fiche-head.has-img .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; animation: img-drift 26s ease-in-out infinite alternate; }
.fiche-head.has-img .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,0,83,.2), rgba(4,0,83,.9)); }
.figure { border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px rgba(4,0,83,.18); aspect-ratio: 3 / 2; }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- pages standard ---------- */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 4.8rem) 0; }
.page-head::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(50% 50% at 85% 30%, rgba(0,227,248,.28), transparent 60%), radial-gradient(40% 40% at 10% 90%, rgba(255,94,41,.24), transparent 60%); animation: hero-breathe 20s ease-in-out infinite alternate; }
.page-head .wrap { position: relative; }
.page-head h1 { color: var(--white); max-width: 22ch; }
.page-head p { max-width: 66ch; color: rgba(255,255,255,.82); margin: 0; font-size: 1.08rem; }
.page { padding: clamp(3rem, 6vw, 4.5rem) 0 4rem; }
.page .content { max-width: 74ch; }
.page .content h2 { font-size: 1.55rem; margin-top: 2.4rem; }
.page .content h2:first-child { margin-top: 0; }
.page .content ol { counter-reset: n; list-style: none; padding: 0; }
.page .content ol li { counter-increment: n; position: relative; padding-left: 3rem; margin: .8rem 0; }
.page .content ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .15rem; font-family: var(--font-title); font-weight: 800; color: var(--orange); }
.version { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; }

/* ---------- fiche formation ---------- */
.fiche-head { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.4rem, 5vw, 4rem); }
.fiche-head::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(50% 50% at 82% 25%, rgba(0,227,248,.30), transparent 60%), radial-gradient(45% 45% at 8% 95%, rgba(255,94,41,.26), transparent 60%); animation: hero-breathe 20s ease-in-out infinite alternate; }
.fiche-head .wrap { position: relative; }
.fiche-head h1 { color: var(--white); max-width: 20ch; }
.fiche-head .code { display: inline-flex; gap: .6rem; align-items: center; color: var(--cyan); font-family: var(--font-sub); font-weight: 700; letter-spacing: .1em; font-size: .82rem; text-transform: uppercase; margin-bottom: 1rem; }
.fiche-head .lead { font-size: 1.12rem; max-width: 68ch; color: rgba(255,255,255,.86); }
.facts { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin: 1.8rem 0 0; }
.facts > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; backdrop-filter: blur(6px); }
.facts > div > div { display: block; min-width: 0; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts > div { padding: .8rem .9rem; } }
.facts svg { width: 24px; height: 24px; color: var(--cyan); flex: none; }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); font-family: var(--font-sub); font-weight: 700; }
.facts dd { margin: .1rem 0 0; font-family: var(--font-sub); font-weight: 700; font-size: .98rem; }
.fiche-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; padding: clamp(2.6rem, 5vw, 4rem) 0; }
@media (max-width: 960px) { .fiche-body { grid-template-columns: 1fr; } }
.fiche-body h2 { font-size: 1.5rem; margin-top: 2.6rem; padding-top: .2rem; scroll-margin-top: 100px; }
.fiche-body h2:first-of-type { margin-top: 0; }
.fiche-body h2 span { color: var(--orange); font-size: .9rem; font-family: var(--font-sub); letter-spacing: .1em; display: block; margin-bottom: .3rem; }
.aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 1rem; }
.aside .card { padding: 1.4rem; }
.aside .price { font-size: 1.5rem; font-family: var(--font-title); font-weight: 800; color: var(--navy); }
.aside ul { padding-left: 1.1em; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.toc { display: flex; gap: .4rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 2rem; }
.toc a { font-size: .86rem; font-family: var(--font-sub); font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.toc a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.checklist { list-style: none; padding: 0; }
.checklist-2 { columns: 14rem 2; column-gap: 2rem; }
.checklist li { position: relative; padding-left: 2rem; margin: .5rem 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000' stroke='none'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: none; }
.checklist li::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3C/svg%3E") center / contain no-repeat; }
.checklist li::after { content: ""; position: absolute; left: 5px; top: .62rem; width: 8px; height: 4px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--orange), var(--cyan)); border-radius: 2px; }
.jour { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.5rem; margin-bottom: 1.1rem; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s; }
.jour:hover { transform: translateX(4px); box-shadow: 0 14px 36px rgba(4,0,83,.08); }
.jour::before { content: attr(data-n); position: absolute; left: -2.6rem; top: 1.2rem; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--cyan); display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; font-size: .85rem; box-shadow: 0 0 0 6px var(--white); }
.jour h3 { margin-top: 0; font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; }
.jour ul { list-style: none; padding: 0; margin-bottom: .6rem; }
.jour li { display: grid; grid-template-columns: 7.2rem 1fr; gap: .8rem; padding: .35rem 0; border-top: 1px dashed var(--line); font-size: .96rem; }
.jour li:first-child { border-top: 0; }
.jour li b { font-family: var(--font-sub); font-weight: 700; color: var(--navy); font-size: .88rem; white-space: nowrap; }
.jour .livrable { display: inline-flex; gap: .5rem; align-items: center; font-family: var(--font-sub); font-weight: 700; color: var(--navy); font-size: .92rem; background: var(--surface); border-radius: 999px; padding: .3rem .9rem; }
.jour .livrable::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@media (max-width: 560px) { .jour li { grid-template-columns: 1fr; gap: .1rem; } }
.note { font-size: .82rem; color: var(--muted); }

/* ---------- formulaire ---------- */
.form { display: grid; gap: 1.1rem; max-width: 720px; }
.form .row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-sub); font-weight: 700; color: var(--navy); margin-bottom: .35rem; font-size: .94rem; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; padding: .8rem .95rem; border: 1.5px solid #c3c6da; border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0,227,248,.22); outline: none; }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: auto; margin-top: .3rem; accent-color: var(--orange); }
.check label { font-weight: 400; font-family: var(--font-body); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { border-radius: 12px; padding: 1rem 1.2rem; font-family: var(--font-sub); font-weight: 700; display: none; }
.status[data-state="sending"] { display: block; background: var(--surface); color: var(--navy); }
.status[data-state="ok"] { display: block; background: #e6fbf5; color: #0a5c46; border: 1px solid #9fe3cf; }
.status[data-state="error"] { display: block; background: #fff1ec; color: #8a2a08; border: 1px solid #ffc4ae; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- pied de page ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 4rem 0 2rem; margin-top: 0; font-size: .95rem; }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 90% 10%, rgba(0,227,248,.12), transparent 60%); }
.footer .wrap { position: relative; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 2.4rem; }
.footer-top img { width: 150px; height: auto; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer h3 { color: var(--cyan); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 0; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin: .45rem 0; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .85rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
