/* ==========================================================================
   SPHERIS — Feuille de style principale
   Aucune dépendance, aucun build, aucune ressource externe.
   Les polices sont hébergées localement : aucune donnée visiteur ne quitte
   le serveur (pas de CDN Google Fonts, donc pas de transfert hors UE).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Polices auto-hébergées
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
/* Italique authentique réservé aux mots accentués des titres */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de base */
  --nuit:   #2B2D4A;
  --nuit-2: #454868;
  --brume:  #F8F7FC;
  --lin:    #EFECF7;
  --ligne:  #DFDAEF;
  --blanc:  #FFFFFF;
  --iris:   #6C63C0;

  /* Couleurs des quatre routes 4R */
  --menthe: #93D7C0;   /* 01 Compréhension */
  --azur:   #A3BDF2;   /* 02 Gouvernance   */
  --rose:   #EFA9C2;   /* 03 Usages        */
  --soleil: #F6D384;   /* 04 Adoption      */

  /* Bleu de la mascotte EGO */
  --ego:    #3E74B4;

  /* Typographie */
  --f-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --f-body:    'Figtree', 'Segoe UI', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;
  --f-accent:  'Newsreader', Georgia, serif;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Ombres */
  --sh-card:  0 1px 2px rgba(43,45,74,.04);
  --sh-hover: 0 18px 40px -22px rgba(43,45,74,.35);
  --sh-deep:  0 24px 50px -28px rgba(43,45,74,.45);

  /* Rythme */
  --gut: 20px;
  --max: 1152px;
}

/* --------------------------------------------------------------------------
   2. Réinitialisation
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--brume);
  color: var(--nuit);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. Mise en page
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: 80px; }
.section--tight { padding-block: 56px; }

@media (min-width: 768px) {
  body { font-size: 17px; }
  .container { padding-inline: 32px; }
  .section { padding-block: 112px; }
  .section--tight { padding-block: 72px; }
}

.section--dark {
  background: var(--nuit);
  color: var(--brume);
}
.section--lin {
  background: var(--lin);
  border-block: 1px solid var(--ligne);
}
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.center { text-align: center; }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px)  { .g-sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .g-md-2 { grid-template-columns: repeat(2, 1fr); }
                             .g-md-3 { grid-template-columns: repeat(3, 1fr); }
                             .g-md-4 { grid-template-columns: repeat(4, 1fr); } }

.flex { display: flex; }
.wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 10px; }
.gap-md { gap: 18px; }
.shrink-0 { flex-shrink: 0; }

.measure    { max-width: 40rem; }
.measure-lg { max-width: 46rem; }

.mt-1 { margin-top: 8px }   .mt-2 { margin-top: 16px }
.mt-3 { margin-top: 24px }  .mt-4 { margin-top: 32px }
.mt-6 { margin-top: 48px }  .mt-8 { margin-top: 64px }
.mb-1 { margin-bottom: 8px } .mb-2 { margin-bottom: 16px }
.mb-3 { margin-bottom: 24px } .mb-4 { margin-bottom: 32px }
.mb-6 { margin-bottom: 48px }

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--iris);
}
.eyebrow--muted { color: rgba(69,72,104,.6); }
.eyebrow--menthe { color: var(--menthe); }

.h1 { font-size: clamp(2.4rem, 7vw, 3.75rem); }
.h2 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); }
.h3 { font-size: clamp(1.35rem, 3vw, 1.65rem); }
.h4 { font-size: 1.2rem; }

.accent,
.accent--menthe {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  /* Newsreader a une hauteur d'x plus faible : compensation optique */
  font-size: 1.08em;
}
.accent { color: var(--iris); }
.accent--menthe { color: var(--menthe); }

.lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--nuit-2);
}
.section--dark .lead,
.section--dark .prose { color: rgba(248,247,252,.78); }

.prose p + p { margin-top: 16px; }
.prose { color: var(--nuit-2); }

.small { font-size: .95rem; }
.mono  { font-family: var(--f-mono); font-size: .8rem; }
.muted { color: rgba(69,72,104,.65); }
.section--dark .muted { color: rgba(248,247,252,.55); }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }

.btn--dark  { background: var(--nuit); color: var(--brume); }
.btn--dark:hover { background: var(--iris); }

.btn--ghost { border-color: rgba(43,45,74,.25); color: var(--nuit); }
.btn--ghost:hover { border-color: var(--iris); color: var(--iris); }

.btn--light { background: var(--brume); color: var(--nuit); }
.btn--light:hover { background: var(--menthe); }

.btn--menthe { background: var(--menthe); color: var(--nuit); }
.btn--menthe:hover { background: var(--brume); }

.section--dark .btn--ghost { border-color: rgba(255,255,255,.25); color: var(--brume); }
.section--dark .btn--ghost:hover { border-color: var(--menthe); color: var(--menthe); }

.btn--sm { padding: 10px 20px; font-size: .95rem; }

.link {
  font-weight: 600;
  color: var(--iris);
  text-decoration: none;
}
.link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. Cartes, panneaux, étiquettes
   -------------------------------------------------------------------------- */
.card {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-card);
}
@media (min-width: 768px) { .card { padding: 36px; } }
.card--flat { box-shadow: none; }

.card--lift { transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s; }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }

.panel {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  padding: 28px;
}
@media (min-width: 768px) { .panel { padding: 36px; } }

.tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .72rem;
  padding: 5px 13px;
  border-radius: var(--r-full);
  background: var(--lin);
  color: var(--nuit);
}
.tag--menthe { background: rgba(147,215,192,.3); }
.tag--azur   { background: rgba(163,189,242,.3); }
.tag--rose   { background: rgba(239,169,194,.3); }
.tag--soleil { background: rgba(246,211,132,.38); }

.pill {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid var(--ligne);
  background: var(--blanc);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: .95rem;
}

.icon-box {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
}
.icon-box--menthe { background: rgba(147,215,192,.38); }
.icon-box--azur   { background: rgba(163,189,242,.38); }
.icon-box--rose   { background: rgba(239,169,194,.38); }
.icon-box--soleil { background: rgba(246,211,132,.45); }

/* Vignette numérotée d'étape */
.step-num {
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  border: 3px solid var(--ligne);
  background: var(--blanc);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  flex-shrink: 0;
}
.step-num--menthe { border-color: var(--menthe); background: rgba(147,215,192,.3); }
.step-num--azur   { border-color: var(--azur);   background: rgba(163,189,242,.3); }
.step-num--rose   { border-color: var(--rose);   background: rgba(239,169,194,.3); }
.step-num--soleil { border-color: var(--soleil); background: rgba(246,211,132,.35); }

/* Liste à tirets colorés */
.dash-list li { display: flex; gap: 12px; }
.dash-list li + li { margin-top: 10px; }
.dash-list .dash { font-weight: 700; flex-shrink: 0; }

/* Citation */
.quote {
  border-left: 2px solid var(--menthe);
  padding-left: 24px;
}
.quote p {
  font-family: var(--f-accent);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. Halos décoratifs
   -------------------------------------------------------------------------- */
.blob {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.blob--menthe { background: var(--menthe); }
.blob--azur   { background: var(--azur); }
.blob--rose   { background: var(--rose); }
.blob--soleil { background: var(--soleil); }
.blob--iris   { background: var(--iris); }
.above { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   8. Barre d'urgence, navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--nuit);
  color: var(--brume);
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  text-align: center;
  padding: 9px 16px;
}
.topbar .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: var(--r-full);
  background: var(--rose);
  margin-right: 8px;
  vertical-align: middle;
}
.topbar .alert { color: var(--rose); }
.topbar .sep { opacity: .4; margin-inline: 8px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.topbar .tel { opacity: .8; }
@media (max-width: 639px) { .topbar .hide-xs { display: none; } }

#progressbar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--menthe), var(--azur), var(--rose), var(--soleil));
  z-index: 60;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,247,252,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne);
}
.site-header .bar {
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.nav-main { display: none; }
@media (min-width: 1000px) {
  .nav-main { display: flex; align-items: center; gap: 22px; }
}
.nav-main a {
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  transition: color .2s;
}
.nav-main a:hover { color: var(--iris); }
.nav-main a[aria-current="page"] { color: var(--iris); }

.burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px;
}
.burger span {
  width: 24px; height: 2px; border-radius: 2px; background: var(--nuit);
}
@media (min-width: 1000px) { .burger { display: none; } }

.nav-mobile {
  max-height: 0; overflow: hidden;
  border-top: 1px solid var(--ligne);
  background: var(--brume);
  transition: max-height .35s ease;
}
.nav-mobile nav {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px;
}
.nav-mobile a { text-decoration: none; font-weight: 600; }
@media (min-width: 1000px) { .nav-mobile { display: none; } }

/* --------------------------------------------------------------------------
   9. En-tête de page intérieure
   -------------------------------------------------------------------------- */
.page-head { position: relative; overflow: hidden; padding-block: 64px 56px; }
@media (min-width: 768px) { .page-head { padding-block: 88px 72px; } }

.breadcrumb {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(69,72,104,.6);
  margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--iris); }
.breadcrumb .sep { margin-inline: 8px; opacity: .5; }

/* --------------------------------------------------------------------------
   10. Chiffres
   -------------------------------------------------------------------------- */
.stat { border-top: 2px solid var(--ligne); padding-top: 20px; }
.stat--menthe { border-color: var(--menthe); }
.stat--azur   { border-color: var(--azur); }
.stat--rose   { border-color: var(--rose); }
.stat--soleil { border-color: var(--soleil); }
.stat .num {
  font-family: var(--f-display);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
}
.stat p { font-size: .92rem; color: var(--nuit-2); margin-top: 8px; }
.section--dark .stat { border-color: rgba(255,255,255,.15); }
.section--dark .stat p { color: rgba(248,247,252,.7); }

/* --------------------------------------------------------------------------
   11. Mascottes
   -------------------------------------------------------------------------- */
.masc-stage {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 300px;
  padding: 40px 24px 24px;
}
.masc-stage--now { background: linear-gradient(135deg, rgba(147,215,192,.3), rgba(163,189,242,.25) 50%, rgba(239,169,194,.3)); }
.masc-stage--ego { background: linear-gradient(135deg, rgba(163,189,242,.35), var(--lin) 55%, rgba(147,215,192,.25)); }
.masc-stage .ground {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 150px; height: 16px;
  border-radius: var(--r-full);
  background: rgba(43,45,74,.1);
  filter: blur(8px);
}
.masc-img {
  position: relative;
  height: 230px; width: auto;
  filter: drop-shadow(0 12px 18px rgba(43,45,74,.18));
  animation: bob 6s ease-in-out infinite;
}
.masc-card:last-child .masc-img { animation-delay: -3s; }
.masc-card:hover .masc-img { animation-duration: 2.4s; }
.mini-masc { animation: bob 7s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.masc-card {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
.masc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-deep); }
.masc-body { padding: 28px; flex: 1; }
@media (min-width: 768px) { .masc-body { padding: 36px; } }
.masc-credo {
  font-family: var(--f-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--iris);
}

/* --------------------------------------------------------------------------
   12. Sphère orbitale
   -------------------------------------------------------------------------- */
#sphere-wrap { animation: float 9s ease-in-out infinite; max-width: 400px; margin-inline: auto; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.orbit, .orbit-dot { transition: stroke-width .45s, opacity .45s, r .45s; }
.chip {
  border: 1px solid var(--ligne);
  background: transparent;
  border-radius: var(--r-full);
  padding: 7px 17px;
  font-size: .92rem;
  font-weight: 600;
  transition: background-color .25s, border-color .25s, transform .25s;
}
.chip:hover { transform: translateY(-2px); }
.sphere-label { min-height: 52px; text-align: center; margin-top: 8px; }
.sphere-label .t { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.sphere-label .s { font-size: .93rem; color: var(--nuit-2); }

/* --------------------------------------------------------------------------
   13. Méthode 4R — routes et bornes
   -------------------------------------------------------------------------- */
.road { transition: stroke .45s, stroke-width .45s; }
.mark { transition: opacity .45s; }
.mark.travel { animation: travel 1.6s linear infinite; }
@keyframes travel { to { stroke-dashoffset: -44; } }

.road-hit { cursor: pointer; }
.road-hit rect { transition: fill .3s, stroke .3s; }
.road-hit text { transition: fill .3s; }

.borne { transform-box: fill-box; transform-origin: center; }
.borne.on { animation: bornePop .55s cubic-bezier(.2,.9,.3,1); }
@keyframes bornePop {
  0%   { transform: translateY(0); }
  45%  { transform: translateY(-9px); }
  100% { transform: translateY(0); }
}
.borne-badge { transition: transform .35s cubic-bezier(.2,.9,.3,1); }
.borne-badge:hover { transform: translateY(-7px); }

.road-panel { display: none; }
.road-panel.active { display: block; animation: fadeUp .5s cubic-bezier(.2,.7,.3,1); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   14. Diagnostic
   -------------------------------------------------------------------------- */
.diag-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(6px);
}
@media (min-width: 768px) { .diag-box { padding: 40px; } }

.opt {
  display: block; width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: inherit;
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-weight: 600;
  transition: border-color .2s, background-color .2s;
}
.opt:hover { border-color: var(--menthe); background: rgba(255,255,255,.05); }
.opt[aria-pressed="true"] { background: var(--brume); color: var(--nuit); border-color: var(--brume); }

.q-dots { display: flex; gap: 6px; }
.q-dots span {
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: rgba(255,255,255,.2);
}
.q-dots span.done { background: var(--menthe); }
.q-dots span.now  { background: var(--brume); }

#gauge-arc { transition: stroke-dashoffset 1.1s cubic-bezier(.2,.7,.3,1); }
.prio-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 20px;
}
.hidden { display: none !important; }

/* --------------------------------------------------------------------------
   15. Livrables (page intérieure)
   -------------------------------------------------------------------------- */
.deliver {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--ligne);
}
.deliver .check {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: var(--r-full);
  background: rgba(147,215,192,.4);
  display: grid; place-items: center;
}

/* Accordéon FAQ */
.faq { border-top: 1px solid var(--ligne); }
.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  list-style: none;
  display: flex; justify-content: space-between; gap: 20px;
  align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--iris);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 24px; color: var(--nuit-2); }

/* Encart d'avertissement / note */
.note {
  border-left: 3px solid var(--soleil);
  background: rgba(246,211,132,.16);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  font-size: .95rem;
}

/* Emplacement réservé pour une capture d'écran */
.shot {
  border: 1px dashed var(--ligne);
  border-radius: var(--r-md);
  background: var(--lin);
  min-height: 260px;
  display: grid; place-items: center;
  text-align: center;
  padding: 32px;
  color: rgba(69,72,104,.6);
  font-family: var(--f-mono);
  font-size: .82rem;
}

/* --------------------------------------------------------------------------
   16. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brume);
  border-top: 1px solid var(--ligne);
  padding-block: 40px;
  font-family: var(--f-mono);
  font-size: .76rem;
  color: rgba(69,72,104,.72);
}
.site-footer .rows {
  display: flex; flex-direction: column; gap: 24px;
  justify-content: space-between;
}
@media (min-width: 640px) { .site-footer .rows { flex-direction: row; } }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--iris); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* --------------------------------------------------------------------------
   17. Apparitions au défilement
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

.intro { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.3,1) forwards; }
.d1 { animation-delay: .05s } .d2 { animation-delay: .18s }
.d3 { animation-delay: .31s } .d4 { animation-delay: .44s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   18. Respect des préférences de mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro  { opacity: 1; transform: none; animation: none; }
  #sphere-wrap, .masc-img, .mini-masc { animation: none; }
  .card--lift:hover, .chip:hover, .masc-card:hover, .btn:hover, .borne-badge:hover { transform: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
