/*
  ============================================================
  VALOR ADVISORY — Feuille de styles partagée
  ============================================================
  Utilisée par toutes les pages du site :
    - index.html        (page d'accueil)
    - notre-vision.html (section Approche)
    - a-propos.html     (section Story)
    - resultats.html    (section Témoignages)
    - faq.html          (section FAQ)
  ============================================================
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
strong { font-weight: 700; }

/* ── VARIABLES ── */
:root {
  --noir:       #000000;
  --noir-2:     #080808;
  --noir-3:     #0f0f0f;
  --noir-card:  #111111;
  --violet:     #7c3aed;
  --violet-2:   #9b59f5;
  --cyan:       #5de8d8;
  --grad:       linear-gradient(135deg, #7c3aed 0%, #5de8d8 100%);
  --grad-text:  linear-gradient(135deg, #a78bfa 0%, #5de8d8 100%);
  --grad-btn:   linear-gradient(135deg, #7c3aed 0%, #2dd4bf 100%);
  --blanc:      #ffffff;
  --gris-clair: #a0a0a0;
  --gris:       #555;
  --border:     rgba(255,255,255,0.07);
  --border-v:   rgba(124,58,237,0.35);
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-corps: 'Space Grotesk', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--font-corps);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--violet); }

/* ── UTILITAIRE TEXTE DÉGRADÉ ── */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--blanc);
}
.logo span {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
nav a { color: var(--gris-clair); text-decoration: none; font-size: .82rem; transition: color .2s; }
nav a:hover { color: var(--blanc); }
/* Lien actif — page courante */
nav a.active { color: var(--blanc); position: relative; }
nav a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--grad-btn); border-radius: 2px;
}
.nav-cta {
  padding: .55rem 1.5rem; background: var(--grad-btn);
  color: var(--blanc) !important; border-radius: 100px; font-weight: 500;
  transition: opacity .2s, transform .15s !important;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }
.nav-cta.active::after { display: none; } /* Pas de soulignement sur le CTA */

/* ── PAGE HEADER (pour les pages secondaires) ── */
.page-header {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 9rem 4rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-header-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 50% 60%, rgba(124,58,237,.12) 0%, transparent 65%),
    radial-gradient(ellipse 30% 30% at 80% 20%, rgba(93,232,216,.05) 0%, transparent 50%);
}
.page-header-content { position: relative; z-index: 1; max-width: 800px; }
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800; line-height: .97; letter-spacing: -.03em;
  margin-bottom: 1.2rem;
  animation: fadeUp .8s .1s ease both;
}
.page-header p {
  font-size: 1.05rem; color: var(--gris-clair);
  max-width: 560px; margin: 0 auto;
  animation: fadeUp .8s .22s ease both;
}
/* Fil d'Ariane sous le header */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gris-clair); margin-bottom: 1.5rem;
  animation: fadeUp .8s ease both;
  position: relative; z-index: 1;
}
.breadcrumb a { color: var(--gris-clair); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--violet-2); }
.breadcrumb span { color: var(--violet-2); }
.breadcrumb .sep { opacity: .4; }

/* ── SECTIONS ── */
section { padding: 6rem 4rem; }

.stag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--violet-2); margin-bottom: 1.2rem; position: relative;
}
.stag::before { content: '✦'; font-size: .45rem; }
.stag::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--grad-text); transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease .2s;
}
.reveal.visible .stag::after { transform: scaleX(1); }

h2 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}

/* ── BOUTONS ── */
.btn-grad {
  display: inline-block; background: var(--grad-btn); color: var(--blanc);
  padding: .9rem 2.4rem; border-radius: 100px; font-size: .88rem;
  font-weight: 500; text-decoration: none; letter-spacing: .03em;
  position: relative; box-shadow: 0 0 0 0 rgba(124,58,237,0);
  transition: opacity .2s, transform .2s, box-shadow .3s;
}
.btn-grad:hover {
  opacity: .85; transform: translateY(-2px);
  box-shadow: 0 0 30px 6px rgba(124,58,237,0.35), 0 0 60px 12px rgba(93,232,216,0.15);
}
.btn-ghost {
  display: inline-block; border: 1px solid var(--border);
  color: var(--blanc); background: rgba(255,255,255,.03);
  padding: .88rem 2.2rem; border-radius: 100px; font-size: .88rem;font-style: bold;
  text-decoration: none; transition: border-color .2s, color .2s, transform .2s;
}
.btn-ghost:hover { border-color: rgba(124,58,237,.5); color: var(--blanc); transform: translateY(-2px); }

/* ── STATS BAND ── */
.stats-band { border-bottom: 1px solid var(--border); padding: 4rem; }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); max-width: 2000px; margin: 0 auto; align-items: center; }
.s-blk { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid var(--border); }
.s-blk:last-child { border-right: none; }
.s-num {
  font-family: var(--font-head); font-size: 4.2rem; font-weight: 800; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.s-lbl { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-clair); margin-top: .5rem; }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.1rem 0; background: var(--noir-2);
}
.marquee-track { display: flex; gap: 3rem; animation: marquee 20s linear infinite; white-space: nowrap; width: max-content; }
.marquee-item { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gris); display: flex; align-items: center; gap: 1.5rem; }
.marquee-item .dot { color: var(--violet-2); font-size: .5rem; }

/* ── SECTION POURQUOI ── */
#pourquoi { background: var(--noir); }
.pq-wrap { max-width: 2500px; margin: 0 auto; }
.pq-grid { display: grid; align-items: start; }
.pq-left p { color: var(--gris-clair); margin-bottom: 1rem; font-size: .96rem; }
.pq-left strong { color: var(--gris-clair); font-weight: 500; }
.pb-list { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pb-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 1.4rem; background: var(--noir-card);
  border: 1px solid var(--border); border-radius: 12px;
  opacity: 0; transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease, border-color .25s;
}
.pb-item.visible { opacity: 1; transform: none; }
.pb-item:hover { border-color: var(--border-v); transform: translateX(4px); }
.pb-item:nth-child(1) { transition-delay: .05s; }
.pb-item:nth-child(2) { transition-delay: .12s; }
.pb-item:nth-child(3) { transition-delay: .19s; }
.pb-item:nth-child(4) { transition-delay: .26s; }
.pb-item:nth-child(5) { transition-delay: .33s; }
.pb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 7px; background: var(--grad-btn); }
.pb-item h4 { font-size: .87rem; font-weight: 600; margin-bottom: .2rem; }
.pb-item p { font-size: .81rem; color: var(--gris-clair); line-height: 1.55; }
.pq-right { display: flex; flex-direction: column; gap: 1.4rem; }
.cite-card {
  padding: 2.5rem; border: 1px solid var(--border-v); border-radius: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,.07) 0%, rgba(93,232,216,.03) 100%);
  position: relative;
}
.cite-card::before {
  content: '"'; font-family: var(--font-head); font-size: 7rem; line-height: .8;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: absolute; top: .8rem; left: 1.5rem; opacity: .25;
}
.cite-card blockquote { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.45; position: relative; z-index: 1; }
.cite-src { margin-top: 1rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gris-clair); }
.info-card { padding: 2rem; background: var(--noir-card); border: 1px solid var(--border); border-radius: 14px; }
.info-card p { font-size: .89rem; color: var(--gris-clair); line-height: 1.7; text-align: justify; }
.info-card strong { color: var(--blanc); font-weight: 500; }

/* ── SECTION APPROCHE ── */
#approche { background: var(--noir); }
.ap-wrap { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.ap-head { max-width: 640px; margin-bottom: 4rem; text-align: center; }
.ap-head p { color: var(--gris-clair); font-size: .97rem; }
.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.val-card {
  padding: 2.2rem 1.8rem; background: var(--noir-card);
  border: 1px solid var(--border); border-radius: 16px;
  position: relative; overflow: hidden; transform-style: preserve-3d;
  transition: border-color .3s, transform .2s ease;
}
.val-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-btn); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.val-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, rgba(124,58,237,0), rgba(93,232,216,0)); transition: background .3s;
}
.val-card:hover { border-color: var(--border-v); transform: translateY(-5px); }
.val-card:hover::after { transform: scaleX(1); }
.val-card:hover::before { background: linear-gradient(135deg, rgba(124,58,237,.5), rgba(93,232,216,.3)); }
.v-num {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 800; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: .15; margin-bottom: .7rem;
}
.val-card h3 { font-family: var(--font-head); font-size: .93rem; font-weight: 700; margin-bottom: .7rem; }
.val-card p { font-size: .83rem; color: var(--gris-clair); line-height: 1.65; }

/* ── SECTION STORY ── */
#story { background: var(--noir-2); }
.st-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; max-width: 2000px; margin: 0 auto; }
.st-text p { color: var(--gris-clair); margin-bottom: 1rem; font-size: .97rem; }
.st-text strong { color: var(--blanc); font-weight: 500; }
.st-text .btn-grad { margin-top: 1.8rem; display: inline-block; }
.chiffres { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.chiffre { padding: 1.8rem; background: var(--noir-card); border: 1px solid var(--border); border-radius: 14px; transition: border-color .25s; }
.chiffre:hover { border-color: var(--border-v); }
.c-val {
  white-space: nowrap; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.c-row { display: flex; align-items: baseline; justify-content: center; gap: .5rem; white-space: nowrap; }
.c-bis { white-space: nowrap; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.c-lbl { font-size: .7rem; letter-spacing: .1em;text-align: center; text-transform: uppercase; color: var(--gris-clair); margin-top: .4rem; }
.sq-card {
  padding: 1.8rem 2rem; border: 1px solid var(--border-v); border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.07), rgba(93,232,216,.03));
}
.sq-card blockquote { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.sq-src { margin-top: .8rem; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gris-clair); }

/* ── PROGRAMME ── */
#programme { background: var(--noir); }
.pr-wrap { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.pr-head { margin-bottom: 4rem; text-align: center; width: 100%; }
.pr-head p { color: var(--gris-clair); font-size: .97rem; }
.axes { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-bottom: 4rem; width: 100%; }
.axe { perspective: 1000px; height: 160px; cursor: pointer; }
.axe-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.6s ease;
  border-radius: 14px; border: 1px solid var(--border); background: var(--noir-card);
}
.axe:hover .axe-inner {
  transform: rotateY(180deg); border-color: var(--border-v);
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(93,232,216,.04));
}
.axe-front, .axe-back {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 14px;
  padding: 2rem; display: flex; align-items: center; text-align: center; gap: 1.2rem; color: var(--blanc);
}
.axe-front { justify-content: center; }
.axe-back { transform: rotateY(180deg); justify-content: center; }
.axe-front h3 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; }
.axe-back p { color: var(--blanc); font-weight: bold; font-size: 1rem; line-height: 1.6; }
.axe-ic { background: none; border: none; border-radius: 0; padding: 0; font-size: 2.4rem; color: var(--violet); }
.mod-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); margin-bottom: 1.2rem; font-weight: 500; }
.modules { display: flex; flex-direction: column; gap: .7rem; }
.mod {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.6rem 2rem; background: var(--noir-card);
  border: 1px solid var(--border); border-radius: 12px;
  opacity: 0; transform: translateX(-16px);
  transition: border-color .25s, transform .4s ease, opacity .4s ease;
}
.mod.visible { opacity: 1; transform: translateX(0); }
.mod:hover { border-color: var(--border-v); transform: translateX(4px) !important; }
.mod:nth-child(1) { transition-delay: .04s; }
.mod:nth-child(2) { transition-delay: .10s; }
.mod:nth-child(3) { transition-delay: .16s; }
.mod:nth-child(4) { transition-delay: .22s; }
.mod:nth-child(5) { transition-delay: .28s; }
.mod:nth-child(6) { transition-delay: .34s; }
.m-num {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: .35;
}
.m-h { font-family: var(--font-head); font-size: .88rem; font-weight: 700; margin-bottom: .25rem; }
.m-p { font-size: .81rem; color: var(--gris-clair); line-height: 1.5; }
.m-tag { padding: .28rem .85rem; border-radius: 100px; background: rgba(124,58,237,.12); border: 1px solid var(--border-v); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); white-space: nowrap; }

/* ── TÉMOIGNAGES ── */
#temoignages { background: var(--noir-2); }
.te-wrap { max-width: 1100px; margin: 0 auto; }
.te-head {
  max-width: 480px; margin: 0 auto 4rem auto; position: relative;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.te-blob { position: absolute; right: -60px; top: -20px; animation: float 7s ease-in-out infinite; }
.te-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.te-card {
  padding: 2rem; background: var(--noir-card); border: 1px solid var(--border); border-radius: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; transition: border-color .3s, transform .3s;
}
.te-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, rgba(124,58,237,0), rgba(93,232,216,0)); transition: background .3s;
}
.te-card:hover { border-color: var(--border-v); transform: translateY(-5px); }
.te-card:hover::before { background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(93,232,216,.25)); }
.te-body p { font-size: .9rem; color: var(--gris-clair); line-height: 1.65; font-style: italic; }
.te-foot { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.te-name { font-family: var(--font-head); font-size: .88rem; font-weight: 700; }
.te-role { font-size: .73rem; color: var(--gris-clair); margin-top: .2rem; }

/* ── CTA BAND ── */
.cta-band {
  padding: 5.5rem 4rem; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(124,58,237,.1) 0%, transparent 65%);
}
.cta-band h2, .cta-band p { position: relative; z-index: 1; }
.cta-band p { color: var(--gris-clair); margin: .8rem auto 2.5rem; max-width: 500px; font-size: .97rem; }

/* ── FAQ ── */
#faq { background: var(--noir); }
.fq-wrap { max-width: 780px; margin: 0 auto; }
.fq-head { margin-bottom: 3.5rem; }
.fq-item { border-bottom: 1px solid var(--border); }
.fq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; cursor: pointer; border-bottom: 1px solid var(--border);
  gap: 1rem; user-select: none;
}
.fq-q:hover { color: var(--violet-2); }
.fq-icon {
  width: 27px; height: 27px; flex-shrink: 0; border-radius: 50%;
  background: rgba(124,58,237,.12); border: 1px solid var(--border-v);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--violet-2); transition: transform .3s, background .2s;
}
.fq-item.open .fq-icon { transform: rotate(45deg); background: rgba(124,58,237,.25); }
.fq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; text-align: justify; }
.fq-a p { padding-bottom: 1.5rem; color: var(--gris-clair); font-size: .9rem; line-height: 1.7; }
.fq-item.open .fq-a { max-height: 800px; }

/* ── CONTACT ── */
#contact { background: var(--noir-2); }
.ct-wrap { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ct-text p { color: var(--gris-clair); font-size: .96rem; margin-bottom: 1rem; }
.ct-text .btn-grad { margin-top: 1.8rem; display: inline-block; }
.ct-card { background: var(--noir-card); border: 1px solid var(--border); border-radius: 18px; padding: 2.5rem; }
.ct-card p { color: var(--gris-clair); font-size: .87rem; margin-bottom: 1.5rem; }
.ct-email {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-decoration: none; margin-bottom: 2rem; cursor: pointer; pointer-events: auto;
}
.ct-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.ct-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .48rem 1.1rem; border-radius: 100px;
  border: 1px solid var(--border); font-size: .77rem; color: var(--gris-clair);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.ct-pill:hover { border-color: var(--violet); color: var(--blanc); }

/* ── FOOTER ── */
footer {
  background: var(--noir); border-top: 1px solid var(--border);
  padding: 2.5rem 4rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.ft-logo { font-family: 'Syne', sans-serif; font-size: .92rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ft-logo span { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
footer p { font-size: .73rem; color: var(--gris); }
footer a { color: var(--gris); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--blanc); }

/* ── ÉLÉMENTS GLOBAUX FIXES ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; width: 0%; background: linear-gradient(90deg, #7c3aed, #5de8d8);
  transition: width .1s linear;
}
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, transparent 70%);
  transform: translate(-50%, -50%); transition: left .12s ease, top .12s ease;
}
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-v); background: var(--noir-card); color: var(--blanc);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s, box-shadow .3s; backdrop-filter: blur(10px);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--grad-btn); border-color: transparent; box-shadow: 0 0 20px 4px rgba(124,58,237,0.4); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-14px) rotate(3deg); }
  66%      { transform: translateY(-7px) rotate(-2deg); }
}
@keyframes pulsering {
  0%,100% { transform: scale(1); opacity: .7; }
  50%      { transform: scale(1.15); opacity: .3; }
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes shimmer { 0%{background-position: -200% center;} 100%{background-position: 200% center;} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }

.s-num.counting, .c-val.counting {
  background: linear-gradient(90deg, #a78bfa, #5de8d8, #fff, #a78bfa);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer .8s linear;
}

.typewriter-cursor::after {
  content: '|'; animation: blink .7s step-end infinite; color: #a78bfa; margin-left: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .page-header { padding: 7rem 1.5rem 3rem; }
  .stats-band { padding: 3rem 1.5rem; }
  .stats-row { grid-template-columns: 1fr; }
  .s-blk { border-right: none; border-bottom: 1px solid var(--border); padding: 1.8rem; }
  .s-blk:last-child { border-bottom: none; }
  .pq-grid, .st-wrap, .ct-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .pb-list { grid-template-columns: 1fr; }
  .val-grid, .axes, .te-grid { grid-template-columns: 1fr; }
  .mod { grid-template-columns: 44px 1fr; }
  .m-tag { display: none; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-band { padding: 4rem 1.5rem; }
  .te-blob { display: none; }
}
