/* ============================================================================
   myCerfa — habillage « accueil » (5ᵉ gabarit) : page d'accueil uniquement
   Page : index.php ($gabarit = 'accueil' → <body class="g-page g-accueil">)
   Comportements : assets/js/gabarits-accueil.js (scène du hero, bascule du
   constat, citation) + composants du socle (assets/css/gabarits.css).
   Toutes les classes sont préfixées home- (ce fichier est chargé sur toutes
   les pages à gabarit, comme les autres gabarits-*.css).
   Principes : rien n'est masqué sans html.g-js ; html.g-fallback réaffiche ;
   animations en transform / opacity ; prefers-reduced-motion neutralisé par
   le bloc 6 du socle + compléments en fin de fichier.
   ============================================================================ */

.g-accueil { --home-ink-2: #101d3a; --home-line-ink: #1f3157; }

/* ============================================================================
   1. HERO
   ============================================================================ */
.home-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 56px 40px 76px; background: var(--paper);
}
.home-hero::before {             /* trame de points, fondue vers les bords */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, #d5dcea 1px, transparent 1.4px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 10%, transparent 75%);
}
.home-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.home-aurora span { position: absolute; border-radius: 50%; animation: home-drift 11s ease-in-out 2 alternate both; }
.home-aurora span:nth-child(1) {
  width: 680px; height: 680px; right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(37,64,215,.20), transparent 64%);
  --hx: -60px; --hy: 50px;
}
.home-aurora span:nth-child(2) {
  width: 560px; height: 560px; left: -200px; bottom: -260px;
  background: radial-gradient(circle, rgba(255,210,63,.38), transparent 64%);
  --hx: 70px; --hy: -40px; animation-delay: -3s;
}
.home-aurora span:nth-child(3) {
  width: 420px; height: 420px; right: 26%; bottom: -200px;
  background: radial-gradient(circle, rgba(0,179,133,.20), transparent 64%);
  --hx: -40px; --hy: -60px; animation-delay: -6s;
}
@keyframes home-drift { from { transform: none; } to { transform: translate(var(--hx), var(--hy)) scale(1.08); } }

.home-hero-grid {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center;
}
.home-hero h1 {
  font-size: clamp(40px, 5.3vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
  margin: 20px 0 22px; isolation: isolate;
}
/* Mot-clé : surligné qui se dessine, étincelle. Animation CSS pure : le h1 est
   visible dès le premier rendu, seule la décoration arrive. */
.home-kw { font-style: normal; color: var(--pine); position: relative; white-space: nowrap; }
.home-kw::before {
  content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .06em; height: .3em; z-index: -1;
  background: var(--apricot); border-radius: .1em; transform-origin: 0 50%;
  animation: home-mark 1s .3s var(--g-ease-out) both;
}
.home-kw::after {
  content: "✦"; position: absolute; right: -.62em; top: .02em; font-size: .36em; color: var(--sky);
  animation: home-spark 1.2s 1.05s var(--g-ease-out) both;
}
@keyframes home-mark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes home-spark {
  0% { opacity: 0; transform: scale(.2) rotate(-90deg); }
  60% { opacity: 1; transform: scale(1.3) rotate(10deg); }
  100% { opacity: 1; transform: none; }
}
.home-lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 570px; margin-bottom: 30px; }
.home-btn-glow { box-shadow: 0 10px 28px rgba(37,64,215,.32); }
.home-btn-glow:hover { box-shadow: 0 14px 34px rgba(37,64,215,.4); }
.home-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.home-trust li {
  display: inline-block; font-size: 13.5px; color: var(--ink-soft);
  background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px 6px 10px;
}
.home-trust li > span { color: var(--g-green-ink); font-weight: 800; margin-right: 3px; }
.home-trust b { color: var(--ink); }

/* ---------- La scène (exemple animé) ---------- */
.home-scene { position: relative; padding: 34px 28px 0; }
.home-scene-ex { position: absolute; top: 0; left: 28px; z-index: 4; }
.home-scene-view { position: relative; }
.home-scene-view::before {      /* halo */
  content: ""; position: absolute; inset: 10% 4% 16%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,64,215,.20), transparent 66%);
}
.home-chans { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.home-chan {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--ink); padding: 6px 12px 6px 9px;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px; box-shadow: var(--shadow-sm);
}
.home-chan i { font-style: normal; }
.home-chan::after {             /* anneau qui s'allume à l'arrivée d'un don */
  content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--pine); opacity: 0;
}
.home-drop {
  position: absolute; z-index: 3; left: calc(50% - 34px); top: 6px; width: 68px; text-align: center; opacity: 0;
  pointer-events: none;
}
.home-drop span {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--white);
  background: var(--pine); border-radius: 100px; padding: 5px 11px; box-shadow: 0 8px 20px rgba(37,64,215,.4);
}
.home-dash { position: relative; z-index: 1; box-shadow: var(--shadow-lg); }
.home-dash .dash-donor { position: relative; }
.home-dash .dash-donor > div:nth-child(2) { flex: 1; min-width: 0; }
.home-dash .dash-donor .amt, .home-dash .dash-donor .tag { white-space: nowrap; flex-shrink: 0; }
.home-row-slot { position: relative; border-radius: var(--r-md); margin-bottom: 8px; }
.home-row-slot .dash-donor { margin-bottom: 0; }
.home-row-slot::before {        /* emplacement en attente du don */
  content: ""; position: absolute; inset: 0; border: 1.5px dashed #c5cede; border-radius: inherit;
  background: var(--paper-2); opacity: 0; transition: opacity .4s;
}
.home-stat-live { position: relative; }
.home-av-pine { background: var(--pine); }
.home-av-apricot { background: var(--apricot); color: var(--ink) !important; }
.home-av-sky { background: var(--sky); }
.home-amt-pine { color: var(--pine); }
.home-amt-gold { color: #8a6d12; }
.home-row-new::after, .home-stat-live::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 3px rgba(37,64,215,.35), 0 10px 24px rgba(37,64,215,.18); opacity: 0;
}

/* Cartes des « temps » */
.home-pop {
  position: absolute; z-index: 3; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.home-pop--receipt { width: 236px; right: -34px; top: 128px; overflow: hidden; border-radius: var(--r-lg); }
.home-rc-head { background: var(--ink); padding: 10px 14px; }
.home-rc-body { padding: 12px 14px 14px; display: grid; gap: 7px; }
.home-rc-t { font-family: var(--display); font-weight: 800; font-size: 13.5px; margin-bottom: 2px; }
.home-rc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.home-rc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.home-rc-row span { color: var(--ink-soft); }
.home-rc-row b { white-space: nowrap; }
.home-rc-stamp {
  position: absolute; right: 10px; top: 6px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--white); font-weight: 800; font-size: 14px;
}
.home-pop--mail { display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; right: -26px; top: 64px; }
.home-pop--mail .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: var(--apricot-soft); flex-shrink: 0; }
.home-pop--mail .ttl { font-size: 12.5px; font-weight: 800; font-family: var(--display); }
.home-pop--mail .desc { font-size: 11px; color: var(--ink-soft); }
.home-pop--space { width: 254px; left: -38px; bottom: 58px; padding: 13px 14px; }
.home-sp-head { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 13.5px; }
.home-sp-sub { font-size: 11px; color: var(--ink-soft); margin: 2px 0 10px; }
.home-sp-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: var(--pine-soft); border-radius: 10px; }
.home-sp-row b { display: block; font-family: var(--display); font-size: 12px; }
.home-sp-row small { display: block; font-size: 10.5px; color: var(--ink-soft); }
.home-sp-row i {
  margin-left: auto; font-style: normal; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--pine); color: var(--white); font-weight: 800; font-size: 13px;
}

/* Légende du temps en cours */
.home-caps { position: relative; z-index: 1; height: 44px; margin-top: 16px; }
.home-caps span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); padding: 0 8px;
}

/* Rail des étapes + pause */
.home-scene-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 6px; position: relative; z-index: 2; }
.home-rail { list-style: none; flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.home-rail button {
  font: inherit; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; padding: 6px 0;
  font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--ink-soft); transition: color .2s;
}
.home-rail button:hover, .home-rail button[aria-current] { color: var(--ink); }
.home-rail-bar { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 7px; }
.home-rail-bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--pine), var(--sky)); }
.home-rail-lab { display: block; }
.home-scene-pause {
  flex-shrink: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 100px;
  background: var(--white); border: 1.5px solid var(--line); transition: border-color .2s;
}
.home-scene-pause:hover { border-color: var(--ink); }
.home-pause-ic { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.home-scene.is-paused .home-pause-ic {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* ----- États de la boucle -----
   Sans JS / repli / mouvement réduit (.is-static) : image composée, tout visible
   sauf le reçu (montré plus bas dans la page) ; ni légende ni rail. */
.home-scene:not(.is-live) .home-pop--receipt { display: none; }
html:not(.g-js) .home-caps, html:not(.g-js) .home-scene-ctrl,
html.g-fallback .home-scene:not(.is-live) .home-caps, html.g-fallback .home-scene:not(.is-live) .home-scene-ctrl,
.home-scene.is-static .home-caps, .home-scene.is-static .home-scene-ctrl { display: none; }
/* Avant le démarrage de la boucle : place réservée, rien d'interactif visible */
html.g-js .home-scene:not(.is-live):not(.is-static) .home-scene-ctrl,
html.g-js .home-scene:not(.is-live):not(.is-static) .home-caps { visibility: hidden; }

/* Ce qui attend son « temps » */
html.g-js:not(.g-fallback) .home-scene:not(.is-static):not(.is-live) .home-pop,
.home-scene.is-live .home-pop { opacity: 0; transform: translateY(16px) scale(.92); }
html.g-js:not(.g-fallback) .home-scene:not(.is-static):not(.is-live) .home-row-new,
.home-scene.is-live .home-row-new { opacity: 0; transform: translateY(-12px) scale(.97); }
html.g-js:not(.g-fallback) .home-scene:not(.is-static):not(.is-live) .home-tag-sent,
.home-scene.is-live .home-tag-sent { opacity: 0; transform: scale(.5); }
.home-scene.is-live .home-caps span { opacity: 0; transform: translateY(8px); }
.home-pop, .home-row-new, .home-tag-sent, .home-caps span {
  transition: opacity .5s var(--g-ease), transform .65s var(--g-ease-out);
}
.home-scene.is-live .home-chans { transition: opacity .4s; }
.home-scene.is-live:not([data-step="1"]) .home-chans { opacity: .6; }

/* 1 — un don arrive : les canaux s'allument, le montant tombe dans le tableau */
.home-scene.is-live[data-step="1"] .home-chan { animation: home-chan .8s var(--g-ease-out) both; }
.home-scene.is-live[data-step="1"] .home-chan::after { animation: home-ring .8s var(--g-ease-out) both; }
.home-scene.is-live[data-step="1"] .home-chan:nth-child(2),
.home-scene.is-live[data-step="1"] .home-chan:nth-child(2)::after { animation-delay: .22s; }
.home-scene.is-live[data-step="1"] .home-chan:nth-child(3),
.home-scene.is-live[data-step="1"] .home-chan:nth-child(3)::after { animation-delay: .44s; }
.home-scene.is-live[data-step="1"] .home-chan:nth-child(4),
.home-scene.is-live[data-step="1"] .home-chan:nth-child(4)::after { animation-delay: .66s; }
.home-scene.is-live[data-step="1"] .home-drop { animation: home-drop 1.3s 1.2s var(--g-ease) both; }
@keyframes home-chan { 0%, 100% { transform: none; } 45% { transform: translateY(-5px) scale(1.07); } }
@keyframes home-ring { 0% { opacity: 0; transform: scale(.9); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes home-drop {
  0% { opacity: 0; transform: translateY(0) scale(.6); }
  18% { opacity: 1; transform: translateY(6px) scale(1.05); }
  80% { opacity: 1; transform: translateY(196px) scale(.9); }
  100% { opacity: 0; transform: translateY(206px) scale(.6); }
}
html.g-js:not(.g-fallback) .home-scene:not(.is-static):not(.is-live) .home-row-slot::before,
.home-scene.is-live[data-step="1"] .home-row-slot::before { opacity: 1; }
/* 2 — la fiche donateur se met à jour */
.home-scene.is-live:not([data-step="1"]) .home-row-new { opacity: 1; transform: none; }
.home-scene.is-live[data-step="2"] .home-row-new::after { animation: home-glow 2.4s var(--g-ease) both; }
.home-scene.is-live[data-step="2"] .home-stat-live::after { animation: home-glow 2.4s .2s var(--g-ease) both; }
@keyframes home-glow { 0% { opacity: 0; } 20%, 70% { opacity: 1; } 100% { opacity: 0; } }
/* 3 — le reçu Cerfa est généré */
.home-scene.is-live[data-step="3"] .home-pop--receipt { opacity: 1; transform: none; }
.home-scene.is-live[data-step="3"] .home-rc-stamp { animation: home-stamp .55s .75s var(--g-ease-out) both; }
.home-scene.is-live[data-step="3"] .home-rc-row { animation: home-in .45s var(--g-ease-out) both; }
.home-scene.is-live[data-step="3"] .home-rc-row:nth-child(3) { animation-delay: .12s; }
.home-scene.is-live[data-step="3"] .home-rc-row:nth-child(4) { animation-delay: .24s; }
@keyframes home-stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-25deg); } 70% { opacity: 1; transform: scale(.9); } 100% { opacity: 1; transform: none; } }
@keyframes home-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
/* 4 — il part par e-mail : le reçu s'envole, la notification arrive, l'étiquette s'allume */
.home-scene.is-live[data-step="4"] .home-pop--receipt {
  opacity: 0; transform: translate(24px, -110px) scale(.35) rotate(-8deg);
  transition-duration: .5s, .8s;
}
.home-scene.is-live[data-step="4"] .home-pop--mail,
.home-scene.is-live[data-step="5"] .home-pop--mail { opacity: 1; transform: none; transition-delay: .25s; }
.home-scene.is-live[data-step="4"] .home-tag-sent,
.home-scene.is-live[data-step="5"] .home-tag-sent { opacity: 1; transform: none; transition-delay: .45s; }
.home-scene.is-live[data-step="4"] .home-pop--mail .ic { animation: home-stamp .55s .35s var(--g-ease-out) both; }
/* 5 — il apparaît dans l'espace donateur */
.home-scene.is-live[data-step="5"] .home-pop--space { opacity: 1; transform: none; }
.home-scene.is-live[data-step="5"] .home-sp-row { animation: home-in .5s .35s var(--g-ease-out) both; }
.home-scene.is-live[data-step="5"] .home-sp-row i { animation: home-bounce .9s .9s var(--g-ease-out) 2 both; }
@keyframes home-bounce { 0%, 100% { transform: none; } 50% { transform: translateY(3px); } }
/* Légendes */
.home-scene.is-live[data-step="1"] .home-caps span:nth-child(1),
.home-scene.is-live[data-step="2"] .home-caps span:nth-child(2),
.home-scene.is-live[data-step="3"] .home-caps span:nth-child(3),
.home-scene.is-live[data-step="4"] .home-caps span:nth-child(4),
.home-scene.is-live[data-step="5"] .home-caps span:nth-child(5) { opacity: 1; transform: none; transition-delay: .1s; }
/* En pause : les animations en cours se figent */
.home-scene.is-paused *, .home-scene.is-paused *::before, .home-scene.is-paused *::after { animation-play-state: paused !important; }


/* ============================================================================
   2. LES STRUCTURES (bandeau défilant)
   ============================================================================ */
.home-orgs { background: var(--ink); display: flex; align-items: center; }
.home-orgs-lab {
  flex-shrink: 0; padding: 0 4px 0 40px; white-space: nowrap;
  font-family: var(--display); font-size: 14px; font-weight: 600; color: #a6b3cd;
}
.home-marquee { flex: 1; min-width: 0; display: flex; align-items: center; }
.home-marquee .g-marquee-view { flex: 1; min-width: 0; }
.home-marquee .g-marquee-btn { position: static; transform: none; flex-shrink: 0; margin: 0 20px 0 6px; }
.home-marquee .g-marquee-track li { font-size: 18px; }
.home-orgs :is(a, button):focus-visible { outline-color: var(--apricot); }


/* ============================================================================
   3. LES PROFILS
   ============================================================================ */
.home-doors { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-door {
  --door-c: var(--pine); --door-soft: var(--pine-soft);
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  min-height: 310px; padding: 30px 28px 26px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-xl);
}
.home-door--2 { --door-c: #b35200; --door-soft: #fef0e0; }
.home-door--3 { --door-c: var(--g-green-ink); --door-soft: var(--g-sky-soft); }
html.g-js .home-doors > .home-door,
.home-door {
  transition: opacity .75s var(--g-ease), translate .75s var(--g-ease-out), transform .45s var(--g-ease-out), box-shadow .35s, border-color .35s;
  transition-delay: calc(var(--g-i, 0) * 90ms), calc(var(--g-i, 0) * 90ms), 0s, 0s, 0s;
}
.home-door::before {           /* remplissage qui monte au survol */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--door-soft);
  transform: translateY(101%); transition: transform .55s var(--g-ease-out);
}
.home-door:hover, .home-door:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.home-door:hover::before, .home-door:focus-visible::before { transform: none; }
.home-door-n {
  font-family: var(--display); font-weight: 800; font-size: 68px; line-height: .9; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--door-c);
}
.home-door-ic {
  position: absolute; top: 26px; right: 26px; width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; font-size: 28px; background: var(--door-soft);
  transition: transform .45s var(--g-ease-out), background .3s;
}
.home-door:hover .home-door-ic { transform: rotate(-8deg) scale(1.1); background: var(--white); }
.home-door h3 { font-size: 24px; margin: 30px 0 10px; }
.home-door p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.home-door-go {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--door-c);
}
.home-door-go::after {
  content: "→"; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--door-soft); transition: transform .35s var(--g-ease-out), background .3s;
}
.home-door:hover .home-door-go::after { transform: translateX(5px); background: var(--white); }


/* ============================================================================
   4. LE CONSTAT (interrupteur Sans / Avec)
   ============================================================================ */
.home-ps { overflow: hidden; isolation: isolate; }
.home-ps .g-eyebrow { color: var(--apricot); }
.home-ps .g-head p { color: #a6b3cd; }
.home-ps-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-ps-glow::before, .home-ps-glow::after {
  content: ""; position: absolute; left: 50%; top: 58%; width: 900px; height: 700px; margin: -350px 0 0 -450px;
  border-radius: 50%; transition: opacity 1s var(--g-ease), transform 1.2s var(--g-ease-out);
}
.home-ps-glow::before { background: radial-gradient(closest-side, rgba(255,90,95,.16), transparent); }
.home-ps-glow::after { background: radial-gradient(closest-side, rgba(37,64,215,.5), rgba(0,179,133,.12) 60%, transparent); opacity: 0; transform: scale(.8); }
.home-ps:has(#ps-avec:not([hidden])) .home-ps-glow::before { opacity: 0; }
.home-ps:has(#ps-avec:not([hidden])) .home-ps-glow::after { opacity: 1; transform: none; }

.home-switch .g-tablist { background: var(--home-ink-2); box-shadow: 0 0 0 1px var(--home-line-ink), var(--shadow-md); margin-bottom: 40px; }
.home-switch .g-tab { padding: 14px 28px; font-size: 16px; }
.home-ps-panel { max-width: 980px; margin: 0 auto; }
.home-ps-panel h3 {
  font-size: 15px; font-weight: 700; letter-spacing: .01em; text-align: center; margin-bottom: 22px;
}
.home-ps-before h3 { color: #ffb4b6; }
.home-ps-after h3 { color: #9fb2ff; }
.home-ps-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.home-ps-list li {
  grid-column: span 2; display: flex; gap: 12px; align-items: flex-start;
  padding: 20px 20px 22px; border-radius: 16px; font-size: 15.5px; line-height: 1.5;
}
.home-ps-list li:nth-child(n+4) { grid-column: span 3; }
.home-ps-list .mk {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; margin-top: -1px;
}
/* Sans : des papiers épars, de travers */
.home-ps-before li { background: var(--home-ink-2); border: 1.5px dashed #2f4372; color: #b4c0d8; rotate: var(--r, 0deg); }
.home-ps-before li:nth-child(1) { --r: -2.4deg; }
.home-ps-before li:nth-child(2) { --r: 1.8deg; translate: 0 10px; }
.home-ps-before li:nth-child(3) { --r: -1.2deg; }
.home-ps-before li:nth-child(4) { --r: 1.4deg; translate: 0 -4px; }
.home-ps-before li:nth-child(5) { --r: -1.8deg; translate: 0 6px; }
.home-ps-before .mk { background: rgba(255,90,95,.14); color: #ff9a9d; }
/* Avec : tout s'aligne */
.home-ps-after li { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.home-ps-after .mk { background: var(--pine); color: var(--white); }
.home-ps-after li:nth-child(odd) .mk { background: var(--sky); }
/* Entrées : en vrac, puis en ordre */
html.g-js .home-switch .g-tabpanel.is-entering .home-ps-before li { animation: home-scatter .7s var(--g-ease-out) both; }
html.g-js .home-switch .g-tabpanel.is-entering .home-ps-after li { animation: home-align .6s var(--g-ease-out) both; }
.home-switch .g-tabpanel.is-entering li:nth-child(2) { animation-delay: .06s; }
.home-switch .g-tabpanel.is-entering li:nth-child(3) { animation-delay: .12s; }
.home-switch .g-tabpanel.is-entering li:nth-child(4) { animation-delay: .18s; }
.home-switch .g-tabpanel.is-entering li:nth-child(5) { animation-delay: .24s; }
@keyframes home-scatter { from { opacity: 0; transform: translateY(-30px) rotate(-8deg) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes home-align { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
.home-ps-after li .mk { transition: transform .4s var(--g-ease-out); }
html.g-js .home-switch .g-tabpanel.is-entering .home-ps-after .mk { animation: home-stamp .5s .3s var(--g-ease-out) both; }


/* ============================================================================
   5. UN DON, DE BOUT EN BOUT (scrollytelling)
   ============================================================================ */
.home-journey .g-head { margin-bottom: 24px; }
.home-journey .g-head h2 { font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -.04em; }
.home-scrolly { grid-template-columns: 1fr 430px; gap: 80px; max-width: 1100px; }
.home-scrolly .g-scrolly-step { min-height: 78vh; }
.home-scrolly .g-scrolly-num { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #b35200; }
.home-scrolly .g-scrolly-num::before { color: var(--ink); letter-spacing: 0; }
.home-scrolly .g-scrolly-step h3 { font-size: clamp(26px, 2.7vw, 36px); letter-spacing: -.03em; }
.home-scrolly .g-scrolly-step > p { margin-bottom: 20px; max-width: 520px; }
.home-scrolly .dive-list { max-width: 520px; }
.home-journey-btn { margin-top: 24px; align-self: flex-start; }
.home-scrolly .g-scrolly-states { height: 580px; }
.home-scrolly .g-scrolly-stage::before {
  content: ""; position: absolute; inset: 60px -30px 40px; z-index: -1; border-radius: 40px;
  background: linear-gradient(160deg, var(--pine-soft), var(--apricot-soft) 70%, var(--g-sky-soft));
  rotate: -3deg;
}
.home-scrolly .g-scrolly-stage { isolation: isolate; }
.home-scrolly .g-scrolly-stage > .g-example { position: relative; z-index: 1; }
.home-state > * { box-shadow: var(--shadow-lg); }
.home-state .donform-amt, .home-state .donform-submit { display: block; text-align: center; cursor: default; }
/* Éléments qui s'animent quand l'état devient actif */
.g-scrolly-state.is-active.home-state .donform-amt.is-selected { animation: home-stamp .5s .25s var(--g-ease-out) both; }
.g-scrolly-state.is-active.home-state .df-event,
.g-scrolly-state.is-active.home-state .home-cerfa-rows > div { animation: home-in .5s var(--g-ease-out) both; }
.g-scrolly-state.is-active.home-state .df-event:nth-of-type(2), .g-scrolly-state.is-active.home-state .home-cerfa-rows > div:nth-child(2) { animation-delay: .1s; }
.g-scrolly-state.is-active.home-state .df-event:nth-of-type(3), .g-scrolly-state.is-active.home-state .home-cerfa-rows > div:nth-child(3) { animation-delay: .2s; }
.g-scrolly-state.is-active.home-state .df-event:nth-of-type(4), .g-scrolly-state.is-active.home-state .home-cerfa-rows > div:nth-child(4) { animation-delay: .3s; }
.g-scrolly-state.is-active.home-state .home-cerfa-rows > div:nth-child(5) { animation-delay: .4s; }
.g-scrolly-state.is-active.home-state .home-cerfa-ok { animation: home-in .5s .55s var(--g-ease-out) both; }
.home-c-pine { color: var(--pine); }
.home-c-apricot { color: #8a6d12; }
.home-bg-pine { background: var(--pine); }
.home-bg-apricot { background: var(--apricot); }
.home-bg-sky { background: var(--sky); }
/* Reçu Cerfa (ancien bloc en style="" de l'accueil) */
.home-cerfa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.home-cerfa-head { padding: 16px 20px; background: var(--ink); display: flex; align-items: center; gap: 10px; }
.home-cerfa-date { color: #8597b8; font-size: 11.5px; font-family: var(--display); margin-left: auto; }
.home-cerfa-body { padding: 24px; }
.home-cerfa-t { font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.home-cerfa-law { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.home-cerfa-rows { display: grid; gap: 11px; }
.home-cerfa-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.home-cerfa-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.home-cerfa-rows span { color: var(--ink-soft); }
.home-cerfa-rows b { text-align: right; }
.home-cerfa-ok {
  margin-top: 18px; padding: 12px 14px; background: var(--pine-soft); border-radius: var(--r-sm);
  font-size: 12.5px; color: var(--pine-deep); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center;
}
.home-cerfa-ok > span { font-size: 16px; }


/* ============================================================================
   6. LES FONCTIONNALITÉS (bento interactif)
   ============================================================================ */
.home-bento { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.home-tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
}
html.g-js .home-bento > .home-tile,
.home-tile {
  transition: opacity .75s var(--g-ease), translate .75s var(--g-ease-out), transform .4s var(--g-ease-out), box-shadow .35s, border-color .35s;
  transition-delay: calc(var(--g-i, 0) * 60ms), calc(var(--g-i, 0) * 60ms), 0s, 0s, 0s;
}
.home-tile--half { grid-column: span 3; }
.home-tile--third { grid-column: span 2; }
.home-tile::before {            /* projecteur qui suit la souris ([data-g-spot]) */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(37,64,215,.12), transparent 50%);
}
.home-tile::after {             /* voile : les autres tuiles s'effacent un peu au survol */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: rgba(245,247,251,.5); transition: opacity .35s;
}
@media (hover: hover) and (pointer: fine) {
  .home-bento:hover .home-tile:not(:hover)::after { opacity: 1; }
}
.home-tile:hover, .home-tile:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d3daea; }
.home-tile:hover::before, .home-tile:focus-visible::before { opacity: 1; }
.home-tile-ic {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 23px; margin-bottom: 18px;
  background: var(--paper-2); transition: transform .45s var(--g-ease-out);
}
.home-tile:hover .home-tile-ic { transform: scale(1.1) rotate(-6deg); }
.home-ic-pine { background: var(--pine-soft); color: var(--pine); }
.home-ic-gold { background: #f7f0d6; color: var(--gold); }
.home-ic-green { background: var(--g-sky-soft); color: #00714f; }
.home-ic-orange { background: #fef0e0; color: #b35200; }
.home-ic-sky { background: #e4eef2; color: var(--g-green-ink); }
.home-ic-yellow { background: var(--apricot-soft); color: #8a6d12; }
.home-ic-code { background: rgba(255,255,255,.1); color: var(--apricot); font-family: var(--display); font-weight: 800; }
.home-tile h3 { font-size: 20px; margin-bottom: 9px; }
.home-tile p { font-size: 14.5px; color: var(--ink-soft); }
.home-tile-go {
  margin-top: auto; padding-top: 16px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--pine);
  transition: transform .3s var(--g-ease-out);
}
.home-tile:hover .home-tile-go { transform: translateX(5px); }
.home-tile p + .home-tile-go { margin-top: auto; }
.home-tile > p { margin-bottom: 4px; }
.home-tile--pine { background: linear-gradient(140deg, var(--pine), var(--pine-deep)); border-color: transparent; }
.home-tile--pine h3, .home-tile--pine .home-tile-go { color: var(--white); }
.home-tile--pine p { color: #d5dcf5; }
.home-tile--pine .home-tile-ic { background: rgba(255,255,255,.15); color: var(--white); }
.home-tile--pine::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,255,255,.16), transparent 50%); }
.home-tile--soft { background: linear-gradient(165deg, var(--white) 30%, var(--pine-soft)); }
.home-tile--dark { background: var(--ink); border-color: transparent; }
.home-tile--dark h3 { color: var(--white); }
.home-tile--dark p { color: #a6b3cd; }
.home-tile--dark .home-tile-go { color: var(--apricot); }
.home-tile--dark::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,210,63,.14), transparent 50%); }
.home-tile--pine:focus-visible, .home-tile--dark:focus-visible { outline-color: var(--apricot); }
/* Décors des deux piliers (aria-hidden, textes repris de la page) */
.home-tile-deco { position: absolute; top: 26px; right: 26px; display: flex; gap: 6px; pointer-events: none; }
.home-deco-amts i {
  font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 10px; padding: 6px 10px; transition: transform .45s var(--g-ease-out);
}
.home-deco-amts i:first-child { background: var(--white); color: var(--pine); border-color: var(--white); }
.home-tile:hover .home-deco-amts i:nth-child(1) { transform: translateY(-4px); }
.home-tile:hover .home-deco-amts i:nth-child(2) { transform: translateY(3px); }
.home-tile:hover .home-deco-amts i:nth-child(3) { transform: translateY(-2px); }
.home-deco-avs { gap: 0; }
.home-deco-avs i {
  font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 12.5px; color: var(--white);
  border: 3px solid var(--white); margin-left: -10px; transition: transform .45s var(--g-ease-out);
}
.home-deco-avs i:nth-child(1) { background: var(--pine); }
.home-deco-avs i:nth-child(2) { background: var(--apricot); color: var(--ink); }
.home-deco-avs i:nth-child(3) { background: var(--sky); }
.home-deco-avs i:nth-child(4) { background: var(--ink); }
.home-tile:hover .home-deco-avs i { transform: translateX(calc(var(--k, 0) * 6px)); }
.home-deco-avs i:nth-child(2) { --k: 1; } .home-deco-avs i:nth-child(3) { --k: 2; } .home-deco-avs i:nth-child(4) { --k: 3; }
.home-tile-note {
  display: block; margin-top: 14px; font-size: 12px; color: var(--ink-soft);
  background: var(--apricot-soft); border-radius: 10px; padding: 8px 11px;
}
.home-tile-note b { display: block; font-family: var(--display); color: var(--ink); font-size: 12.5px; }


/* ============================================================================
   7. NOUVEAUTÉS
   ============================================================================ */
.home-ship-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-ship {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 30px 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
}
.home-ship::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pine), var(--sky), var(--apricot)); transform-origin: 0 50%;
}
html.g-js .home-ship::before { transform: scaleX(0); transition: transform 1.1s var(--g-ease-out); transition-delay: calc(.3s + var(--g-i, 0) * .2s); }
html.g-js .home-ship-grid.is-in .home-ship::before, html.g-js.g-fallback .home-ship::before { transform: none; }
.home-ship-new {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--g-green-ink); background: var(--g-sky-soft); border-radius: 100px; padding: 4px 11px 4px 9px;
}
.home-ship-new::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky);
  box-shadow: 0 0 0 0 rgba(0,179,133,.5);
}
.home-ship-grid.is-in .home-ship-new::before { animation: home-ping 1.6s ease-out 1s 3; }
@keyframes home-ping { 0% { box-shadow: 0 0 0 0 rgba(0,179,133,.55); } 100% { box-shadow: 0 0 0 9px rgba(0,179,133,0); } }
.home-ship-ic { position: absolute; top: 24px; right: 24px; font-size: 30px; transition: transform .45s var(--g-ease-out); }
.home-ship:hover .home-ship-ic { transform: scale(1.15) rotate(8deg); }
.home-ship h3 { font-size: 21px; margin: 20px 0 10px; }
.home-ship p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.home-ship-go { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--pine); }
.home-ship-go:hover { text-decoration: underline; }


/* ============================================================================
   8. CHIFFRES DE L'OFFRE
   ============================================================================ */
.home-keys { grid-template-columns: repeat(4, 1fr); }
.home-keys .g-key { padding: 36px 28px 34px; }
.home-keys .g-key-cap { margin: 0 0 14px; }
.home-keys .g-key p { margin-top: 14px; font-size: 14px; }


/* ============================================================================
   9. TÉMOIGNAGE
   ============================================================================ */
.home-quote { overflow: hidden; }
.home-quote-in { max-width: 920px; margin: 0 auto; text-align: center; position: relative; }
.home-quote-mark {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 150px; line-height: 1; height: 86px;
  color: var(--pine); opacity: .9;
  background: linear-gradient(135deg, var(--pine), var(--sky)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home-quote blockquote {
  font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 38px); line-height: 1.3;
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 28px;
}
.home-quote blockquote.is-split .home-w { opacity: .2; transition: opacity .4s var(--g-ease); }
.home-quote blockquote.is-split .home-w.is-lit { opacity: 1; }
.home-quote-who { font-size: 15px; color: var(--ink-soft); }
.home-quote-who b { color: var(--ink); }


/* ============================================================================
   10. FAQ — liens de navigation sous les réponses (hors texte FAQPage)
   ============================================================================ */
.home-faq-more { padding: 0 22px 20px 70px; margin-top: -12px; font-size: 14.5px; }
.home-faq-more a { color: var(--pine); font-weight: 700; }
.home-faq-more a:hover { text-decoration: underline; }
.g-faq details[open] .home-faq-more { animation: g-faq-in .45s var(--g-ease-out); }


/* ============================================================================
   11. CTA FINAL
   ============================================================================ */
.home-cta { padding: 24px 40px 96px; }
.home-cta-in {
  position: relative; overflow: hidden; isolation: isolate; max-width: 1180px; margin: 0 auto;
  border-radius: 36px; padding: 104px 48px; text-align: center; color: var(--white);
  background:
    radial-gradient(ellipse 60% 70% at 50% 125%, rgba(0,179,133,.5), transparent 62%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(255,210,63,.3), transparent 60%),
    linear-gradient(140deg, #121d84 0%, var(--pine) 48%, var(--pine-deep) 100%);
}
.home-cta-in::before {          /* trame */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
}
.home-cta-orbit {               /* anneau lumineux qui tourne (2 tours, puis s'arrête) */
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 1000px; height: 1000px; margin: -500px 0 0 -500px;
  border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(255,210,63,.45) 72%, rgba(255,255,255,.25) 76%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle, transparent 47%, #000 48%, #000 49.5%, transparent 50%);
          mask-image: radial-gradient(circle, transparent 47%, #000 48%, #000 49.5%, transparent 50%);
}
.home-cta-in.is-in .home-cta-orbit { animation: home-spin 14s linear 2; }
@keyframes home-spin { to { transform: rotate(360deg); } }
.home-cta h2 {
  font-size: clamp(34px, 5.4vw, 70px); line-height: 1.03; letter-spacing: -.045em; font-weight: 800;
  color: var(--white); max-width: 880px; margin: 0 auto 22px;
}
.home-cta p { font-size: 18px; color: #dbe1f7; max-width: 640px; margin: 0 auto 36px; }
.home-cta .hero-cta { justify-content: center; }
.home-cta-btn {
  position: relative; overflow: hidden; font-size: 17px; padding: 17px 30px;
  box-shadow: 0 14px 40px rgba(255,210,63,.35);
}
.home-cta-btn::after {          /* reflet qui traverse le bouton */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60px;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-120px) skewX(-20deg);
}
.home-cta-in.is-in .home-cta-btn::after { animation: home-shine 1.1s 1s var(--g-ease) 2; }
.home-cta-btn:hover::after { animation: home-shine .9s var(--g-ease); }
@keyframes home-shine { to { transform: translateX(340px) skewX(-20deg); } }
.home-cta-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.home-cta-ghost:hover { border-color: var(--white); }
.home-cta :is(a, button):focus-visible { outline-color: var(--apricot); }
.home-cta-chips { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-cta-chip {
  position: absolute; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink);
  background: rgba(255,255,255,.94); border-radius: 100px; padding: 8px 15px; box-shadow: 0 10px 30px rgba(8,16,60,.3);
}
.home-cta-chip--1 { top: 34px; left: 7%; rotate: -4deg; }
.home-cta-chip--2 { top: 46px; right: 8%; rotate: 3deg; }
.home-cta-chip--3 { bottom: 38px; left: 11%; rotate: 2deg; }
.home-cta-chip--4 { bottom: 30px; right: 9%; rotate: -3deg; }
html.g-js .home-cta-chip { opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .6s var(--g-ease), transform .7s var(--g-ease-out); }
html.g-js .home-cta-chip--2 { transition-delay: .15s; } html.g-js .home-cta-chip--3 { transition-delay: .3s; } html.g-js .home-cta-chip--4 { transition-delay: .45s; }
html.g-js .home-cta-in.is-in .home-cta-chip, html.g-js.g-fallback .home-cta-chip { opacity: 1; transform: none; }


/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .home-dash .dash-body { padding: 14px; }
  .home-dash .dash-row { gap: 8px; margin-bottom: 10px; }
  .home-dash .dash-stat { padding: 10px 11px; }
  .home-dash .dash-stat .v { font-size: 19px; }
  .home-dash .dash-donor { gap: 9px; padding: 9px 10px; }
  .home-dash .dash-donor .av { width: 30px; height: 30px; font-size: 12px; }
  .home-chan { font-size: 11.5px; padding: 5px 11px; }
  .home-chan i { display: none; }
  .home-pop--receipt { right: -8px; }
  .home-pop--mail { right: -6px; }
  .home-pop--space { left: -10px; }
  .home-scrolly { grid-template-columns: 1fr 380px; gap: 48px; }
  .home-cta-chips { display: none; }
}
@media (max-width: 900px) {
  .home-hero { padding: 36px 20px 52px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-hero h1 { margin: 16px 0 18px; }
  .home-lead { font-size: 17px; margin-bottom: 24px; }
  .home-scene { padding: 32px 0 0; max-width: 480px; margin: 0 auto; width: 100%; }
  .home-scene-ex { left: 0; }
  .home-pop--receipt { right: 8px; top: 118px; width: 212px; }
  .home-pop--mail { right: 8px; top: 60px; }
  .home-pop--space { left: 8px; bottom: 62px; width: 228px; }
  .home-rail-lab {         /* libellés réservés aux lecteurs d'écran : la légende suffit */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  }
  .home-rail button { padding: 10px 0; }
  .home-rail-bar { margin-bottom: 0; }
  .home-caps span { font-size: 13px; }

  .home-orgs { flex-direction: column; align-items: stretch; }
  .home-marquee { flex-direction: column; align-items: stretch; }
  .home-marquee .g-marquee-btn { align-self: center; margin: 0 auto 12px; }
  .home-orgs-lab { padding: 18px 20px 4px; text-align: center; white-space: normal; }
  .home-marquee .g-marquee-track li { font-size: 15px; }

  .home-doors { grid-template-columns: 1fr; gap: 14px; }
  .home-door { min-height: 0; padding: 24px 22px 20px; }
  .home-door-n { font-size: 50px; }
  .home-door-ic { width: 50px; height: 50px; font-size: 24px; top: 22px; right: 22px; }
  .home-door h3 { font-size: 21px; margin-top: 18px; }

  .home-switch .g-tab { padding: 11px 16px; font-size: 14px; }
  .home-switch .g-tablist { margin-bottom: 28px; }
  .home-ps-list { grid-template-columns: 1fr; gap: 12px; }
  .home-ps-list li, .home-ps-list li:nth-child(n+4) { grid-column: auto; padding: 16px; font-size: 15px; }
  .home-ps-before li { translate: none !important; }
  .home-ps-before li:nth-child(odd) { --r: -1.2deg; }
  .home-ps-before li:nth-child(even) { --r: 1deg; }

  .home-scrolly { grid-template-columns: 1fr; gap: 0; }
  .home-scrolly .g-scrolly-step { min-height: 0; }
  .home-scrolly .g-scrolly-slot { background: none; padding: 0; border-radius: 0; max-width: 440px; margin-top: 22px; }
  .home-scrolly .g-scrolly-slot .home-state > * { box-shadow: var(--shadow-md); }

  .home-tile--half, .home-tile--third { grid-column: 1 / -1; }
  .home-bento { gap: 14px; }
  .home-tile { padding: 22px; }
  .home-tile-deco { display: none; }

  .home-ship-grid { grid-template-columns: 1fr; gap: 14px; }

  .home-keys { grid-template-columns: 1fr 1fr; }
  .home-keys .g-key { padding: 26px 20px; }
  .home-keys .g-key + .g-key { border-top: 0; border-left: 0; }
  .home-keys .g-key:nth-child(even) { border-left: 1px solid var(--home-line-ink); }
  .home-keys .g-key:nth-child(n+3) { border-top: 1px solid var(--home-line-ink); }
  .home-keys .g-key-fig { font-size: 42px; flex-wrap: wrap; }

  .home-quote-mark { font-size: 120px; height: 70px; }
  .home-faq-more { padding: 0 18px 18px; margin-top: -10px; }

  .home-cta { padding: 8px 16px 64px; }
  .home-cta-in { padding: 60px 22px; border-radius: 26px; }
  .home-cta p { font-size: 16px; }
  .home-cta-btn { font-size: 16px; padding: 15px 22px; }
}
@media (max-width: 420px) {
  .home-chans { gap: 6px; }
  .home-pop--receipt { width: 196px; }
  .home-pop--space { width: 214px; }
  .home-keys { grid-template-columns: 1fr; }
  .home-keys .g-key:nth-child(even) { border-left: 0; }
  .home-keys .g-key + .g-key { border-top: 1px solid var(--home-line-ink); }
}


/* ============================================================================
   MOUVEMENT RÉDUIT (complète le bloc 6 du socle)
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  .home-aurora span { animation: none !important; }
  .home-scene .home-caps, .home-scene .home-scene-ctrl { display: none; }
  .home-ps-glow::before, .home-ps-glow::after { transition: none; }
  html.g-js .home-cta-chip { opacity: 1; transform: none; }
  .home-cta-orbit, .home-cta-btn::after { animation: none !important; }
}
