/* Page d'accueil publique (vitrine) de Neovectra : le récit des 9 points (maquette docs/maquettes/landing.html). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --encre: #3B2418; --primaire: #C2410C; --primaire-fonce: #9A3412; --accent: #0F766E; --brume: #FEF1E8;
  --fond: #FBF6F0; --texte: #2E2420; --secondaire: #6B5B52; --bordure: #DDCDBE; --brique: #9F1239; --vert-clair: #F0FDFA;
  --duree-courte: 150ms; --duree: 250ms; --duree-longue: 400ms; --courbe: cubic-bezier(.2, .8, .2, 1); --ressort: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: "Figtree", system-ui, sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
.dedans { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Progression de lecture ---------- */
.progression-lecture { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--primaire), #F59E0B, var(--accent)); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 240, .6); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color var(--duree), background-color var(--duree); }
.entete.defile { border-bottom-color: rgba(221, 205, 190, .7); background: rgba(251, 246, 240, .85); }
.entete .dedans { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.marque { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .08em; color: var(--encre); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { position: relative; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--secondaire); padding: 8px 12px; border-radius: 12px; transition: color var(--duree-courte); }
.menu a:not(.connexion)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primaire); transform: scaleX(0); transform-origin: left; transition: transform var(--duree) var(--courbe); }
.menu a:hover { color: var(--primaire-fonce); }
.menu a:hover::after, .menu a.actif::after { transform: scaleX(1); }
.menu .connexion { border: 1px solid var(--bordure); color: var(--encre); margin-left: 6px; background: rgba(255,255,255,.6); }
@media (max-width: 820px) { .menu a:not(.connexion) { display: none; } }

/* ---------- Boutons aimantés ---------- */
.bouton { --x: 0px; --y: 0px; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0; background: var(--primaire); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  transform: translate(var(--x), var(--y)); transition: background-color var(--duree-courte), transform var(--duree) var(--ressort), box-shadow var(--duree); }
.bouton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--courbe); }
.bouton:hover::before { transform: translateX(120%); }
.bouton:hover { background: var(--primaire-fonce); box-shadow: 0 10px 24px rgba(194, 65, 12, .25); }
.bouton:active { transform: translate(var(--x), var(--y)) scale(.97); }
.bouton .fleche { transition: transform var(--duree) var(--ressort); }
.bouton:hover .fleche { transform: translateX(4px); }
.bouton.vert { background: var(--accent); }
.bouton.vert:hover { background: #115E59; box-shadow: 0 10px 24px rgba(15, 118, 110, .25); }
.bouton.blanc { background: #fff; color: var(--encre); }
.bouton.blanc:hover { background: var(--brume); box-shadow: 0 10px 24px rgba(0,0,0,.15); }

section, footer { position: relative; }
.bande { padding: 96px 0; }
.bande.blanche { background: #fff; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.surtitre::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
h1, h2, h3 { color: var(--encre); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; margin: 0; font-variation-settings: "wght" var(--graisse, 800); font-weight: 800; }
.chapo { font-size: 18px; color: var(--secondaire); max-width: 640px; margin: 14px 0 0; }

/* =====================================================================================
   1. LE RÉCIT : une scène fixe pendant le défilement. Les 9 points du logo racontent le
   parcours : le logo se défait (les questions), se range (9 dimensions), se mesure (l'indice),
   puis trace un chemin qui monte (le plan d'action).
   ===================================================================================== */
/* Le récit remonte sous l'en-tête (67 px) : dès l'arrivée, la scène tient dans l'écran comme une fois collée en haut.
   100svh : la hauteur visible quand les barres du navigateur mobile sont affichées. */
.recit { height: 560vh; margin-top: -67px; }
.scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.ciel { position: absolute; inset: 0; z-index: -2; background: var(--ciel, #FBF6F0); }
.tache { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; pointer-events: none; }
.scene .tache { z-index: -1; }
.t1 { width: 560px; height: 560px; background: #FDBA74; opacity: .45; top: -10%; left: 55%; animation: derive1 18s ease-in-out infinite; }
.t2 { width: 460px; height: 460px; background: #99F6E4; opacity: .30; top: 50%; left: 70%; animation: derive2 22s ease-in-out infinite; }
.t3 { width: 420px; height: 420px; background: #FED7AA; opacity: .40; top: 45%; left: -8%; animation: derive3 20s ease-in-out infinite; }
@keyframes derive1 { 50% { transform: translate(-80px, 60px) scale(1.1); } }
@keyframes derive2 { 50% { transform: translate(-60px, -70px) scale(.9); } }
@keyframes derive3 { 50% { transform: translate(70px, 40px) scale(1.15); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .045; pointer-events: none; background-image: radial-gradient(#3B2418 1px, transparent 1px); background-size: 4px 4px; }

/* Le texte occupe la gauche ; la constellation commence après lui, sans jamais le recouvrir. */
.scene { --marge: max(16px, calc((100% - 1120px) / 2 + 16px)); --largeur-texte: min(480px, 40%); }
/* Largeur et hauteur explicites : un SVG ne s'étire pas entre « left » et « right », il garderait ses proportions
   et déborderait de l'écran sur les grands écrans. */
#constellation { position: absolute; top: 66px; left: calc(var(--marge) + var(--largeur-texte) + 40px);
  width: calc(100% - var(--marge) - var(--largeur-texte) - 96px); height: calc(100% - 66px); overflow: visible; }
/* Sur téléphone, la constellation occupe le haut, au-dessus du plus haut des textes (hauteur calculée en JS). */
@media (max-width: 920px) { #constellation { left: 0; width: 100%; height: max(160px, calc(100% - 66px - var(--hauteur-textes, 50%))); transition: height .5s var(--courbe); } }
#constellation .lien { stroke: var(--primaire); stroke-linecap: round; fill: none; }
#constellation .rayon { stroke: #E7D6C6; }
#constellation .grille { fill: none; stroke: #EBDCCD; }
#constellation .forme { fill: rgba(194, 65, 12, .14); stroke: var(--primaire); stroke-width: 2.2; stroke-linejoin: round; }
#constellation .point { fill: var(--primaire); }
#constellation .halo-point { fill: var(--primaire); opacity: .14; }
#constellation .etiquette { font: 700 12.5px "Figtree", sans-serif; fill: var(--encre); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--fond); stroke-width: 5px; stroke-linejoin: round; }
#constellation .question { font: 800 22px "Figtree", sans-serif; fill: var(--primaire); text-anchor: middle; dominant-baseline: middle; }
#constellation .chiffre { font: 800 64px "Figtree", sans-serif; fill: var(--encre); text-anchor: middle; dominant-baseline: middle; letter-spacing: -2px; }
#constellation .sur { font: 700 14px "Figtree", sans-serif; fill: var(--secondaire); text-anchor: middle; }
#constellation .fleche { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
#constellation .chemin { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 9; }
#constellation .mois { font: 800 11px "Figtree", sans-serif; fill: var(--accent); text-anchor: middle; }

.chapitres { position: absolute; inset: 66px 0 0 0; pointer-events: none; }
.chapitre { position: absolute; left: var(--marge); top: 50%; width: var(--largeur-texte); transform: translateY(-50%); pointer-events: none; }
.js .chapitre { opacity: 0; }
.chapitre.actif { pointer-events: auto; }
@media (max-width: 920px) {
  .chapitre { top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; transform: none; }
  .chapitre .chapo { font-size: 16px; }
  .entrees { margin-top: 18px; }
  .entrees .bouton { min-height: 46px; flex: 1 1 100%; }
}
.chapitre h2 { font-size: clamp(30px, 4.4vw, 54px); }
.chapitre h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; margin: 0; font-weight: 800; }
@media (max-width: 920px) { .chapitre h1 { font-size: clamp(34px, 9vw, 48px); } }
.chapitre h1 .accent { background: linear-gradient(90deg, var(--primaire), #EA580C, #F59E0B, var(--primaire)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: reflet 6s ease-in-out infinite; }
@keyframes reflet { 50% { background-position: 100% 0; } }
.mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.mot > span { display: inline-block; transition: transform 900ms var(--courbe); }
.js .mot > span { transform: translateY(105%); }
.js .titre-pret .mot > span { transform: none; }
.entrees { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.entrees .bouton { min-height: 50px; }

/* Bouton « Voir la vidéo » et lecteur par-dessus la page */
.voir-video { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 800; color: var(--encre); text-decoration: none; }
.voir-video .lecture { position: relative; width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--bordure); box-shadow: 0 6px 16px rgba(59,36,24,.1); transition: transform var(--duree) var(--ressort), background-color var(--duree); }
.voir-video .lecture::after { content: ""; position: absolute; left: 16px; top: 13px; border-left: 11px solid var(--primaire); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.voir-video:hover .lecture { transform: scale(1.1); background: var(--brume); }
.voir-video:hover { color: var(--primaire-fonce); }
.lecteur { padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; max-width: min(92vw, 1100px); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lecteur::backdrop { background: rgba(43, 26, 17, .78); backdrop-filter: blur(6px); }
.lecteur video { display: block; width: 100%; max-height: 86vh; border-radius: 20px; }
.lecteur .fermer { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: #fff; color: var(--encre); font: 800 26px/1 inherit; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
@media (max-width: 920px) {
  /* Sur téléphone, le bouton passe au-dessus du titre, pour rester dans le premier écran. */
  #texte-accroche { display: flex; flex-direction: column; }
  .voir-video { order: -1; margin: 0 0 14px; font-size: 15px; }
  .voir-video .lecture { width: 34px; height: 34px; }
  .voir-video .lecture::after { left: 13px; top: 10px; }
  .lecteur .fermer { top: 8px; right: 8px; }
  .lecteur { max-width: 94vw; }
}
.questions-flottantes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.questions-flottantes li { background: rgba(255,255,255,.8); backdrop-filter: blur(6px); border: 1px solid var(--bordure); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--encre); }
.chiffres-cles { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; }
.chiffres-cles div { font-size: 13px; color: var(--secondaire); font-weight: 600; }
.chiffres-cles b { display: block; font-size: 26px; color: var(--encre); letter-spacing: -.02em; }

/* Repères de chapitre, à droite */
.reperes { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 3; }
.reperes button { position: relative; width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--primaire); background: transparent; padding: 0; cursor: pointer; transition: background-color var(--duree), transform var(--duree) var(--ressort); }
.reperes button.actif { background: var(--primaire); transform: scale(1.3); }
.reperes button span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--encre); background: #fff; border: 1px solid var(--bordure); border-radius: 8px; padding: 3px 8px; opacity: 0; transition: opacity var(--duree), transform var(--duree) var(--courbe); pointer-events: none; }
.reperes button:hover span, .reperes button:focus-visible span { opacity: 1; transform: translateY(-50%); }
@media (max-width: 920px) { .reperes { top: 90px; transform: none; right: 12px; } }
.indice-defile { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--secondaire); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.indice-defile span { width: 22px; height: 34px; border: 2px solid var(--bordure); border-radius: 12px; position: relative; }
.indice-defile span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primaire); animation: molette 1.8s ease-in-out infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 920px) { .indice-defile { display: none; } }

/* ---------- 2. Phrase qui s'éclaire et principes ---------- */
.manifeste { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; max-width: 980px; margin: 0; }
.manifeste .m { color: rgba(59, 36, 24, .14); transition: color 300ms ease; }
.manifeste .m.lu { color: var(--encre); }
.manifeste .m.lu.fort { color: var(--primaire); }
.indice-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 56px; }
@media (max-width: 920px) { .indice-grille { grid-template-columns: 1fr; } }
.principes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.principes li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--bordure); border-radius: 20px; padding: 18px; transition: transform var(--duree) var(--courbe), box-shadow var(--duree); }
.principes li:hover { transform: translateX(6px); box-shadow: -6px 10px 24px rgba(59, 36, 24, .06); }
.principes .icone { width: 38px; height: 38px; border-radius: 12px; background: var(--vert-clair); color: var(--accent); display: grid; place-items: center; font-weight: 800; flex: none; }
.principes b { display: block; color: var(--encre); }
.principes span { color: var(--secondaire); font-size: 15px; }
.paliers { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 560px) { .paliers { grid-template-columns: 1fr 1fr; } }
.paliers div { border-radius: 14px; padding: 12px 10px; font-size: 13px; font-weight: 800; color: #fff; transform-origin: bottom; }
.paliers.visible div { animation: monte .7s var(--ressort) both; }
.paliers.visible div:nth-child(2) { animation-delay: .1s; } .paliers.visible div:nth-child(3) { animation-delay: .2s; } .paliers.visible div:nth-child(4) { animation-delay: .3s; }
@keyframes monte { from { transform: scaleY(0); } }
.paliers small { display: block; font-weight: 600; opacity: .92; }

/* ---------- 3 et 4. Professionnels et particuliers ---------- */
.public { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .public { grid-template-columns: 1fr; } }
.atouts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .atouts { grid-template-columns: 1fr; } }
.atouts li { --rx: 0deg; --ry: 0deg; background: var(--fond); border: 1px solid transparent; border-radius: 20px; padding: 18px; transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 300ms var(--courbe), border-color var(--duree), background-color var(--duree); }
.bande:not(.blanche) .atouts li { background: #fff; }
.atouts li:hover { border-color: var(--bordure); }
.atouts b { display: block; color: var(--encre); margin: 10px 0 4px; }
.atouts span { color: var(--secondaire); font-size: 15px; }
.encadre { position: relative; overflow: hidden; background: var(--encre); color: #fff; border-radius: 30px; padding: 32px; isolation: isolate; }
.encadre::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(253, 186, 116, .55), transparent 65%); z-index: -1; animation: derive2 14s ease-in-out infinite; }
.encadre.vert { background: var(--accent); }
.encadre.vert::before { background: radial-gradient(circle, rgba(153, 246, 228, .5), transparent 65%); }
.encadre h3 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.encadre p { color: #F5E9DF; margin: 0 0 20px; }
.encadre.vert p { color: #E6FFFB; }
.encadre .petit { font-size: 13px; color: #E8D5C6; margin: 14px 0 0; }

/* ---------- 5. Engagements ---------- */
.confiance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 920px) { .confiance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .confiance { grid-template-columns: 1fr; } }
.confiance div { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--bordure); border-radius: 22px; padding: 20px; transition: transform var(--duree) var(--courbe), box-shadow var(--duree); }
.confiance div::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--primaire), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--courbe); }
.confiance div:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(59, 36, 24, .08); }
.confiance div:hover::after { transform: scaleX(1); }
.confiance b { display: block; color: var(--encre); margin: 12px 0 4px; }
.confiance span { color: var(--secondaire); font-size: 15px; }

/* ---------- Icônes Neovectra (traits arrondis, dessinées à l'apparition et au survol) ---------- */
.ic { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--brume); color: var(--primaire); transition: transform 500ms var(--ressort), background-color var(--duree), color var(--duree); }
.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; overflow: visible; }
.revele.visible .ic svg { animation: trace 1.1s var(--courbe) both .15s; }
li:hover .ic svg, .confiance div:hover .ic svg { animation: trace .9s var(--courbe) both; }
li:hover .ic, .confiance div:hover .ic { transform: rotate(-6deg) scale(1.08); background: var(--primaire); color: #fff; }
.bande:not(.blanche) .ic { background: var(--vert-clair); color: var(--accent); }
.bande:not(.blanche) li:hover .ic { background: var(--accent); color: #fff; }
@keyframes trace { from { stroke-dashoffset: 1; } }

/* ---------- 6. Questions ---------- */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; max-width: 840px; }
.faq details { background: #fff; border: 1px solid var(--bordure); border-radius: 18px; padding: 4px 20px; interpolate-size: allow-keywords; transition: border-color var(--duree), box-shadow var(--duree); }
.bande.blanche .faq details { background: var(--fond); }
.faq details[open] { border-color: var(--primaire); box-shadow: 0 12px 28px rgba(194, 65, 12, .08); }
.faq details::details-content { height: 0; overflow: clip; transition: height var(--duree-longue) var(--courbe), content-visibility var(--duree-longue) allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 56px; font-weight: 800; color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--brume); color: var(--primaire); font-size: 20px; flex: none; transition: transform var(--duree-longue) var(--ressort), background-color var(--duree); }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--primaire); color: #fff; }
.faq p { margin: 0 0 18px; color: var(--secondaire); }

/* ---------- 7. Dernier appel : le logo se rassemble ---------- */
.final { overflow: hidden; isolation: isolate; text-align: center; background: var(--encre); color: #fff; padding: 110px 0; }
.final h2 { color: #fff; font-size: clamp(32px, 5vw, 60px); }
.final .chapo { color: #E8D5C6; margin-left: auto; margin-right: auto; }
.final .tache { opacity: .3; z-index: -1; }
.final .t1 { left: 5%; top: 0; } .final .t2 { left: 65%; top: 30%; }
.logo-assemble { width: 120px; height: 120px; margin: 0 auto 26px; display: block; overflow: visible; }
.logo-assemble circle { fill: #FDBA74; transform-box: fill-box; transform-origin: center; transition: transform 1.4s var(--ressort), opacity .8s ease; }
.js .logo-assemble circle { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: 0; }
.logo-assemble circle:nth-of-type(2) { transition-delay: 0.06s; } .logo-assemble circle:nth-of-type(3) { transition-delay: 0.12s; } .logo-assemble circle:nth-of-type(4) { transition-delay: 0.18s; } .logo-assemble circle:nth-of-type(5) { transition-delay: 0.24s; } .logo-assemble circle:nth-of-type(6) { transition-delay: 0.30s; } .logo-assemble circle:nth-of-type(7) { transition-delay: 0.36s; } .logo-assemble circle:nth-of-type(8) { transition-delay: 0.42s; }
.logo-assemble path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.logo-assemble .ligne { stroke: rgba(253, 186, 116, .4); stroke-width: 4; transition: stroke-dashoffset 1s var(--courbe) .6s; }
.logo-assemble .fleche { stroke: #5EEAD4; stroke-width: 9; transition: stroke-dashoffset .9s var(--courbe) 1.3s; }
.js .logo-assemble path { stroke-dashoffset: 1; }
.js .logo-assemble.visible circle { transform: none; opacity: 1; }
.js .logo-assemble.visible path { stroke-dashoffset: 0; }

/* ---------- 8. Pied de page ---------- */
footer { background: #1F140D; color: #E8D5C6; padding: 44px 0; font-size: 14px; }
footer .dedans { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer a { color: #fff; font-weight: 700; }
footer .avertissement { flex-basis: 100%; font-size: 13px; color: #CDB8A8; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }

/* ---------- Apparition au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--courbe), transform 800ms var(--courbe); }
.js .revele.visible { opacity: 1; transform: none; }

/* ---------- Mouvement réduit : le récit devient une suite de blocs fixes ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele, .js .mot > span { opacity: 1 !important; transform: none !important; }
  .js .logo-assemble circle, .js .logo-assemble path { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .recit { height: auto; }
  .scene { position: relative; height: auto; padding: 96px 0 40px; display: flex; flex-direction: column-reverse; }
  #constellation { position: relative; top: 0; width: 100%; height: 440px; }
  .chapitres { position: relative; inset: auto; }
  .chapitre { position: relative; inset: auto; transform: none; opacity: 1 !important; translate: none !important; width: auto; margin: 0 auto 48px; max-width: 1120px; padding: 0 16px; }
  .reperes, .indice-defile { display: none; }
}

/* Sans JavaScript : les chapitres les uns sous les autres, sans constellation animée. */
.sans-js .recit { height: auto; }
.sans-js .scene { position: relative; height: auto; padding: 96px 0 40px; display: flex; flex-direction: column-reverse; }
.sans-js .chapitres { position: relative; inset: auto; }
.sans-js .chapitre { position: relative; inset: auto; transform: none; opacity: 1 !important; translate: none !important; width: auto; margin: 0 auto 48px; max-width: 1120px; padding: 0 16px; }
.sans-js .reperes, .sans-js .indice-defile { display: none; }
.sans-js #constellation { display: none; }
