/* =========================================================
   Nebulae : feuille de style unique
   Palette des decks Orbit / Gravity : nuit, crème, orange, violet.
   ========================================================= */

/* Polices : déposez les fichiers .woff2 dans /fonts pour les activer.
   Sans eux, le site utilise la pile système (Helvetica / Segoe UI / Arial),
   comme les decks. Aucune requête vers un service tiers. */
@font-face { font-family: "Archivo"; src: local("Archivo"), url("/fonts/archivo-variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: local("IBM Plex Sans"), url("/fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: local("IBM Plex Sans SemiBold"), url("/fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: local("IBM Plex Mono"), url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Déclaré après le mono : le navigateur retient la dernière face qui couvre le caractère.
   Le 0 du sans est ouvert. Le mono, lui, est pointé par défaut et barré via « zero » / ss03. */
@font-face { font-family: "IBM Plex Mono"; src: local("IBM Plex Sans"), url("/fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0030; }

:root {
  --nuit: #0E1A33;
  --nuit-2: #13223F;
  --nuit-3: #1C2C4F;
  --nuit-4: #2A3A5C;
  --creme: #F7F5F0;
  --creme-2: #EFECE4;
  --creme-3: #E3E0D8;
  --ligne: #D9D6CE;
  --gris: #9AA0AC;
  --gris-f: #5E6475;
  --orange: #F2792B;
  --orange-h: #D56A26;
  --orange-texte: #C85A16;
  --violet: #A99BFF;
  --violet-2: #7B68EE;
  --violet-3: #5A47D1;

  --f-titre: "Archivo", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --f-texte: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-carte: 20px;
  --r-grande: 28px;
  --r-champ: 12px;
  --r-pilule: 999px;
  --ombre: 0 18px 50px -20px rgba(14, 26, 51, .35);
  --ombre-douce: 0 8px 30px -12px rgba(14, 26, 51, .25);

  --pad-section: clamp(56px, 7vw, 96px);
  --largeur: 1200px;
  --entete: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--f-texte); font-size: 17px; line-height: 1.6; color: var(--nuit); background: var(--creme); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; font-feature-settings: "zero" 0, "ss03" 0, "ss04" 0; }
img, video, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--orange); color: var(--nuit); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--f-titre); font-stretch: 112%; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 84px); }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.mono, .surtitre, .legende, .tag { font-family: var(--f-mono); }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-texte); margin-bottom: 18px; }
.sombre .surtitre, .hero .surtitre { color: var(--orange); }
.surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.surtitre.violet { color: var(--violet-3); }
.sombre .surtitre.violet, .hero .surtitre.violet { color: var(--violet); }
.legende { font-size: 13px; color: var(--gris-f); line-height: 1.5; }
.sombre .legende { color: var(--gris); }
.chapeau { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 720px; }
.orange { color: var(--orange-texte); }
.sombre .orange { color: var(--orange); }
.violet-t { color: var(--violet-3); }
.sombre .violet-t { color: var(--violet); }
.centre { text-align: center; margin-left: auto; margin-right: auto; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.conteneur.etroit { max-width: 820px; }
.section { padding: var(--pad-section) 0; position: relative; }
.section.serre { padding: calc(var(--pad-section) * .6) 0; }
.clair { background: var(--creme); color: var(--nuit); }
.clair-2 { background: var(--creme-2); color: var(--nuit); }
.sombre { background: var(--nuit); color: var(--creme); }
.sombre a:not(.btn) { color: var(--creme); }
.entete-section { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.entete-section.centre { text-align: center; }
.entete-section p { color: var(--gris-f); font-size: 18px; }
.sombre .entete-section p { color: #C6CAD3; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: var(--r-pilule); font-family: var(--f-texte); font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--nuit); }
.btn-orange:hover { background: var(--orange-h); }
.btn-nuit { background: var(--nuit); color: var(--creme); }
.btn-nuit:hover { background: var(--nuit-4); }
.btn-creme { background: var(--creme); color: var(--nuit); }
.btn-creme:hover { background: #fff; }
.btn-ghost { border-color: rgba(247, 245, 240, .35); color: var(--creme); background: rgba(247, 245, 240, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--creme); background: rgba(247, 245, 240, .1); }
.btn-ligne { border-color: var(--nuit); color: var(--nuit); }
.btn-ligne:hover { background: var(--nuit); color: var(--creme); }
.btn-violet { background: var(--violet); color: var(--nuit); }
.btn-violet:hover { background: #C3B8FF; }
.btn-petit { padding: 9px 18px; font-size: 14px; }
.btn .fleche { transition: transform .2s; }
.btn:hover .fleche { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lien-fleche { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lien-fleche:hover { color: var(--orange-texte); }
.sombre .lien-fleche:hover { color: var(--orange); }

/* ---------- Bandeau préversion ---------- */
.bandeau-apercu { position: relative; z-index: 60; height: 27px; line-height: 17px; background: var(--orange); color: var(--nuit); font-family: var(--f-mono); font-size: 12px; text-align: center; padding: 5px 12px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .bandeau-apercu { font-size: 10.5px; letter-spacing: 0; } .credit-photo { display: none; } }

/* ---------- En-tête ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--entete); color: var(--creme); transition: background .3s, box-shadow .3s, top .3s; }
body.avec-bandeau .entete { top: 27px; }
body.avec-bandeau.defile .entete { top: 0; }
.entete::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 51, .9); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); opacity: 0; transition: opacity .3s; border-bottom: 1px solid rgba(247, 245, 240, .08); }
body.defile .entete::before, body.menu-ouvert .entete::before { opacity: 1; }
.entete-int { position: relative; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 36px; width: auto; }
.nav-principale { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-principale > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav-principale li { position: relative; }
.nav-lien { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--r-pilule); font-size: 15px; font-weight: 500; color: rgba(247, 245, 240, .82); text-decoration: none; background: none; border: 0; transition: color .2s, background .2s; }
.nav-lien:hover, .nav-lien[aria-expanded="true"], .nav-lien.actif { color: #fff; background: rgba(247, 245, 240, .08); }
.nav-lien .chevron { width: 10px; height: 10px; transition: transform .2s; opacity: .7; }
.nav-lien[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.nav-lien .point { width: 7px; height: 7px; border-radius: 50%; }
.point-orbit { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.point-gravity { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.sous-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 380px; padding: 10px; background: rgba(19, 34, 63, .97); border: 1px solid rgba(247, 245, 240, .1); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; backdrop-filter: blur(18px); }
.sous-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
@media (hover: hover) and (pointer: fine) { .nav-principale li:hover > .sous-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.sous-menu.ouvert { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sous-menu a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--creme); transition: background .15s; }
.sous-menu a:hover { background: rgba(247, 245, 240, .07); }
.sous-menu .ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(242, 121, 43, .14); color: var(--orange); font-family: var(--f-mono); font-size: 13px; }
.sous-menu.gravity .ico { background: rgba(169, 155, 255, .14); color: var(--violet); }
.sous-menu strong { font-size: 15px; font-weight: 600; }
.sous-menu span.desc { font-size: 13px; color: var(--gris); line-height: 1.4; }
.entete-droite { display: flex; align-items: center; gap: 14px; flex: none; }
.langues { font-family: var(--f-mono); font-size: 13px; display: flex; gap: 6px; color: var(--gris); }
.langues a { text-decoration: none; color: var(--gris); padding: 2px 3px; }
.langues a[aria-current="true"] { color: var(--creme); border-bottom: 1px solid var(--orange); }
.burger { display: none; background: rgba(247, 245, 240, .08); border: 1px solid rgba(247, 245, 240, .2); border-radius: var(--r-pilule); padding: 8px 14px; color: var(--creme); font-size: 14px; }
.panneau-mobile { display: none; }

@media (max-width: 1040px) {
  .nav-principale, .entete-droite .langues, .entete-droite .btn { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .entete-droite { margin-left: auto; }
  .panneau-mobile { display: block; position: fixed; inset: var(--entete) 0 0 0; background: var(--nuit); color: var(--creme); padding: 24px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 49; }
  body.menu-ouvert .panneau-mobile { opacity: 1; visibility: visible; transform: none; }
  body.avec-bandeau:not(.defile) .panneau-mobile { top: calc(var(--entete) + 27px); }
  body.menu-ouvert { overflow: hidden; }
  .panneau-mobile ul { list-style: none; padding: 0; margin: 0 0 24px; }
  .panneau-mobile li a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(247, 245, 240, .1); text-decoration: none; font-size: 19px; font-family: var(--f-titre); font-weight: 700; }
  .panneau-mobile li.sous a { font-family: var(--f-texte); font-weight: 400; font-size: 16px; padding-left: 20px; color: #C6CAD3; }
  .panneau-mobile .btn { width: 100%; margin-bottom: 18px; }
}

/* ---------- Héros ---------- */
.hero { position: relative; color: var(--creme); background: var(--nuit); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: 62vh; padding: calc(var(--entete) + 56px) 0 clamp(48px, 6vw, 80px); }
.hero.accueil { min-height: min(92vh, 900px); }
.hero.court { min-height: 0; padding-top: calc(var(--entete) + 64px); padding-bottom: 56px; }
.hero-fond { position: absolute; inset: 0; z-index: -2; }
.hero-fond img, .hero-fond video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 51, .55) 0%, rgba(14, 26, 51, .35) 40%, rgba(14, 26, 51, .92) 100%); }
.hero.accueil::after { background: linear-gradient(90deg, rgba(14, 26, 51, .78) 0%, rgba(14, 26, 51, .45) 45%, rgba(14, 26, 51, .1) 75%), linear-gradient(180deg, rgba(14, 26, 51, .35) 0%, rgba(14, 26, 51, 0) 30%, rgba(14, 26, 51, 0) 70%, rgba(14, 26, 51, .9) 100%); }
.hero.voile-fort::after { background: linear-gradient(180deg, rgba(14, 26, 51, .7) 0%, rgba(14, 26, 51, .6) 50%, rgba(14, 26, 51, .95) 100%); }
.hero h1 { max-width: 15ch; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero.court h1 { font-size: clamp(36px, 5vw, 64px); max-width: 20ch; }
.hero.court.titre-phrase h1 { max-width: 18em; font-size: clamp(30px, 4vw, 48px); }
.hero .chapeau { color: #E3E5EA; margin-bottom: 30px; }
.pastille { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13px; padding: 7px 14px; border-radius: var(--r-pilule); border: 1px solid rgba(247, 245, 240, .35); background: rgba(14, 26, 51, .35); backdrop-filter: blur(6px); margin-bottom: 22px; }
.pastille .point { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.credit-photo { position: absolute; right: 16px; bottom: 10px; font-family: var(--f-mono); font-size: 10.5px; color: rgba(247, 245, 240, .55); max-width: 420px; text-align: right; z-index: 1; }
.hero-preuves { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-family: var(--f-mono); font-size: 13px; color: #C6CAD3; }
.hero-preuves span::before { content: "✓"; color: var(--orange); margin-right: 8px; }
.hero.gravity .pastille .point, .hero.gravity .hero-preuves span::before { background: var(--violet); box-shadow: 0 0 10px var(--violet); color: var(--violet); }
.hero.gravity .hero-preuves span::before { background: none; box-shadow: none; }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chiffres.quatre { grid-template-columns: repeat(4, 1fr); }
.chiffres.un { grid-template-columns: 1fr; }
.chiffre { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 28px 26px; display: flex; flex-direction: column; }
.sombre .chiffre { background: var(--nuit-2); border-color: rgba(247, 245, 240, .1); }
.chiffre .valeur { font-family: var(--f-titre); font-stretch: 115%; font-weight: 900; font-size: clamp(46px, 5.4vw, 72px); line-height: 1; color: var(--orange); letter-spacing: -.03em; margin-bottom: 14px; }
.chiffre .valeur small { font-size: .45em; letter-spacing: 0; font-weight: 700; color: var(--gris-f); display: block; margin-top: 6px; }
.sombre .chiffre .valeur small { color: var(--gris); }
.chiffre.violet .valeur { color: var(--violet-3); }
.sombre .chiffre.violet .valeur { color: var(--violet); }
.chiffre p { font-size: 16.5px; margin-bottom: 16px; flex: 1; }
.chiffre .source { font-family: var(--f-mono); font-size: 12px; color: var(--gris-f); line-height: 1.45; }
.chiffre .source a { color: inherit; }
.sombre .chiffre .source { color: var(--gris); }
.note-sources { font-family: var(--f-mono); font-size: 12px; color: var(--gris-f); margin-top: 22px; max-width: 900px; line-height: 1.55; }
.sombre .note-sources { color: var(--gris); }

/* ---------- Film ---------- */
.film { max-width: 980px; margin: 0 auto; }
.cadre-film { border-radius: var(--r-grande); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); border: 1px solid rgba(247, 245, 240, .12); aspect-ratio: 16 / 9; }
.cadre-film video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cercles Orbit / Nebulae / Gravity ---------- */
.cercles-zone { position: relative; padding: 20px 0 10px; }
.cercles-zone::before, .cercles-zone::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; pointer-events: none; }
.cercles-zone::before { width: 52%; height: 90%; left: 4%; top: 5%; background: radial-gradient(circle, rgba(242, 121, 43, .55), rgba(242, 121, 43, 0) 70%); }
.cercles-zone::after { width: 52%; height: 90%; right: 4%; top: 5%; background: radial-gradient(circle, rgba(123, 104, 238, .6), rgba(123, 104, 238, 0) 70%); }
.cercles { --d: clamp(270px, 30vw, 400px); position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }
.cercle { position: relative; flex: none; width: var(--d); height: var(--d); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 calc(var(--d) * .15); color: var(--creme); text-decoration: none; transition: transform .35s ease; mix-blend-mode: screen; }
.cercle:hover { transform: scale(1.03); }
.cercle + .cercle { margin-left: calc(var(--d) * -0.18); }
@media (min-width: 861px) {
  .cercle.orbit { padding: 0 calc(var(--d) * .24) 0 calc(var(--d) * .12); }
  .cercle.gravity { padding: 0 calc(var(--d) * .12) 0 calc(var(--d) * .24); }
  .cercle.nebulae { padding: 0 calc(var(--d) * .22); }
}
.cercle.orbit { background: radial-gradient(circle at 35% 35%, rgba(242, 121, 43, .55), rgba(242, 121, 43, .18) 55%, rgba(242, 121, 43, .06) 75%); border: 1px solid rgba(242, 121, 43, .55); box-shadow: inset 0 0 60px rgba(242, 121, 43, .25), 0 0 60px rgba(242, 121, 43, .15); }
.cercle.nebulae { background: radial-gradient(circle at 50% 40%, rgba(247, 245, 240, .22), rgba(169, 155, 255, .14) 50%, rgba(242, 121, 43, .08) 75%); border: 1px solid rgba(247, 245, 240, .4); z-index: 2; box-shadow: inset 0 0 70px rgba(247, 245, 240, .12); }
.cercle.gravity { background: radial-gradient(circle at 65% 35%, rgba(123, 104, 238, .6), rgba(123, 104, 238, .2) 55%, rgba(123, 104, 238, .06) 75%); border: 1px solid rgba(169, 155, 255, .6); box-shadow: inset 0 0 60px rgba(123, 104, 238, .3), 0 0 60px rgba(123, 104, 238, .18); }
.cercle .nom { font-family: var(--f-titre); font-stretch: 115%; font-weight: 900; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; margin-bottom: 4px; }
.cercle .verbe { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; opacity: .85; }
.cercle p { font-size: clamp(13.5px, 1.1vw, 15.5px); line-height: 1.45; margin: 0; color: #EDEEF2; }
.cercles-zone .slogan { text-align: center; font-family: var(--f-titre); font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 4.2vw, 54px); position: relative; z-index: 1; margin-bottom: 30px; }
@media (max-width: 860px) {
  .cercles { --d: min(84vw, 340px); flex-direction: column; }
  .cercle + .cercle { margin-left: 0; margin-top: calc(var(--d) * -0.14); }
  .cercles-zone::before { width: 90%; height: 45%; left: 5%; top: 5%; }
  .cercles-zone::after { width: 90%; height: 45%; left: 5%; top: 50%; right: auto; }
}

/* ---------- Parcours (4 étapes) ---------- */
.parcours-section { overflow: hidden; isolation: isolate; }
.parcours-section .fond-image { position: absolute; inset: 0; z-index: -1; opacity: .38; }
.parcours-section .fond-image img { width: 100%; height: 100%; object-fit: cover; }
.parcours-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--nuit) 0%, rgba(14, 26, 51, .55) 30%, rgba(14, 26, 51, .55) 70%, var(--nuit) 100%); }
.parcours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; position: relative; }
.parcours::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; border-top: 1px dashed rgba(247, 245, 240, .35); }
.parcours li { position: relative; background: rgba(19, 34, 63, .72); backdrop-filter: blur(10px); border: 1px solid rgba(247, 245, 240, .12); border-radius: var(--r-carte); padding: 72px 22px 24px; counter-increment: etape; }
.parcours li::before { content: "0" counter(etape); position: absolute; top: 8px; left: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; background: var(--nuit); border: 1px solid var(--orange); color: var(--orange); }
.parcours li:last-child { background: var(--orange); color: var(--nuit); border-color: var(--orange); }
.parcours li:last-child::before { background: var(--nuit); }
.parcours strong { display: block; font-family: var(--f-titre); font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.parcours span { font-size: 15.5px; line-height: 1.5; color: #D5D8DF; }
.parcours li:last-child span { color: var(--nuit); }
@media (max-width: 900px) { .parcours { grid-template-columns: 1fr 1fr; } .parcours::before { display: none; } }
@media (max-width: 560px) { .parcours { grid-template-columns: 1fr; } }

/* ---------- Présentoir des offres (onglets + visuel) ---------- */
.presentoir { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.presentoir-onglets { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--entete) + 24px); }
.onglet { text-align: left; width: 100%; border: 1px solid var(--ligne); background: #fff; border-radius: var(--r-carte); padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.onglet .num { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; background: var(--creme-2); }
.onglet strong { font-family: var(--f-titre); font-size: 22px; font-weight: 800; }
.onglet span.desc { color: var(--gris-f); font-size: 15px; line-height: 1.45; }
.onglet[aria-selected="true"] { border-color: var(--nuit); box-shadow: var(--ombre-douce); }
.onglet[aria-selected="true"] .num { background: var(--orange); color: var(--nuit); }
.onglet.gravity[aria-selected="true"] .num { background: var(--violet); }
.onglet[aria-selected="true"].pack .num { background: var(--nuit); color: var(--creme); }
.presentoir-visuel { position: relative; min-height: 520px; }
.panneau-offre { display: none; background: var(--nuit); color: var(--creme); border-radius: var(--r-grande); padding: clamp(24px, 3vw, 36px); box-shadow: var(--ombre); overflow: hidden; position: relative; isolation: isolate; }
.panneau-offre.actif { display: block; animation: apparaitre .35s ease; }
.panneau-offre::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 121, 43, .45), transparent 70%); filter: blur(30px); z-index: -1; }
.panneau-offre.gravity::before { background: radial-gradient(circle, rgba(123, 104, 238, .55), transparent 70%); }
.panneau-offre.pack::before { background: radial-gradient(circle, rgba(247, 245, 240, .25), transparent 70%); }
.panneau-offre h3 { font-size: clamp(26px, 2.6vw, 34px); }
.panneau-offre ul.coches { margin: 18px 0 24px; }
.panneau-offre .prix-ligne { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; border-top: 1px solid rgba(247, 245, 240, .12); padding-top: 18px; margin-top: 6px; margin-bottom: 22px; }
.prix-ligne b { font-family: var(--f-titre); font-size: 28px; font-weight: 900; color: var(--orange); }
.panneau-offre.gravity .prix-ligne b { color: var(--violet); }
.prix-ligne span { font-family: var(--f-mono); font-size: 13px; color: var(--gris); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .presentoir { grid-template-columns: 1fr; } .presentoir-onglets { position: static; } .presentoir-visuel { min-height: 0; } }

ul.coches { list-style: none; padding: 0; margin: 0 0 1em; }
ul.coches li { position: relative; padding-left: 30px; margin-bottom: 10px; line-height: 1.5; }
ul.coches li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(242, 121, 43, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F2792B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.gravity ul.coches li::before, ul.coches.violet li::before { background-color: rgba(123, 104, 238, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237B68EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Mini tableau de bord (maquette) ---------- */
.tdb { background: var(--nuit-2); border: 1px solid rgba(247, 245, 240, .1); border-radius: var(--r-carte); padding: 20px; font-size: 14px; color: var(--creme); }
.tdb-entete { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--gris); margin-bottom: 16px; }
.tdb-entete .badge { background: rgba(242, 121, 43, .18); color: var(--orange); padding: 3px 10px; border-radius: var(--r-pilule); }
.tdb.gravity .tdb-entete .badge { background: rgba(169, 155, 255, .18); color: var(--violet); }
.tdb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--nuit-3); border-radius: 12px; padding: 12px 14px; }
.kpi b { display: block; font-family: var(--f-titre); font-size: 24px; font-weight: 900; color: var(--orange); line-height: 1.1; }
.tdb.gravity .kpi b { color: var(--violet); }
.kpi span { font-size: 12px; color: var(--gris); line-height: 1.35; display: block; margin-top: 4px; }
.tdb-graphes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.graphe { background: var(--nuit-3); border-radius: 12px; padding: 12px 14px; }
.graphe .titre-g { font-size: 12px; color: var(--gris); margin-bottom: 10px; }
.barres { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.barres div { flex: 1; background: linear-gradient(180deg, var(--orange), rgba(242, 121, 43, .35)); border-radius: 6px 6px 2px 2px; position: relative; }
.tdb.gravity .barres div { background: linear-gradient(180deg, var(--violet), rgba(123, 104, 238, .35)); }
.barres div span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 10px; color: var(--gris); }
.graphe .barres { margin-bottom: 18px; }
.lignes-h { display: flex; flex-direction: column; gap: 9px; }
.lignes-h div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12.5px; }
.lignes-h div i { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: var(--nuit-4); position: relative; overflow: hidden; }
.lignes-h div i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--orange); border-radius: 4px; }
.tdb.gravity .lignes-h div i::after { background: var(--violet); }
.tdb .note { font-family: var(--f-mono); font-size: 11px; color: var(--gris); margin-top: 12px; }
@media (max-width: 640px) { .tdb-graphes { grid-template-columns: 1fr; } }

/* ---------- Cartes génériques ---------- */
.grille { display: grid; gap: 20px; }
.grille.deux { grid-template-columns: repeat(2, 1fr); }
.grille.trois { grid-template-columns: repeat(3, 1fr); }
.grille.quatre { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grille.trois, .grille.quatre { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grille.deux, .grille.trois, .grille.quatre, .chiffres, .chiffres.quatre { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 980px) { .chiffres.quatre { grid-template-columns: 1fr 1fr; } }
.carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.carte.lien:hover { transform: translateY(-3px); box-shadow: var(--ombre-douce); border-color: var(--nuit); }
.sombre .carte { background: var(--nuit-2); border-color: rgba(247, 245, 240, .1); }
.carte h3 { margin-bottom: 10px; }
.carte p { color: var(--gris-f); margin-bottom: 0; }
.sombre .carte p { color: #C6CAD3; }
.carte .ico-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(242, 121, 43, .14); color: var(--orange-texte); font-family: var(--f-mono); font-size: 14px; margin-bottom: 18px; }
.gravity .carte .ico-num, .carte.gravity .ico-num { background: rgba(123, 104, 238, .14); color: var(--violet-3); }
.sombre .carte .ico-num { color: var(--orange); }
.sombre.gravity .carte .ico-num { color: var(--violet); }

/* Citations « Vous vous reconnaissez ? » */
.citations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.citation { margin: 0; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 26px 28px 26px 64px; position: relative; font-size: 18px; line-height: 1.5; }
.citation::before { content: "«"; position: absolute; left: 22px; top: 14px; font-family: var(--f-titre); font-size: 46px; font-weight: 900; color: var(--orange); line-height: 1; }
.gravity .citation::before { color: var(--violet-2); }
.citation.une { grid-column: 1 / -1; background: var(--nuit); color: var(--creme); border-color: var(--nuit); font-family: var(--f-titre); font-weight: 700; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; padding: 34px 36px 34px 76px; }
.citation.une::before { font-size: 64px; left: 26px; top: 18px; }
@media (max-width: 720px) { .citations { grid-template-columns: 1fr; } }

/* Sans / Avec */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duel > div { border-radius: var(--r-grande); padding: 30px; }
.duel .sans { background: var(--creme-2); border: 1px dashed var(--gris); }
.duel .avec { background: var(--nuit); color: var(--creme); position: relative; overflow: hidden; isolation: isolate; }
.duel .avec::before { content: ""; position: absolute; width: 320px; height: 320px; right: -90px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 121, 43, .5), transparent 70%); filter: blur(25px); z-index: -1; }
.duel .etiquette { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; display: inline-block; padding: 5px 12px; border-radius: var(--r-pilule); border: 1px solid currentColor; }
.duel .sans .etiquette { color: var(--gris-f); }
.duel .avec .etiquette { color: var(--orange); }
.chaine { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.chaine span { padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ligne); font-weight: 600; font-size: 15px; }
.duel .avec .chaine span { background: var(--nuit-3); border-color: rgba(247, 245, 240, .14); }
.chaine span.cible, .duel .avec .chaine span.cible { background: var(--orange); color: var(--nuit); border-color: var(--orange); box-shadow: 0 0 24px rgba(242, 121, 43, .45); }
.chaine span.barre { text-decoration: line-through; color: var(--gris-f); }
.chaine i { font-style: normal; color: var(--gris); }
.duel p { margin: 0; }
@media (max-width: 760px) { .duel { grid-template-columns: 1fr; } }

/* Flux Gravity */
.flux { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.flux li { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 24px 20px; position: relative; }
.flux li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; border-top: 2px dotted var(--violet-2); }
.flux li:last-child { background: var(--violet-3); color: #fff; border-color: var(--violet-3); }
.flux li:last-child p { color: #ECE9FF; }
.flux strong { font-family: var(--f-titre); font-size: 21px; font-weight: 800; display: block; margin-bottom: 6px; }
.flux p { font-size: 15px; color: var(--gris-f); margin: 0; }
.flux-boucle { margin-top: 16px; font-family: var(--f-mono); font-size: 13px; color: var(--violet-3); display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .flux { grid-template-columns: 1fr 1fr; } .flux li::after { display: none; } }
@media (max-width: 520px) { .flux { grid-template-columns: 1fr; } }

/* ---------- Timeline méthode ---------- */
.timeline { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; padding: 44px 0 6px; overflow-x: auto; scrollbar-width: thin; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; border-top: 2px dashed var(--ligne); }
.sombre .timeline::before { border-color: rgba(247, 245, 240, .18); }
.jalon { position: relative; }
.jalon::after { content: ""; position: absolute; top: -26px; left: 27px; height: 20px; border-left: 2px dotted var(--ligne); }
.jalon::before { content: ""; position: absolute; top: -33px; left: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--creme); border: 3px solid var(--orange); }
.jalon.gravity::before { border-color: var(--violet-2); }
.jalon.commun::before { border-color: var(--nuit); background: var(--nuit); }
.sombre .jalon.commun::before { border-color: var(--creme); background: var(--creme); }
.jalon-carte { background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 18px 18px 20px; height: 100%; transition: transform .25s, box-shadow .25s; }
.jalon-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-douce); }
.jalon:first-child .jalon-carte { border-color: var(--nuit); }
.jalon:last-child .jalon-carte { background: var(--nuit); color: var(--creme); border-color: var(--nuit); }
.jalon:last-child .jalon-carte p { color: #C6CAD3; }
.jalon:last-child .quand { color: var(--orange); }
.jalon.gravity:last-child .quand { color: var(--violet); }
.sombre .jalon-carte { background: var(--nuit-2); border-color: rgba(247, 245, 240, .12); }
.jalon .quand { font-family: var(--f-mono); font-size: 12px; color: var(--orange-texte); display: block; margin-bottom: 8px; letter-spacing: .04em; }
.jalon.gravity .quand { color: var(--violet-3); }
.sombre .jalon .quand { color: var(--orange); }
.sombre .jalon.gravity .quand { color: var(--violet); }
.jalon h3 { font-size: 18px; margin-bottom: 6px; }
.jalon p { font-size: 14.5px; color: var(--gris-f); margin: 0; line-height: 1.5; }
.sombre .jalon p { color: #C6CAD3; }
.timeline-pied { margin-top: 22px; }
@media (max-width: 900px) {
  .timeline { grid-auto-flow: row; grid-auto-columns: auto; padding: 0 0 0 34px; overflow: visible; gap: 14px; }
  .timeline::before { top: 0; bottom: 0; left: 9px; right: auto; border-top: 0; border-left: 2px solid var(--ligne); }
  .jalon::before { top: 22px; left: -33px; }
  .jalon::after { display: none; }
}

/* ---------- Comparatif ---------- */
.tableau-defile { overflow-x: auto; border-radius: var(--r-carte); border: 1px solid var(--ligne); background: #fff; }
table.comparatif { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.comparatif th, .comparatif td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--creme-3); }
@media (min-width: 761px) {
  .tableau-defile.colle-entete { overflow: visible; }
  .colle-entete .comparatif thead th { position: sticky; top: var(--entete); }
  .colle-entete .comparatif thead th:first-child { border-top-left-radius: var(--r-carte); }
  .colle-entete .comparatif thead th:last-child { border-top-right-radius: var(--r-carte); }
}
.comparatif thead th { background: var(--nuit); color: var(--creme); font-family: var(--f-titre); font-size: 17px; font-weight: 800; z-index: 2; }
.comparatif thead th:last-child { background: var(--orange); color: var(--nuit); }
.gravity .comparatif thead th:last-child { background: var(--violet); }
.comparatif tbody th { font-family: var(--f-mono); font-size: 13px; font-weight: 400; color: var(--gris-f); width: 18%; }
.comparatif td:last-child { background: rgba(242, 121, 43, .05); font-weight: 600; }
.gravity .comparatif td:last-child { background: rgba(123, 104, 238, .06); }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: 0; }

/* ---------- Tarifs façon Grok ---------- */
.bascule { display: inline-flex; padding: 5px; border-radius: var(--r-pilule); background: var(--creme-3); gap: 4px; margin-bottom: 14px; }
.bascule button { border: 0; background: none; padding: 10px 22px; border-radius: var(--r-pilule); font-weight: 600; font-size: 15px; color: var(--gris-f); transition: background .2s, color .2s; }
.bascule button[aria-pressed="true"] { background: var(--nuit); color: var(--creme); }
.bascule .remise { font-family: var(--f-mono); font-size: 12px; color: var(--orange-texte); margin-left: 6px; }
.bascule button[aria-pressed="true"] .remise { color: var(--orange); }
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-top: 26px; }
.tarif { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-grande); padding: 32px 30px; display: flex; flex-direction: column; position: relative; }
.tarif.vedette { background: var(--nuit); color: var(--creme); border-color: var(--nuit); box-shadow: var(--ombre); }
.tarif .badge-v { position: absolute; top: -13px; left: 30px; background: var(--orange); color: var(--nuit); font-family: var(--f-mono); font-size: 12px; padding: 5px 12px; border-radius: var(--r-pilule); }
.tarif .nom-offre { display: flex; align-items: center; gap: 10px; font-family: var(--f-titre); font-stretch: 115%; font-size: 30px; font-weight: 900; margin-bottom: 6px; }
.tarif .nom-offre .point { width: 10px; height: 10px; border-radius: 50%; }
.tarif .accroche { color: var(--gris-f); min-height: 3em; margin-bottom: 20px; }
.tarif.vedette .accroche { color: #C6CAD3; }
.tarif .mensuel { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.tarif .mensuel b { font-family: var(--f-titre); font-size: clamp(42px, 4.2vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.tarif .mensuel span { font-size: 15px; color: var(--gris-f); }
.tarif.vedette .mensuel span { color: var(--gris); }
.tarif .barre-prix { font-family: var(--f-mono); font-size: 13px; color: var(--gris-f); text-decoration: line-through; min-height: 20px; }
.tarif .lancement { font-family: var(--f-mono); font-size: 13.5px; padding: 12px 0; margin: 12px 0 18px; border-top: 1px solid var(--creme-3); border-bottom: 1px solid var(--creme-3); }
.tarif.vedette .lancement { border-color: rgba(247, 245, 240, .14); }
.tarif .btn { width: 100%; margin-bottom: 24px; }
.tarif ul.coches { font-size: 15.5px; flex: 1; }
.tarif .condition { font-family: var(--f-mono); font-size: 12px; color: var(--gris-f); margin: 8px 0 0; }
.tarif.vedette .condition { color: var(--gris); }
@media (max-width: 960px) { .tarifs { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- FAQ (accordéon) ---------- */
.faq { border-top: 1px solid var(--ligne); }
.sombre .faq { border-color: rgba(247, 245, 240, .14); }
.faq details { border-bottom: 1px solid var(--ligne); }
.sombre .faq details { border-color: rgba(247, 245, 240, .14); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-titre); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 1px solid currentColor; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23F2792B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; opacity: .8; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 22px; color: var(--gris-f); max-width: 760px; }
.sombre .faq .reponse { color: #C6CAD3; }
.faq-groupe h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 14px; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 16px; }
.formulaire .ligne-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .formulaire .ligne-2 { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.champ label .facultatif { font-weight: 400; color: var(--gris-f); }
.champ input, .champ textarea, .champ select { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: var(--r-champ); border: 1px solid var(--ligne); background: #fff; color: var(--nuit); transition: border-color .2s, box-shadow .2s; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--nuit); box-shadow: 0 0 0 3px rgba(242, 121, 43, .25); }
.champ.erreur input, .champ.erreur textarea { border-color: #C0392B; }
.champ .msg-erreur { color: #B03024; font-size: 13.5px; margin-top: 6px; display: none; }
.champ.erreur .msg-erreur { display: block; }
.sombre .champ input, .sombre .champ textarea { background: var(--nuit-2); border-color: rgba(247, 245, 240, .2); color: var(--creme); }
.sombre .champ .msg-erreur, .sombre .case .msg-erreur { color: #FF9C8A; }
.case { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--gris-f); }
.sombre .case { color: #C6CAD3; }
.case input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); }
.case .msg-erreur { grid-column: 2; color: #B03024; font-size: 13.5px; display: none; }
.case.erreur .msg-erreur { display: block; }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulaire .btn { justify-self: start; margin-top: 6px; }
.formulaire .apres-bouton { margin-top: 4px; }
.carte-form { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-grande); padding: clamp(24px, 3vw, 40px); box-shadow: var(--ombre-douce); }
.sombre .carte-form { background: var(--nuit-2); border-color: rgba(247, 245, 240, .12); }
.confirmation { display: none; background: rgba(242, 121, 43, .1); border: 1px solid var(--orange); border-radius: 16px; padding: 22px; }
.confirmation.visible { display: block; }
.erreur-globale { display: none; color: #B03024; font-size: 14.5px; }
.erreur-globale.visible { display: block; }

/* ---------- Bloc pré-audit (accueil) ---------- */
.preaudit-bloc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.preaudit-bloc h2 { margin-bottom: 18px; }
.preaudit-bloc .delai { font-family: var(--f-titre); font-size: clamp(20px, 2vw, 26px); font-weight: 800; margin: 26px 0 24px; }
.apercu-rapport { position: relative; background: #fff; border-radius: var(--r-grande); box-shadow: var(--ombre); padding: 28px; border: 1px solid var(--ligne); margin-top: 26px; }
.apercu-rapport .badge-exemple { position: absolute; top: -30px; right: 18px; font-family: var(--f-mono); font-size: 12px; background: var(--nuit); color: var(--creme); padding: 6px 12px; border-radius: var(--r-pilule); }
.apercu-rapport .score { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.anneau { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--s) * 1%), var(--creme-3) 0); display: grid; place-items: center; flex: none; }
.anneau b { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--f-titre); font-size: 24px; font-weight: 900; }
.apercu-rapport .lignes-r { display: grid; gap: 10px; }
.apercu-rapport .lignes-r div { display: grid; grid-template-columns: 1fr auto; font-size: 14px; padding: 10px 14px; border-radius: 10px; background: var(--creme); }
.apercu-rapport .lignes-r div span:last-child { font-family: var(--f-mono); }
.apercu-rapport .oui { color: #1E7D4F; } .apercu-rapport .non { color: #B03024; }
.apercu-rapport .recos { margin-top: 16px; font-size: 14px; }
.apercu-rapport .recos ol { margin: 6px 0 0; padding-left: 20px; color: var(--gris-f); }
@media (max-width: 880px) { .preaudit-bloc { grid-template-columns: 1fr; } }

/* ---------- Logos clients (3 rangées défilantes) ---------- */
.logos-zone { display: grid; gap: 18px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-rangee ul { display: flex; gap: 56px; list-style: none; margin: 0; padding: 0; width: max-content; animation: defile 48s linear infinite; }
.logos-rangee.contre ul { animation-direction: reverse; animation-duration: 54s; }
.logos-rangee.lent ul { animation-duration: 60s; }
.logos-rangee img { width: 150px; height: 46px; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .72; transition: opacity .2s; }
.logos-rangee img:hover { opacity: 1; }
.logos-titre h2 { font-size: clamp(22px, 2.4vw, 30px); }
.logos-rangee:hover ul { animation-play-state: paused; }
.sombre .logos-rangee img { filter: grayscale(1) brightness(0) invert(1); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Ressources façon bibliothèque ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filtre { border: 1px solid var(--ligne); background: #fff; padding: 9px 18px; border-radius: var(--r-pilule); font-size: 14.5px; font-weight: 500; transition: all .2s; }
.filtre:hover { border-color: var(--nuit); }
.filtre[aria-pressed="true"] { background: var(--nuit); color: var(--creme); border-color: var(--nuit); }
.filtre .compte { font-family: var(--f-mono); font-size: 12px; opacity: .6; margin-left: 6px; }
.recherche-ress { margin-left: auto; position: relative; }
.recherche-ress input { border: 1px solid var(--ligne); border-radius: var(--r-pilule); padding: 9px 18px 9px 38px; font: inherit; font-size: 14.5px; width: 240px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.5' fill='none' stroke='%235E6475' stroke-width='1.5'/%3E%3Cpath d='M10.5 10.5L14 14' stroke='%235E6475' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 14px center / 15px no-repeat; }
@media (max-width: 720px) { .recherche-ress { margin-left: 0; width: 100%; } .recherche-ress input { width: 100%; } }
.cartes-ress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cartes-ress > * { min-width: 0; max-width: 100%; }
@media (max-width: 980px) { .cartes-ress { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cartes-ress { grid-template-columns: minmax(0, 1fr); } }
.carte-ress { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.carte-ress:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-ress .visuel { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--nuit); }
.carte-ress .visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; opacity: .85; }
.carte-ress:hover .visuel img { transform: scale(1.05); }
.carte-ress .visuel.visuel-couverture { aspect-ratio: 1200 / 627; }
.carte-ress .visuel.visuel-couverture img { object-fit: cover; opacity: 1; }
.carte-ress:hover .visuel.visuel-couverture img { transform: none; }
.carte-ress .visuel .titre-visuel { position: absolute; inset: auto 16px 14px 16px; color: var(--creme); font-family: var(--f-titre); font-weight: 800; font-size: 15px; line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.carte-ress .corps { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 11.5px; padding: 4px 10px; border-radius: var(--r-pilule); background: var(--creme-2); color: var(--nuit); letter-spacing: .02em; }
.tag.cat { background: rgba(242, 121, 43, .14); color: var(--orange-texte); }
.tag.cat.violet { background: rgba(123, 104, 238, .14); color: var(--violet-3); }
.carte-ress h3 { font-size: 19.5px; margin-bottom: 10px; }
.carte-ress p { font-size: 15px; color: var(--gris-f); margin-bottom: 16px; flex: 1; }
.carte-ress .meta { font-family: var(--f-texte); font-size: 12px; color: var(--gris-f); font-feature-settings: "zero" 0, "ss03" 0, "ss04" 0; }
.carte-ress.guide { grid-column: span 2; background: var(--nuit); color: var(--creme); border-color: var(--nuit); flex-direction: row; }
.carte-ress.guide .visuel { aspect-ratio: auto; width: 42%; flex: none; }
.carte-ress.guide p, .carte-ress.guide .meta { color: #C6CAD3; }
.carte-ress.guide h3 { font-size: 26px; }
@media (max-width: 620px) { .carte-ress.guide { grid-column: auto; flex-direction: column; } .carte-ress.guide .visuel { width: 100%; aspect-ratio: 16 / 9; } }
.aucun-resultat { display: none; padding: 40px; text-align: center; color: var(--gris-f); }

/* CTA rappel qui apparaît pendant le défilement */
.rappel { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: min(380px, calc(100vw - 40px)); background: var(--nuit); color: var(--creme); border-radius: var(--r-carte); padding: 20px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 1px solid rgba(247, 245, 240, .12); transform: translateY(140%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.rappel.visible { transform: none; }
.rappel strong { display: block; font-family: var(--f-titre); font-size: 18px; margin-bottom: 6px; padding-right: 28px; }
.rappel p { font-size: 14px; color: #C6CAD3; margin-bottom: 14px; }
.rappel .fermer { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(247, 245, 240, .1); color: var(--creme); font-size: 16px; line-height: 1; }

/* ---------- Article ---------- */
.article-entete { max-width: 860px; }
.article-visuel { margin: 0 0 36px; max-width: 100%; min-width: 0; }
.article-visuel img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1200 / 627; object-fit: contain; border-radius: var(--r-carte); border: 1px solid var(--ligne); box-shadow: var(--ombre-douce); box-sizing: border-box; }
.article-entete h1 { font-size: clamp(34px, 4.6vw, 60px); max-width: none; }
/* Dates en sans : IBM Plex Mono n'a pas de zéro ouvert (pointé par défaut, barré via « zero »). */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-texte); font-size: 13px; font-weight: 400; color: #C6CAD3; margin-top: 8px; font-feature-settings: "zero" 0, "ss03" 0, "ss04" 0; font-variant-numeric: lining-nums; }
.article-grille { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.article-grille > * { min-width: 0; max-width: 100%; }
.article-grille > .article-cote { align-self: stretch; }
@media (max-width: 1000px) { .article-grille { grid-template-columns: minmax(0, 1fr); } .article-cote { order: -1; } }
.en-bref { background: #fff; border: 1px solid var(--ligne); border-left: 4px solid var(--orange); border-radius: 16px; padding: 22px 24px; margin-bottom: 36px; font-size: 17.5px; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; }
.en-bref b { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-texte); display: block; margin-bottom: 8px; font-weight: 400; }
.prose { font-size: 18px; line-height: 1.7; max-width: min(720px, 100%); min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--entete) + 20px); }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; scroll-margin-top: calc(var(--entete) + 20px); }
.prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.prose a { color: var(--orange-texte); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); color: var(--gris-f); font-style: italic; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--creme-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; box-sizing: border-box; }
.prose img, .prose video, .prose svg, .prose pre, .prose table { max-width: 100%; box-sizing: border-box; }
.prose pre { overflow-x: auto; }
.prose .tableau-defile { margin: 1.4em 0; max-width: 100%; min-width: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--creme-3); text-align: left; vertical-align: top; }
.prose thead th { background: var(--nuit); color: var(--creme); font-family: var(--f-titre); font-size: 15px; }
.sommaire { position: sticky; top: calc(var(--entete) + 24px); background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 22px; font-size: 14.5px; max-width: 100%; box-sizing: border-box; }
.sommaire b { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-f); font-weight: 400; display: block; margin-bottom: 12px; }
.sommaire ol { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.sommaire a { text-decoration: none; color: var(--gris-f); line-height: 1.35; display: block; overflow-wrap: break-word; }
.sommaire a:hover, .sommaire a.actif { color: var(--nuit); }
.sommaire a.actif { font-weight: 600; }
.sommaire .h3 a { padding-left: 14px; font-size: 13.5px; }
.sommaire .btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
.sources-article { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.sources-article h2 { font-size: 22px; margin: 0 0 12px; }
.sources-article ol { padding-left: 1.2em; font-size: 15px; color: var(--gris-f); }
.sources-article a { color: inherit; }
.bloc-auteur { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 24px; margin-top: 44px; max-width: 100%; box-sizing: border-box; }
.bloc-auteur img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.bloc-auteur strong { display: block; font-family: var(--f-titre); font-size: 19px; margin-bottom: 6px; }
.bloc-auteur p { font-size: 15px; color: var(--gris-f); margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .bloc-auteur { grid-template-columns: 1fr; } }
.cta-article { margin-top: 44px; background: var(--nuit); color: var(--creme); border-radius: var(--r-grande); padding: 34px; position: relative; overflow: hidden; isolation: isolate; max-width: 100%; box-sizing: border-box; }
.cta-article .actions { min-width: 0; max-width: 100%; }
.cta-article .btn { max-width: 100%; white-space: normal; text-align: center; }
.cta-article::before { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 121, 43, .5), transparent 70%); filter: blur(20px); z-index: -1; }
.cta-article h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.cta-article p { color: #C6CAD3; }

/* ---------- Associés ---------- */
.associes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.associe { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-carte); padding: 28px; }
.associe img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; border: 3px solid var(--creme-2); }
.associe h3 { margin-bottom: 4px; }
.associe .role { font-family: var(--f-mono); font-size: 12.5px; color: var(--orange-texte); margin-bottom: 14px; display: block; }
.associe p { font-size: 15px; color: var(--gris-f); margin: 0; }
@media (max-width: 900px) { .associes { grid-template-columns: 1fr; } }

/* ---------- Bandeau CTA final ---------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-final .fond-image { position: absolute; inset: 0; z-index: -2; }
.cta-final .fond-image img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(14, 26, 51, .55), var(--nuit) 75%); }
.cta-final h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-final p { color: #C6CAD3; max-width: 620px; margin: 0 auto 28px; }
.cta-final .actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.pied { background: #091327; color: var(--creme); padding: 72px 0 28px; font-size: 15px; }
.pied-haut { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(247, 245, 240, .1); }
.pied-marque img { height: 30px; width: auto; margin-bottom: 16px; }
.pied-marque p { color: var(--gris); max-width: 320px; }
.pied h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin: 0 0 16px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied a { color: #D5D8DF; text-decoration: none; }
.pied a:hover { color: #fff; }
.pied-lettre { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid rgba(247, 245, 240, .1); align-items: start; }
.pied-lettre h2 { font-family: var(--f-titre); font-size: 24px; text-transform: none; letter-spacing: -.01em; color: var(--creme); font-weight: 800; margin-bottom: 8px; }
.pied-lettre p { color: var(--gris); margin: 0; }
.form-lettre { display: grid; gap: 14px; }
.form-lettre .ligne { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.form-lettre input[type=email], .form-lettre input[type=text] { font: inherit; font-size: 15px; padding: 12px 16px; border-radius: var(--r-pilule); border: 1px solid rgba(247, 245, 240, .2); background: rgba(247, 245, 240, .05); color: var(--creme); width: 100%; }
.form-lettre .case { margin-top: 8px; font-size: 13px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-family: var(--f-mono); font-size: 12.5px; color: var(--gris); }
@media (max-width: 980px) { .pied-haut { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } .pied-lettre { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-lettre .ligne { grid-template-columns: 1fr; } }

/* ---------- Divers ---------- */
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.deux-col.centre-v { align-items: center; }
@media (max-width: 880px) { .deux-col { grid-template-columns: 1fr; } }
.colle { position: sticky; top: calc(var(--entete) + 30px); }
@media (max-width: 880px) { .colle { position: static; } }
.prix-encart { background: var(--nuit); color: var(--creme); border-radius: var(--r-grande); padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; isolation: isolate; }
.prix-encart::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 121, 43, .45), transparent 70%); filter: blur(25px); z-index: -1; }
.prix-encart.gravity::before { background: radial-gradient(circle, rgba(123, 104, 238, .55), transparent 70%); }
.prix-encart .montants { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 24px; }
.prix-encart .montants div { background: var(--nuit-3); border-radius: 16px; padding: 18px; }
.prix-encart .montants b { display: block; white-space: nowrap; font-family: var(--f-titre); font-size: clamp(24px, 2.3vw, 32px); font-weight: 900; color: var(--orange); line-height: 1.05; }
.prix-encart.gravity .montants b { color: var(--violet); }
.prix-encart .montants span { font-family: var(--f-mono); font-size: 12.5px; color: var(--gris); }
.page-texte h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.6em; }
.page-texte p, .page-texte li { color: #3A4152; }
.page-texte ul { padding-left: 1.2em; }
.etapes-num { list-style: none; padding: 0; margin: 0; counter-reset: e; display: grid; gap: 14px; }
.etapes-num li { counter-increment: e; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 18px 20px; }
.etapes-num li::before { content: counter(e); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--nuit); font-family: var(--f-titre); font-weight: 900; }
.sombre .etapes-num li { background: var(--nuit-2); border-color: rgba(247, 245, 240, .1); }
.introuvable { min-height: 100vh; display: flex; align-items: center; }
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; } }
.liste-liens { display: flex; flex-wrap: wrap; gap: 10px; }
.liste-liens a { text-decoration: none; border: 1px solid var(--ligne); background: #fff; border-radius: var(--r-pilule); padding: 9px 16px; font-size: 14.5px; }
.liste-liens a:hover { border-color: var(--nuit); }
.ebook-couv { aspect-ratio: 3 / 4; max-width: 360px; border-radius: 18px; background: var(--nuit); color: var(--creme); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--ombre); }
.ebook-couv img.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -1; }
.ebook-couv .titre-couv { font-family: var(--f-titre); font-weight: 900; font-size: 22px; line-height: 1.15; }
.telechargement-guide { margin: 0 0 20px; }
.telechargement-guide .btn { white-space: normal; text-align: center; }
.article-cote .telechargement-guide .btn { width: 100%; }
.ebook-couv .logo-couv { height: 22px; width: auto; }
.ebook-chapitres { columns: 2; column-gap: 32px; padding-left: 1.2em; }
.ebook-chapitres li { break-inside: avoid; margin-bottom: 8px; }
@media (max-width: 640px) { .ebook-chapitres { columns: 1; } }
