/* ============================================================
   assets/css/accueil.css · L'accueil public (pages/home.php)
   ============================================================
   Lot 1 du front office (29/10/2026). Le langage du back office descend sur la vitrine : la scène sombre de Mes RC
   (écran de sélection de véhicule), Barlow Condensed en capitales, cartes à double cadre (coque + noyau), bouton
   pilule avec son icône nichée, tableau de bord façon jeu vidéo. Tout est préfixé acc-.
   ⚠ La scène et la vitrine du garage restent SOMBRES dans les deux thèmes (c'est un plateau, pas un fond de page) :
   leurs couleurs y sont donc écrites en dur. Le reste suit les jetons du thème (--text, --bg2, --border...).
   Chargée par layout_start(['css' => ['accueil']]), après app.css et webapp.css. */

.acc {
  --acc-stage: #0b0a08;
  --acc-ease: cubic-bezier(.32, .72, 0, 1);
  --acc-hair: color-mix(in srgb, var(--text) 9%, transparent);
  --acc-g: 16px;
}
.acc-sur { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-text); }

/* ── La scène du héros ─────────────────────────────────── */
.acc-scene {
  position: relative; isolation: isolate; overflow: hidden;
  margin: -28px calc(var(--acc-g) * -1) 0; padding: 30px var(--acc-g) 22px;
  background: var(--acc-stage); border-radius: 0 0 30px 30px; color: #f5f1ea;
}
/* La scène du garage (classes vit-* de mes-rc-vitrine.css, chargée APRÈS cette feuille) : son faisceau (::before), son
   quadrillage (::after), son halo. Deux classes ici pour garder la mise en page de l'accueil malgré l'ordre de chargement. */
.acc-scene.vit-hero { margin: -28px calc(var(--acc-g) * -1) 0; border: 0; border-radius: 0 0 30px 30px; scroll-margin-top: 0; }
.acc-fond { opacity: 0; transition: opacity .9s var(--acc-ease); }
.acc-fond.est-active { opacity: 1; }
.acc-sourcil {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e9dfd2;
}
.acc-pastille { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.acc-titre { margin: 14px 0 0; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: #f5f1ea; }
.acc-titre-l1 { display: block; font-size: clamp(3rem, 14.5vw, 4.6rem); line-height: .92; }
.acc-titre-l1 em { font-style: normal; color: var(--primary); text-shadow: 0 0 40px rgba(249, 115, 22, .45); }
.acc-titre-l2 {
  display: block; margin-top: 12px; max-width: 32ch;
  font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.06rem; line-height: 1.45; color: #d6cdc0;
}

/* Téléphone : la machine monte juste sous le titre (le bloc texte s'efface, ses enfants se rangent par order). */
@media (max-width: 979px) {
  .acc-scene { display: flex; flex-direction: column; }
  .acc-scene-txt { display: contents; }
  .acc-sourcil { align-self: flex-start; }
  .acc-plateau, .acc-plateau.vit-scene { order: 2; } /* la vitrine du garage la passe en tête (order:-1) sur téléphone */
  .acc-champ, .acc-cta, .acc-liens { order: 3; }
  .acc-compteurs { order: 4; }
}
/* Le plateau : une machine par univers, en fondu rapide */
.acc-plateau { position: relative; height: 200px; margin: 4px -8px 0; }
.acc-defs { position: absolute; }
.acc-ombre { position: absolute; bottom: 26px; left: 50%; width: 76%; height: 24px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent); }
.acc-diapo {
  position: absolute; inset: 0 0 34px; margin: 0; display: grid; place-items: end center;
  opacity: 0; transform: translateX(28px) scale(.96); transition: opacity .45s var(--acc-ease), transform .6s var(--acc-ease);
  pointer-events: none;
}
.acc-diapo.est-active { opacity: 1; transform: none; pointer-events: auto; }
.acc-diapo .vit-sur-podium { width: min(100%, 440px); height: 100%; aspect-ratio: auto; padding-bottom: 0; }
.acc-puces { z-index: 4; }
.acc-mot, .acc-plaque { z-index: 3; } /* au-dessus de la machine (.vit-sur-podium est en z-index 1) */

/* Le passage d'une machine à l'autre (classe acc-warp posée par le script le temps d'un changement) */
.acc-vitesse { position: absolute; inset: 8% -25% 22%; z-index: 2; pointer-events: none; opacity: 0; filter: drop-shadow(0 0 6px rgba(249, 115, 22, .9));
  background:
    linear-gradient(90deg, transparent, rgba(255, 200, 150, .95), transparent) 0 16% / 62% 2px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent) 34% 31% / 46% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(249, 115, 22, .95), transparent) 8% 47% / 72% 3px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 230, 200, .75), transparent) 62% 60% / 40% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(249, 115, 22, .85), transparent) 18% 74% / 56% 2px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent) 84% 24% / 34% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 180, 110, .8), transparent) 48% 88% / 50% 2px no-repeat; }
.acc-flash { position: absolute; left: 50%; bottom: 14%; z-index: 2; width: 80%; aspect-ratio: 2 / 1; translate: -50% 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 244, 228, .95), rgba(249, 115, 22, .45) 38%, transparent 68%); }
.acc-onde-sol { position: absolute; left: 50%; bottom: 16px; z-index: 1; width: 44%; aspect-ratio: 1 / .28; translate: -50% 0; border-radius: 50%; pointer-events: none; opacity: 0;
  border: 2px solid #ffd2ad; box-shadow: 0 0 18px rgba(255, 150, 70, .9), inset 0 0 14px rgba(255, 150, 70, .6); }
.acc-plateau .vit-aura { transition: filter .9s ease-out; }
.acc-warp .vit-aura { filter: blur(14px) brightness(1.9) saturate(1.3); transition: filter .15s; }
.acc-machine { width: 88%; max-width: 380px; height: auto; max-height: 160px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
.acc-mot {
  position: absolute; left: 6px; top: 4px; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); padding: 4px 10px; border-radius: 999px; background: rgba(249, 115, 22, .12); border: 1px solid rgba(249, 115, 22, .35);
}
.acc-plaque {
  position: absolute; right: 6px; top: 4px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .72rem; line-height: 1.25; color: #d6cdc0; text-align: right;
}
.acc-plaque strong { display: block; font-family: var(--f-display); font-size: 1.05rem; color: #f5f1ea; text-transform: uppercase; }
.acc-plaque span { display: block; }
.acc-puces { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.acc-puce { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: width .4s var(--acc-ease), background-color .3s; }
.acc-puce.est-active { width: 22px; background: var(--primary); }
.acc-pause {
  display: grid; place-items: center; width: 44px; height: 44px; margin: -12px -10px -12px 4px; border: 0; background: none; color: #b3aca0; cursor: pointer; border-radius: 50%;
}
.acc-pause:focus-visible { outline: 2px solid var(--focus); outline-offset: -6px; }
.acc-pause .ic-lecture, .acc-pause[aria-pressed="true"] .ic-pause { display: none; }
.acc-pause[aria-pressed="true"] .ic-lecture { display: block; }

/* Le champ unique (même crochet data-cu-ouvrir que l'ancien .cu-hero) */
.acc-champ {
  display: flex; align-items: center; gap: 10px; width: 100%; margin: 18px 0 0; padding: 6px 6px 6px 18px; min-height: 58px;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); color: #a9a091; font: inherit; font-size: .98rem; text-align: left; cursor: pointer; text-decoration: none;
  transition: border-color .3s, background-color .3s;
}
.acc-champ:hover { border-color: rgba(249, 115, 22, .6); background: rgba(255, 255, 255, .09); }
.acc-champ:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.acc-champ-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-champ-go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #12100d; }

/* Le bouton pilule, icône nichée */
.acc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px;
  padding: 8px 8px 8px 22px; min-height: 60px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(180deg, #fb8a3c, var(--primary) 55%, var(--primary-strong)); color: #12100d; font-weight: 800; font-size: 1.06rem;
  box-shadow: 0 14px 34px rgba(249, 115, 22, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .5s var(--acc-ease), box-shadow .3s;
}
.acc-cta:hover { color: #12100d; box-shadow: 0 18px 40px rgba(249, 115, 22, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.acc-cta:active { transform: scale(.98); }
.acc-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.acc-cta i { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 16, 13, .14); transition: transform .5s var(--acc-ease); }
.acc-cta:hover i { transform: translate(2px, -1px) scale(1.05); }
.acc-liens { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; }
.acc-liens a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: .95rem; color: #d6cdc0; text-decoration: none; }
.acc-liens a:hover { color: #fff; }

/* Les compteurs */
.acc-compteurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; }
.acc-compteurs > div { display: flex; flex-direction: column-reverse; padding: 12px 8px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.acc-compteurs dd { margin: 0; font-family: var(--f-display); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; color: #f5f1ea; }
.acc-compteurs dt { margin-top: 4px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b3aca0; }

/* ── Les sections ──────────────────────────────────────── */
.acc-sec { padding-top: 44px; }
.acc-sec-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.acc-sec-tete h2, .acc-club h2 { margin: 6px 0 0; font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1; text-transform: uppercase; }
.acc-sec-tete > a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; font-size: .9rem; color: var(--primary-text); white-space: nowrap; text-decoration: none; }

/* Double cadre : la coque (plateau d'aluminium) et le noyau (la plaque de verre) */
.acc-coque { display: block; padding: 5px; border-radius: 26px; background: color-mix(in srgb, var(--text) 3.5%, transparent); border: 1px solid var(--acc-hair); color: inherit; text-decoration: none; }
.acc-noyau { display: block; height: 100%; border-radius: 21px; background: var(--bg2); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 7%, transparent); }
a.acc-coque { transition: transform .5s var(--acc-ease), border-color .3s; }
a.acc-coque:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); color: inherit; }
a.acc-coque:active { transform: scale(.985); }
a.acc-coque:focus-visible, .acc-spot:focus-visible, .acc-branche:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Mon secteur (connecté, vue vitrine) */
.acc-secteur { margin-top: 18px; }
.acc-secteur .acc-noyau { display: grid; gap: 8px; padding: 16px; }
.acc-secteur-tete { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.acc-secteur-tete small, .acc-secteur-txt { color: var(--text-muted); font-weight: 500; font-size: .88rem; }
.acc-secteur-nb { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--text-muted); }
.acc-secteur-nb b { font-family: var(--f-display); font-size: 1.3rem; color: var(--primary-text); margin-right: 3px; }

/* Trois portes */
.acc-portes { display: grid; gap: 12px; }
.acc-porte .acc-noyau { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 14px 16px 16px; min-height: 96px; }
.acc-num { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--primary) 75%, transparent); }
.acc-porte-titre { display: block; font-family: var(--f-display); font-size: 1.45rem; text-transform: uppercase; line-height: 1; }
.acc-porte-txt { display: block; margin-top: 5px; color: var(--text-muted); font-size: .92rem; line-height: 1.4; }
.acc-fleche { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 8%, transparent); transition: transform .5s var(--acc-ease), background-color .3s; }
.acc-porte:hover .acc-fleche { transform: translateX(3px); background: var(--primary); color: var(--on-primary); }
.acc-porte.est-vedette { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 50%, transparent), color-mix(in srgb, var(--primary) 8%, transparent)); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.acc-porte.est-vedette .acc-num { color: var(--primary); -webkit-text-stroke: 0; }

/* Rail horizontal (sessions, spots, guides, actus) */
.acc-rail {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(var(--acc-g) * -1); padding: 2px var(--acc-g) 8px; scroll-padding-inline: var(--acc-g); scrollbar-width: none;
}
.acc-rail::-webkit-scrollbar { display: none; }
.acc-rail:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.acc-rail > * { scroll-snap-align: start; flex: 0 0 78%; max-width: 320px; }

.acc-sess .acc-noyau { display: flex; flex-direction: column; padding: 14px; }
.acc-date { align-self: flex-start; display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-text); font-weight: 700; font-size: .78rem; }
.acc-date b { font-family: var(--f-display); font-size: 1.15rem; }
.acc-sess-titre { display: block; margin: 10px 0 3px; font-weight: 700; font-size: 1.06rem; line-height: 1.25; overflow-wrap: anywhere; }
.acc-lieu { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .86rem; }
.acc-sess-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.acc-sess-bas small { color: var(--text-muted); font-size: .82rem; }
.acc-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-weight: 700; font-size: .88rem; background: color-mix(in srgb, var(--text) 8%, transparent); border: 1px solid var(--border); color: var(--text); text-decoration: none;
}
.acc-mini.est-plein { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
a.acc-mini:hover { border-color: var(--primary); color: var(--text); }
a.acc-mini.est-plein:hover { color: var(--on-primary); filter: brightness(1.06); }
.acc-vide { padding: 22px 18px; text-align: center; }
.acc-vide p { margin: 0 0 14px; color: var(--text-muted); }
.acc-pub { margin-top: 32px; }

/* Vitrine du garage : le tableau de bord façon jeu vidéo */
.acc-garage {
  position: relative; isolation: isolate; overflow: hidden; margin: 44px calc(var(--acc-g) * -1) 0; padding: 34px var(--acc-g) 28px;
  background: var(--acc-stage); color: #f5f1ea; border-block: 1px solid rgba(255, 255, 255, .08);
}
.acc-garage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 50% at 80% 10%, rgba(249, 115, 22, .22), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(96, 165, 250, .1), transparent 70%); }
.acc-garage .acc-sur { color: #fb923c; }
.acc-garage h2 { margin: 8px 0 0; font-size: clamp(2.3rem, 10vw, 3rem); line-height: .95; text-transform: uppercase; color: #f5f1ea; }
.acc-garage h2 em { font-style: normal; color: var(--primary); }
.acc-garage p { margin: 10px 0 0; color: #d6cdc0; max-width: 36ch; }
.acc-garage-cta { margin-top: 20px; }
/* Téléphone : l'aperçu du tableau de bord juste sous le titre, puis la liste, puis le bouton. */
@media (max-width: 979px) {
  .acc-garage { display: flex; flex-direction: column; }
  .acc-garage-txt { order: 1; } .acc-tdb-reel { order: 2; } .acc-garage-liste { order: 3; } .acc-garage-cta { order: 4; }
}
.acc-garage-liste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.acc-garage-liste li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); font-size: .9rem; line-height: 1.4; color: #c9c0b3; }
.acc-garage-liste li i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(249, 115, 22, .14); color: #fb923c; }
.acc-garage-liste b { display: block; margin-bottom: 2px; font-size: .95rem; color: #f5f1ea; }
.acc-tdb-reel { position: relative; margin-top: 20px; }
.acc-tdb-reel .fs { margin: 0; }
.acc-apercu { position: absolute; top: -10px; right: 12px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: #1a1712; border: 1px solid rgba(255, 255, 255, .14); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b3aca0; }

/* Spots */
.acc-spot { display: block; border-radius: 22px; overflow: hidden; background: var(--bg2); border: 1px solid var(--acc-hair); color: inherit; text-decoration: none; transition: transform .5s var(--acc-ease), border-color .3s; }
.acc-spot:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); color: inherit; }
.acc-spot-ph { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #3b3328, #1d1a15); color: rgba(255, 255, 255, .25); }
.acc-spot-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc-tag, .acc-note { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 10, 8, .72); font-size: .74rem; font-weight: 700; color: #fff; }
.acc-tag { left: 10px; max-width: calc(100% - 90px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-note { right: 10px; display: inline-flex; align-items: center; gap: 4px; color: #fde68a; }
.acc-spot-txt { display: block; padding: 12px 14px 14px; }
.acc-spot-nom { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.acc-spot-txt small { color: var(--text-muted); }

/* Club */
.acc-club .acc-noyau { padding: 20px 18px; }
.acc-club ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.acc-club li { display: flex; gap: 12px; align-items: center; font-size: .95rem; line-height: 1.4; }
.acc-club li i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.acc-club-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acc-club-actions .acc-mini { flex: 1 1 220px; }

/* Guides et actus */
.acc-guide .acc-noyau, .acc-actu .acc-noyau { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.acc-tag-cl { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-text); font-size: .74rem; font-weight: 700; }
.acc-guide-titre { font-weight: 700; font-size: 1.04rem; line-height: 1.3; }
.acc-guide-txt { color: var(--text-muted); font-size: .88rem; line-height: 1.45; }
.acc-lire { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; color: var(--primary-text); font-weight: 700; font-size: .86rem; }
.acc-actu img { width: 100%; height: 140px; object-fit: cover; border-radius: 14px; }
.acc-actu h3 { margin: 4px 0 0; font-size: 1.04rem; line-height: 1.3; }
.acc-actu small { color: var(--text-muted); }
.acc-actu p { margin: 0; color: var(--text-muted); font-size: .88rem; }
.acc-actu.est-vedette { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }

/* Les branches */
.acc-branches { display: grid; gap: 10px; }
.acc-branche {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; border-radius: 20px;
  background: var(--bg2); border: 1px solid var(--acc-hair); color: inherit; text-decoration: none; transition: border-color .3s;
}
.acc-branche:hover { border-color: var(--primary); color: inherit; }
.acc-branche i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.acc-branche.est-drone i { background: rgba(14, 165, 233, .14); color: #0ea5e9; }
.acc-branche.est-drone:hover { border-color: #0ea5e9; }
.acc-branche small { display: block; color: var(--text-muted); font-size: .84rem; line-height: 1.35; }

/* Le texte de référencement, visible */
.acc-seo { padding-top: 48px; color: var(--text-muted); font-size: .95rem; line-height: 1.6; max-width: 760px; }
.acc-seo h2 { margin: 0 0 10px; font-size: 1.5rem; text-transform: uppercase; color: var(--text); }
.acc-seo p { margin: 0 0 12px; }
.acc-seo b { color: var(--text); }
.acc-fonctions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.acc-fonctions a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: color-mix(in srgb, var(--text) 5%, transparent); border: 1px solid var(--acc-hair); color: var(--text); text-decoration: none;
}
.acc-fonctions a:hover { border-color: var(--primary); }
.acc-fonctions a.est-tout { color: var(--primary-text); }

/* ── La souris (classe et variables posées par le script, souris seulement) ── */
.acc-machine { translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 8px); }
.acc-titre-l1 { translate: calc(var(--mx, 0) * -5px) calc(var(--my, 0) * -3px); }
.acc-tilt { position: relative; transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--acc-ease), border-color .3s; }
.acc-tilt:hover { transition: transform .12s linear, border-color .3s; }
.acc-tilt::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, .09), transparent 60%); }
.acc-tilt:hover::after { opacity: 1; }
a.acc-tilt:active { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(.985); }

/* ── Entrée au défilement : seulement si le script a pris la main (classe acc-anim) ── */
.acc-anim .acc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--acc-ease), transform .8s var(--acc-ease); }
.acc-anim .acc-reveal.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .acc-pastille { animation: acc-pouls 2s var(--acc-ease) infinite; }
  .acc-diapo.est-active .acc-machine { animation: acc-flotte 3s var(--acc-ease) infinite alternate; }
  .acc-diapo.est-active .vit-sur-podium img { animation: acc-flotte 3s var(--acc-ease) .9s infinite alternate; }
  .acc-diapo { transition: none; }
  .acc-diapo.est-active { animation: acc-entree .85s cubic-bezier(.2, .9, .25, 1.12) both; }
  .acc-diapo.est-sortie { animation: acc-sortie .6s cubic-bezier(.6, 0, .9, .4) both; }
  .acc-diapo.est-active .acc-mot { animation: acc-mot .7s var(--acc-ease) .3s both; }
  .acc-warp .acc-vitesse { animation: acc-traine .75s cubic-bezier(.3, .6, .4, 1) both; }
  .acc-warp .acc-flash { animation: acc-flash 1s ease-out both; }
  .acc-warp .acc-onde-sol { animation: acc-onde-sol .9s ease-out .45s both; }
  @keyframes acc-entree {
    0% { opacity: 0; transform: translateX(-78%) skewX(16deg) scaleX(1.25); filter: blur(12px) brightness(2.4); }
    55% { opacity: 1; transform: translateX(5%) skewX(-4deg) scaleX(.98); filter: blur(0) brightness(1.3); }
    78% { transform: translateX(-1.5%) skewX(1deg); filter: none; }
    100% { opacity: 1; transform: none; filter: none; }
  }
  @keyframes acc-sortie {
    0% { opacity: 1; transform: none; filter: none; }
    100% { opacity: 0; transform: translateX(85%) skewX(-18deg) scaleX(1.3); filter: blur(14px) brightness(2.2); }
  }
  @keyframes acc-mot { from { opacity: 0; letter-spacing: .7em; filter: blur(6px); } }
  @keyframes acc-traine { 0% { opacity: 0; transform: translateX(-55%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(55%); } }
  @keyframes acc-flash { 0%, 40% { opacity: 0; transform: scale(.4); } 55% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
  @keyframes acc-onde-sol { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(2.6); } }
  @keyframes acc-pouls { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
  @keyframes acc-flotte { to { transform: translateY(-5px); } }
}
@media (prefers-reduced-motion: reduce) {
  .acc-diapo, .acc-cta, .acc-cta i, a.acc-coque, .acc-spot, .acc-fleche, .acc-puce { transition: none; }
}

/* ── Tablette et ordinateur ────────────────────────────── */
@media (min-width: 700px) {
  .acc { --acc-g: 28px; }
  .acc-portes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acc-porte .acc-noyau { grid-template-columns: 1fr auto; align-content: space-between; min-height: 190px; padding: 20px; }
  .acc-porte .acc-num { grid-column: 1 / -1; }
  .acc-rail > * { flex-basis: 300px; }
  .acc-branches { grid-template-columns: 1fr 1fr; }
  .acc-garage { margin-inline: 0; border: 1px solid rgba(255, 255, 255, .08); border-radius: 30px; }
}
@media (min-width: 980px) {
  .acc-scene {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "txt plateau" "chiffres chiffres";
    column-gap: 40px; align-items: center; margin: -8px 0 0; padding: 56px 48px 34px; border-radius: 34px;
  }
  .acc-scene-txt { grid-area: txt; }
  .acc-plateau { grid-area: plateau; height: 360px; margin: 0; }
  .acc-diapo { inset: 0 0 44px; }
  .acc-machine { width: 100%; max-width: 560px; max-height: 280px; }
  .acc-diapo .vit-sur-podium { width: min(100%, 620px); }
  .acc-scene.vit-hero { margin: -8px 0 0; border-radius: 34px; border: 1px solid rgba(255, 255, 255, .1); }
  .acc-ombre { bottom: 40px; height: 34px; }
  .acc-compteurs { grid-area: chiffres; max-width: 640px; }
  .acc-titre-l1 { font-size: clamp(4rem, 6.2vw, 5.6rem); }
  .acc-cta { width: auto; display: inline-flex; min-width: 340px; }
  .acc-liens { justify-content: flex-start; }
  .acc-garage { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "txt tdb" "liste liste" "cta cta"; column-gap: 40px; align-items: center; padding: 48px; }
  .acc-garage-txt { grid-area: txt; }
  .acc-tdb-reel { grid-area: tdb; margin-top: 0; }
  .acc-garage-liste { grid-area: liste; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .acc-garage-cta { grid-area: cta; justify-self: start; width: auto; display: inline-flex; min-width: 280px; }
}
