/* ═══════════════════════════════════════════════════════════════
   shared.css — Common styles for moUve subpages
   (patient.html, pro.html, reeduc.html)
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── CSS Custom Properties ── */
:root {
  /* Primary blues (canonical --b- prefix) */
  --b-vif: #4D80F0;
  --b-principal: #3456A2;
  --b-noir: #18284A;
  --b-l1: #E7EEFD;
  --b-l2: #DFE7FD;
  --b-l3: #C3D3FA;
  --b-l4: #B6C9F8;
  --b-l5: #9DBBFD;

  /* Aliases for reeduc page — soft rose theme */
  --t-vif: #E8949A;
  --t-principal: #D4787F;
  --t-noir: #8C4448;
  --t-l1: #FDF0F1;
  --t-l2: #F8DFE1;
  --t-l3: #F0C4C8;
  --t-l4: #E8A8AD;
  --t-l5: #ECBABF;

  /* Reds */
  --r-principal: #EC686B;
  --r-fonce: #A3282A;
  --r-clair: #F77F8B;
  --r-l1: #FEF4F5;
  --r-l5: #F5ACAE;

  /* Oranges */
  --o-principal: #FC9F42;
  --o-clair: #FDB35D;
  --o-fonce: #A3641C;
  --o-l1: #FCF0E3;
  --o-l2: #FBE6CE;
  --o-l5: #F2B672;

  /* Greens (partner theme) */
  --g-vif: #34A853;
  --g-principal: #2D8C47;
  --g-noir: #1A5C2E;
  --g-l1: #EDF7F0;
  --g-l2: #D4EDDB;
  --g-l3: #A8D5B5;
  --g-l4: #7DC08E;
  --g-l5: #5AAE6E;
  --g-clair: #4CAF72;

  /* Text */
  --texte: #1E2A42;
  --texte-soft: #5A627A;
}

html {
  scroll-behavior: smooth;
}

/* ── Page Entrance Overlay ── */
.entrance-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translateY(0) translateZ(0);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1) .25s,
              opacity .2s ease .85s;
  will-change: transform, opacity;
}
.entrance-overlay.reveal {
  transform: translateY(-100%);
  opacity: 0;
}

.entrance-logo {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.4);
  height: clamp(36px, 5.5vh, 60px);
  width: auto;
  pointer-events: none;
  transition: top .7s cubic-bezier(.22, 1, .36, 1) .15s,
              left .7s cubic-bezier(.22, 1, .36, 1) .15s,
              transform .7s cubic-bezier(.22, 1, .36, 1) .15s,
              opacity .2s ease .8s;
}
.entrance-logo.settled {
  opacity: 0;
}

/* ── Body Base ── */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--texte);
  overflow-x: hidden;
  line-height: 1.6;
  background: #f4f7fe;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 8% 18%, rgba(183, 201, 248, .32) 0%, transparent 62%),
    radial-gradient(ellipse 65% 45% at 92% 62%, rgba(245, 172, 174, .22) 0%, transparent 58%),
    radial-gradient(ellipse 55% 40% at 48% 95%, rgba(248, 218, 184, .18) 0%, transparent 52%),
    linear-gradient(172deg, #f2f6fd 0%, #edf1fc 35%, #f6f2f7 68%, #fdf6f1 100%);
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--b-principal);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-size: .9rem;
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}


/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(52, 86, 162, .06);
  box-shadow: 0 2px 20px rgba(24, 40, 74, .04);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
@supports not (backdrop-filter: blur(1px)) {
  nav { background: rgba(255, 255, 255, .92); }
}
nav.scrolled {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(52, 86, 162, .08);
  box-shadow: 0 4px 24px rgba(24, 40, 74, .06);
}
nav img {
  filter: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
}
.nav-links a {
  text-decoration: none;
  font-size: clamp(.76rem, 1vw, .88rem);
  font-weight: 500;
  color: var(--texte-soft);
  transition: color .2s;
}
.nav-links a:hover {
  color: var(--b-principal);
}
.nav-cta,
.nav-cta-alt {
  padding: .55rem clamp(1rem, 1.4vw, 1.6rem);
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: clamp(.78rem, 1vw, .92rem);
  transition: all .4s cubic-bezier(.22,1,.36,1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
}
/* nav-cta-alt = verre frosted, texte blanc — cohérent sur tous les fonds sombres */
.nav-cta-alt {
  background: rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 2px 12px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: none;
}
.nav-cta-alt::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.nav-cta-alt:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255,255,255,.2) !important;
  border-color: rgba(255,255,255,.35) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 4px 20px rgba(0,0,0,.18);
}
.nav-cta {
  background: var(--b-principal) !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(52, 86, 162, .22);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--b-vif), var(--r-principal)) !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(77, 128, 240, .35);
}

/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
section {
  padding: 64px 5%;
  position: relative;
  overflow: hidden;
  contain: content;
}
section + section {
  padding-top: 48px;
}

.eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--b-principal), var(--b-vif));
  padding: .35rem .85rem;
  border-radius: 6px;
}
/* Vision result pill */
.vision-result-pill {
  position: relative;
  overflow: visible;
  z-index: 1;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  width: 100%;
}
.pill-line {
  font-size: clamp(.75rem, 1.3vw, .95rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 0 16px rgba(var(--page-accent-rgb, 52,86,162), .5), 0 0 6px rgba(255,255,255,.3);
  white-space: nowrap;
}
/* Liseré animé autour de la pill */
.vision-result-pill::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 21px;
  padding: 3px;
  background: conic-gradient(from var(--pill-angle, 0deg), transparent 0%, transparent 40%, rgba(var(--page-accent-rgb, 52,86,162), .3) 50%, rgba(255,255,255,.9) 60%, var(--page-accent, var(--b-vif)) 65%, rgba(255,255,255,.9) 70%, rgba(var(--page-accent-rgb, 52,86,162), .3) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: pillBorderSpin 20s linear infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(var(--page-accent-rgb, 52,86,162), .5));
}
@property --pill-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes pillBorderSpin {
  to { --pill-angle: 360deg; }
}

/* ── Pill border animation — inline-style pills (reeduc, pro) ── */
.pill-border-anim {
  position: relative !important;
  overflow: visible !important;
}
.pill-border-anim::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 25px;
  padding: 3px;
  background: conic-gradient(
    from var(--pill-angle, 0deg),
    transparent 0%,
    transparent 36%,
    rgba(255,255,255,.08) 44%,
    rgba(255,255,255,.88) 54%,
    rgba(255,255,255,.08) 64%,
    transparent 72%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: pillBorderSpin 5s linear infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.45));
  z-index: 2;
}

.s-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--b-noir);
  letter-spacing: -.7px;
  margin-bottom: 1rem;
  text-wrap: balance;
  text-align: center;
}
.s-sub {
  font-size: 1.05rem;
  color: var(--texte-soft);
  line-height: 1.75;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  text-wrap: balance;
  text-align: center;
}
.tc {
  text-align: center;
  display: flow-root;
}

/* ── Tap Hint (hidden on desktop, shown on mobile) ── */
.tap-hint {
  display: none;
}

/* ═══════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-glow-b {
  0%, 100% { box-shadow: 0 4px 18px rgba(52, 86, 162, .22); }
  50% { box-shadow: 0 4px 18px rgba(52, 86, 162, .22), 0 0 0 10px rgba(52, 86, 162, 0); }
}
@keyframes pulse-glow-r {
  0%, 100% { box-shadow: 0 4px 18px rgba(236, 104, 107, .22); }
  50% { box-shadow: 0 4px 18px rgba(236, 104, 107, .22), 0 0 0 10px rgba(236, 104, 107, 0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 159, 66, .25); }
  50% { box-shadow: 0 0 0 12px rgba(252, 159, 66, 0); }
}

/* ── CTA Continuous Shimmer ── */
.btn-p,
.btn-g,
.btn-t,
.nav-cta {
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn-p::after,
.btn-g::after,
.btn-t::after,
.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
  will-change: background-position;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 5% 80px;
  contain: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.why-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--b-principal), var(--b-vif));
  padding: .4rem .9rem;
  border-radius: 6px;
  margin-bottom: 1.4rem;
}
h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--b-noir);
  margin-bottom: 1.5rem;
}
.acc-b { color: var(--b-vif); }
.acc-t { color: var(--t-principal, var(--r-principal)); }
.acc-r { color: var(--r-principal); }
.acc-o { color: var(--o-principal); }
.pill-accent {
  color: #fff !important;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--texte-soft);
  max-width: 520px;
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  text-wrap: balance;
}
.hero-sub strong {
  color: var(--texte);
  font-weight: 600;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 3rem;
  max-width: 380px;
}
.hero-btns > a,
.hero-btns > button {
  align-self: stretch;
  justify-content: center;
  text-align: center;
  white-space: normal;
}
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--b-principal);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 8px 32px rgba(52, 86, 162, .28);
  animation: pulse-glow-b 3s ease-in-out infinite;
}
.btn-p:hover {
  background: linear-gradient(135deg, var(--b-vif), var(--r-principal));
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(77, 128, 240, .38);
}
/* Reeduc btn-t — rose theme */
.btn-t {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--r-principal);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 8px 32px rgba(236, 104, 107, .25);
  animation: pulse-glow-r 3s ease-in-out infinite;
}
.btn-t:hover {
  background: linear-gradient(135deg, var(--r-clair), var(--r-fonce));
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(236, 104, 107, .35);
}
.btn-g {
  --glow-color: var(--page-accent, var(--b-principal));
  --glow-rgb: var(--page-accent-rgb, 52, 86, 162);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .7);
  color: var(--glow-color);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  border: 2px solid rgba(var(--glow-rgb), .3);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .35s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(var(--glow-rgb), .08);
  animation: btnGlow 3s ease-in-out infinite;
}
.btn-g:hover {
  background: rgba(var(--glow-rgb), .06);
  border-color: rgba(var(--glow-rgb), .5);
  box-shadow: 0 0 20px rgba(var(--glow-rgb), .2), 0 0 40px rgba(var(--glow-rgb), .08);
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(var(--glow-rgb), .08); border-color: rgba(var(--glow-rgb), .25); }
  50% { box-shadow: 0 0 20px rgba(var(--glow-rgb), .18), 0 0 40px rgba(var(--glow-rgb), .06); border-color: rgba(var(--glow-rgb), .45); }
}

.hero-kpis {
  display: flex;
  gap: 2.8rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--b-l2);
}
.kpi-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--b-principal);
  display: block;
  line-height: 1;
  letter-spacing: -1px;
}
.kpi-label {
  font-size: .66rem;
  font-weight: 600;
  color: var(--texte-soft);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
}
.kpi-src {
  font-size: .58rem;
  color: var(--b-l5);
  font-style: italic;
  margin-top: 2px;
  display: block;
}

/* Hero phone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ═══════════════════════════════════════════════
   NETWORK DIAGRAM (Radial with center)
   ═══════════════════════════════════════════════ */
.net-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.net-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.net-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--b-principal), var(--b-vif));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(52, 86, 162, .35), 0 0 0 8px rgba(52, 86, 162, .08);
  animation: net-breathe 3s ease-in-out infinite;
}
@keyframes net-breathe {
  0%, 100% { box-shadow: 0 8px 32px rgba(52, 86, 162, .35), 0 0 0 8px rgba(52, 86, 162, .08); }
  50% { box-shadow: 0 8px 40px rgba(52, 86, 162, .5), 0 0 0 18px rgba(52, 86, 162, .04); }
}
.net-label {
  font-size: .62rem;
  font-weight: 800;
  color: var(--b-principal);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.net-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px dashed var(--b-l3);
  opacity: .35;
  animation: net-ring-spin 60s linear infinite;
}
@keyframes net-ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.net-ring-2 {
  width: 92%;
  height: 92%;
  border: 1px solid var(--b-l2);
  opacity: .15;
  animation-duration: 90s;
  animation-direction: reverse;
}
.net-node {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--nc, var(--b-l3));
  border-radius: 14px;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: all .4s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 2px 14px rgba(52, 86, 162, .06);
  white-space: nowrap;
}
.net-node:hover {
  background: rgba(255, 255, 255, .98);
  transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.06);
  box-shadow: 0 10px 32px rgba(52, 86, 162, .15);
  border-color: var(--nc, var(--b-principal));
  z-index: 15;
}
.net-node-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  background: var(--nb, var(--b-l1));
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.net-node:hover .net-node-ico {
  transform: scale(1.18) rotate(-6deg);
}
.net-node-label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--texte);
}
.net-node-sub {
  font-size: .62rem;
  color: var(--texte-soft);
  margin-top: 1px;
}
.net-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.net-flow-line {
  fill: none;
  stroke: var(--b-principal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  animation: net-dash 2.5s linear infinite;
  opacity: .35;
}
.net-flow-line:nth-child(2) { animation-delay: .4s; opacity: .3; }
.net-flow-line:nth-child(3) { animation-delay: .8s; opacity: .25; }
.net-flow-line:nth-child(4) { animation-delay: 1.2s; opacity: .35; }
.net-flow-line:nth-child(5) { animation-delay: 1.6s; opacity: .3; }
.net-flow-line:nth-child(6) { animation-delay: 2s; opacity: .25; }
@keyframes net-dash {
  to { stroke-dashoffset: -40; }
}

/* ═══════════════════════════════════════════════
   ECOSYSTEM FEATURES
   ═══════════════════════════════════════════════ */
.eco-feats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ef {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ef-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ef-ico.b,
.ef-ico.t { background: rgba(231, 238, 253, .7); }
.ef-ico.r { background: rgba(254, 244, 245, .9); }
.ef-ico.o { background: rgba(252, 240, 227, .8); }
.ef-t {
  font-size: .88rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 3px;
}
.ef-d {
  font-size: .8rem;
  color: var(--texte-soft);
  line-height: 1.65;
}
.ref-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--o-l1);
  color: var(--o-fonce);
  font-size: .66rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 50px;
  margin-top: .5rem;
  border: 1px solid var(--o-l5);
}

/* ═══════════════════════════════════════════════
   RANK CARD / CLASSEMENT
   ═══════════════════════════════════════════════ */
.sec-rank {
  position: relative;
}
@supports not (backdrop-filter: blur(1px)) {
  .rank-card, .parents-card, .form-card, .screen-frame {
    background: rgba(255, 255, 255, .92);
  }
}
.rank-card {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  border: 1px solid rgba(52, 86, 162, .1);
  padding: 56px 7%;
  box-shadow: 0 4px 40px rgba(52, 86, 162, .08);
  position: relative;
  overflow: hidden;
}
.rank-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 15% 40%, rgba(52, 86, 162, .07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(236, 104, 107, .05) 0%, transparent 55%);
}
.rank-card > * {
  position: relative;
  z-index: 1;
}
.rank-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.rp-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.rp {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.rp-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--b-l1);
  border: 1px solid var(--b-l2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.rp-t {
  font-size: .87rem;
  font-weight: 700;
  color: var(--b-noir);
  margin-bottom: 3px;
}
.rp-d {
  font-size: .79rem;
  color: var(--texte-soft);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   INTERFACE GRID
   ═══════════════════════════════════════════════ */
.iface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 1.8rem;
}
.iface-grid.rev {
  direction: rtl;
}
.iface-grid.rev > * {
  direction: ltr;
}
.screen-frame {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 4px 28px rgba(52, 86, 162, .08);
  border: 1px solid rgba(52, 86, 162, .07);
}
.screen-frame img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 2px 12px rgba(52, 86, 162, .07);
}
.iface-feats {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.8rem;
}
.if {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.if-ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.if-ico.b,
.if-ico.t { background: rgba(231, 238, 253, .8); }
.if-ico.r { background: rgba(254, 244, 245, .9); }
.if-ico.o { background: rgba(252, 240, 227, .8); }
.if-t {
  font-size: .87rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 2px;
}
.if-d {
  font-size: .79rem;
  color: var(--texte-soft);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   TARIF GRID
   ═══════════════════════════════════════════════ */
/* Constat cards — premium style */
.constat-card {
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.04), inset 0 1px 0 rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.4);
  transition: all .45s cubic-bezier(.22,1,.36,1);
}
/* Color glow radiating from top */
.constat-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  border-radius: 50%;
  background: var(--cc-glow, rgba(52,86,162,.12));
  filter: blur(40px);
  opacity: .6;
  transition: all .5s ease;
  pointer-events: none;
}
.constat-card:hover::before {
  width: 280px;
  height: 160px;
  opacity: 1;
}
.constat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.8);
  background: rgba(255,255,255,.45);
}
.constat-card:hover .cc-top-bar {
  height: 6px;
}
.constat-card:hover .cc-stat {
  transform: scale(1.05);
}
.cc-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  transition: height .4s cubic-bezier(.34,1.56,.64,1);
  z-index: 1;
}
.cc-stat {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: .3rem;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
/* Animated gradient price text */
.tarif-price-anim {
  background-size: 200% 100% !important;
  animation: priceShift 4s ease-in-out infinite;
}
@keyframes priceShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cc-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .6rem;
  opacity: .8;
}
.cc-headline {
  font-size: .92rem;
  font-weight: 800;
  color: var(--b-noir);
  line-height: 1.3;
  margin-bottom: .8rem;
}
.cc-body {
  font-size: .84rem;
  color: var(--texte-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.cc-body strong {
  color: var(--texte);
}
.cc-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .64rem;
  font-weight: 600;
  font-style: italic;
}
.cc-author {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: .4rem;
}
.cc-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--b-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Tarif step cards */
.tarif-step {
  transition: all .35s cubic-bezier(.22,1,.36,1);
}
.tarif-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.tarif-step:hover .tarif-step-num {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.tarif-step-num {
  transition: all .35s cubic-bezier(.22,1,.36,1);
}

/* Tarif parrainage comparison cards */
.tarif-compare {
  transition: all .35s cubic-bezier(.22,1,.36,1);
}
.tarif-compare:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Tarif perk pills */
.tarif-perk {
  transition: all .3s cubic-bezier(.22,1,.36,1);
  cursor: default;
}
.tarif-perk:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  filter: brightness(1.03);
}

/* Tarif main card subtle glow */
.tarif-card-main {
  transition: box-shadow .4s ease;
}
.tarif-card-main:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,.1);
}

.tarif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 880px;
  margin: 1.8rem auto 0;
}
.tc-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}
.tc-perks li {
  position: relative;
  padding: .55rem 0 .55rem 1.6rem;
  font-size: .83rem;
  color: var(--texte-soft);
  border-bottom: 1px solid var(--b-l1);
}
.tc-perks li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--b-principal);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq-wrap {
  max-width: 700px;
  margin: 1.8rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--b-l2);
  padding: 1.3rem 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--texte);
  user-select: none;
}
.faq-chev {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--b-l1);
  color: var(--b-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all .3s;
}
.faq-item.open .faq-chev {
  transform: rotate(180deg);
  background: var(--b-principal);
  color: #fff;
}
.faq-a {
  font-size: .83rem;
  color: var(--texte-soft);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin-top .3s;
}
.faq-item.open .faq-a {
  max-height: 300px;
  margin-top: .75rem;
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}
.c-info p {
  font-size: .9rem;
  color: var(--texte-soft);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.c-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: .83rem;
  color: var(--texte);
  font-weight: 500;
}
.c-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(231, 238, 253, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.founder-card {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  border: 1px solid var(--b-l2);
}
.fc-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--b-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.fc-name {
  font-size: .87rem;
  font-weight: 700;
  color: var(--texte);
}
.fc-role {
  font-size: .73rem;
  color: var(--texte-soft);
  line-height: 1.4;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════ */
.form-card {
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 2.5rem;
  border: 1px solid var(--b-l2);
  box-shadow: 0 2px 20px rgba(52, 86, 162, .05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fg {
  margin-bottom: 1.1rem;
}
.fg > label {
  display: block;
  font-size: .69rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.fg > input,
.fg select,
.fg textarea {
  width: 100%;
  padding: .67rem .95rem;
  border: 1.5px solid var(--b-l2);
  border-radius: 9px;
  font-size: .83rem;
  color: var(--texte);
  background: rgba(255, 255, 255, .85);
  outline: none;
  resize: vertical;
  transition: border-color .2s;
  font-family: inherit;
}
.fg > input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--b-principal);
}
.fg > input::placeholder,
.fg textarea::placeholder {
  color: var(--b-l5);
}

/* Checkbox grid for multi-select (jours / horaires) */
.cb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .3rem;
}
.cb {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  background: rgba(255, 255, 255, .7);
  border: 1.5px solid var(--b-l2);
  border-radius: 8px;
  cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s;
  font-size: .82rem;
  color: var(--b-noir);
  user-select: none;
}
.cb:hover {
  border-color: var(--b-l4);
  background: rgba(255, 255, 255, .95);
}
.cb input[type="checkbox"] {
  accent-color: var(--b-principal);
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
}
.cb:has(input:checked) {
  background: var(--b-l1);
  border-color: var(--b-principal);
  box-shadow: 0 2px 8px rgba(52, 86, 162, .1);
}

.submit-btn {
  width: 100%;
  padding: .87rem;
  background: var(--b-principal);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: .91rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 6px 24px rgba(52, 86, 162, .22);
  font-family: inherit;
}
.submit-btn:hover {
  background: var(--b-vif);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(77, 128, 240, .3);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: var(--b-noir);
  padding: 2.5rem 7% 2rem;
  text-align: center;
}
.foot-logo {
  margin-bottom: 1.2rem;
}
.foot-logo img {
  height: 34px;
  object-fit: contain;
  opacity: .8;
}
.foot-mrb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.foot-mrb img {
  height: 16px;
  opacity: .25;
}
.foot-mrb span {
  font-size: .62rem;
  color: var(--b-l5);
  opacity: .35;
  font-weight: 500;
}
.foot-links {
  display: flex;
  gap: .8rem 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.foot-links a {
  color: var(--b-l5);
  opacity: .45;
  font-size: .7rem;
  text-decoration: none;
  transition: opacity .2s;
  font-weight: 500;
}
.foot-links a:hover {
  opacity: .9;
}
.foot-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: 0 auto 1rem;
}
.foot-copy {
  font-size: .65rem;
  color: var(--b-l5);
  opacity: .25;
  margin-bottom: .3rem;
}
.foot-ref {
  font-size: .52rem;
  color: var(--b-l5);
  opacity: .15;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.vis {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-left.vis {
  opacity: 1;
  transform: translateX(0);
}
.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-right.vis {
  opacity: 1;
  transform: translateX(0);
}
.fade-scale {
  opacity: 0;
  transform: scale(.93);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-scale.vis {
  opacity: 1;
  transform: scale(1);
}
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.stagger.vis > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: .05s; }
.stagger.vis > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .17s; }
.stagger.vis > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .29s; }
.stagger.vis > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .41s; }

/* ═══════════════════════════════════════════════
   MODERN ANIMATIONS — Title Word Reveal & Particles
   ═══════════════════════════════════════════════ */
.s-title .word,
.hero-title-anim .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px) translateZ(0);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}
.s-title.title-vis .word,
.hero-title-anim.title-vis .word {
  opacity: 1;
  transform: translateY(0);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float linear infinite;
  will-change: transform, opacity;
  contain: strict;
}
@keyframes particle-float {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  12% { opacity: var(--po, .3); }
  88% { opacity: var(--po, .3); }
  100% { transform: translateY(-110vh) scale(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   FOCUS VISIBLE
   ═══════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid rgba(77, 128, 240, .5);
  outline-offset: 2px;
}
.fg input:focus-visible,
.fg select:focus-visible,
.fg textarea:focus-visible {
  outline: 3px solid rgba(77, 128, 240, .4);
  outline-offset: 1px;
}

/* ═══════════════════════════════════════════════
   STICKY MOBILE CTA BAR
   Fond invisible, seuls les boutons flottent.
   ═══════════════════════════════════════════════ */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: none;
  border: none;
  box-shadow: none;
  gap: 10px;
  transform: translateY(100%) translateZ(0);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.sticky-cta-bar.visible {
  transform: translateY(0);
}
.sticky-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: -.01em;
  transition: transform .2s, box-shadow .2s;
}
.sticky-cta-bar a:active {
  transform: scale(.96);
}
/* Default sticky button — blue gradient (pro page) */
.sticky-cta-bar .sticky-primary {
  background: linear-gradient(135deg, var(--b-principal), var(--b-vif));
  color: #fff;
  box-shadow: 0 6px 24px rgba(52, 86, 162, .4), 0 2px 8px rgba(0, 0, 0, .08);
  animation: stickyPulse 3s ease-in-out infinite;
}
@keyframes stickyPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(52, 86, 162, .4), 0 2px 8px rgba(0, 0, 0, .08); }
  50% { box-shadow: 0 8px 32px rgba(52, 86, 162, .55), 0 4px 16px rgba(52, 86, 162, .2); }
}
/* ═══════════════════════════════════════════════
   TABLET PORTRAIT — max-width: 768px
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { padding-bottom: 80px; }

  /* Tighter section padding */
  section { padding: 48px 5%; }
  section + section { padding-top: 36px; }

  /* Nav compact */
  nav { height: 56px; padding: 0 4% !important; }

  /* Typography scale down */
  .s-title { font-size: 1.5rem; }
  .s-sub { font-size: .88rem; }
  h1 { font-size: 2rem; }
  .hero-sub { font-size: .92rem; max-width: 100%; }

  /* Grids to single column */
  .rank-layout,
  .iface-grid,
  .contact-grid { gap: 2rem; }
  .rank-card { padding: 32px 5%; }
  .tarif-grid { gap: 1.5rem; }

  /* Touch-friendly sizes */
  .btn-p, .btn-t, .btn-g, .nav-cta, .submit-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .fade-up, .fade-left, .fade-right, .fade-scale,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-particles, .particle { display: none !important; }
}

/* ═══════════════════════════════════════════════
   TABLET — max-width: 960px
   ═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner,
  .constat-grid,
  .rank-layout,
  .iface-grid,
  .tarif-grid,
  .contact-grid,
  .gamif-showcase,
  .activity-grid,
  .mob-grid-2col,
  .mob-grid-3col {
    grid-template-columns: 1fr;
  }

  .hero-btns { justify-content: center; max-width: 460px; }
  .hero-btns > a,
  .hero-btns > button { width: 460px; max-width: 100%; }
  .hero-kpis { justify-content: center; }
  .hero-visual { display: none !important; }
  .iface-grid.rev { direction: ltr; }
  nav .nav-links { display: none; }

  section { padding: 72px 6%; }
  section + section { padding-top: 56px; }

  .rank-layout,
  .iface-grid,
  .contact-grid { gap: 3rem; }
  .rank-card { padding: 40px 5%; }
  .activity-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}

/* ═══════════════════════════════════════════════
   HERO REVEAL SYSTEM (all viewports)
   ═══════════════════════════════════════════════ */
body.hero-only { overflow: hidden !important; height: 100dvh !important; }

body.hero-only main > section:not(.hero),
body.hero-only main > section.hero ~ section,
body.hero-only footer,
body.hero-only .sticky-cta-bar { display: none !important; }

body.hero-only .hero {
  min-height: 100dvh !important;
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.hero-only .nav-links,
body.hero-only .nav-cta,
body.hero-only .nav-cta-alt { display: none !important; }


/* Desktop hero-only: hero stays in its natural 2-col layout — no centering overrides */
@media (min-width: 601px) {
  .sticky-cta-bar { display: none !important; }

  /* Vision section: fill exactly one viewport on desktop */
  #vision { min-height: calc(100vh - 100px); display: flex; flex-direction: column; justify-content: flex-start; }
  #vision > div[style*="padding"] { padding: 20px 4% 24px !important; max-width: 1200px !important; }
  #vision .tc { margin-bottom: 1.4rem !important; }
  #vision .tc h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem) !important; margin-bottom: .5rem !important; }
  #vision .tc p { font-size: 1rem !important; }

  /* 3 arguments side by side */
  .vision-manifeste {
    flex-direction: row !important;
    gap: 1rem !important;
    margin-bottom: 1.2rem !important;
  }
  .vision-manifeste > div {
    flex: 1 !important;
    padding: 1.1rem 1.2rem !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .8rem !important;
  }
  .vision-manifeste > div > div:first-child { font-size: 2.2rem !important; }
  .vision-manifeste > div > div > div:first-child { font-size: .95rem !important; margin-bottom: .2rem !important; }
  .vision-manifeste > div > div > p { font-size: .8rem !important; line-height: 1.6 !important; }

  .vision-mechanics { margin-bottom: 1rem !important; gap: .7rem !important; }
  .vision-mechanics > div { padding: .9rem .7rem !important; }
  .vision-mechanics > div > div[style*="font-size:1rem"] {
    font-size: .95rem !important;
    color: #fff !important;
    -webkit-text-stroke: .8px var(--b-vif);
    paint-order: stroke fill;
  }
  .vision-mechanics > div { border-color: rgba(255,255,255,.15) !important; }

  .vision-mechanics > div > div[style*="font-size:.7rem"] { font-size: .68rem !important; }

  #vision .vision-result-pill { padding: 1rem 1.5rem !important; }
  #vision .pill-line { font-size: clamp(.8rem, 1.3vw, 1rem) !important; }
}

/* Smooth transition: vision section fades out gradually */
.vision-section {
  padding-bottom: 0 !important;
  overflow: visible !important;
  contain: none;
}

/* Reveal button */
.btn-reveal {
  --rv: var(--page-accent-rgb, 52, 86, 162);
  justify-content: center;
  padding: .85rem 2rem;
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.6)) !important;
  border: 2px solid rgba(var(--rv), .35) !important;
  color: var(--b-noir) !important;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: revealPulse 2.5s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(var(--rv), .15), inset 0 0 20px rgba(var(--rv), .08);
  transition: all .3s;
  cursor: pointer;
}
.btn-reveal:hover {
  box-shadow: 0 0 30px rgba(var(--rv), .4), 0 0 60px rgba(var(--rv), .2), inset 0 0 20px rgba(var(--rv), .1) !important;
  border-color: rgba(var(--rv), .6) !important;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.75)) !important;
  transform: translateY(-2px);
}
.btn-reveal:active {
  transform: scale(.96);
}
@keyframes revealPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(var(--rv, 52,86,162),.15), inset 0 0 20px rgba(var(--rv, 52,86,162),.08); border-color: rgba(var(--rv, 52,86,162),.35); }
  50% { box-shadow: 0 6px 28px rgba(var(--rv, 52,86,162),.25), inset 0 0 24px rgba(var(--rv, 52,86,162),.12); border-color: rgba(var(--rv, 52,86,162),.55); }
}

/* Button press feedback */
.btn-reveal.pressed {
  transform: scale(.97) !important;
  opacity: .8 !important;
  transition: all .2s ease !important;
}


/* ═══════════════════════════════════════════════
   MOBILE — max-width: 600px
   ═══════════════════════════════════════════════ */
@media (max-width: 600px) {

  /* ── Global Mobile Foundation — fluid units ── */
  html, body { overflow-x: hidden !important; max-width: 100vw; }
  section { padding: clamp(20px, 5vw, 32px) 5% !important; position: relative; overflow: hidden; }
  section + section { padding-top: clamp(12px, 3vw, 20px) !important; }
  .s-title { font-size: clamp(1.15rem, 4.5vw, 1.5rem) !important; letter-spacing: -.4px; line-height: 1.2; }
  .s-sub { font-size: clamp(.75rem, 2.8vw, .9rem) !important; line-height: 1.5; max-width: 100%; }
  .eyebrow { font-size: clamp(.55rem, 2vw, .7rem); letter-spacing: .13em; padding: .3rem .7rem; }
  .fade-up, .fade-left, .fade-right { margin-bottom: 0 !important; }

  /* ══ Vision section — fills exactly one screen between sticky bars ══ */
  /* KILL all animations inside vision on mobile — no fade, no stagger, no word reveal */
  #vision .fade-up,
  #vision .fade-left,
  #vision .fade-right,
  #vision .fade-scale,
  #vision .stagger > *,
  #vision .s-title .word,
  #vision .hero-title-anim .word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }
  #vision .stagger { opacity: 1 !important; transform: none !important; }
  #vision { min-height: calc(100dvh - 130px) !important; display: flex !important; flex-direction: column !important; justify-content: center !important; padding-top: clamp(5px, 1vh, 15px) !important; padding-bottom: clamp(10px, 1.5vh, 25px) !important; }
  #vision > div[style*="padding"] { padding: 0 5% !important; flex: 1; display: flex; flex-direction: column; justify-content: center; }
  #vision .tc { margin-bottom: clamp(.4rem, 1vh, .8rem) !important; }
  #vision .tc > div[style*="margin-bottom:1.5rem"] { margin-bottom: clamp(.3rem, .8vh, .6rem) !important; }
  #vision .tc h2 { font-size: clamp(1.6rem, 3.2vh, 2.4rem) !important; margin-bottom: clamp(.15rem, .5vh, .4rem) !important; }
  #vision .tc p { font-size: clamp(.9rem, 1.6vh, 1.15rem) !important; }

  .vision-manifeste {
    gap: clamp(.4rem, .8vh, .7rem) !important;
    margin-bottom: clamp(.5rem, 1vh, .8rem) !important;
  }
  .vision-manifeste > div {
    padding: clamp(.6rem, 1.2vh, 1rem) clamp(.8rem, 1.5vh, 1.2rem) !important;
    border-radius: 12px !important;
    gap: clamp(.2rem, .4vh, .35rem) !important;
    cursor: pointer !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .vision-manifeste > div > div:first-child {
    font-size: clamp(.7rem, 1.4vh, .85rem) !important;
    opacity: .8 !important;
    letter-spacing: .05em !important;
  }
  .vision-manifeste > div > div:last-child > div:first-child { font-size: clamp(.78rem, min(1.7vh, 3.8vw), 1.1rem) !important; margin-bottom: 0 !important; line-height: 1.25 !important; }
  .vision-manifeste > div > div:last-child > p {
    font-size: .9rem !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    opacity: 0;
    transition: max-height .35s ease, opacity .3s ease, margin .3s ease;
  }
  .vision-manifeste > div.expanded > div:last-child > p {
    max-height: 200px !important;
    opacity: 1;
    margin-top: .3rem !important;
  }

  .vision-mechanics {
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(.35rem, .7vh, .6rem) !important;
    margin-bottom: clamp(.4rem, .8vh, .7rem) !important;
  }
  .vision-mechanics > div {
    padding: clamp(.6rem, 1.4vh, 1rem) clamp(.5rem, 1vh, .8rem) !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: clamp(58px, 8.5vh, 88px) !important;
  }
  .vision-mechanics > div > div[style*="font-size:1rem"] {
    font-size: clamp(.95rem, 1.8vh, 1.2rem) !important;
    color: #fff !important;
    -webkit-text-stroke: .6px var(--b-vif);
    paint-order: stroke fill;
  }
  .vision-mechanics > div { border-color: rgba(255,255,255,.15) !important; }
  .vision-mechanics > div > div[style*="font-size:.7rem"] { font-size: clamp(.58rem, 1.1vh, .75rem) !important; margin-top: .25rem !important; line-height: 1.35 !important; }

  #vision .vision-result-pill {
    padding: clamp(.6rem, 1.4vh, 1.2rem) clamp(.8rem, 1.5vh, 1.2rem) !important;
    gap: clamp(.15rem, .4vh, .3rem) !important;
  }
  #vision .pill-line {
    font-size: clamp(.82rem, min(1.6vh, 3.8vw), 1.1rem) !important;
    line-height: 1.35 !important;
    letter-spacing: .03em !important;
  }
  .eyebrow { margin-bottom: .6rem !important; }
  .s-title { margin-bottom: .6rem !important; }
  .s-sub { margin-bottom: .6rem !important; }
  .tc { margin-bottom: .6rem !important; }

  /* ── Hide Heavy Visuals ── */
  .net-wrap { display: none !important; }
  .screen-frame { display: none !important; }
  div[style*="border-radius:32px"][style*="background:#111"] { display: none !important; }
  .hero-kpis { display: none !important; }
  .gamif-stats { display: none !important; }
  .tarif-grid > div:last-child { display: none !important; }
  .qr-codes { display: none !important; }
  .download-section { display: none !important; }

  /* ── Hide Descriptions (revealed on tap) ── */
  .if-d { display: none !important; }
  .ef-d { display: none !important; }
  .gamif-desc { display: none !important; }
  .rp-d { display: none !important; }
  .ref-tag { display: none !important; }

  /* @keyframes sectionSlideIn removed — never used */

  /* ── Tap-to-Expand Shared ── */
  @keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  @keyframes expandGlow {
    0% { box-shadow: 0 0 0 0 rgba(52, 86, 162, .2); }
    50% { box-shadow: 0 0 0 8px rgba(52, 86, 162, .06); }
    100% { box-shadow: 0 8px 30px rgba(0, 0, 0, .08), 0 0 0 2px rgba(52, 86, 162, .15); }
  }

  .ef, .if, .gamif-card, .rp, .activity-card {
    cursor: pointer;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1),
                box-shadow .5s cubic-bezier(.22, 1, .36, 1),
                background .4s ease,
                border-color .4s ease !important;
  }
  .ef.expanded, .if.expanded, .gamif-card.expanded, .rp.expanded, .activity-card.expanded {
    transform: scale(1.025) !important;
    background: rgba(255, 255, 255, .85) !important;
    border-color: var(--b-l3) !important;
    animation: expandGlow .5s cubic-bezier(.22, 1, .36, 1) forwards;
    z-index: 2;
    position: relative;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    flex: 1 0 100% !important;
  }
  .ef.expanded .ef-d,
  .if.expanded .if-d,
  .gamif-card.expanded .gamif-desc,
  .rp.expanded .rp-d,
  .activity-card.expanded .ac-desc {
    display: block !important;
    font-size: .72rem;
    line-height: 1.5;
    color: var(--texte-soft);
    margin-top: .35rem;
    text-align: center;
    animation: fadeSlideIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .activity-card.expanded .ac-tag {
    display: inline-flex !important;
    animation: fadeSlideIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .ef.expanded .ef-ico,
  .if.expanded .if-ico,
  .gamif-card.expanded .gamif-icon,
  .rp.expanded .rp-ico {
    transform: scale(1.18);
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
    filter: saturate(1.3) brightness(1.05);
  }
  .ef.expanded .ef-t,
  .if.expanded .if-t,
  .gamif-card.expanded .gamif-name,
  .rp.expanded .rp-t,
  .activity-card.expanded .ac-title {
    color: var(--b-principal) !important;
    transition: color .4s ease;
  }

  /* ── Per-card expand caret (injected via JS .is-tappable) ── */
  .is-tappable { position: relative !important; }
  .is-tappable::after {
    content: '▾';
    position: absolute;
    bottom: 5px; right: 8px;
    font-size: .55rem;
    color: rgba(255,255,255,.28);
    line-height: 1;
    pointer-events: none;
    transition: transform .3s ease, color .25s;
  }
  .is-tappable.expanded::after {
    transform: rotate(180deg);
    color: rgba(255,255,255,.55);
  }
  /* Cards that turn white on expand → dark caret */
  .ef.expanded::after, .if.expanded::after, .gamif-card.expanded::after,
  .rp.expanded::after, .activity-card.expanded::after,
  .step-card.expanded::after, .feat-card.expanded::after,
  .parent-item.expanded::after {
    color: rgba(0,0,0,.28);
  }

  /* ── Tap Hint container label (mobile) ── */
  .tap-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    margin: .7rem auto 0;
    width: fit-content;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50px;
    padding: .28rem .82rem;
    font-size: .62rem;
    color: rgba(255,255,255,.42);
    font-weight: 500;
    letter-spacing: .04em;
    animation: fadeSlideIn .6s ease .6s both;
  }
  .tap-hint svg {
    width: 13px;
    height: 13px;
    opacity: .5;
    animation: tap-bounce 2s ease-in-out infinite;
  }
  @keyframes tap-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }

  /* ── Nav (mobile) — invisible during hero, U logo left after reveal ── */
  nav { height: clamp(44px, 12vw, 56px); padding: 0 5% !important; max-width: 100vw; justify-content: center !important;
    background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    border: none !important; box-shadow: none !important; }
  nav.scrolled { background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    border: none !important; box-shadow: none !important; }
  nav .nav-cta, nav .nav-cta-alt { display: none !important; }

  /* After reveal: nav shows U logo on the left (class added by JS after animation) */
  nav.logo-left {
    justify-content: flex-start !important;
  }

  /* ── Hero (mobile) — full viewport, fluid typography ── */
  .hero { min-height: 100dvh !important; padding: clamp(48px, 12vw, 64px) 6% clamp(24px, 6vw, 36px) !important; display: flex !important; flex-direction: column; justify-content: center; }
  .hero-inner > div { max-width: 100%; }
  .hero .why-eyebrow { font-size: clamp(.45rem, 2.8vw, .7rem); margin-bottom: clamp(.8rem, 3vw, 1.6rem) !important; padding: clamp(.25rem, .8vw, .4rem) clamp(.4rem, 1.2vw, .8rem); letter-spacing: .06em; white-space: nowrap; }
  .hero h1 { font-size: clamp(1.8rem, 6.5vw, 3rem) !important; letter-spacing: -1px; line-height: 1.08; margin-bottom: clamp(.8rem, 3vw, 1.6rem) !important; }
  .hero .hero-sub {
    display: block !important;
    font-size: clamp(.82rem, 3.2vw, 1.1rem) !important;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: clamp(1rem, 4vw, 2rem) !important;
    color: var(--texte-soft);
    opacity: 1 !important;
    transform: none !important;
  }

  /* ── Mobile hero button overrides — fluid ── */
  .btn-reveal { width: 100%; font-size: clamp(.82rem, 3.2vw, 1.05rem); padding: clamp(.7rem, 2vw, 1rem) clamp(1rem, 3vw, 1.4rem); }
  .hero-btns { flex-direction: column !important; align-items: stretch !important; gap: clamp(.5rem, 2vw, 1rem); margin-bottom: 0 !important; margin-top: clamp(.4rem, 1.5vw, .8rem); }
  .hero-btns > a, .hero-btns > button { flex: 1 1 0 !important; min-width: 0 !important; }
  .hero-btns .btn-p,
  .hero-btns .btn-t,
  .hero-btns .btn-access {
    width: 100%;
    justify-content: center;
    padding: clamp(.7rem, 2vw, 1rem) clamp(1rem, 3vw, 1.4rem);
    font-size: clamp(.82rem, 3.2vw, 1.05rem);
    font-weight: 700;
    border-radius: 50px;
    white-space: normal;
    text-align: center;
    border: 2px solid transparent;
  }
  .hero-btns .btn-g {
    width: 100%;
    justify-content: center;
    padding: clamp(.7rem, 2vw, 1rem) clamp(1rem, 3vw, 1.4rem);
    font-size: clamp(.82rem, 3.2vw, 1.05rem);
    font-weight: 700;
    border-radius: 50px;
    white-space: normal;
    text-align: center;
  }
  .hero-btns .btn-p {
    background: linear-gradient(135deg, var(--b-principal), var(--b-vif)) !important;
    box-shadow: 0 8px 24px rgba(52, 86, 162, .3);
  }
  .hero-btns .btn-t {
    background: linear-gradient(135deg, var(--r-principal), var(--r-clair)) !important;
    box-shadow: 0 8px 24px rgba(236, 104, 107, .25);
  }

  /* ── Grid collapse (mobile) ── */
  .mob-grid-2col { grid-template-columns: 1fr !important; gap: 0 !important; }
  /* mob-grid-3col uses inline style="grid-template-columns:1fr 1fr 1fr" — needs !important to override */
  .mob-grid-3col { grid-template-columns: 1fr !important; gap: 1.2rem !important; }

  /* ── Ecosystem timeline (mobile) ── */
  .eco-feats {
    gap: 0 !important;
    padding-left: 18px !important;
    border-left: 2px solid var(--b-l3) !important;
    margin-left: 6px !important;
  }
  .eco-feats .ef {
    position: relative !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: .5rem .6rem .5rem .8rem !important;
    border-radius: 0 !important;
    gap: .5rem !important;
  }
  .eco-feats .ef::before {
    content: '' !important;
    position: absolute !important;
    left: -23px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: var(--b-principal) !important;
    border: 2px solid var(--b-l1) !important;
    box-shadow: 0 0 0 3px var(--b-l3) !important;
  }
  /* Alternate timeline dot colors */
  .eco-feats .ef:nth-child(2)::before { background: var(--r-principal) !important; box-shadow: 0 0 0 3px var(--r-l5) !important; border-color: var(--r-l1) !important; }
  .eco-feats .ef:nth-child(3)::before { background: var(--o-principal) !important; box-shadow: 0 0 0 3px var(--o-l5) !important; border-color: var(--o-l1) !important; }
  .eco-feats .ef:nth-child(4)::before { background: var(--b-vif) !important; }
  .eco-feats .ef-ico { width: 26px !important; height: 26px !important; font-size: 13px !important; border-radius: 8px !important; }
  .eco-feats .ef-t { font-size: .75rem !important; }
  /* Colored titles on ecosystem features */
  .eco-feats .ef:nth-child(1) .ef-t { color: var(--b-principal) !important; }
  .eco-feats .ef:nth-child(2) .ef-t { color: var(--r-principal) !important; }
  .eco-feats .ef:nth-child(3) .ef-t { color: var(--o-fonce) !important; }
  .eco-feats .ef:nth-child(4) .ef-t { color: var(--b-vif) !important; }

  /* ── Rank Cards (mobile) ── */
  .rank-card { padding: 20px 4% !important; border-radius: 18px !important; }
  .rank-layout { gap: 1rem; }
  .rp-list { gap: .55rem !important; }
  .rp {
    gap: .7rem;
    align-items: center !important;
    background: rgba(255, 255, 255, .55);
    border: 1px solid var(--b-l2);
    border-radius: 14px;
    padding: .65rem .8rem !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(52, 86, 162, .05);
  }
  .rp-ico { width: 34px !important; height: 34px !important; font-size: 14px !important; }
  .rp-t { font-size: .75rem !important; }
  .rp-d { font-size: .72rem !important; }
  /* Colored borders on rank-point cards */
  .rp:nth-child(1) { border-color: var(--b-l3) !important; }
  .rp:nth-child(2) { border-color: var(--r-l5) !important; }
  .rp:nth-child(3) { border-color: var(--o-l5) !important; }
  .rp:nth-child(4) { border-color: var(--b-l4) !important; }
  .rp:nth-child(1) .rp-t { color: var(--b-principal) !important; }
  .rp:nth-child(2) .rp-t { color: var(--r-principal) !important; }
  .rp:nth-child(3) .rp-t { color: var(--o-fonce) !important; }
  .rp:nth-child(4) .rp-t { color: var(--b-vif) !important; }

  /* ── Interfaces (mobile) ── */
  .iface-grid { gap: 0 !important; margin-top: 1rem !important; grid-template-columns: 1fr !important; }
  .iface-grid.rev { direction: ltr !important; }
  .iface-feats { display: flex !important; flex-wrap: wrap !important; gap: .4rem !important; margin-top: .8rem !important; }
  .if {
    display: flex !important;
    align-items: center !important;
    gap: .4rem !important;
    padding: .4rem .6rem !important;
    background: rgba(255, 255, 255, .65) !important;
    border: 1px solid var(--b-l2) !important;
    border-radius: 10px !important;
    flex: 0 0 auto !important;
  }
  .if-ico { width: 22px !important; height: 22px !important; font-size: 11px !important; border-radius: 6px !important; flex-shrink: 0; }
  .if-t { font-size: .75rem !important; font-weight: 700 !important; }
  /* Colored borders on interface feature cards */
  .if:nth-child(1) { border-color: var(--b-l3) !important; }
  .if:nth-child(2) { border-color: var(--r-l5) !important; }
  .if:nth-child(3) { border-color: var(--o-l5) !important; }
  .if:nth-child(1) .if-t { color: var(--b-principal) !important; }
  .if:nth-child(2) .if-t { color: var(--r-principal) !important; }
  .if:nth-child(3) .if-t { color: var(--o-fonce) !important; }

  /* ── Interface sections — shared padding (mobile) ── */
  #app, #dashboard, #onboarding, #patient-xp {
    display: block !important;
    padding: 20px 5% !important;
  }

  /* ── Deserts — compact grid (mobile) ── */
  #deserts { padding: 20px 5% !important; }
  #deserts .rank-card { padding: 16px 4% !important; border-radius: 16px !important; }
  #deserts .mob-grid-3col { grid-template-columns: 1fr !important; gap: .4rem !important; }
  #deserts .mob-grid-3col > div {
    display: flex !important;
    align-items: center !important;
    gap: .6rem !important;
    text-align: left !important;
    padding: .55rem .8rem !important;
    border-radius: 12px !important;
    cursor: pointer;
    background: rgba(255, 255, 255, .6) !important;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s, background .4s ease !important;
  }
  #deserts .mob-grid-3col > div:nth-child(1) { border: 1.5px solid var(--b-l3) !important; }
  #deserts .mob-grid-3col > div:nth-child(2) { border: 1.5px solid var(--r-l5) !important; }
  #deserts .mob-grid-3col > div:nth-child(3) { border: 1.5px solid var(--o-l5) !important; }
  #deserts .mob-grid-3col > div > div[style*="font-size:2.2rem"] {
    font-size: 1.2rem !important; margin-bottom: 0 !important; animation: none !important; flex-shrink: 0;
  }
  #deserts .mob-grid-3col > div > div[style*="font-size:.95rem"] { font-size: .75rem !important; margin-bottom: 0 !important; }
  #deserts .mob-grid-3col > div:nth-child(1) > div[style*="font-size:.95rem"] { color: var(--b-principal) !important; }
  #deserts .mob-grid-3col > div:nth-child(2) > div[style*="font-size:.95rem"] { color: var(--r-principal) !important; }
  #deserts .mob-grid-3col > div:nth-child(3) > div[style*="font-size:.95rem"] { color: var(--o-fonce) !important; }
  #deserts .mob-grid-3col > div > p { display: none !important; }
  #deserts .mob-grid-3col > div.expanded {
    transform: scale(1.02) !important; background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 8px 30px rgba(52, 86, 162, .12) !important;
  }
  #deserts .mob-grid-3col > div.expanded > p {
    display: block !important; font-size: .72rem !important; line-height: 1.5;
    color: var(--texte-soft); margin-top: .2rem;
    animation: fadeSlideIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
  }

  /* ── Formation — compact (mobile) ── */
  #formation { padding: 20px 5% !important; }
  #formation .rank-card { padding: 16px 4% !important; border-radius: 16px !important; }
  #formation .rank-layout { grid-template-columns: 1fr !important; gap: .8rem !important; }
  #formation .rank-layout > .fade-right,
  #formation .rank-layout > div:last-child { display: none !important; }
  #formation .s-sub { max-width: 100%; }
  #formation .fade-left > div[style*="gap:1.1rem"] { gap: .4rem !important; margin-top: .8rem !important; }
  #formation .rp {
    display: flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .55); border: 1px solid var(--b-l2);
    border-radius: 10px; padding: .45rem .6rem;
    backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(52, 86, 162, .05);
  }
  #formation .rp-ico { width: 28px !important; height: 28px !important; font-size: 12px !important; }
  #formation .rp-t { font-size: .75rem !important; }
  #formation .rp-d { display: none !important; }
  #formation .rp.expanded .rp-d {
    display: block !important; font-size: .68rem !important; line-height: 1.5;
    color: var(--texte-soft); margin-top: .2rem;
    animation: fadeSlideIn .4s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  #formation .btn-p,
  #formation .btn-t { font-size: .78rem !important; padding: .6rem 1rem !important; }

  /* ── FAQ section (mobile) ── */
  #faq { padding: 20px 5% !important; }


  /* ── Tarif (mobile) ── */
  #tarif { padding: 24px 4% !important; }

  /* Subsection blocks: tighter vertical spacing */
  #tarif [style*="margin-bottom:3rem"] { margin-bottom: 1.2rem !important; }
  #tarif [style*="margin-bottom:1.4rem"] { margin-bottom: .8rem !important; }

  /* Numbered header badges (① ② ③) */
  #tarif [style*="width:32px;height:32px;border-radius:50%"],
  #tarif [style*="width:38px;height:38px;border-radius:50%"] {
    width: 22px !important; height: 22px !important; min-width: 22px !important;
    font-size: .65rem !important;
  }
  /* Subsection titles next to the badges */
  #tarif [style*="font-size:.95rem;font-weight:800;color:#fff"] { font-size: .8rem !important; }
  #tarif [style*="font-size:1.15rem;font-weight:900;color:#fff"] { font-size: .88rem !important; }

  /* ① Le calcul — 3 price cards: labels aligned, prices on same baseline */
  #tarif [style*="justify-content:center"][style*="flex-wrap:wrap"] { gap: .35rem !important; }
  #tarif [style*="min-width:200px"] {
    min-width: 0 !important; max-width: none !important;
    padding: .75rem .6rem !important; border-radius: 12px !important; flex: 1 !important;
    display: flex !important; flex-direction: column !important;
    align-items: center !important; text-align: center !important;
    position: relative !important; overflow-wrap: break-word !important;
  }
  #tarif [style*="min-width:200px"] > * { width: 100% !important; }
  /* Big 3.2rem price numbers → compact */
  #tarif [style*="font-size:3.2rem"] {
    font-size: 1.4rem !important; letter-spacing: -.5px !important; line-height: 1 !important;
  }
  /* Label: min-height + flex-end forces prices to align on the same visual line */
  #tarif [style*="min-width:200px"] [style*="text-transform:uppercase"][style*="letter-spacing:.15em"] {
    font-size: .5rem !important; min-height: 2.1rem !important;
    display: flex !important; align-items: flex-end !important; justify-content: center !important;
    text-align: center !important; margin-bottom: .3rem !important;
  }
  /* Caption below the price */
  #tarif [style*="min-width:200px"] > [style*="font-size:.7rem"],
  #tarif [style*="min-width:200px"] > [style*="font-size:.65rem"] {
    font-size: .58rem !important; margin-top: .28rem !important; line-height: 1.4 !important;
    text-align: center !important;
  }
  /* Arrow separators between calc cards → hide */
  #tarif [style*="flex-shrink:0"][style*="font-size:1.6rem"] { display: none !important; }

  /* ② Comment ça marche — step cards: [badge | title (flex:1) | price right] */
  #tarif .mob-grid-3col { gap: .4rem !important; }
  #tarif .mob-grid-3col > div {
    display: flex !important; flex-direction: row !important;
    align-items: center !important; gap: .55rem !important;
    padding: .6rem .8rem !important; border-radius: 12px !important;
  }
  #tarif .mob-grid-3col > div > div[style*="border-radius:50%"] {
    width: 26px !important; height: 26px !important; min-width: 26px !important;
    flex-shrink: 0 !important; align-self: flex-start !important;
    font-size: .68rem !important; margin: 0 !important; margin-top: 1px !important;
  }
  #tarif .mob-grid-3col > div > div[style*="font-size:.84rem"] {
    flex: 1 !important; min-width: 0 !important;
    font-size: .78rem !important; margin: 0 !important;
    text-align: left !important;
  }
  /* Price: right-aligned pill */
  #tarif .mob-grid-3col > div > div[style*="font-size:1.4rem"],
  #tarif .mob-grid-3col > div > div[style*="font-size:1.5rem"][style*="letter-spacing:-.02em"] {
    flex-shrink: 0 !important; font-size: .82rem !important;
    letter-spacing: -.3px !important; line-height: 1 !important; margin: 0 !important;
  }
  /* Subtext: hidden to keep rows compact */
  #tarif .mob-grid-3col > div > div[style*="font-size:.68rem"] { display: none !important; }

  /* ③ Le parrainage — compact container */
  #tarif [style*="padding:1.6rem 1.8rem"] {
    padding: .8rem .9rem !important; border-radius: 14px !important;
  }
  #tarif [style*="padding:1.6rem 1.8rem"] > p {
    font-size: .74rem !important; margin-bottom: .6rem !important; line-height: 1.5 !important;
  }
  /* Mini-cards: stack vertically, each full width */
  #tarif [style*="padding:1.6rem 1.8rem"] > [style*="display:flex"][style*="flex-wrap:wrap"] {
    flex-direction: column !important; gap: .35rem !important; margin-bottom: .6rem !important;
  }
  /* Each mini-card: full width, stretch children to fill width */
  #tarif [style*="min-width:160px"] {
    min-width: 0 !important; width: 100% !important; flex: none !important;
    padding: .6rem .75rem !important; border-radius: 10px !important;
    align-items: stretch !important; /* override align-items:center from desktop */
  }
  #tarif [style*="min-width:160px"] > * { font-size: inherit; }
  /* Label (child 1) */
  #tarif [style*="min-width:160px"] > :nth-child(1) {
    font-size: .52rem !important; margin-bottom: .22rem !important;
  }
  /* Price (child 2) */
  #tarif [style*="min-width:160px"] > :nth-child(2) {
    font-size: .82rem !important; letter-spacing: -.3px !important;
    line-height: 1.25 !important; margin-bottom: .15rem !important;
  }
  /* Result arrow (child 3) */
  #tarif [style*="min-width:160px"] > :nth-child(3) { font-size: .65rem !important; }
  /* Parrainage arrow separator between cards → hide */
  #tarif [style*="flex-shrink:0"][style*="font-size:1.5rem"] { display: none !important; }
  /* Parrainage footnote */
  #tarif [style*="padding:1.6rem 1.8rem"] > div:last-child {
    font-size: .58rem !important; line-height: 1.4 !important;
  }

  /* ④ Ce que vous gagnez vraiment — compact expandable cards */
  #tarif .mob-grid-2col { gap: .4rem !important; }
  #tarif [style*="padding-left:3.25rem"] {
    font-size: .7rem !important; padding-left: 0 !important; margin-bottom: .8rem !important;
  }
  #tarif .mob-grid-2col > div {
    padding: .7rem .85rem !important; border-radius: 14px !important; cursor: pointer;
  }
  #tarif .mob-grid-2col > div [style*="font-size:1.08rem"] { font-size: .82rem !important; }
  #tarif .mob-grid-2col > div [style*="font-size:1.4rem"][style*="flex-shrink:0"] {
    font-size: 1.1rem !important;
  }
  /* Hide description paragraph by default */
  #tarif .mob-grid-2col > div > p { display: none !important; }
  /* Show on expand */
  #tarif .mob-grid-2col > div.expanded > p {
    display: block !important; font-size: .72rem !important; line-height: 1.55;
    margin-top: .3rem !important; color: rgba(255,255,255,.52) !important;
    animation: fadeSlideIn .4s cubic-bezier(.22,1,.36,1) forwards;
  }
  .tarif-grid { grid-template-columns: 1fr !important; gap: .8rem !important; margin-top: 1.5rem !important; }
  .tarif-grid > div:first-child {
    padding: 1.4rem 1.2rem !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 28px rgba(52, 86, 162, .12) !important;
  }
  .tarif-grid > div:first-child > div[style*="position:absolute"][style*="top:-13px"] {
    font-size: .6rem !important; padding: 3px 14px !important;
  }
  .tarif-grid > div:first-child > div[style*="font-size:1.04"] { font-size: .92rem !important; }
  .tarif-grid > div:first-child > div[style*="font-size:.77"] { font-size: .72rem !important; margin-bottom: 1rem !important; }
  .tarif-grid > div:first-child > div[style*="font-size:2.7"] { font-size: 2.2rem !important; }
  .tarif-grid > div:first-child > div[style*="font-size:.76"] { font-size: .72rem !important; margin-bottom: .6rem !important; }
  .tarif-grid > div:first-child > div[style*="display:inline-flex"][style*="background:var(--o-l1)"] {
    font-size: .64rem !important; padding: 4px 10px !important; margin-bottom: 1rem !important;
  }
  .tc-perks li { font-size: .78rem !important; }
  .tarif-grid .btn-p, .tarif-grid .btn-t { font-size: .82rem !important; padding: .7rem 1rem !important; }
  .tarif-grid > div:first-child > div[style*="font-style:italic"][style*="padding-top:1rem"] {
    font-size: .66rem !important; padding-top: .7rem !important; margin-top: .8rem !important;
  }
  .tarif-grid > div:nth-child(2) {
    padding: 1rem 1.2rem !important; border-radius: 14px !important;
  }
  .tarif-grid > div:nth-child(2) div[style*="font-size:2.2rem"] { font-size: 1.2rem !important; }
  .tarif-grid > div:nth-child(2) .tc-perks { display: none !important; }
  .tarif-grid > div:nth-child(2) div[style*="background:var(--b-l1)"] {
    padding: .6rem .8rem !important; margin-bottom: .8rem !important;
  }
  .tarif-grid > div:nth-child(2) div[style*="background:var(--b-l1)"] p { font-size: .72rem !important; }

  /* ── FAQ (mobile) ── */
  .faq-wrap { margin-top: .8rem !important; }
  .faq-item { padding: .5rem 0; }
  .faq-q { font-size: .78rem !important; }
  .faq-a { font-size: .72rem !important; line-height: 1.5; }
  .faq-chev { width: 20px; height: 20px; font-size: 9px; }

  /* ── Contact (mobile) ── */
  .contact-grid { gap: .8rem; }
  .c-info { margin-bottom: 0 !important; }
  .form-card { padding: .9rem !important; border-radius: 14px !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .fg { margin-bottom: .4rem !important; }
  .fg > label { font-size: .6rem !important; margin-bottom: 2px !important; }
  .fg > input, .fg select, .fg textarea { padding: .45rem .7rem !important; font-size: .78rem !important; border-radius: 8px !important; }
  .fg textarea { min-height: 60px !important; }
  .submit-btn { font-size: .8rem !important; padding: .6rem !important; border-radius: 50px; }
  .founder-card {
    flex-direction: row !important;
    text-align: left;
    padding: .6rem .8rem !important;
    border-radius: 12px !important;
    gap: .6rem !important;
    background: linear-gradient(135deg, var(--b-l1), var(--r-l1)) !important;
    border-color: var(--b-l3) !important;
  }
  .founder-card .fc-av { width: 34px; height: 34px; font-size: .6rem; }
  .fc-name { font-size: .75rem; }
  .fc-role { font-size: .62rem; }
  .c-row { font-size: .72rem; gap: 6px; padding: .3rem 0 !important; }
  .c-ico { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }

  /* ── Made in France – compact mobile ── */
  #equipe { padding: 24px 5% !important; }
  #equipe .fade-up > div:first-child { margin-bottom: .8rem !important; gap: .4rem !important; }
  #equipe .fade-up > div:first-child > div:first-child { font-size: 1.6rem !important; }
  #equipe .fade-up > div:first-child > div:last-child { padding: .25rem .8rem !important; }
  #equipe .fade-up > div:first-child > div:last-child span { font-size: .6rem !important; }
  #equipe .s-sub { line-height: 1.5 !important; }
  #equipe .mob-grid-3col {
    grid-template-columns: 1fr !important;
    gap: .5rem !important;
  }
  #equipe .mob-grid-3col > a {
    display: grid !important;
    grid-template-columns: 36px 1fr !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 0 .6rem !important;
    padding: .6rem .8rem !important;
    border-radius: 12px !important;
    text-align: left !important;
  }
  #equipe .mob-grid-3col > a > div:first-child {
    width: 36px !important; height: 36px !important;
    min-width: 36px;
    border-radius: 9px !important;
    margin: 0 !important;
    grid-row: 1 / 3;
  }
  #equipe .mob-grid-3col > a > div:first-child img,
  #equipe .mob-grid-3col > a > div:first-child svg {
    width: 24px !important; height: 24px !important;
  }
  #equipe .mob-grid-3col > a > div[style*="text-transform"] {
    font-size: .55rem !important; margin-bottom: 0 !important;
    grid-column: 2; align-self: end;
  }
  #equipe .mob-grid-3col > a > div[style*="font-weight:800"] {
    font-size: .8rem !important; margin-bottom: 0 !important;
    grid-column: 2; align-self: start;
  }
  #equipe .mob-grid-3col > a > div[style*="font-weight:600"] { display: none !important; }
  #equipe .mob-grid-3col > a > p { display: none !important; }

  /* ── Vision section (mobile) ── */
  .vision-manifeste {
    grid-template-columns: 1fr !important;
    gap: .55rem !important;
    margin-bottom: 1rem !important;
  }
  /* Compact row: number + title, paragraph hidden until expanded */
  .vision-manifeste > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .75rem !important;
    text-align: left !important;
    padding: .65rem .9rem !important;
    border-radius: 14px !important;
    cursor: pointer;
  }
  .vision-manifeste > div > div:first-child {
    font-size: 1.4rem !important;
    letter-spacing: -1px !important;
    flex-shrink: 0;
    line-height: 1 !important;
    margin-bottom: 0 !important;
  }
  .vision-manifeste > div > div:nth-child(2) {
    font-size: .82rem !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
  }
  .vision-manifeste > div > p { display: none !important; }
  /* Expanded: switch to column, reveal paragraph */
  .vision-manifeste > div.expanded {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .vision-manifeste > div.expanded > div:first-child { margin-bottom: .2rem !important; }
  .vision-manifeste > div.expanded > p {
    display: block !important;
    font-size: .72rem !important;
    line-height: 1.55;
    color: rgba(255,255,255,.5);
    margin-top: .15rem;
    animation: fadeSlideIn .4s cubic-bezier(.22,1,.36,1) forwards;
  }

  .vision-mechanics {
    grid-template-columns: 1fr 1fr !important;
    gap: .55rem !important;
    margin-bottom: 1rem !important;
  }

  /* ── Pill banner — column layout on mobile ── */
  .pill-border-anim {
    padding: 1.2rem 1.1rem !important;
  }
  /* The inner flex container is the 2nd child (first is the absolute decorative line) */
  .pill-border-anim > div:nth-child(2) {
    flex-direction: column !important;
    gap: .55rem !important;
    align-items: center !important;
  }
  /* Rotate the › separators 90° so they point downward */
  .pill-border-anim > div:nth-child(2) > div:nth-child(2),
  .pill-border-anim > div:nth-child(2) > div:nth-child(4) {
    transform: rotate(90deg);
    font-size: 1rem !important;
  }

  /* ── Parrainage étapes — compact expandable rows ── */
  #parrainage .mob-grid-3col {
    gap: .45rem !important;
    margin-bottom: 1.2rem !important;
  }
  #parrainage .mob-grid-3col > div {
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    text-align: left !important;
    padding: .55rem .85rem !important;
    border-radius: 14px !important;
    cursor: pointer;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(212,120,127,.25) !important;
    backdrop-filter: blur(12px) !important;
  }
  #parrainage .mob-grid-3col > div > div:first-child {
    font-size: 1.5rem !important;
    flex-shrink: 0;
    margin-bottom: 0 !important;
  }
  #parrainage .mob-grid-3col > div > div:nth-child(2) {
    font-size: .58rem !important;
    margin-bottom: 0 !important;
  }
  #parrainage .mob-grid-3col > div > div:nth-child(3) {
    font-size: .82rem !important;
    margin-bottom: 0 !important;
  }
  #parrainage .mob-grid-3col > div > p { display: none !important; }
  /* Expanded state */
  #parrainage .mob-grid-3col > div.expanded {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  #parrainage .mob-grid-3col > div.expanded > div:first-child { margin-bottom: .1rem !important; }
  #parrainage .mob-grid-3col > div.expanded > p {
    display: block !important;
    font-size: .72rem !important;
    line-height: 1.55;
    color: rgba(255,255,255,.65);
    margin-top: .25rem;
    animation: fadeSlideIn .4s cubic-bezier(.22,1,.36,1) forwards;
  }
  /* Parrainage highlight card — vertical on mobile */
  #parrainage .fade-up[style*="display:flex"][style*="gap:2rem"] {
    flex-direction: column !important;
    gap: .8rem !important;
    padding: 1.2rem 1.1rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  #parrainage .fade-up[style*="display:flex"][style*="gap:2rem"] > div:last-child p {
    font-size: .75rem !important;
  }

  /* ── Pro parrainage steps (stagger grid, no mob-grid-3col) — compact expandable rows ── */
  #parrainage > .stagger {
    grid-template-columns: 1fr !important;
    gap: .5rem !important;
    margin-bottom: 1rem !important;
  }
  /* Hide arrow connector divs (position:absolute, meaningless in single column) */
  #parrainage > .stagger > div:not(.fade-up) { display: none !important; }
  /* Compact row: icon + title */
  #parrainage > .stagger > .fade-up {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .6rem .9rem !important;
    border-radius: 14px !important;
    cursor: pointer;
    overflow: visible !important;
    text-align: left !important;
  }
  /* nth-child(1) = decorative bg circle (position:absolute) — hide */
  #parrainage > .stagger > .fade-up > div:nth-child(1) { display: none !important; }
  /* nth-child(2) = emoji icon */
  #parrainage > .stagger > .fade-up > div:nth-child(2) {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }
  /* nth-child(3) = number badge — hide in compact, show when expanded */
  #parrainage > .stagger > .fade-up > div:nth-child(3) { display: none !important; }
  /* nth-child(4) = title */
  #parrainage > .stagger > .fade-up > div:nth-child(4) {
    font-size: .82rem !important;
    font-weight: 800;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  #parrainage > .stagger > .fade-up > p { display: none !important; }
  /* Expanded state */
  #parrainage > .stagger > .fade-up.expanded {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  #parrainage > .stagger > .fade-up.expanded > div:nth-child(3) {
    display: inline-flex !important;
    margin-bottom: .25rem !important;
  }
  #parrainage > .stagger > .fade-up.expanded > p {
    display: block !important;
    font-size: .72rem !important;
    line-height: 1.55;
    color: rgba(255,255,255,.68);
    margin-top: .15rem;
    animation: fadeSlideIn .4s cubic-bezier(.22,1,.36,1) forwards;
  }
  /* Highlight reduction card — tighten padding */
  #parrainage [style*="grid-template-columns:auto 1fr auto"] {
    padding: 1rem 1rem !important;
    gap: .6rem !important;
  }

  /* ── Philosophie cards — compact expandable rows ── */
  .philo-grid { display: flex !important; flex-direction: column !important; gap: .45rem !important; }
  .philo-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .6rem .9rem !important;
    border-radius: 14px !important;
    cursor: pointer;
  }
  .philo-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }
  .philo-title { font-size: .82rem !important; margin-bottom: 0 !important; line-height: 1.3 !important; }
  .philo-desc { display: none !important; }
  .philo-card.expanded { flex-direction: column !important; align-items: flex-start !important; }
  .philo-card.expanded .philo-icon { margin-bottom: .15rem !important; }
  .philo-card.expanded .philo-desc {
    display: block !important;
    font-size: .72rem !important;
    line-height: 1.55;
    margin-top: .2rem;
    animation: fadeSlideIn .4s cubic-bezier(.22,1,.36,1) forwards;
  }

  /* ── Footer (mobile) ── */
  footer { padding: 16px 5% !important; }
  footer > div { flex-direction: column !important; gap: .6rem !important; text-align: center; }
  .foot-logo { text-align: center; }
  .foot-logo img { height: 24px; }
  .foot-mrb { justify-content: center; gap: .4rem !important; }
  .foot-mrb img { height: 18px !important; }
  .foot-mrb span { font-size: .6rem !important; }
  .foot-links { justify-content: center; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; }
  .foot-links a { font-size: .6rem; }
  .foot-copy { font-size: .58rem; }
  .foot-ref { max-width: 100% !important; font-size: .48rem; }
}


/* ═══════════════════════════════════════════════════════════════════
   ██  v2 PREMIUM LAYER  ── Glass World Dark × Deep Liquid Glass
   ═══════════════════════════════════════════════════════════════════
   Complete dark redesign. Every page is one continuous dark canvas.
   Colored light sources per page. True deep liquid glass panels.
   ─────────────────────────────────────────────────────────────────── */

/* ── 0. Global v2 design tokens ── */
:root {
  /* Dark canvas */
  --d-bg           : #070B14;
  --d-surface      : rgba(255,255,255,.06);
  --d-surface-hi   : rgba(255,255,255,.1);
  --d-border       : rgba(255,255,255,.1);
  --d-border-hi    : rgba(255,255,255,.2);
  --d-text         : #E4ECFF;
  --d-text-soft    : rgba(228,236,255,.52);

  /* Liquid glass */
  --v2-blur        : blur(44px) saturate(2.5) brightness(1.1);
  --v2-shine       : inset 0 1.5px 0 rgba(255,255,255,.65),
                     inset 0 -1px 0 rgba(0,0,0,.08);
  --v2-shadow      : 0 8px 40px rgba(0,0,0,.55),
                     0 2px 8px rgba(0,0,0,.35);
  --v2-border      : rgba(255,255,255,.14);

  /* Brand accents */
  --d-blue         : #5B91FF;
  --d-orange       : #FF8C3A;
}

/* ══════════════════════════════════════════════════════════════════
   1. DARK CANVAS — body, html, wipe light backgrounds
   ══════════════════════════════════════════════════════════════════ */

/* Prevent horizontal scroll caused by hero glow pseudo-elements.
   body { overflow-x: hidden } alone is unreliable — html must also be set. */
html { overflow-x: hidden !important; }

body {
  background : var(--d-bg) !important;
  color      : var(--d-text) !important;
}

/* Hero: clip horizontal glow only; flex-start so content isn't pushed above viewport;
   compact padding so all content fits in 100dvh without scrolling */
.hero {
  overflow-x       : clip !important;
  overflow-y       : visible !important;
  justify-content  : center !important;
  padding          : 70px 5% 20px !important;
}
body::before {
  background : none !important;
  display    : none !important;
}
/* Static ambient light: page-specific colors override via page CSS */
body::after {
  content        : '';
  position       : fixed;
  inset          : 0;
  z-index        : -1;
  pointer-events : none;
  background     :
    radial-gradient(ellipse 55% 45% at 15% 15%, rgba(91,145,255,.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 85% 80%, rgba(255,140,58,.06) 0%, transparent 55%);
}

/* Kill legacy orb divs */
.v2-orb { display: none !important; }

/* ══════════════════════════════════════════════════════════════════
   2. NAVIGATION — dark glass
   ══════════════════════════════════════════════════════════════════ */
nav {
  background    : rgba(7,11,20,.78) !important;
  backdrop-filter: blur(32px) saturate(2) !important;
  -webkit-backdrop-filter: blur(32px) saturate(2) !important;
  border-bottom : 1px solid rgba(255,255,255,.08) !important;
  box-shadow    : 0 1px 0 rgba(255,255,255,.04) !important;
}
/* Nav links */
.nav-links a:not(.nav-cta-alt),
nav a:not(.nav-cta):not(.nav-cta-alt) {
  color : rgba(228,236,255,.72) !important;
}
.nav-links a:not(.nav-cta-alt):hover,
nav a:not(.nav-cta):not(.nav-cta-alt):hover {
  color : #fff !important;
}
/* Nav CTA — vivid blue glow */
.nav-cta {
  background : linear-gradient(135deg, var(--d-blue), #3d6fd4) !important;
  box-shadow : 0 4px 20px rgba(91,145,255,.38),
               inset 0 1px 0 rgba(255,255,255,.25) !important;
}
.nav-cta:hover {
  box-shadow : 0 8px 34px rgba(91,145,255,.55),
               inset 0 1px 0 rgba(255,255,255,.25) !important;
  transform  : translateY(-1px) !important;
}
/* Logo — keep original colors, add subtle glow */
nav > a > img,
nav > a img {
  animation  : none;
  filter     : drop-shadow(0 2px 10px rgba(91,145,255,.2));
  transition : filter .3s;
}
nav > a:hover > img,
nav > a:hover img {
  filter : drop-shadow(0 4px 18px rgba(91,145,255,.45));
}

/* ══════════════════════════════════════════════════════════════════
   3. TYPOGRAPHY — light on dark
   ══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  color         : var(--d-text) !important;
  letter-spacing: -.6px;
}
p, li, span:not(.acc-b):not(.acc-o) {
  color : var(--d-text-soft);
}
.s-title  { color: var(--d-text) !important; letter-spacing: -1px; }
.s-lead   { color: var(--d-text-soft) !important; }

/* ══════════════════════════════════════════════════════════════════
   4. LIQUID GLASS CARDS — all card types
   ══════════════════════════════════════════════════════════════════ */
.rank-card,
.screen-frame,
.form-card,
.founder-card,
.net-node,
.constat-card,
.step-card,
.feat-card,
.cc,
.gamif-card,
.activity-card,
.partner-card,
.advantage-item,
.parents-card {
  background         : var(--d-surface) !important;
  backdrop-filter    : var(--v2-blur) !important;
  -webkit-backdrop-filter: var(--v2-blur) !important;
  border             : 1px solid var(--d-border) !important;
  box-shadow         : var(--v2-shine), var(--v2-shadow) !important;
  color              : var(--d-text) !important;
}
.rank-card:hover,
.step-card:hover,
.feat-card:hover,
.founder-card:hover,
.partner-card:hover,
.activity-card:hover {
  background   : var(--d-surface-hi) !important;
  border-color : var(--d-border-hi) !important;
  box-shadow   : var(--v2-shine),
                 0 24px 70px rgba(0,0,0,.65),
                 0 0 0 1px rgba(255,255,255,.08) !important;
  transform    : translateY(-8px) !important;
}
/* Card text in dark context */
.rank-card *, .step-card *, .feat-card *,
.constat-card *, .form-card *, .founder-card *,
.cc *, .gamif-card *, .activity-card *,
.partner-card *, .advantage-item *, .parents-card * {
  color: inherit;
}

/* ══════════════════════════════════════════════════════════════════
   5. KPI NUMBERS & ACCENT TEXT
   ══════════════════════════════════════════════════════════════════ */
.kpi-num {
  background              : linear-gradient(135deg, #fff 20%, rgba(228,236,255,.65)) !important;
  -webkit-background-clip : text !important;
  -webkit-text-fill-color : transparent !important;
  background-clip         : text !important;
  letter-spacing          : -2px;
}
.kpi-label { color: var(--d-text-soft) !important; }
.kpi-src   { color: rgba(228,236,255,.3) !important; }
.acc-b {
  background              : linear-gradient(135deg, #99BBFF 20%, var(--d-blue)) !important;
  -webkit-background-clip : text !important;
  -webkit-text-fill-color : transparent !important;
  background-clip         : text !important;
}

/* ══════════════════════════════════════════════════════════════════
   6. EYEBROW PILLS
   ══════════════════════════════════════════════════════════════════ */
.eyebrow,
.why-eyebrow,
.hero-eyebrow {
  background      : rgba(91,145,255,.12) !important;
  color           : var(--d-blue) !important;
  border          : 1px solid rgba(91,145,255,.22) !important;
  backdrop-filter : blur(8px) !important;
  text-shadow     : none !important;
  letter-spacing  : .22em;
}

/* ══════════════════════════════════════════════════════════════════
   7. SECTION BACKGROUNDS — clear, no tint
   ══════════════════════════════════════════════════════════════════ */
section,
section:nth-child(even),
section:nth-child(odd) {
  background : transparent !important;
}
/* Subtle section separator */
section + section {
  border-top: 1px solid rgba(255,255,255,.04);
}

/* ══════════════════════════════════════════════════════════════════
   8. SCROLL ANIMATIONS — spring physics
   ══════════════════════════════════════════════════════════════════ */
.fade-up {
  opacity   : 0;
  transform : translateY(32px) scale(.985);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.fade-up.vis {
  opacity   : 1;
  transform : translateY(0) scale(1);
}
.fade-scale {
  opacity   : 0;
  transform : scale(.94) translateY(14px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.fade-scale.vis {
  opacity   : 1;
  transform : scale(1) translateY(0);
}
.stagger > * {
  opacity   : 0;
  transform : translateY(22px) scale(.97);
  transition: opacity .58s cubic-bezier(.22,1,.36,1),
              transform .58s cubic-bezier(.22,1,.36,1);
}
.stagger > *.vis {
  opacity   : 1;
  transform : translateY(0) scale(1);
}

/* ══════════════════════════════════════════════════════════════════
   9. FORM INPUTS — dark glass
   ══════════════════════════════════════════════════════════════════ */
.fg > input,
.fg select,
.fg textarea {
  background     : rgba(255,255,255,.07) !important;
  backdrop-filter: blur(12px) !important;
  border         : 1.5px solid rgba(255,255,255,.12) !important;
  color          : var(--d-text) !important;
  transition     : border-color .25s, box-shadow .25s, background .25s;
}
.fg > input::placeholder,
.fg textarea::placeholder { color: rgba(228,236,255,.35) !important; }
.fg label                 { color: var(--d-text-soft) !important; }
.fg > input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--d-blue) !important;
  background  : rgba(255,255,255,.1) !important;
  box-shadow  : 0 0 0 3px rgba(91,145,255,.18) !important;
  outline     : none !important;
}
.submit-btn {
  background  : linear-gradient(135deg, var(--d-blue), #3d6fd4) !important;
  box-shadow  : 0 6px 24px rgba(91,145,255,.32),
                inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.submit-btn:hover {
  box-shadow  : 0 12px 40px rgba(91,145,255,.5),
                inset 0 1px 0 rgba(255,255,255,.22) !important;
  transform   : translateY(-2px) !important;
}

/* ══════════════════════════════════════════════════════════════════
   10. FAQ — dark glass
   ══════════════════════════════════════════════════════════════════ */
.faq-item  { border-bottom: 1px solid rgba(255,255,255,.07) !important; }
.faq-chev  {
  background  : rgba(255,255,255,.08) !important;
  border      : 1px solid rgba(255,255,255,.12) !important;
  color       : var(--d-text) !important;
}
.faq-q     { color: var(--d-text) !important; }
.faq-a     { color: var(--d-text-soft) !important; }

/* ══════════════════════════════════════════════════════════════════
   11. NETWORK HUB
   ══════════════════════════════════════════════════════════════════ */
.net-logo {
  box-shadow: 0 8px 40px rgba(91,145,255,.45),
              0 0 0 10px rgba(91,145,255,.1),
              inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.net-line { background: rgba(255,255,255,.08) !important; }

/* ══════════════════════════════════════════════════════════════════
   12. FOOTER — deepest dark
   ══════════════════════════════════════════════════════════════════ */
footer {
  background : linear-gradient(180deg, #070B14 0%, #040710 100%) !important;
  border-top : 1px solid rgba(255,255,255,.07) !important;
}
footer a, .foot-links a { color: rgba(228,236,255,.55) !important; }
footer a:hover, .foot-links a:hover { color: var(--d-text) !important; }
.foot-copy, .foot-ref { color: rgba(228,236,255,.3) !important; }

/* ══════════════════════════════════════════════════════════════════
   13. BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.btn-p, .btn-t {
  letter-spacing: .005em;
  font-size     : 1.01rem;
  transition    : all .3s cubic-bezier(.22,1,.36,1) !important;
}
.btn-t {
  background    : rgba(255,255,255,.08) !important;
  border        : 1px solid rgba(255,255,255,.18) !important;
  color         : var(--d-text) !important;
  backdrop-filter: blur(8px) !important;
}
.btn-t:hover {
  background    : rgba(255,255,255,.14) !important;
  border-color  : rgba(255,255,255,.28) !important;
}

/* ══════════════════════════════════════════════════════════════════
   14. LOGO BREATHE ANIMATION
   ══════════════════════════════════════════════════════════════════ */
@keyframes v2-logo-breathe {
  0%,100% {
    transform: translateY(0) scale(1);
    filter   : drop-shadow(0 2px 10px rgba(91,145,255,.18));
  }
  50% {
    transform: translateY(-3px) scale(1.015);
    filter   : drop-shadow(0 6px 20px rgba(91,145,255,.38));
  }
}

/* ══════════════════════════════════════════════════════════════════
   15. @supports — glass fallback
   ══════════════════════════════════════════════════════════════════ */
@supports not (backdrop-filter: blur(1px)) {
  .rank-card, .screen-frame, .form-card,
  .founder-card, .net-node, .constat-card,
  .step-card, .feat-card, .cc, .gamif-card,
  .activity-card, .partner-card, .advantage-item {
    background: rgba(15,22,40,.95) !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   16. Reduced motion
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-scale { transition: none !important; opacity: 1 !important; transform: none !important; }
  .stagger > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════
   ██  v3 CHROMATIC WORLDS — Full override
   ═══════════════════════════════════════════════════════════════════
   New Direction: Vivid animated color worlds behind true glass.
   backdrop-filter amplifies vivid background color through panels.
   Dark base + vivid blobs = color radiates through transparent glass.
   ─────────────────────────────────────────────────────────────────── */

/* ── Design tokens — moUve palette via --page-accent-rgb ── */
/* Each page sets --page-accent-rgb in its own CSS:
   pro.css: 91,145,255 (--d-blue)  |  reeduc.css: 236,104,107 (--r-principal)
   partenaire.css: 45,140,71 (--g-principal)  |  patient.css: 252,159,66 (--o-principal) */
:root {
  --gl-bg       : rgba(var(--page-accent-rgb, 91,145,255), .09);
  --gl-bg-hi    : rgba(var(--page-accent-rgb, 91,145,255), .16);
  --gl-border   : rgba(var(--page-accent-rgb, 91,145,255), .24);
  --gl-border-hi: rgba(var(--page-accent-rgb, 91,145,255), .46);
  --gl-blur     : blur(28px) saturate(3) contrast(1.04);
  --gl-shine    : inset 0 1px 0 rgba(255,255,255,.55),
                  inset 1px 0 0 rgba(255,255,255,.12);
  --gl-shadow   : 0 24px 64px rgba(0,0,0,.35),
                  0 4px 12px rgba(0,0,0,.2);
  --gl-glow     : 0 0 40px rgba(var(--page-accent-rgb, 91,145,255), .12);
}

/* ── Body: color set per page ── */
body { color: #fff !important; }

/* ── Restore body::before so page CSS can put vivid blobs there ── */
body::before {
  display       : block !important;
  content       : '' !important;
  position      : fixed !important;
  inset         : 0 !important;
  z-index       : -2 !important;
  pointer-events: none !important;
  background    : none !important;
}

/* ── body::after: second color layer ── */
body::after {
  content       : '' !important;
  position      : fixed !important;
  inset         : 0 !important;
  z-index       : -1 !important;
  pointer-events: none !important;
  background    : none !important;
}

/* ── Nav — floating glass on vivid bg ── */
nav {
  background             : rgba(0,0,0,.22) !important;
  backdrop-filter        : blur(24px) saturate(2.5) !important;
  -webkit-backdrop-filter: blur(24px) saturate(2.5) !important;
  border-bottom          : 1px solid rgba(255,255,255,.14) !important;
  box-shadow             : none !important;
}
.nav-links a, nav a:not(.nav-cta):not(.nav-cta-alt) { color: rgba(255,255,255,.78) !important; }
.nav-links a:hover, nav a:not(.nav-cta):not(.nav-cta-alt):hover { color: #fff !important; }
/* nav-cta-alt = verre — toujours texte blanc dans la nav scrollée */
.nav-links .nav-cta-alt,
nav .nav-cta-alt { color: rgba(255,255,255,.88) !important; }
.nav-links .nav-cta-alt:hover,
nav .nav-cta-alt:hover { color: #fff !important; }
nav > a > img, nav > a img {
  filter    : brightness(0) invert(1) !important;
  animation : none !important;
}

/* ── Typography — white on vivid worlds ── */
h1, h2, h3, h4, h5 { color: #fff !important; }
p { color: rgba(255,255,255,.72) !important; }
.s-title  { color: #fff !important; }
.s-lead   { color: rgba(255,255,255,.65) !important; }
.texte-soft { color: rgba(255,255,255,.58) !important; }
.hero-sub { color: rgba(255,255,255,.75) !important; }
.hero-sub strong { color: #fff !important; }

/* ── Section backgrounds — transparent ── */
section, section:nth-child(even), section:nth-child(odd) {
  background: transparent !important;
}

/* ── Eyebrow pills ── */
.eyebrow, .why-eyebrow, .hero-eyebrow {
  background     : rgba(255,255,255,.12) !important;
  color          : rgba(255,255,255,.88) !important;
  border         : 1px solid rgba(255,255,255,.24) !important;
  text-shadow    : none !important;
  backdrop-filter: blur(8px) !important;
}

/* ── Glass panels — vivid bg edition ── */
/* Transparent + blur picks up vivid ambient = glass looks alive */
.rank-card, .screen-frame, .form-card, .founder-card, .net-node,
.constat-card, .step-card, .feat-card, .cc, .gamif-card,
.activity-card, .partner-card, .advantage-item, .parents-card {
  background             : var(--gl-bg) !important;
  backdrop-filter        : var(--gl-blur) !important;
  -webkit-backdrop-filter: var(--gl-blur) !important;
  border                 : 1px solid var(--gl-border) !important;
  box-shadow             : var(--gl-shine), var(--gl-shadow) !important;
  color                  : #fff !important;
}
.rank-card *, .step-card *, .feat-card *, .constat-card *,
.form-card *, .founder-card *, .cc *, .gamif-card *,
.activity-card *, .partner-card *, .advantage-item *,
.parents-card * { color: inherit !important; }
.net-node-label { color: #fff !important; }
.net-node-sub   { color: rgba(255,255,255,.65) !important; }

.rank-card:hover, .step-card:hover, .feat-card:hover,
.founder-card:hover, .partner-card:hover, .activity-card:hover,
.constat-card:hover, .cc:hover, .gamif-card:hover {
  background   : var(--gl-bg-hi) !important;
  border-color : var(--gl-border-hi) !important;
  transform    : translateY(-6px) !important;
  box-shadow   : var(--gl-shine),
                 0 32px 80px rgba(0,0,0,.45),
                 0 4px 16px rgba(0,0,0,.2),
                 var(--gl-glow) !important;
}

/* ── KPI numbers ── */
.kpi-num {
  background              : linear-gradient(135deg, #fff 20%, rgba(255,255,255,.7)) !important;
  -webkit-background-clip : text !important;
  -webkit-text-fill-color : transparent !important;
  background-clip         : text !important;
}
.kpi-label { color: rgba(255,255,255,.6) !important; }
.kpi-src   { color: rgba(255,255,255,.35) !important; }
.hero-kpis { border-top-color: rgba(255,255,255,.12) !important; gap: 1.2rem !important; }

/* ── Form fields ── */
.fg > input, .fg select, .fg textarea {
  background   : rgba(255,255,255,.08) !important;
  border       : 1.5px solid rgba(255,255,255,.2) !important;
  color        : #fff !important;
}
.fg > input::placeholder { color: rgba(255,255,255,.35) !important; }
.fg > input:focus, .fg select:focus, .fg textarea:focus {
  background   : rgba(255,255,255,.14) !important;
  border-color : rgba(255,255,255,.5) !important;
  outline      : none !important;
  box-shadow   : 0 0 0 3px rgba(255,255,255,.1) !important;
}

/* ── Footer ── */
footer {
  background     : rgba(0,0,0,.35) !important;
  backdrop-filter: blur(20px) saturate(1.5) !important;
  border-top     : 1px solid rgba(255,255,255,.1) !important;
}
footer, footer a, footer p, footer span, footer li {
  color: rgba(255,255,255,.55) !important;
}
.foot-links a:hover { color: #fff !important; }
.foot-copy { color: rgba(255,255,255,.35) !important; }

/* ── Sticky bar ── */
.sticky-cta-bar {
  background     : rgba(0,0,0,.3) !important;
  backdrop-filter: blur(20px) saturate(2) !important;
  border-top     : 1px solid rgba(255,255,255,.12) !important;
}

/* ── Ghost buttons ── */
.btn-g {
  border-color: rgba(255,255,255,.3) !important;
  color       : rgba(255,255,255,.85) !important;
  background  : transparent !important;
}
.btn-g:hover {
  background  : rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.55) !important;
}

/* ── Backdrop fallback ── */
@supports not (backdrop-filter: blur(1px)) {
  .rank-card, .screen-frame, .form-card, .founder-card, .net-node,
  .constat-card, .step-card, .feat-card, .cc, .gamif-card,
  .activity-card, .partner-card, .advantage-item {
    background: rgba(10,12,28,.92) !important;
  }
}

/* ── Blob animation keyframes (used by page CSS) ── */
@keyframes blobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(-5%, 10%) scale(1.06); }
  50%       { transform: translate(7%, -6%) scale(.95); }
  75%       { transform: translate(-3%, -10%) scale(1.04); }
}
@keyframes blobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(9%, -7%) scale(1.05); }
  66%       { transform: translate(-7%, 8%) scale(.97); }
}
@keyframes blobC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-10%, 5%) scale(1.03); }
  80%       { transform: translate(6%, -9%) scale(.98); }
}

/* ═══════════════════════════════════════════════════════════════════
   ██  v3 APPLE REFINEMENTS — Cinematic typography + scroll reveals
   ═══════════════════════════════════════════════════════════════════
   Inspired by Apple.com: extreme scale contrast, tight letter-spacing,
   generous whitespace, and buttery scroll-driven reveals.
   ─────────────────────────────────────────────────────────────────── */

/* ── Hero H1 — Billboard scale, compact so full title fits in 100dvh ── */
.hero h1, h1.hero-title {
  font-size    : clamp(1.8rem, 4.5vw, 3.5rem) !important;
  font-weight  : 900 !important;
  line-height  : 1.08 !important;
  letter-spacing: -0.04em !important;
  color        : #fff !important;
  margin-bottom: .5rem !important;
}

/* ── Section titles — Apple-scale ── */
.s-title {
  font-size    : clamp(2.2rem, 4vw, 3.8rem) !important;
  font-weight  : 800 !important;
  line-height  : 1.08 !important;
  letter-spacing: -0.03em !important;
  color        : #fff !important;
  margin-bottom: 1.2rem !important;
}

/* ── Sub-headline — readable, compact margin to fit in 100dvh ── */
.hero-sub {
  font-size    : clamp(1.05rem, 1.6vw, 1.35rem) !important;
  line-height  : 1.6 !important;
  color        : rgba(255,255,255,.72) !important;
  max-width    : 560px !important;
  margin-bottom: .75rem !important;
}
.hero-sub strong { color: #fff !important; font-weight: 600 !important; }

/* ── Hero visual image — constrain height so it fits in 100dvh ── */
.hero-visual > img {
  max-height  : calc(100dvh - 100px) !important;
  width       : auto !important;
  object-fit  : contain !important;
}

/* ── Section sub-lead ── */
.s-sub {
  font-size    : clamp(1rem, 1.4vw, 1.18rem) !important;
  line-height  : 1.75 !important;
  color        : rgba(255,255,255,.62) !important;
}

/* ── Eyebrow pills — Apple micro-caption style ── */
.eyebrow, .why-eyebrow, .hero-eyebrow {
  font-size    : .72rem !important;
  font-weight  : 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding      : .42rem 1rem !important;
}

/* ── Scroll reveals — silky cubic-bezier ── */
.fade-up {
  opacity  : 0 !important;
  transform: translateY(36px) !important;
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1) !important;
}
.fade-up.vis {
  opacity  : 1 !important;
  transform: translateY(0) !important;
}
.fade-scale {
  opacity  : 0 !important;
  transform: scale(.92) !important;
  transition: opacity .85s cubic-bezier(.16,1,.3,1),
              transform .85s cubic-bezier(.16,1,.3,1) !important;
}
.fade-scale.vis {
  opacity  : 1 !important;
  transform: scale(1) !important;
}

/* ── Stagger — tighter, faster cascade ── */
.stagger > * {
  opacity  : 0 !important;
  transform: translateY(22px) !important;
  transition: opacity .75s cubic-bezier(.16,1,.3,1),
              transform .75s cubic-bezier(.16,1,.3,1) !important;
}
.stagger.vis > *:nth-child(1) { opacity:1 !important; transform:translateY(0) !important; transition-delay:.04s !important; }
.stagger.vis > *:nth-child(2) { opacity:1 !important; transform:translateY(0) !important; transition-delay:.14s !important; }
.stagger.vis > *:nth-child(3) { opacity:1 !important; transform:translateY(0) !important; transition-delay:.24s !important; }
.stagger.vis > *:nth-child(4) { opacity:1 !important; transform:translateY(0) !important; transition-delay:.34s !important; }
.stagger.vis > *:nth-child(5) { opacity:1 !important; transform:translateY(0) !important; transition-delay:.44s !important; }
.stagger.vis > *:nth-child(6) { opacity:1 !important; transform:translateY(0) !important; transition-delay:.54s !important; }

/* ── KPI numbers — extra punch ── */
.kpi-num {
  font-size    : clamp(2rem, 4vw, 3.2rem) !important;
  font-weight  : 900 !important;
  letter-spacing: -0.03em !important;
  white-space  : nowrap !important;
}

/* ── Buttons — sharper, more confident ── */
.btn-p, .btn-primary, [class*="btn"]:not(.btn-g):not(.btn-ghost) {
  font-weight  : 700 !important;
  letter-spacing: 0.01em !important;
  padding      : .85rem 2rem !important;
  border-radius: 100px !important;
}

/* ── Ü glow animation — opacity pulse only, zero movement ── */
@keyframes uGlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: .55; }
}

/* ── Liquid Glass — Buttons ── */
.btn-p, .btn-primary,
a[class*="btn-p"], button[class*="btn-p"] {
  backdrop-filter        : blur(20px) saturate(2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(2) !important;
  border                 : 1px solid rgba(255,255,255,.28) !important;
  box-shadow             : inset 0 1px 0 rgba(255,255,255,.5),
                           inset 0 -1px 0 rgba(0,0,0,.1),
                           0 8px 32px rgba(0,0,0,.25) !important;
  font-weight            : 700 !important;
  letter-spacing         : 0.01em !important;
  border-radius          : 100px !important;
  transition             : background .3s, box-shadow .3s, transform .2s !important;
}
.btn-p:hover, .btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65),
              inset 0 -1px 0 rgba(0,0,0,.1),
              0 16px 48px rgba(0,0,0,.35) !important;
  transform: translateY(-2px) !important;
}

/* Ghost button glass */
.btn-g {
  backdrop-filter        : blur(16px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
  background             : rgba(255,255,255,.08) !important;
  border                 : 1px solid rgba(255,255,255,.25) !important;
  box-shadow             : inset 0 1px 0 rgba(255,255,255,.35),
                           0 4px 16px rgba(0,0,0,.2) !important;
  font-weight            : 600 !important;
  border-radius          : 100px !important;
  transition             : background .3s, box-shadow .3s, transform .2s !important;
}
.btn-g:hover {
  background  : rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.45) !important;
  box-shadow  : inset 0 1px 0 rgba(255,255,255,.5),
                0 8px 24px rgba(0,0,0,.3) !important;
  transform   : translateY(-1px) !important;
}

/* ── Eyebrow pills — moUve page accent (adapts per page) ── */
.eyebrow, .why-eyebrow, .hero-eyebrow {
  background             : linear-gradient(135deg,
                             rgba(var(--page-accent-rgb, 91,145,255), .22),
                             rgba(var(--page-accent-rgb, 91,145,255), .10)) !important;
  color                  : rgba(255,255,255,.88) !important;
  border                 : 1px solid rgba(var(--page-accent-rgb, 91,145,255), .45) !important;
  backdrop-filter        : blur(16px) saturate(2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(2) !important;
  box-shadow             : inset 0 1px 0 rgba(255,255,255,.18),
                           0 2px 16px rgba(var(--page-accent-rgb, 91,145,255), .2) !important;
  text-shadow            : 0 0 24px rgba(var(--page-accent-rgb, 91,145,255), .5) !important;
  letter-spacing         : .18em !important;
}

/* ── Feature list items (.if) — page-accent tinted glass ── */
.if {
  background   : rgba(var(--page-accent-rgb, 91,145,255), .07) !important;
  border       : 1px solid rgba(var(--page-accent-rgb, 91,145,255), .18) !important;
  border-radius: 12px !important;
}
.if-ico.b, .if-ico.t { background: rgba(91,145,255,.22) !important; }
.if-ico.r             { background: rgba(236,104,107,.22) !important; }
.if-ico.o             { background: rgba(252,159,66,.22)  !important; }
.if-t                 { color: rgba(228,236,255,.92) !important; }
.if-d                 { color: rgba(228,236,255,.52) !important; }

/* ── Rank-point list (.rp) — page-accent tinted glass ── */
.rp {
  background  : rgba(var(--page-accent-rgb, 91,145,255), .07) !important;
  border-color: rgba(var(--page-accent-rgb, 91,145,255), .18) !important;
  box-shadow  : none !important;
}
.rp-t { color: rgba(228,236,255,.9) !important; }
.rp-d { color: rgba(228,236,255,.5) !important; }

/* ── Mobile compact pills (.if & .rp) — dark border accents ── */
@media (max-width: 960px) {
  .if {
    background  : rgba(var(--page-accent-rgb, 91,145,255), .09) !important;
    border-color: rgba(var(--page-accent-rgb, 91,145,255), .2) !important;
  }
  .if:nth-child(1) { border-color: rgba(91,145,255,.45) !important; }
  .if:nth-child(2) { border-color: rgba(236,104,107,.4)  !important; }
  .if:nth-child(3) { border-color: rgba(252,159,66,.4)   !important; }
  .if:nth-child(1) .if-t { color: #5b91ff !important; }
  .if:nth-child(2) .if-t { color: #ff9ea0 !important; }
  .if:nth-child(3) .if-t { color: #ffb86b !important; }

  .rp {
    background  : rgba(var(--page-accent-rgb, 91,145,255), .09) !important;
    border-color: rgba(var(--page-accent-rgb, 91,145,255), .2) !important;
  }
  .rp:nth-child(1) { border-color: rgba(91,145,255,.45) !important; }
  .rp:nth-child(2) { border-color: rgba(236,104,107,.4)  !important; }
  .rp:nth-child(3) { border-color: rgba(252,159,66,.4)   !important; }
  .rp:nth-child(4) { border-color: rgba(91,145,255,.3)  !important; }
  .rp:nth-child(1) .rp-t { color: #5b91ff !important; }
  .rp:nth-child(2) .rp-t { color: #ff9ea0 !important; }
  .rp:nth-child(3) .rp-t { color: #ffb86b !important; }
  .rp:nth-child(4) .rp-t { color: #5b91ff !important; }

  /* Desert / misc compact strips */
  #deserts .mob-grid-3col > div,
  .mob-grid-3col > div {
    background  : rgba(var(--page-accent-rgb, 91,145,255), .09) !important;
    border-color: rgba(var(--page-accent-rgb, 91,145,255), .2) !important;
  }
  #deserts .mob-grid-3col > div:nth-child(1) { border-color: rgba(91,145,255,.45) !important; }
  #deserts .mob-grid-3col > div:nth-child(2) { border-color: rgba(236,104,107,.4)  !important; }
  #deserts .mob-grid-3col > div:nth-child(3) { border-color: rgba(252,159,66,.4)   !important; }
  #deserts .mob-grid-3col > div:nth-child(1) > div { color: #5b91ff !important; }
  #deserts .mob-grid-3col > div:nth-child(2) > div { color: #ff9ea0 !important; }
  #deserts .mob-grid-3col > div:nth-child(3) > div { color: #ffb86b !important; }

  /* Ecosystem feature items — page-accent tinted glass */
  .eco-feats .ef {
    background  : rgba(var(--page-accent-rgb, 91,145,255), .08) !important;
    border      : 1px solid rgba(var(--page-accent-rgb, 91,145,255), .18) !important;
  }
  .eco-feats .ef:nth-child(1) { border-color: rgba(91,145,255,.45) !important; }
  .eco-feats .ef:nth-child(2) { border-color: rgba(236,104,107,.4)  !important; }
  .eco-feats .ef:nth-child(3) { border-color: rgba(252,159,66,.4)   !important; }
  .eco-feats .ef:nth-child(4) { border-color: rgba(91,145,255,.3)  !important; }
  .eco-feats .ef:nth-child(1) .ef-t { color: #5b91ff !important; }
  .eco-feats .ef:nth-child(2) .ef-t { color: #ff9ea0 !important; }
  .eco-feats .ef:nth-child(3) .ef-t { color: #ffb86b !important; }
  .eco-feats .ef:nth-child(4) .ef-t { color: #5b91ff !important; }
}

/* ── Mobile: preserve legibility at small sizes ── */
@media (max-width: 640px) {
  .hero h1, h1.hero-title {
    font-size    : clamp(2.4rem, 11vw, 3.5rem) !important;
    letter-spacing: -0.03em !important;
  }
  .s-title {
    font-size    : clamp(1.7rem, 8vw, 2.4rem) !important;
    letter-spacing: -0.02em !important;
  }
  /* Buttons — nowrap + font scales to fit one line */
  .hero-btns > a,
  .hero-btns > button {
    white-space: nowrap !important;
    font-size  : clamp(.8rem, 3.8vw, 1.02rem) !important;
    padding    : .65rem clamp(.85rem, 2.8vw, 1.3rem) !important;
    overflow   : hidden !important;
  }
}

/* ── Fix CSS Grid overflow at mobile: prevent grid items from inflating the track ── */
@media (max-width: 960px) {
  .hero-inner > div {
    min-width: 0;
    overflow : hidden;
  }
}

/* ── Extra-small screens ≤400px (iPhone SE, older phones) ── */
@media (max-width: 400px) {
  /* Hero: tighter padding so content fits in 100dvh */
  .hero {
    padding: 38px 5% 16px !important;
  }
  /* H1: scale down — vw takes over below 375px */
  .hero h1, h1.hero-title {
    font-size     : clamp(1.55rem, 9.5vw, 2.2rem) !important;
    letter-spacing: -0.02em !important;
    margin-bottom : 0.55rem !important;
    line-height   : 1.06 !important;
  }
  /* Subtitle: compact */
  .hero-sub {
    font-size    : clamp(.72rem, 3.5vw, .88rem) !important;
    line-height  : 1.42 !important;
    margin-bottom: 0.75rem !important;
  }
  /* Eyebrow pill: smaller */
  .eyebrow, .why-eyebrow, .hero-eyebrow {
    font-size    : .58rem !important;
    padding      : .28rem .65rem !important;
    margin-bottom: 0.45rem !important;
  }
  /* Buttons: tighter gap, smaller font for one-line fit */
  .hero-btns {
    gap       : 0.35rem !important;
    margin-top: 0.45rem !important;
  }
  .hero-btns > a,
  .hero-btns > button {
    font-size: clamp(.72rem, 3.5vw, .82rem) !important;
    padding  : .55rem .85rem !important;
  }
}

/* ════════════════════════════════════════════════════
   § EF-ICO — dark glass backgrounds (eco-feats section)
   Uses moUve palette: --d-blue #5B91FF / --r-principal #EC686B / --o-principal #FC9F42
════════════════════════════════════════════════════ */
.ef-ico.b,
.ef-ico.t { background: rgba(91,145,255,.22) !important; }   /* --d-blue */
.ef-ico.r { background: rgba(236,104,107,.22) !important; }  /* --r-principal */
.ef-ico.o { background: rgba(252,159,66,.22)  !important; }  /* --o-principal */

/* ════════════════════════════════════════════════════
   § ICONS — moUve palette
   Hides emoji; chevron › for .if/.ef, dot badge for .rp
   Chevron rotates downward on expand; card stays horizontal
════════════════════════════════════════════════════ */

/* Hide emoji text in icon containers */
.if-ico,
.ef-ico,
.rp-ico,
#formation .rp-ico,
.net-node-ico { font-size: 0 !important; }

/* .net-node-ico → colored dot using node accent color */
.net-node-ico {
  display        : flex !important;
  align-items    : center !important;
  justify-content: center !important;
}
.net-node-ico::after {
  content      : "";
  display      : block;
  width        : 16px;
  height       : 16px;
  border-radius: 50%;
  background   : var(--nc, var(--b-principal));
  opacity      : .75;
  flex-shrink  : 0;
}

/* .if-ico / .ef-ico → clean white chevron › (rotates to ˅ on expand) */
.if-ico::after,
.ef-ico::after {
  content      : "";
  display      : block;
  width        : 9px;
  height       : 9px;
  border-right : 2.5px solid rgba(255,255,255,.88);
  border-top   : 2.5px solid rgba(255,255,255,.88);
  border-radius: 1px;
  transform    : rotate(45deg) translateX(-1px);
  transition   : transform .4s cubic-bezier(.22,1,.36,1);
  flex-shrink  : 0;
}

/* .rp-ico → accent dot badge (adapts to --page-accent-rgb per page) */
.rp-ico {
  background : rgba(var(--page-accent-rgb,91,145,255),.15) !important;
  border     : 1px solid rgba(var(--page-accent-rgb,91,145,255),.3) !important;
}
.rp-ico::after {
  content      : "";
  display      : block;
  width        : 8px;
  height       : 8px;
  border-radius: 50%;
  background   : rgba(var(--page-accent-rgb,91,145,255),.85);
}
/* Accent color per position */
.rp:nth-child(2) .rp-ico {
  background   : rgba(236,104,107,.18) !important; /* --r-principal */
  border-color : rgba(236,104,107,.35) !important;
}
.rp:nth-child(2) .rp-ico::after { background: rgba(236,104,107,.85); }
.rp:nth-child(3) .rp-ico {
  background   : rgba(252,159,66,.18) !important;  /* --o-principal */
  border-color : rgba(252,159,66,.35) !important;
}
.rp:nth-child(3) .rp-ico::after { background: rgba(252,159,66,.85); }
.rp:nth-child(4) .rp-ico::after { background: rgba(91,145,255,.6); }

/* ── Expand animation ── */
@keyframes unfoldDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Override column layout → horizontal so chevron stays on left */
.if.expanded,
.ef.expanded,
.rp.expanded {
  flex-direction: row !important;
  align-items   : flex-start !important;
  text-align    : left !important;
}

/* No scale — chevron stays exactly in place */
.if.expanded .if-ico,
.ef.expanded .ef-ico,
.rp.expanded .rp-ico {
  transform: none !important;
  filter   : none !important;
}

/* Chevron rotates to point downward on expand */
.if.expanded .if-ico::after,
.ef.expanded .ef-ico::after {
  transform: rotate(135deg) !important;
}

/* Description unfolds from above */
.if.expanded .if-d,
.ef.expanded .ef-d,
.rp.expanded .rp-d {
  text-align: left !important;
  animation : unfoldDown .4s cubic-bezier(.22,1,.36,1) forwards !important;
}

/* ── Expanded card: description readable on white background ── */
.if.expanded .if-d,
.rp.expanded .rp-d,
.ef.expanded .ef-d { color: rgba(52,86,162,.72) !important; }  /* --b-principal */

/* Icon bg resets to moUve light palette inside expanded white card */
.if.expanded .if-ico.b, .if.expanded .if-ico.t,
.ef.expanded .ef-ico.b, .ef.expanded .ef-ico.t { background: var(--b-l1) !important; }
.if.expanded .if-ico.r, .ef.expanded .ef-ico.r { background: var(--r-l1) !important; }
.if.expanded .if-ico.o, .ef.expanded .ef-ico.o { background: var(--o-l1) !important; }
.rp.expanded .rp-ico {
  background  : var(--b-l1) !important;
  border-color: var(--b-l3) !important;
}

/* Chevron / dot switch to --b-principal blue on light expanded card */
.if.expanded .if-ico::after,
.ef.expanded .ef-ico::after {
  border-right-color: rgba(52,86,162,.75) !important;   /* --b-principal */
  border-top-color  : rgba(52,86,162,.75) !important;
}
.rp.expanded .rp-ico::after { background: rgba(52,86,162,.85) !important; }

/* ════════════════════════════════════════════════════
   § HERO BUTTONS — row layout + page-accent animations
════════════════════════════════════════════════════ */

/* Row layout: buttons auto-size to content */
.hero-btns {
  flex-direction : row !important;
  flex-wrap      : wrap !important;
  align-items    : flex-start !important;
  justify-content: center !important;
  gap            : .6rem !important;
  margin-bottom  : 0 !important;
  max-width      : none !important;
}
.hero-btns > a,
.hero-btns > button {
  flex           : 0 0 auto !important;
  text-align     : center !important;
  justify-content: center !important;
  align-items    : center !important;
  display        : inline-flex !important;
  min-width      : auto !important;
  min-height     : 3.4rem !important;
  white-space    : nowrap !important;
}

/* Primary button — page-accent glow pulse (adapts per page via --page-accent-rgb) */
@keyframes primaryPulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(var(--page-accent-rgb, 77,128,240), .40),
                inset 0 1px 0 rgba(255,255,255,.25);
  }
  50% {
    box-shadow: 0 14px 52px rgba(var(--page-accent-rgb, 77,128,240), .65),
                inset 0 1px 0 rgba(255,255,255,.32);
  }
}
.hero-btns .btn-p,
.hero-btns .btn-t,
.hero-btns .btn-pro {
  animation: primaryPulse 3s ease-in-out infinite !important;
}

/* Ghost button — accent glow pulse + downward nudge (higher priority CTA) */
@keyframes ghostShimmer {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35),
                0 0 0 1px rgba(var(--page-accent-rgb,52,86,162),.25);
    border-color: rgba(var(--page-accent-rgb,52,86,162),.35);
    transform: translateY(0);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55),
                0 0 28px rgba(var(--page-accent-rgb,52,86,162),.22),
                0 0 0 2px rgba(var(--page-accent-rgb,52,86,162),.18);
    border-color: rgba(var(--page-accent-rgb,52,86,162),.55);
    transform: translateY(2px);
  }
}
.hero-btns .btn-g {
  animation: ghostShimmer 2.4s ease-in-out infinite !important;
}


/* ══════════════════════════════════════════════════════
   HUMAN-FIRST STRIP & PHILOSOPHY SECTION
   ══════════════════════════════════════════════════════ */

/* ── Human-first slim strip (after hero) ── */
.human-strip {
  padding: 1.6rem 7% 0;
  position: relative;
  z-index: 10;
}
.human-strip-inner {
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(var(--page-accent-rgb), .22);
  border-radius: 50px;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07),
              0 0 20px rgba(var(--page-accent-rgb), .04);
}
.human-strip-inner strong { color: rgba(255,255,255,.88); font-weight: 700; }
.hs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(var(--page-accent-rgb), 1);
  box-shadow: 0 0 10px rgba(var(--page-accent-rgb), .65),
              0 0 20px rgba(var(--page-accent-rgb), .3);
  flex-shrink: 0;
}

/* ── Philosophy section ── */
#philosophie { overflow: hidden; }

.philo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.philo-card {
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(28px) saturate(2);
  border: 1px solid rgba(var(--page-accent-rgb), .15);
  border-radius: 22px;
  padding: 2rem 1.6rem;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.08),
              0 4px 24px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.22,1,.36,1),
              box-shadow .35s;
}
.philo-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.11),
              0 10px 40px rgba(0,0,0,.45),
              0 0 30px rgba(var(--page-accent-rgb), .07);
}
.philo-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--page-accent-rgb), .1);
  border: 1px solid rgba(var(--page-accent-rgb), .22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
/* CSS-only icon shapes */
.philo-icon--terrain {
  position: relative;
}
.philo-icon--terrain::before,
.philo-icon--terrain::after {
  content: '';
  position: absolute;
  background: rgba(var(--page-accent-rgb), .85);
  border-radius: 2px;
}
.philo-icon--terrain::before { width: 3px; height: 18px; }
.philo-icon--terrain::after  { width: 18px; height: 3px; }

.philo-icon--coconstruct::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 3px solid rgba(var(--page-accent-rgb), .85);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(-30deg);
}
.philo-icon--coconstruct::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid rgba(var(--page-accent-rgb), .85);
  top: 8px;
  right: 9px;
  transform: rotate(60deg);
}
.philo-icon--coconstruct { position: relative; }

.philo-icon--network {
  position: relative;
}
.philo-icon--network::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--page-accent-rgb), .85);
  box-shadow:
    -10px 6px 0 rgba(var(--page-accent-rgb), .7),
    10px 6px 0 rgba(var(--page-accent-rgb), .7);
}
.philo-icon--network::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 2px;
  background: rgba(var(--page-accent-rgb), .4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, 2px);
  border-radius: 2px;
  box-shadow: 0 5px 0 rgba(var(--page-accent-rgb), .25);
}

.philo-title {
  font-size: .98rem;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin-bottom: .55rem;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.philo-desc {
  font-size: .81rem;
  color: rgba(255,255,255,.52);
  line-height: 1.72;
  margin: 0;
}

/* ── Index page human note (below cards) ── */
.index-human-note {
  text-align: center;
  padding: 1.4rem 5%;
  font-size: .72rem;
  color: rgba(255,255,255,.32);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}
.index-human-note strong { color: rgba(255,255,255,.55); }

@media (max-width: 768px) {
  .philo-grid { grid-template-columns: 1fr; gap: 1rem; }
  .human-strip { padding: 1.2rem 5% 0; }
  .human-strip-inner { border-radius: 16px; padding: .65rem 1.1rem; }
}

/* ════════════════════════════════════════════════════
   § DARK GLASS CARD INNER TEXT — global overrides
   Forces readable light colours inside all dark glass cards.
   Uses !important to beat page-specific class definitions
   that use light-mode vars (--b-noir, --texte-soft).
════════════════════════════════════════════════════ */

/* ── Card titles ── */
.gamif-title,
.step-title,
.feat-title,
.pc-title,
.ai-title,
.cc-headline,
.cc-top-bar,
.dl-cta {
  color: rgba(228,236,255,.92) !important;
}

/* ── Card descriptions & body copy ── */
.gamif-desc,
.step-desc,
.feat-desc,
.pc-desc,
.ai-desc,
.cc-body,
.cc-source,
.cc-author,
.cc-label {
  color: rgba(228,236,255,.58) !important;
}

/* ── Download section ── */
.dl-sub   { color: rgba(228,236,255,.62) !important; }
.qr-label { color: rgba(228,236,255,.45) !important; }

/* ── Parent list items ── */
.parent-item {
  background   : rgba(255,255,255,.04) !important;
  border-radius: 14px !important;
  border       : 1px solid rgba(255,255,255,.07) !important;
}
.parent-item:hover {
  background  : rgba(255,255,255,.09) !important;
  border-color: rgba(255,255,255,.14) !important;
  transform   : translateX(5px) !important;
}
.parent-text        { color: rgba(228,236,255,.82) !important; }
.parent-text strong { color: rgba(228,236,255,.96) !important; }

/* ── Icon containers inside dark cards ── */
.feat-ico.o { background: rgba(252,159,66,.18) !important; }
.feat-ico.r { background: rgba(236,104,107,.18) !important; }
.feat-ico.b { background: rgba(91,145,255,.18) !important; }
.parent-ico {
  background  : rgba(91,145,255,.14) !important;
  border-color: rgba(91,145,255,.24) !important;
}
.step-num {
  box-shadow: 0 4px 16px rgba(var(--page-accent-rgb,91,145,255),.35) !important;
}

/* ── Store links — subtle dark glass ── */
.store-link {
  background: rgba(255,255,255,.1) !important;
  border    : 1px solid rgba(255,255,255,.15) !important;
}
.store-link:hover {
  background: rgba(255,255,255,.18) !important;
  transform : translateY(-3px) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.35) !important;
}

/* ── Price tag in dark mode ── */
.price-tag {
  background  : rgba(252,159,66,.14) !important;
  color       : rgba(253,179,93,.92) !important;
  border-color: rgba(252,159,66,.32) !important;
}
.price-tag:hover {
  background  : rgba(252,159,66,.28) !important;
  color       : #fff !important;
}

/* ── Nav scrolled in dark mode ── */
nav.scrolled {
  background     : rgba(7,11,20,.85) !important;
  border-bottom  : 1px solid rgba(255,255,255,.1) !important;
  backdrop-filter: blur(32px) saturate(2) !important;
}

/* ── PC / AI emoji icon containers (partenaire) ── */
.partner-card .pc-emoji {
  background: rgba(var(--page-accent-rgb,45,140,71),.16) !important;
  border    : 1.5px solid rgba(var(--page-accent-rgb,45,140,71),.3) !important;
}
.advantage-item .ai-emoji {
  background: rgba(var(--page-accent-rgb,45,140,71),.14) !important;
  border    : 1.5px solid rgba(var(--page-accent-rgb,45,140,71),.26) !important;
}

/* ── CC stat label (constat cards) ── */
.cc-stat-label,
.cc-stat + div,
.constat-card .cc-label { color: rgba(228,236,255,.5) !important; }
