/* ─────────────────────────────────────────────────────────────────────────
   Styles propres à la page d'accueil (index.html).
   Séparés de styles.css pour ne pas faire télécharger le hero, le bento et
   les animations aux pages légales. Même règle de cache que styles.css :
   servi sous /assets/* en « immutable », d'où l'empreinte ?v= (npm run assets:build).
   Couleurs : uniquement des tokens de styles.css, jamais de valeur figée.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Hero : fond ───────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 88px; }
/* Halo de marque : trois taches très diluées, plus une trame de points qui
   s'efface vers les bords (le masque n'est qu'une opacité, pas une couleur). */
.hero::before,
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(55% 60% at 82% 30%, color-mix(in srgb, var(--emeraude) 22%, transparent), transparent 70%),
    radial-gradient(40% 45% at 62% 95%, color-mix(in srgb, var(--petrole) 16%, transparent), transparent 70%),
    radial-gradient(30% 35% at 4% 8%, color-mix(in srgb, var(--rose) 12%, transparent), transparent 70%);
}
.hero::after {
  background-image: radial-gradient(var(--divider) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 75% 45%, #000 20%, transparent 75%);
}
.hero-grid { grid-template-columns: 1.05fr .95fr; }

/* Rassurances sous les boutons des stores. */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px;
  list-style: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 600;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .i { color: var(--accent); font-size: 17px; }

/* ── Hero : téléphones ─────────────────────────────────────────────────── */
.hero-visual {
  position: relative; justify-self: center;
  width: 100%; max-width: 460px; height: 640px;
  display: grid; place-items: center;
}
.device {
  position: relative; width: 284px; aspect-ratio: 600 / 1300;
  padding: 9px; border-radius: 46px; box-sizing: content-box;
  background: var(--device-frame);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px var(--device-edge);
}
.device .screens,
.device > img {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden; background: var(--bg);
}
.device img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-front { z-index: 2; }
/* Second téléphone, en retrait : donne de la profondeur sans voler la vedette. */
.device-back {
  position: absolute; z-index: 1; width: 236px;
  left: 0; top: 64px; transform: rotate(-8deg);
  opacity: .92; filter: saturate(.85);
}

/* Défilement des écrans : tous empilés, seul le premier est visible par
   défaut (et le reste si les animations sont réduites). */
.screens img { position: absolute; inset: 0; opacity: 0; }
.screens img:first-child { opacity: 1; }

/* Bulles de notification flottantes (décoratives, aria-hidden). */
.toast {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  max-width: 280px; padding: 11px 15px 11px 11px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.35; color: var(--ink-soft);
}
.toast strong { display: block; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.toast-icon {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; font-size: 18px;
  background: var(--tag-bg); color: var(--tag-ink);
}
.toast-icon.rose { background: var(--rose-soft); color: var(--rose-ink); }
.toast-icon.info { background: var(--info-bg); color: var(--info-ink); }
.toast-1 { top: 70px; right: -12px; }
.toast-2 { top: 300px; left: -28px; }
.toast-3 { bottom: 64px; right: -4px; }

/* Bouton pause de l'animation du hero, au pied du téléphone. */
.motion-toggle {
  position: absolute; z-index: 4; bottom: 0; left: 50%; translate: -50% 50%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); font: 600 13px/1 var(--font); cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: var(--accent); color: var(--accent); }
.motion-toggle .i { font-size: 15px; }
.motion-toggle:not([data-paused="true"]) .i:nth-of-type(2),
.motion-toggle[data-paused="true"] .i:nth-of-type(1) { display: none; }
/* En pause : tout s'arrête là où il en est, y compris les bulles. */
.hero-visual.is-paused *,
.hero-visual.is-paused *::before,
.hero-visual.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* 4 écrans × 4 s. Délais négatifs : l'écran n démarre au bon endroit du
     cycle et chaque nouvel écran se fond par-dessus le précédent. */
  .screens img { animation: screen-cycle 16s infinite; }
  .screens img:nth-child(1) { animation-delay: 0s; }
  .screens img:nth-child(2) { animation-delay: -12s; }
  .screens img:nth-child(3) { animation-delay: -8s; }
  .screens img:nth-child(4) { animation-delay: -4s; }

  .toast { animation: toast-in .7s cubic-bezier(.2, .8, .2, 1) backwards, toast-float 6s ease-in-out infinite alternate; }
  .toast-1 { animation-delay: .5s, 1.2s; }
  .toast-2 { animation-delay: 1.1s, 0s; }
  .toast-3 { animation-delay: 1.7s, 2.4s; }
}
@keyframes screen-cycle {
  0%, 25% { opacity: 1; }
  29%, 96% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
}
@keyframes toast-float {
  from { translate: 0 0; }
  to { translate: 0 -8px; }
}

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 540px; max-width: 380px; }
  .device { width: 232px; border-radius: 40px; }
  .device .screens, .device > img { border-radius: 32px; }
  .device-back { width: 196px; top: 54px; left: 4px; }
  .toast-1 { right: 0; top: 40px; }
  .toast-2 { left: 0; top: 250px; }
  .toast-3 { display: none; }
}
@media (max-width: 400px) {
  .toast { max-width: 210px; font-size: 12px; }
  .device-back { display: none; }
}

/* ── Présentation et FAQ ───────────────────────────────────────────────── */
.prose { max-width: 780px; margin: 0 auto; }
.prose p { color: var(--ink); font-size: 16.5px; line-height: 1.75; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 22px;
}
.faq summary { font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); font-weight: 800; }
.section-alt .faq details { background: var(--surface-high); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-top: 12px; }

/* ── Bento des fonctionnalités ─────────────────────────────────────────────
   Généré par scripts/build-features.mjs. 4 colonnes : une grande tuile
   (.card-lg, champ "visual" du registre) en prend 2, et le générateur ordonne
   les cartes pour que chaque ligne soit pleine (grande, petite, petite, puis
   petite, petite, grande).
   ────────────────────────────────────────────────────────────────────────── */
.bento { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento .card { padding: 26px; }
.bento .card h3 { font-size: 18px; }
.bento .card p { font-size: 14.5px; }
.card-lg {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  background:
    radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--emeraude) 12%, transparent), transparent 60%),
    var(--surface-high);
}
.bento-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow-md);
  font-size: 13px; color: var(--ink-soft);
}
.bento-visual strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }

/* Pastilles d'initiales, communes à plusieurs gabarits. */
.mv-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  border: 2px solid var(--surface);
}
.mv-avatar.a1 { background: var(--tag-bg); color: var(--tag-ink); }
.mv-avatar.a2 { background: var(--rose-soft); color: var(--rose-ink); }
.mv-avatar.a3 { background: var(--info-bg); color: var(--info-ink); }
.mv-avatar.a4 { background: var(--emeraude); color: var(--on-brand); }

/* Membres : pile d'avatars + invitation par QR code. */
.mv-avatars { display: flex; align-items: center; margin-bottom: 16px; }
.mv-avatars .mv-avatar { width: 40px; height: 40px; margin-right: -10px; }
.mv-more {
  margin-left: 18px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--surface-high); color: var(--ink); font-weight: 700; font-size: 12.5px;
}
.mv-invite { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--divider); }
.mv-qr {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; font-size: 30px;
  background: var(--tag-bg); color: var(--tag-ink);
}

/* Évènements : date + jauge d'inscriptions. */
.mv-event-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mv-date {
  flex: none; width: 50px; height: 54px; border-radius: 12px;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to)); color: var(--on-brand);
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
}
.mv-date b { font-size: 21px; letter-spacing: 0; margin-bottom: 2px; }
.mv-progress { height: 8px; border-radius: var(--r-pill); background: var(--surface-high); overflow: hidden; }
.mv-progress span, .mv-bar span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--emeraude); }
.mv-progress-label { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; font-weight: 600; }

/* Cotisations : liste avec statut. */
.mv-list { list-style: none; display: grid; gap: 10px; }
.mv-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 13.5px; }
.mv-pill { margin-left: auto; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700; }
.mv-pill.ok { background: var(--tag-bg); color: var(--tag-ink); }
.mv-pill.wait { background: var(--rose-soft); color: var(--rose-ink); }

/* Sondages : barres de résultats. */
.mv-poll { display: grid; gap: 10px; }
.mv-poll strong { margin-bottom: 2px; }
.mv-bar {
  position: relative; height: 36px; border-radius: 10px; overflow: hidden;
  background: var(--surface-high);
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.mv-bar span { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--emeraude) 26%, transparent); }
.mv-bar em, .mv-bar b { position: relative; font-style: normal; }
.mv-poll small { font-size: 12px; }

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bento .card-lg { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card-lg { grid-column: auto; grid-template-columns: 1fr; }
  .bento .card-lg { grid-column: auto; }
}

/* ── Avant / après ─────────────────────────────────────────────────────── */
.before-after {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px;
  max-width: 920px; margin: 0 auto 56px;
}
.ba-label {
  display: block; margin-bottom: 14px; text-align: center;
  font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.ba-after .ba-label { color: var(--accent); }
.ba-before { display: grid; gap: 14px; padding-right: 14px; }
/* Le « bazar » : vignettes désaturées, légèrement de travers. */
.ba-scrap {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--surface); border: 1px dashed var(--divider);
  font-size: 13px; color: var(--ink-soft); line-height: 1.35;
}
.ba-scrap strong { display: block; color: var(--ink); font-size: 13.5px; }
.ba-scrap.s1 { transform: rotate(-2deg); }
.ba-scrap.s2 { transform: rotate(1.5deg) translateX(10px); }
.ba-scrap.s3 { transform: rotate(-1deg) translateX(-6px); }
.ba-ico {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px;
  background: var(--surface-high); color: var(--ink-soft);
}
.ba-badge {
  position: absolute; top: -9px; right: -9px;
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: var(--r-pill);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: var(--badge-bg); color: var(--on-brand);
}
.ba-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--emeraude); color: var(--on-brand); box-shadow: var(--shadow-md);
}
.ba-app {
  padding: 18px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.ba-app-head {
  display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 12px;
  border-bottom: 1px solid var(--border); font-size: 13px; color: var(--ink-soft);
}
.ba-app-head img { border-radius: 10px; }
.ba-app-head strong { display: block; color: var(--ink); font-size: 15px; }
.ba-app ul { list-style: none; display: grid; gap: 10px; }
.ba-app li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.ba-app li .i { color: var(--accent); font-size: 18px; }

/* ── Comment ça marche ─────────────────────────────────────────────────── */
.steps {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 980px; margin: 0 auto; text-align: center;
}
/* Fil qui relie les trois pastilles (centre de la 1re au centre de la 3e). */
.steps::before {
  content: ''; position: absolute; top: 27px; left: 16.66%; right: 16.66%; height: 2px;
  background: linear-gradient(90deg, var(--emeraude), var(--petrole));
  transform-origin: left;
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; font-weight: 800;
  background: var(--surface); color: var(--accent);
  border: 2px solid var(--emeraude); box-shadow: 0 0 0 8px var(--bg);
}
.step-ico { display: block; font-size: 26px; color: var(--ink-soft); margin-bottom: 10px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; max-width: 290px; margin: 0 auto; }

/* ── Je suis… (onglets) ────────────────────────────────────────────────── */
/* Les radios restent focusables et actionnables au clavier, mais invisibles :
   c'est le libellé associé qui sert d'onglet. */
.persona-radio { position: absolute; opacity: 0; pointer-events: none; }
.persona-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px;
  border-radius: var(--r-pill); background: var(--surface-high); border: 1px solid var(--border);
}
.persona-tabs-label { padding: 0 8px 0 12px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.persona-tabs label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-pill); cursor: pointer;
  font-weight: 700; font-size: 14.5px; color: var(--ink-soft);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.persona-tabs label:hover { color: var(--ink); }
#persona-asso:checked ~ .persona-tabs [for="persona-asso"],
#persona-membre:checked ~ .persona-tabs [for="persona-membre"],
#persona-mairie:checked ~ .persona-tabs [for="persona-mairie"] {
  background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm);
}
#persona-asso:focus-visible ~ .persona-tabs [for="persona-asso"],
#persona-membre:focus-visible ~ .persona-tabs [for="persona-membre"],
#persona-mairie:focus-visible ~ .persona-tabs [for="persona-mairie"] {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.persona-panel { display: none; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
#persona-asso:checked ~ .persona-panels [data-for="persona-asso"],
#persona-membre:checked ~ .persona-panels [data-for="persona-membre"],
#persona-mairie:checked ~ .persona-panels [data-for="persona-mairie"] { display: grid; }
.persona-text h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin-bottom: 20px; text-wrap: balance; }
.persona-list { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.persona-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.persona-list .i {
  flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: var(--tag-bg); color: var(--tag-ink); margin-top: 1px;
}
.persona-visual { display: grid; place-items: center; }
.device-sm { width: 240px; }

/* Visuel de l'onglet mairie : un tableau de bord stylisé. */
.mairie-board {
  width: 100%; max-width: 380px; padding: 20px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  font-size: 14px; color: var(--ink);
}
.mairie-board-head { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; margin-bottom: 16px; }
.mairie-board-head .i { grid-row: span 2; font-size: 22px; color: var(--accent); }
.mairie-board-head strong { font-size: 16px; }
.mairie-board-head span { font-size: 12.5px; color: var(--ink-soft); }
.mairie-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--border); font-weight: 600;
}
.mairie-row b { margin-left: auto; font-size: 18px; }
.mairie-ico {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 16px;
  background: var(--tag-bg); color: var(--tag-ink);
}
.mairie-ico.rose { background: var(--rose-soft); color: var(--rose-ink); }
.mairie-ico.info { background: var(--info-bg); color: var(--info-ink); }
.mairie-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 72px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.mairie-chart span {
  flex: 1; height: var(--v); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--emeraude), color-mix(in srgb, var(--emeraude) 35%, transparent));
}

@media (max-width: 860px) {
  .before-after { grid-template-columns: 1fr; gap: 20px; max-width: 460px; }
  .ba-arrow { justify-self: center; transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  /* Frise verticale : pastille à gauche, texte à droite, fil le long des pastilles. */
  .steps { gap: 28px; text-align: left; }
  .steps::before { display: none; }
  .step:not(:last-child)::after {
    content: ''; position: absolute; left: 27px; top: 56px; bottom: -28px; width: 2px;
    background: var(--emeraude);
  }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step-ico { display: none; }
  .step h3 { align-self: end; margin-top: 4px; }
  .step p { margin: 0; max-width: none; }
  .persona-panel { grid-template-columns: 1fr; gap: 36px; }
  .persona-tabs { border-radius: var(--r-card); }
  .persona-tabs-label { width: 100%; text-align: center; padding: 4px 0 2px; }
}

/* ── Mouvement ─────────────────────────────────────────────────────────────
   Tout est dans prefers-reduced-motion: no-preference : un visiteur qui a
   demandé moins d'animations voit la page finale, immobile.
   Les apparitions au défilement utilisent les animations liées au scroll
   (animation-timeline: view()), sans JS ni bibliothèque. Un navigateur qui
   ne les connaît pas ignore le bloc @supports : rien n'est masqué chez lui.
   Les keyframes animent `translate`/`scale` et jamais `transform`, que les
   cartes utilisent déjà pour leur survol : les deux se cumulent sans conflit.
   ────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section-head,
    .before-after,
    .prose,
    .bento .card,
    .step,
    .persona,
    .faq details,
    .cta-band {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }

    /* Jauges et barres : elles se remplissent quand la tuile arrive. */
    .mv-progress span,
    .mv-bar span {
      transform-origin: left;
      animation: grow-x linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }
    .mairie-chart span {
      transform-origin: bottom;
      animation: grow-y linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 45%;
    }

    /* Le fil des étapes se trace au défilement. */
    .steps { view-timeline: --steps; }
    .steps::before {
      animation: grow-x linear both;
      animation-timeline: --steps;
      animation-range: entry 40% cover 55%;
    }
    .step { view-timeline: --step; }
    .step:not(:last-child)::after {
      transform-origin: top;
      animation: grow-y linear both;
      animation-timeline: --step;
      animation-range: entry 60% cover 60%;
    }
  }

  /* Reflet qui traverse les boutons des stores au survol. */
  .btn-store { position: relative; overflow: hidden; isolation: isolate; }
  .btn-store::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
    translate: -110% 0;
  }
  .btn-store:hover::after { translate: 110% 0; transition: translate .7s ease; }

  /* Inclinaison des tuiles vers le curseur (variables posées par home.js). */
  .bento .card.is-tilting {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px);
    transition: transform .08s linear, box-shadow .18s ease;
  }
}

@keyframes reveal {
  from { opacity: 0; translate: 0 28px; }
}
@keyframes grow-x {
  from { scale: 0 1; }
}
@keyframes grow-y {
  from { scale: 1 0; }
}
