/* ==========================================================================
   Page « autorepere » — styles propres à la page (v3).
   Chargée automatiquement par includes/header.php quand $page_key = 'autorepere'.
   Préfixe : .pg-autorepere-…  ·  Tokens de ws-site.css uniquement.
   Direction artistique : nuit urbaine + ambre (« phares ») pour distinguer AutoRepère de WiseBled (violet).
   Performance : aucune animation infinie ne tourne hors écran (.pg-autorepere-off posé par le JS),
   les ondes/radars sont des éléments HTML animés en transform/opacity (composités).
   ========================================================================== */

.pg-autorepere {
  --ar-amber: var(--sun-400);
  --ar-amber-soft: rgba(251, 191, 36, .14);
  --ar-grad: linear-gradient(100deg, var(--sun-200) 0%, var(--sun-400) 45%, #fb923c 100%);
}

/* ---------- Bouton ambre (CTA principal de la page) ---------- */
.ws-btn.ws-btn--primary.pg-autorepere-btn-sun,
.ws-btn.ws-btn--primary.pg-autorepere-btn-sun:hover {
  color: var(--ink-900);
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 55%), var(--sun-400);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 53, 15, .18), 0 1px 2px rgba(120, 53, 15, .3), 0 14px 32px -14px rgba(251, 191, 36, .8);
}
.ws-btn--primary.pg-autorepere-btn-sun::before { background: linear-gradient(100deg, var(--sun-300), var(--sun-500)); }
.ws-btn--primary.pg-autorepere-btn-sun::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 48%, transparent 66%); }
@media (hover: hover) and (pointer: fine) {
  .ws-btn.ws-btn--primary.pg-autorepere-btn-sun:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(120, 53, 15, .3), 0 20px 44px -14px rgba(251, 191, 36, .9), 0 0 0 4px rgba(251, 191, 36, .14); }
}
/* Mobile : tous les CTA de la page en pleine largeur, empilés */
@media (max-width: 639px) {
  .pg-autorepere main .ws-actions { flex-direction: column; align-items: stretch; }
  .pg-autorepere main .ws-actions > .ws-btn { width: 100%; justify-content: center; }
}

/* Accent serif ambré */
.pg-autorepere .ws-sh .ws-em { color: var(--sun-700); }
.pg-autorepere .ws-dark .ws-em,
.pg-autorepere-hero__title .ws-em { color: var(--sun-300); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pg-autorepere-hero__title .ws-em,
  .pg-autorepere-hero__title .ws-em :is(.ws-w, .ws-wi),
  .pg-autorepere-cta h2 .ws-em,
  .pg-autorepere-cta h2 .ws-em :is(.ws-w, .ws-wi) {
    color: transparent; background: var(--ar-grad); -webkit-background-clip: text; background-clip: text;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.pg-autorepere-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--hdr-space) + clamp(16px, 4vw, 56px));
  background: var(--night-0); color: var(--c-fg-2);
}
.pg-autorepere-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pg-autorepere-hero__orb { position: absolute; border-radius: 50%; will-change: transform; }
.pg-autorepere-hero__orb--a { top: -22%; right: -12%; width: min(900px, 90vw); aspect-ratio: 1; background: radial-gradient(circle, rgba(251, 191, 36, .2), rgba(251, 146, 60, .06) 45%, transparent 68%); animation: ws-drift 22s var(--ease-io) infinite alternate; }
.pg-autorepere-hero__orb--b { bottom: -30%; left: -20%; width: min(820px, 95vw); aspect-ratio: 1; background: radial-gradient(circle, rgba(107, 87, 250, .22), transparent 66%); animation: ws-drift 26s var(--ease-io) infinite alternate-reverse; }
.pg-autorepere-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse 75% 65% at 60% 35%, #000 10%, transparent 75%); mask: radial-gradient(ellipse 75% 65% at 60% 35%, #000 10%, transparent 75%);
}
.pg-autorepere-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }

/* Grille : même conteneur que les autres sections ; seule la carte déborde à droite (≥ 1080). */
.pg-autorepere-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: clamp(48px, 7vw, 96px); }
.pg-autorepere-hero__copy { position: relative; z-index: 1; min-width: 0; }
.pg-autorepere-hero .ws-breadcrumb ol { margin-bottom: 20px; }
.pg-autorepere-hero__pill { margin-bottom: 24px; color: var(--c-fg-2); max-width: 100%; }
.pg-autorepere-hero__pill > span:not(.ws-badge) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pg-autorepere-hero__pill .ws-i { flex-shrink: 0; color: var(--sun-300); }
.pg-autorepere-hero__pill:hover .ws-i { transform: translateY(2px); }
.pg-autorepere-hero__title {
  margin: 0; color: #fff; font-weight: 600;
  font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.048em;
}
.pg-autorepere-hero__title .ws-em { font-size: 1.06em; letter-spacing: -.02em; }
.pg-autorepere-hero__lead { margin-top: clamp(18px, 2.4vw, 28px); max-width: 52ch; color: #c3c7de; }
.pg-autorepere-hero__actions { margin-top: clamp(24px, 3vw, 38px); }
.pg-autorepere-hero__pill-short { display: none; }
@media (max-width: 479px) {
  .pg-autorepere-hero__pill { font-size: .8rem; }
  .pg-autorepere-hero__pill-long { display: none; }
  .pg-autorepere-hero__pill > .pg-autorepere-hero__pill-short { display: inline; }
}

/* Mobile / tablette : la carte (réduite) vient juste après le H1 */
@media (max-width: 1079px) {
  .pg-autorepere-hero__copy { display: contents; }
  .pg-autorepere-hero__crumb { order: 1; }
  .pg-autorepere-hero__pill { order: 2; justify-self: start; }
  .pg-autorepere-hero__title { order: 3; }
  .pg-autorepere-hero__visual { order: 4; margin-top: clamp(20px, 4vw, 36px); }
  .pg-autorepere-hero__lead { order: 5; }
  .pg-autorepere-hero__actions { order: 6; }
}
@media (min-width: 1080px) {
  .pg-autorepere-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(40px, 4vw, 72px);
    align-items: start; /* pas de centrage vertical : le changement de police ne décale plus la carte (CLS) */
  }
  .pg-autorepere-hero__visual { margin-top: clamp(8px, 2vw, 36px); margin-right: calc(-1 * clamp(0px, (100vw - 1320px) / 2, 120px)); max-width: none; }
}

/* Visuel : plan de ville */
.pg-autorepere-hero__visual { position: relative; width: 100%; max-width: 680px; margin-inline: auto; padding: 18px 0; }
.pg-autorepere-map { position: relative; }
.pg-autorepere-map::before { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 191, 36, .2), transparent); }
.pg-autorepere-map__frame {
  --ry: 55.83%;
  position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: clamp(20px, 2.4vw, 30px);
  background: radial-gradient(120% 90% at 20% 60%, #151a36 0%, #0b0d1d 55%, #070812 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 60px 120px -50px rgba(0, 0, 0, .9), 0 30px 60px -40px rgba(251, 191, 36, .25);
}
.pg-autorepere-map__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .08), transparent 30%); }
.pg-autorepere-map__svg { display: block; width: 100%; height: 100%; }
/* Ondes du point « Vous » (x = 120/600, y = 268/480 ; rayon 46/600) */
.pg-autorepere-map__pulse { position: absolute; left: 20%; top: var(--ry); width: 15.4%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.pg-autorepere-map__pulse i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(251, 191, 36, .6); opacity: 0; animation: pg-ar-ring 3.2s var(--ease-out) infinite; will-change: transform, opacity; }
.pg-autorepere-map__pulse i + i { animation-delay: 1.6s; }
@keyframes pg-ar-ring { from { transform: scale(.25); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.pg-autorepere-map__pin-shadow { fill: #000; fill-opacity: .45; }
.pg-autorepere-map__pin-body { stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.pg-autorepere-map__pin--shop .pg-autorepere-map__pin-body { fill: var(--sun-400); }
.pg-autorepere-map__pin--shop .ws-i { color: var(--ink-900); }
.pg-autorepere-map__pin--garage .pg-autorepere-map__pin-body { fill: var(--brand-500); }
.pg-autorepere-map__pin--tow .pg-autorepere-map__pin-body { fill: var(--coral-500); }
.pg-autorepere-map__pin--garage .ws-i, .pg-autorepere-map__pin--tow .ws-i { color: #fff; }
.pg-autorepere-map__car .ws-i { color: var(--sun-300); }
.pg-autorepere-map__you { fill: var(--sun-300); font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.pg-autorepere-map__city { fill: rgba(255, 255, 255, .34); font: 500 10px/1 var(--font); letter-spacing: .22em; }
.pg-autorepere-map__river { fill: rgba(125, 211, 252, .78); font: italic 400 15px/1 var(--font-serif); }
.pg-autorepere-map__north circle { stroke: rgba(255, 255, 255, .18); }
.pg-autorepere-map__north path { fill: rgba(255, 255, 255, .55); }

/* Pastilles flottantes */
.pg-autorepere-hero__chip { position: absolute; z-index: 2; }
.pg-autorepere-hero__chip--part { top: 2%; right: -2%; }
.pg-autorepere-hero__chip--sos { top: 66%; right: -4%; }
.pg-autorepere-hero__chip--garage { bottom: 1%; left: -4%; }
.pg-autorepere-chip {
  display: inline-flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(17, 20, 42, .8); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 48px -20px rgba(0, 0, 0, .8);
}
.pg-autorepere-chip__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; color: #fff; }
.pg-autorepere-chip__ico--sun { color: var(--ink-900); background: linear-gradient(135deg, var(--sun-300), var(--sun-500)); }
.pg-autorepere-chip__ico--brand { background: var(--grad-brand); }
.pg-autorepere-chip__ico--coral { background: linear-gradient(135deg, var(--coral-400), var(--coral-700)); }
.pg-autorepere-chip__txt { display: grid; gap: 2px; line-height: 1.25; }
.pg-autorepere-chip__txt strong { font-size: .88rem; font-weight: 600; color: #fff; white-space: nowrap; }
.pg-autorepere-chip__txt small { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: #a9aecb; white-space: nowrap; }
.pg-autorepere-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; font-style: normal; }
.pg-autorepere-dot--mint { background: var(--mint-400); box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
.pg-autorepere-dot--live { background: var(--coral-400); }
.pg-autorepere-dot--live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--coral-400); animation: pg-ar-live 1.8s var(--ease-out) infinite; }
@keyframes pg-ar-live { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (min-width: 1700px) { .pg-autorepere-hero__chip--part { right: 4%; } }
@media (max-width: 1079px) {
  /* tablette : carte panoramique (2:1) pour garder le texte et les CTA dans le premier écran */
  .pg-autorepere-map__frame { aspect-ratio: 2 / 1; --ry: 59.33%; }
  .pg-autorepere-hero__chip--part { right: 2%; }
  .pg-autorepere-hero__chip--sos { right: 0; }
  .pg-autorepere-hero__chip--garage { left: 2%; }
}
@media (max-width: 639px) {
  .pg-autorepere-hero { padding-top: calc(var(--hdr-space) + 8px); }
  .pg-autorepere-hero .ws-breadcrumb ol { margin-bottom: 14px; }
  .pg-autorepere-hero__pill { margin-bottom: 18px; }
  .pg-autorepere-hero__visual { margin-top: 18px; }
  .pg-autorepere-hero__lead { margin-top: 14px; font-size: 1.05rem; }
  .pg-autorepere-hero__actions { margin-top: 22px; }
  .pg-autorepere-map__city, .pg-autorepere-map__north { display: none; }
  .pg-autorepere-hero__visual { padding: 0; }
  /* pastille sous la carte : elle ne chevauche que le bord du cadre, les trois repères restent visibles */
  .pg-autorepere-hero__chip--part { position: relative; top: auto; right: auto; bottom: auto; left: auto; display: flex; margin: -14px 12px 0; }
  .pg-autorepere-map__river { fill: rgba(125, 211, 252, .9); }
  .pg-autorepere-hero__chip--sos, .pg-autorepere-hero__chip--garage { display: none; }
  .pg-autorepere-chip { gap: 9px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(17, 20, 42, .94); }
  .pg-autorepere-chip__ico { width: 30px; height: 30px; border-radius: 9px; }
  .pg-autorepere-chip__ico .ws-i { width: 15px; height: 15px; }
  .pg-autorepere-chip__txt strong { font-size: .8rem; }
  .pg-autorepere-chip__txt small { font-size: .7rem; }
}

/* Bandeau défilant des pièces */
.pg-autorepere-hero__band { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); padding-block: clamp(18px, 2.4vw, 26px); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.pg-autorepere-marquee { --gap: clamp(26px, 3.4vw, 48px); }
.pg-autorepere-marquee .ws-marquee__item { gap: var(--gap); font-size: clamp(1.02rem, .95rem + .4vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; color: #9aa0bf; }
.pg-autorepere-marquee .ws-marquee__item::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--sun-400); opacity: .75; flex-shrink: 0; }
.pg-autorepere-marquee .ws-marquee__item:nth-child(even) span { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: #e6e7f2; }

/* ==========================================================================
   POURQUOI — déclaration (le problème) + la scène
   ========================================================================== */
.pg-autorepere-intro { overflow: hidden; }
.pg-autorepere-intro__statement {
  max-width: 25em; margin: 8px 0 0; font-weight: 500; color: var(--c-fg); text-wrap: pretty;
  font-size: clamp(1.5rem, 1rem + 2.3vw, 3rem); line-height: 1.2; letter-spacing: -.032em;
}
.pg-autorepere-intro__statement .ws-w { overflow: visible; }
/* La scène : un temps à part, sous le constat (horodatage mono comme l'écran SOS) */
.pg-autorepere-intro { padding-bottom: clamp(24px, 3vw, 40px); }
.pg-autorepere-intro__scene {
  position: relative; max-width: 40em; margin-top: clamp(28px, 4vw, 48px); padding-left: clamp(18px, 2vw, 26px);
  border-left: 2px solid var(--sun-400);
}
.pg-autorepere-intro__stamp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; font-size: var(--fs-xs); }
.pg-autorepere-intro__sos {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff;
  background: linear-gradient(135deg, var(--coral-500), var(--coral-700)); box-shadow: 0 8px 18px -8px rgba(244, 63, 94, .7);
}
.pg-autorepere-intro__kicker { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-700); }
.pg-autorepere-intro__time {
  padding: 3px 9px; border-radius: var(--r-full); border: 1px solid var(--c-line-2); background: var(--c-surface);
  font: 500 .78rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--c-fg-2); font-variant-numeric: tabular-nums;
}
.pg-autorepere-intro__scene-txt {
  margin: 0; max-width: 32em; font-size: clamp(1.15rem, .95rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.022em; color: var(--c-fg); text-wrap: pretty;
}
/* Route pointillée qui relie l'intro au récit (se trace au défilement) */
.pg-autorepere-intro__road { display: block; width: 100%; height: clamp(56px, 7vw, 110px); margin-top: clamp(20px, 3vw, 36px); color: var(--sun-500); opacity: .7; overflow: visible; }

/* ==========================================================================
   COMMENT ÇA MARCHE — carrousel (< 960) · empilé (≥ 960 sans épinglage) · épinglé (≥ 960, .is-pinned)
   ========================================================================== */
.pg-autorepere-story-sec { position: relative; padding-block: clamp(32px, 4vw, 64px) clamp(40px, 5vw, 72px); background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%); }
.pg-autorepere-story__head { margin-bottom: clamp(28px, 4vw, 56px); }
.pg-autorepere-story__list { list-style: none; margin: 0; padding: 0; }
.pg-autorepere-story__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pg-autorepere-story__text .ws-h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.25rem); letter-spacing: -.03em; line-height: 1.1; }
.pg-autorepere-story__desc { margin-top: 12px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--c-fg-2); }
.pg-autorepere-story__device { display: flex; justify-content: center; }
.pg-autorepere-story__index, .pg-autorepere-story__frame, .pg-autorepere-story__stage, .pg-autorepere-story__nav, .pg-autorepere-story__chip { display: none; }
.pg-autorepere-story__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--fs-xs); color: var(--c-fg-3); }
.pg-autorepere-story__note .ws-i { flex-shrink: 0; }

/* Carrousel horizontal (mobile / tablette) — fonctionne sans JS (scroll-snap natif) */
@media (max-width: 959px) {
  .pg-autorepere-story__nav {
    display: flex; gap: 6px; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none;
  }
  .pg-autorepere-story__nav::-webkit-scrollbar { display: none; }
  .pg-autorepere-story__nav a {
    flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: var(--r-full);
    border: 1px solid var(--c-line-2); background: var(--c-surface); color: var(--c-fg-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
    transition: background var(--d-2), color var(--d-2), border-color var(--d-2);
  }
  .pg-autorepere-story__nav a b { font: 400 italic 1.05rem/1 var(--font-serif); color: var(--c-fg-3); }
  .pg-autorepere-story__nav a[aria-current="true"] { background: var(--c-fg); border-color: var(--c-fg); color: var(--c-bg); }
  .pg-autorepere-story__nav a[aria-current="true"] b { color: var(--sun-400); }
  .pg-autorepere-story__list {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  }
  .pg-autorepere-story__list::-webkit-scrollbar { display: none; }
  .pg-autorepere-story__item {
    flex: 0 0 min(86%, 380px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; overflow: hidden;
    padding: 22px 20px 0; border-radius: var(--r-xl); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-1);
  }
  .pg-autorepere-story__desc { font-size: var(--fs-body); }
  .pg-autorepere-story__device { margin-top: auto; max-height: 380px; overflow: hidden; }
  .pg-autorepere-story__device .pg-autorepere-phone { --pw: 228px; }
}
/* Empilé (≥ 960 sans JS / mouvement réduit / fenêtre trop basse) */
@media (min-width: 960px) {
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__list { display: grid; gap: clamp(56px, 7vw, 96px); }
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__item:nth-child(even) .pg-autorepere-story__text { order: 2; }
  .pg-autorepere-story__device { position: relative; }
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__device::before { content: ""; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 55% at 50% 45%, rgba(251, 191, 36, .16), transparent 72%); }
  /* pastille contextuelle de l'étape, à côté du téléphone */
  .pg-autorepere-story__chip {
    position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border-radius: 16px;
    background: rgba(255, 255, 255, .9); border: 1px solid rgba(14, 16, 40, .08); color: var(--ink-900);
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 48px -22px rgba(14, 16, 40, .35);
  }
  .pg-autorepere-story__chip .pg-autorepere-chip__ico { width: 34px; height: 34px; border-radius: 10px; }
  .pg-autorepere-story__chip .pg-autorepere-chip__ico--mint { background: linear-gradient(135deg, var(--mint-400), var(--mint-600)); }
  .pg-autorepere-story__chip strong { color: var(--ink-900); font-size: .86rem; }
  .pg-autorepere-story__chip small { color: var(--ink-500); font-size: .74rem; }
  .pg-autorepere-story__chip .pg-autorepere-chip__txt { min-width: 0; }
  .pg-autorepere-story__chip strong, .pg-autorepere-story__chip small { display: block; line-height: 1.25; white-space: normal; text-wrap: balance; }
  .pg-autorepere-story__chip small { margin-top: 2px; }
  /* Pastille posée sur le bord du téléphone, côté texte : elle ne recouvre que le cadre et la marge intérieure
     de l'écran (jamais l'interface), à une hauteur différente selon l'étape. Largeur bornée : elle reste dans la colonne. */
  .pg-autorepere-story__chip { --ar-edge: calc(50% + var(--pw, 264px) / 2 - var(--pw, 264px) * .034 - 8px); width: max-content; max-width: 184px; }
  .pg-autorepere-story__chip--1 { top: 30%; }
  .pg-autorepere-story__chip--2 { top: 54%; }
  .pg-autorepere-story__chip--3 { top: 24%; }
  .pg-autorepere-story__chip--4 { top: 46%; }
  .pg-autorepere-story__chip--5 { top: 38%; }
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__item:nth-child(odd) .pg-autorepere-story__chip { right: var(--ar-edge); }
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__item:nth-child(even) .pg-autorepere-story__chip { left: var(--ar-edge); }
  /* empilé : le texte est centré face au téléphone → pastilles au-dessus (impaires) ou au-dessous (paires) de sa hauteur */
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__item:nth-child(odd) .pg-autorepere-story__chip { top: 13%; }
  .pg-autorepere-story:not(.is-pinned) .pg-autorepere-story__item:nth-child(even) .pg-autorepere-story__chip { top: 75%; }
}

/* Téléphone (maquette d'écran AutoRepère) */
.pg-autorepere-phone {
  --pw: 264px; position: relative; flex-shrink: 0; width: var(--pw); padding: calc(var(--pw) * .034); border-radius: calc(var(--pw) * .155);
  background: linear-gradient(150deg, #3a3e4d 0%, #14161e 38%, #07080c 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #0a0b10, 0 0 0 1px rgba(0, 0, 0, .5), var(--sh-float);
  font-size: calc(var(--pw) / 21.5);
}
.pg-autorepere-phone__screen {
  position: relative; overflow: hidden; aspect-ratio: 1206 / 2622; border-radius: calc(var(--pw) * .123);
  background: linear-gradient(180deg, #ffffff 0%, #f4f5fa 100%); color: var(--ink-900);
  display: flex; flex-direction: column; gap: .7em; padding: 3.6em 1.05em 0; font-family: var(--font); line-height: 1.3;
}
.pg-autorepere-phone__island { position: absolute; top: calc(var(--pw) * .062); left: 50%; width: 30%; height: calc(var(--pw) * .074); transform: translateX(-50%); border-radius: 99px; background: #050507; }

/* Contenu des écrans (unités em : tout suit la taille du téléphone) */
.pg-autorepere-scr .ws-i { flex-shrink: 0; }
.pg-autorepere-scr__title { font-size: 1.3em; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
.pg-autorepere-scr__row-head { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.pg-autorepere-scr__tabs { display: flex; padding: .22em; border-radius: 99px; background: #eaebf3; }
.pg-autorepere-scr__tabs span { flex: 1; padding: .45em 0; border-radius: 99px; text-align: center; font-size: .78em; font-weight: 600; color: var(--ink-500); }
.pg-autorepere-scr__tabs .is-on { background: #fff; color: var(--ink-900); box-shadow: 0 1px 3px rgba(14, 16, 40, .12); }
.pg-autorepere-scr__search { display: flex; align-items: center; gap: .5em; padding: .72em .8em; border-radius: .9em; background: #fff; border: 1.5px solid var(--sun-400); box-shadow: 0 0 0 .3em rgba(251, 191, 36, .16); font-size: .86em; font-weight: 500; }
.pg-autorepere-scr__search .ws-i { color: var(--ink-400); }
.pg-autorepere-scr__search .ws-i:last-child { margin-left: auto; }
.pg-autorepere-scr__query { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pg-autorepere-scr__caret { width: 1.5px; height: 1.1em; margin-left: -.3em; background: var(--brand-600); flex-shrink: 0; animation: pg-ar-blink 1s steps(1) infinite; }
@keyframes pg-ar-blink { 50% { opacity: 0; } }
.pg-autorepere-scr__map { overflow: hidden; border-radius: .9em; border: 1px solid rgba(14, 16, 40, .07); }
.pg-autorepere-scr__map svg { display: block; width: 100%; height: auto; }
.pg-autorepere-scr__label { margin-top: .1em; font-size: .7em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.pg-autorepere-scr__results { display: grid; gap: .5em; }
.pg-autorepere-scr__card, .pg-autorepere-scr__garage, .pg-autorepere-scr__tow, .pg-autorepere-scr__req {
  display: flex; align-items: center; gap: .6em; padding: .65em .7em; border-radius: .9em; background: #fff;
  border: 1px solid rgba(14, 16, 40, .07); box-shadow: 0 .4em 1em -.6em rgba(14, 16, 40, .25);
}
.pg-autorepere-scr__card.is-best, .pg-autorepere-scr__garage.is-best { border-color: rgba(245, 158, 11, .45); box-shadow: 0 0 0 .2em rgba(251, 191, 36, .14), 0 .5em 1.2em -.6em rgba(14, 16, 40, .3); }
:is(.pg-autorepere-scr__card, .pg-autorepere-scr__garage, .pg-autorepere-scr__tow, .pg-autorepere-scr__req) > div { display: grid; gap: .22em; min-width: 0; flex: 1; }
:is(.pg-autorepere-scr__card, .pg-autorepere-scr__garage, .pg-autorepere-scr__tow, .pg-autorepere-scr__req) strong { font-size: .82em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.pg-autorepere-scr__garage, .pg-autorepere-scr__tow, .pg-autorepere-scr__req) small { font-size: .68em; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-autorepere-scr__dist { font-weight: 500; color: var(--ink-500); }
.pg-autorepere-scr__price { display: grid; justify-items: end; gap: .3em; margin-left: auto; font-size: .7em; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-autorepere-scr__tags { display: flex; flex-wrap: wrap; gap: .3em; }
.pg-autorepere-scr__tags em { font-style: normal; font-size: .62em; font-weight: 600; padding: .2em .55em; border-radius: 99px; white-space: nowrap; }
.pg-autorepere-scr__tags .is-mint { background: #e7faf2; color: var(--mint-700); }
.pg-autorepere-scr__tags .is-sun { background: #fff6dc; color: #92400e; }
.pg-autorepere-scr__go, .pg-autorepere-scr__call { display: inline-flex; align-items: center; gap: .3em; padding: .45em .7em; border-radius: 99px; background: var(--ink-900); color: #fff; font-size: .92em; font-weight: 600; white-space: nowrap; }
.pg-autorepere-scr__call { margin-left: auto; font-size: .68em; background: var(--mint-600); }
.pg-autorepere-scr__ico { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: .7em; flex-shrink: 0; background: #eef0f7; color: var(--ink-600); }
.pg-autorepere-scr__ico--sun { background: #fff3d1; color: var(--sun-700); }
.pg-autorepere-scr__ico--brand { background: var(--brand-50); color: var(--brand-600); }
.pg-autorepere-scr__ico--coral { background: #ffe4e8; color: var(--coral-700); }
.pg-autorepere-scr__chip { display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: 99px; background: #eef0f7; color: var(--ink-600); font-size: .62em; font-weight: 600; white-space: nowrap; }

.pg-autorepere-scr__sos { position: relative; display: grid; place-items: center; width: 8.6em; height: 8.6em; margin: .8em auto 0; }
.pg-autorepere-scr__sos b {
  position: relative; z-index: 1; display: grid; place-items: center; width: 3.9em; height: 3.9em; border-radius: 50%; font-size: 1.4em; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--coral-400), var(--coral-700)); box-shadow: 0 0 0 .35em rgba(244, 63, 94, .14), 0 1em 2em -.7em rgba(190, 18, 60, .8);
}
.pg-autorepere-scr__sos-r { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(244, 63, 94, .4); opacity: 0; animation: pg-ar-ring 2.6s var(--ease-out) infinite; will-change: transform, opacity; }
.pg-autorepere-scr__sos-r--2 { animation-delay: 1.3s; }
.pg-autorepere-scr__hint { text-align: center; font-size: .74em; color: var(--ink-500); }
.pg-autorepere-scr__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.pg-autorepere-scr__steps li { display: flex; align-items: center; gap: .55em; padding: .62em .75em; border-radius: .8em; background: #fff; border: 1px solid rgba(14, 16, 40, .07); font-size: .76em; font-weight: 500; }
.pg-autorepere-scr__steps li > .ws-i:first-child { color: var(--ink-500); }
.pg-autorepere-scr__ok { margin-left: auto; color: var(--mint-600); }
.pg-autorepere-scr__steps .is-live { background: #effcf6; border-color: #bdf0d9; color: var(--mint-700); }
.pg-autorepere-scr__steps .is-live > .ws-i:first-child { color: var(--mint-600); }
.pg-autorepere-scr__steps .is-live .pg-autorepere-dot { margin-left: auto; background: var(--mint-500); }
.pg-autorepere-scr__steps .is-live .pg-autorepere-dot::after { border-color: var(--mint-500); }

.pg-autorepere-scr__globe { position: relative; margin: 0 1.5em; }
.pg-autorepere-scr__globe svg { display: block; width: 100%; height: auto; }
.pg-autorepere-scr__origin, .pg-autorepere-scr__dest { position: absolute; transform: translate(-50%, -150%); padding: .25em .6em; border-radius: 99px; font-size: .62em; font-weight: 600; white-space: nowrap; background: #fff; color: var(--brand-700); box-shadow: 0 .3em .8em -.3em rgba(14, 16, 40, .3); }
.pg-autorepere-scr__origin--0 { left: 84%; top: 30%; }
.pg-autorepere-scr__origin--1 { left: 73%; top: 48%; }
.pg-autorepere-scr__origin--2 { left: 47%; top: 20%; }
.pg-autorepere-scr__origin--3 { left: 16%; top: 35%; }
.pg-autorepere-scr__dest { left: 51%; top: 61%; transform: translate(-50%, 55%); background: var(--ink-900); color: var(--sun-300); }
.pg-autorepere-scr__offers { list-style: none; margin: 0; padding: 0; display: grid; gap: .4em; }
.pg-autorepere-scr__offers li { display: flex; align-items: center; gap: .55em; padding: .55em .7em; border-radius: .8em; background: #fff; border: 1px solid rgba(14, 16, 40, .07); }
.pg-autorepere-scr__offers span:not(.pg-autorepere-scr__flag) { font-size: .76em; font-weight: 600; }
.pg-autorepere-scr__offers em { margin-left: auto; padding: .25em .6em; border-radius: 99px; font-style: normal; font-size: .62em; font-weight: 600; white-space: nowrap; }
.pg-autorepere-scr__offers .is-ok em { color: var(--mint-700); background: #e7faf2; }
.pg-autorepere-scr__offers .is-wait em { color: var(--ink-500); background: #eef0f7; }
.pg-autorepere-scr__flag { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; flex-shrink: 0; }
.pg-autorepere-scr__offers .is-ok .pg-autorepere-scr__flag { background: #e7faf2; color: var(--mint-600); }
.pg-autorepere-scr__offers .is-wait .pg-autorepere-scr__flag { background: #eef0f7; color: var(--ink-400); }

.pg-autorepere-scr__status { display: grid; }
.pg-autorepere-scr__status > span { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: 99px; font-size: .62em; font-weight: 600; white-space: nowrap; }
.pg-autorepere-scr__off { background: #fff3d1; color: #92400e; }
.pg-autorepere-scr__on { background: #e7faf2; color: var(--mint-700); opacity: 0; }
.pg-autorepere-scr__field { display: flex; align-items: center; gap: .5em; padding: .65em .75em; border-radius: .8em; background: #eef0f7; color: var(--ink-400); font-size: .74em; }
.pg-autorepere-scr__field .ws-i:last-child { margin-left: auto; }
.pg-autorepere-scr__stock { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.pg-autorepere-scr__stock li { display: flex; align-items: center; gap: .6em; padding: .72em .7em; border-radius: .8em; background: #fff; border: 1px solid rgba(14, 16, 40, .07); }
.pg-autorepere-scr__box { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: .6em; background: var(--brand-50); color: var(--brand-600); flex-shrink: 0; }
.pg-autorepere-scr__name { flex: 1; min-width: 0; font-size: .78em; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-autorepere-scr__name small { display: block; margin-top: .15em; font-size: .82em; font-weight: 500; color: var(--ink-400); font-variant-numeric: tabular-nums; }
.pg-autorepere-scr__stock b { font-size: .9em; font-variant-numeric: tabular-nums; }
.pg-autorepere-scr__add, .pg-autorepere-scr__cta { display: flex; align-items: center; justify-content: center; gap: .4em; padding: .7em; border-radius: .8em; font-size: .74em; font-weight: 600; }
.pg-autorepere-scr__add { border: 1.5px dashed rgba(86, 65, 232, .35); color: var(--brand-600); }
.pg-autorepere-scr__cta { background: var(--ink-900); color: #fff; }
.pg-autorepere-scr__note { display: flex; align-items: center; gap: .45em; padding: .7em .8em; border-radius: .85em; background: #fff; border: 1px solid rgba(14, 16, 40, .07); font-size: .7em; line-height: 1.35; color: var(--ink-600); }
.pg-autorepere-scr__note .ws-i { color: var(--brand-600); }

.pg-autorepere-scr__garage { align-items: flex-start; padding-block: .8em; }
.pg-autorepere-star path, .pg-autorepere-star polygon { fill: currentColor; stroke: none; }
/* Écran 1 : bouton carte · Écran 2 : carte du dépanneur + arrivée estimée */
.pg-autorepere-scr__cta--soft { background: #fff; color: var(--ink-900); border: 1px solid rgba(14, 16, 40, .1); }
.pg-autorepere-scr__cta--soft .ws-i { color: var(--sun-700); }
.pg-autorepere-scr__towcard { display: grid; border-radius: .9em; background: #fff; border: 1px solid rgba(14, 16, 40, .07); box-shadow: 0 .5em 1.2em -.6em rgba(14, 16, 40, .3); overflow: hidden; }
.pg-autorepere-scr__towcard .pg-autorepere-scr__tow { border: 0; box-shadow: none; border-radius: 0; }
.pg-autorepere-scr__towmap { border-top: 1px solid rgba(14, 16, 40, .06); }
.pg-autorepere-scr__towmap svg { display: block; width: 100%; height: 4.4em; }
.pg-autorepere-scr__eta { display: grid; gap: .45em; padding: .55em .75em .7em; border-top: 1px solid rgba(14, 16, 40, .06); background: #fafbfe; }
.pg-autorepere-scr__track { position: relative; display: block; height: .32em; border-radius: 99px; background: #eef0f7; }
.pg-autorepere-scr__track i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--coral-400), var(--sun-400)); transform-origin: 0 50%; transform: scaleX(.62); }
.pg-autorepere-scr__track b { position: absolute; top: 50%; left: 62%; width: .8em; height: .8em; border-radius: 50%; background: #fff; border: .18em solid var(--coral-500); transform: translate(-50%, -50%); }
.pg-autorepere-scr__eta-txt { display: flex; justify-content: space-between; align-items: baseline; font-size: .68em; color: var(--ink-500); }
.pg-autorepere-scr__eta-txt strong { font-size: 1.25em; font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
/* Écran 4 : vente hors ligne (−1) */
.pg-autorepere-scr__stock li { position: relative; }
.pg-autorepere-scr__stock .is-sold { border-color: rgba(245, 158, 11, .4); box-shadow: 0 0 0 .2em rgba(251, 191, 36, .12); }
.pg-autorepere-scr__minus { position: absolute; top: -.55em; right: .6em; padding: .15em .5em; border-radius: 99px; font-style: normal; font-size: .6em; font-weight: 700; color: #92400e; background: #fff3d1; border: 1px solid rgba(245, 158, 11, .35); }
/* Écran 5 : mini-carte + note */
.pg-autorepere-scr__map--garages svg { height: auto; }
.pg-autorepere-scr__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35em .5em; }
.pg-autorepere-rate { display: inline-flex; align-items: center; gap: .25em; font-size: .68em; color: var(--ink-700); }
.pg-autorepere-rate b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pg-autorepere-rate .pg-autorepere-star { width: 1.05em; height: 1.05em; color: var(--sun-500); }
.pg-autorepere-scr__open { font-style: normal; font-size: .6em; font-weight: 600; padding: .2em .55em; border-radius: 99px; background: #e7faf2; color: var(--mint-700); white-space: nowrap; }
.pg-autorepere-scr__verified { display: inline-flex; align-items: center; gap: .25em; margin-left: auto; padding: .28em .55em; border-radius: 99px; font-style: normal; font-size: .6em; font-weight: 600; white-space: nowrap; color: var(--brand-700); background: var(--brand-50); }

/* Barre d'onglets de l'app */
.pg-autorepere-scr__nav { display: flex; justify-content: space-around; align-items: center; margin: auto -1.05em 0; padding: .75em 1em 1.25em; background: rgba(255, 255, 255, .94); border-top: 1px solid rgba(14, 16, 40, .07); }
.pg-autorepere-scr__nav i { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: .8em; color: var(--ink-400); }
.pg-autorepere-scr__nav i.is-on { color: var(--ink-900); background: #fff3d1; }
.pg-autorepere-scr--2 .pg-autorepere-scr__nav i.is-on { background: #ffe4e8; color: var(--coral-700); }

/* —— Mode épinglé (ws-gsap.js à ≥ 960 px : .is-pinned, --p, data-step) —— */
.pg-autorepere-story-sec:has(.pg-autorepere-story.is-pinned) { padding-block: 0; }
.pg-autorepere-story.is-pinned { height: 100vh; height: 100svh; background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%); }
.pg-autorepere-story.is-pinned .pg-autorepere-story__inner {
  --pw: min(300px, calc((100svh - var(--hdr-space) - 64px) / 2.12), 23vw);
  /* colonne gauche centrée verticalement face au téléphone : plus de grand vide entre l'intro et l'étape */
  height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); grid-template-rows: minmax(0, 1fr) auto auto auto auto minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 112px); padding-top: calc(var(--hdr-space) + 4px); padding-bottom: 20px;
}
.pg-autorepere-story.is-pinned .pg-autorepere-story__head { grid-area: 2 / 1; margin-bottom: 0; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__head .ws-h2 { font-size: clamp(2rem, 1.1rem + 1.7vw, 3rem); }
.pg-autorepere-story.is-pinned :is(.pg-autorepere-story__list, .pg-autorepere-story__item) { display: contents; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__text {
  grid-area: 3 / 1; align-self: start; margin-top: clamp(28px, 5vh, 56px); opacity: var(--on, 0); transform: translate3d(0, calc((1 - var(--on, 0)) * 22px), 0);
  transition: opacity .45s var(--ease-out), transform .7s var(--ease-out); pointer-events: none;
}
.pg-autorepere-story.is-pinned .pg-autorepere-story__text .ws-h3 { font-size: clamp(1.7rem, 1rem + 1.5vw, 2.5rem); }
.pg-autorepere-story.is-pinned .pg-autorepere-story__device {
  grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; position: relative; z-index: 2;
  opacity: var(--on, 0); transform: translate3d(0, calc((1 - var(--on, 0)) * 28px), 0) scale(calc(.97 + var(--on, 0) * .03));
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.pg-autorepere-story.is-pinned .pg-autorepere-story__device .pg-autorepere-phone { --pw: inherit; background: transparent; box-shadow: none; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__chip { right: var(--ar-edge); max-width: 176px; transform: translate3d(calc((1 - var(--on, 0)) * -18px), 0, 0); transition: transform .8s var(--ease-out) .12s; }
/* scène : panneau teinté derrière le téléphone (profondeur, plus de téléphone blanc sur fond blanc), léger parallaxe scrubbé */
.pg-autorepere-story.is-pinned .pg-autorepere-story__stage {
  display: block; grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; position: relative;
  width: min(calc(var(--pw) * 1.7), 100%); height: min(calc(var(--pw) * 2.4), calc(100% - 8px)); border-radius: clamp(28px, 3vw, 40px);
  background: radial-gradient(70% 55% at 50% 40%, rgba(251, 191, 36, .2), transparent 70%), radial-gradient(60% 50% at 80% 100%, rgba(107, 87, 250, .14), transparent 70%), linear-gradient(180deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--c-line);
  transform: translate3d(0, calc((var(--p, 0) - .5) * -36px), 0);
}
.pg-autorepere-story__stage span { position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(14, 16, 40, .12) 1px, transparent 1.2px); background-size: 18px 18px; -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%); mask: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%); }
.pg-autorepere-story.is-pinned .pg-autorepere-story__device .pg-autorepere-phone__island { display: none; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__frame { display: block; grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; position: relative; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__frame .pg-autorepere-phone { --pw: inherit; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__frame .pg-autorepere-phone__island { z-index: 3; }
.pg-autorepere-story.is-pinned .pg-autorepere-story__frame::before { content: ""; position: absolute; inset: 10% -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 191, 36, .2), transparent); }
.pg-autorepere-story.is-pinned .pg-autorepere-story__index { display: grid; gap: 14px; grid-area: 4 / 1; margin-top: clamp(28px, 5vh, 52px); }
.pg-autorepere-story.is-pinned .pg-autorepere-story__note { grid-area: 5 / 1; margin-top: 14px; }
.pg-autorepere-story__bar { position: relative; display: block; height: 2px; border-radius: 2px; background: var(--c-line-2); overflow: hidden; }
.pg-autorepere-story__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sun-400), var(--coral-400)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.pg-autorepere-story__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pg-autorepere-story__tabs > span { display: grid; gap: 2px; font-size: var(--fs-xs); font-weight: 500; color: var(--c-fg-3); opacity: calc(.6 + var(--on, 0) * .4); transition: opacity .4s, color .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-autorepere-story__tabs > span b { font: 400 italic 1.15rem/1 var(--font-serif); color: inherit; }
/* Étape active (data-step posé par le moteur ; étape 0 par défaut) */
.pg-autorepere-story.is-pinned:not([data-step]) .pg-autorepere-story__item:nth-child(1),
.pg-autorepere-story[data-step="0"] .pg-autorepere-story__item:nth-child(1),
.pg-autorepere-story[data-step="1"] .pg-autorepere-story__item:nth-child(2),
.pg-autorepere-story[data-step="2"] .pg-autorepere-story__item:nth-child(3),
.pg-autorepere-story[data-step="3"] .pg-autorepere-story__item:nth-child(4),
.pg-autorepere-story[data-step="4"] .pg-autorepere-story__item:nth-child(5) { --on: 1; }
.pg-autorepere-story.is-pinned:not([data-step]) .pg-autorepere-story__tabs > span:nth-child(1),
.pg-autorepere-story[data-step="0"] .pg-autorepere-story__tabs > span:nth-child(1),
.pg-autorepere-story[data-step="1"] .pg-autorepere-story__tabs > span:nth-child(2),
.pg-autorepere-story[data-step="2"] .pg-autorepere-story__tabs > span:nth-child(3),
.pg-autorepere-story[data-step="3"] .pg-autorepere-story__tabs > span:nth-child(4),
.pg-autorepere-story[data-step="4"] .pg-autorepere-story__tabs > span:nth-child(5) { --on: 1; color: var(--c-fg); }
/* Seul l'écran de l'étape active anime ses boucles (ondes SOS, curseur, point « live ») */
.pg-autorepere-story.is-pinned .pg-autorepere-story__item *, .pg-autorepere-story.is-pinned .pg-autorepere-story__item *::after { animation-play-state: paused; }
.pg-autorepere-story.is-pinned:not([data-step]) .pg-autorepere-story__item:nth-child(1) *, .pg-autorepere-story.is-pinned:not([data-step]) .pg-autorepere-story__item:nth-child(1) *::after,
.pg-autorepere-story[data-step="0"] .pg-autorepere-story__item:nth-child(1) *, .pg-autorepere-story[data-step="0"] .pg-autorepere-story__item:nth-child(1) *::after,
.pg-autorepere-story[data-step="1"] .pg-autorepere-story__item:nth-child(2) *, .pg-autorepere-story[data-step="1"] .pg-autorepere-story__item:nth-child(2) *::after,
.pg-autorepere-story[data-step="2"] .pg-autorepere-story__item:nth-child(3) *, .pg-autorepere-story[data-step="2"] .pg-autorepere-story__item:nth-child(3) *::after,
.pg-autorepere-story[data-step="3"] .pg-autorepere-story__item:nth-child(4) *, .pg-autorepere-story[data-step="3"] .pg-autorepere-story__item:nth-child(4) *::after,
.pg-autorepere-story[data-step="4"] .pg-autorepere-story__item:nth-child(5) *, .pg-autorepere-story[data-step="4"] .pg-autorepere-story__item:nth-child(5) *::after { animation-play-state: running; }

/* ==========================================================================
   POUR QUI — bento de mini-interfaces (une surface neutre, une cellule sombre)
   ========================================================================== */
.pg-autorepere-aud.ws-section { padding-top: clamp(48px, 6vw, 96px); }
.pg-autorepere-story-sec:has(.is-pinned) + .pg-autorepere-aud.ws-section { padding-top: clamp(32px, 4vw, 64px); }
.pg-autorepere-aud__grid { list-style: none; margin: 0; padding: 0; --bento-row: 250px; }
.pg-autorepere-aud__cell {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-xl);
  background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-1);
}
.pg-autorepere-aud__body { position: relative; z-index: 1; }
.pg-autorepere-aud__tag { margin-bottom: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-fg-3); }
.pg-autorepere-aud__title { margin: 0; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.18; color: var(--c-fg); max-width: 22ch; text-wrap: balance; }
.pg-autorepere-aud__stage {
  position: relative; flex: 1; display: grid; place-items: center; min-height: 168px; padding: 22px 18px; border-radius: var(--r-lg);
  background: radial-gradient(circle at 1px 1px, var(--c-line-2) 1px, transparent 1.5px) 0 0 / 16px 16px, var(--c-bg-2);
  border: 1px solid var(--c-line);
}
.pg-autorepere-aud__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--fs-xs); color: var(--c-fg-3); }
/* Cellule sombre (automobilistes) : texte et interface côte à côte, sans vide en haut */
.pg-autorepere-aud__cell--drivers { background: radial-gradient(90% 120% at 100% 0%, rgba(251, 191, 36, .14), transparent 55%), var(--night-2); border-color: rgba(255, 255, 255, .08); }
.pg-autorepere-aud__cell--drivers .pg-autorepere-aud__tag { color: var(--sun-300); }
.pg-autorepere-aud__cell--drivers .pg-autorepere-aud__title { color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); }
.pg-autorepere-aud__cell--drivers .pg-autorepere-aud__stage { background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 1.5px) 0 0 / 16px 16px, rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
@media (min-width: 720px) {
  .pg-autorepere-aud__cell--drivers { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 3vw, 40px); }
  .pg-autorepere-aud__cell--drivers .pg-autorepere-aud__stage { height: 100%; }
}
@media (min-width: 720px) and (max-width: 1079px) { .pg-autorepere-aud__cell--tow { grid-column: 1 / -1; } }

/* Mini-interfaces */
.pg-autorepere-ui { position: relative; width: 100%; max-width: 340px; font-size: .9rem; color: var(--ink-900); }
.pg-autorepere-ui strong { display: block; font-weight: 600; letter-spacing: -.01em; }
.pg-autorepere-ui small { display: flex; align-items: center; gap: 5px; color: var(--ink-500); font-size: .8rem; }
.pg-autorepere-ui__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.pg-autorepere-ui__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; font-size: .8rem; font-weight: 600; background: #eef0f7; color: var(--ink-700); }
.pg-autorepere-ui__btn--sun { background: var(--sun-400); color: var(--ink-900); }
.pg-autorepere-ui__btn--go { background: var(--mint-600); color: #fff; }
/* — trouver une pièce (cellule sombre) — */
.pg-autorepere-ui--find { display: grid; grid-template-columns: 112px minmax(0, 1fr); max-width: 420px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
.pg-autorepere-ui__map { position: relative; min-height: 120px; background: #151a36; }
.pg-autorepere-ui__map svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pg-autorepere-ui__card { display: grid; gap: 4px; justify-items: start; padding: 16px; }
.pg-autorepere-ui__card strong { font-size: 1.05rem; }
.pg-autorepere-ui__card .pg-autorepere-ui__btn { margin-top: 8px; }
/* — pièce consultée (magasins) — */
.pg-autorepere-ui--metric { display: grid; gap: 4px; padding: 16px 16px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(14, 16, 40, .08); box-shadow: 0 20px 40px -26px rgba(14, 16, 40, .35); }
.pg-autorepere-ui--metric strong { margin-top: 4px; font-size: 1.1rem; }
.pg-autorepere-ui__bars { display: flex; align-items: flex-end; gap: 6px; height: 58px; margin-top: 10px; }
.pg-autorepere-ui__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--mint-400), var(--mint-600)); opacity: .35; transform-origin: 50% 100%; }
.pg-autorepere-ui__bars i:last-child { opacity: 1; }
/* — profil de garage — */
.pg-autorepere-ui--profile { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(14, 16, 40, .08); box-shadow: 0 20px 40px -26px rgba(14, 16, 40, .35); }
.pg-autorepere-ui__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; background: var(--brand-50); color: var(--brand-600); }
.pg-autorepere-ui__who { display: grid; gap: 3px; min-width: 0; }
.pg-autorepere-ui__who { flex: 1; }
.pg-autorepere-ui__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; }
.pg-autorepere-ui__row .pg-autorepere-rate { font-size: .8rem; }
.pg-autorepere-ui__verified { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 99px; font-style: normal; font-size: .72rem; font-weight: 600; white-space: nowrap; color: var(--brand-700); background: var(--brand-50); }
/* — demande SOS entrante (dépanneurs) — */
.pg-autorepere-ui--sos { overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid rgba(14, 16, 40, .08); box-shadow: 0 20px 40px -26px rgba(14, 16, 40, .35); }
.pg-autorepere-ui__sos-head { display: flex; align-items: center; gap: 12px; padding: 14px; background: linear-gradient(180deg, #fff1f3, #fff); }
.pg-autorepere-ui__siren { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--coral-400), var(--coral-700)); }
.pg-autorepere-ui__sos-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }

/* ==========================================================================
   PARTENAIRES — l'engagement (0 FCFA) et l'embarquement
   ========================================================================== */
.pg-autorepere-partner { overflow: hidden; overflow: clip; isolation: isolate; background: var(--night-1); } /* clip : n'empêche pas position:sticky */
.pg-autorepere-partner__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pg-autorepere-partner__orb { position: absolute; top: -30%; left: -10%; width: min(820px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, .16), transparent 64%); animation: ws-drift 24s var(--ease-io) infinite alternate; will-change: transform; }
.pg-autorepere-partner__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse 60% 70% at 85% 40%, #000, transparent 70%); mask: radial-gradient(ellipse 60% 70% at 85% 40%, #000, transparent 70%); }
.pg-autorepere-partner__layout { display: grid; gap: clamp(48px, 6vw, 80px); }
@media (min-width: 1024px) {
  .pg-autorepere-partner__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  /* le haut de la fenêtre s'aligne sur le H2 (sous le sur-titre) */
  .pg-autorepere-partner__visual { margin-top: 52px; }
}
.pg-autorepere-partner__copy .ws-h2 { color: #fff; }
.pg-autorepere-partner__copy .ws-lead { margin-top: 20px; }
.pg-autorepere-free { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 22px; margin: clamp(40px, 5vw, 64px) 0 0; padding: clamp(22px, 2.6vw, 30px) 0 0 4px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pg-autorepere-free__num {
  display: inline-block; padding-right: .08em; font: 400 italic clamp(3.4rem, 2.2rem + 4.4vw, 6rem)/.9 var(--font-serif); letter-spacing: -.02em; color: var(--sun-300);
}
.pg-autorepere-free__unit {
  display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: var(--r-full); border: 1px solid rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .08);
  font: 600 .74rem/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--sun-200);
}
.pg-autorepere-free__label .pg-autorepere-free__unit { display: table; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pg-autorepere-free__num { color: transparent; background: var(--ar-grad); -webkit-background-clip: text; background-clip: text; }
}
.pg-autorepere-free__label { flex: 1 1 220px; max-width: 34ch; padding-bottom: .3em; font-size: var(--fs-body); line-height: 1.5; color: #d3d6e8; }
@media (max-width: 639px) {
  .pg-autorepere-free { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 56px; }
  .pg-autorepere-free__label { flex: none; padding-bottom: 0; }
}
.pg-autorepere-how { margin-top: clamp(24px, 3vw, 32px); }
.pg-autorepere-how__label { margin-bottom: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-fg-3); }
.pg-autorepere-how__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ar-how; }
.pg-autorepere-how__list li { counter-increment: ar-how; display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: #d3d6e8; }
.pg-autorepere-how__list li::before { content: counter(ar-how); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; font: 400 italic 1rem/1 var(--font-serif); color: var(--sun-300); border: 1px solid rgba(251, 191, 36, .4); }
.pg-autorepere-partner__actions { margin-top: clamp(28px, 3vw, 36px); }

.pg-autorepere-partner__visual { position: relative; }
.pg-autorepere-win {
  position: relative; overflow: hidden; border-radius: clamp(16px, 1.6vw, 22px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .11);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 60px 120px -50px rgba(0, 0, 0, .9);
}
.pg-autorepere-win__bar { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pg-autorepere-win__dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.pg-autorepere-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pg-autorepere-win__dots i:first-child { background: #ff5f57; } .pg-autorepere-win__dots i:nth-child(2) { background: #febc2e; } .pg-autorepere-win__dots i:nth-child(3) { background: #28c840; }
.pg-autorepere-win__title { display: grid; line-height: 1.2; min-width: 0; }
.pg-autorepere-win__title b { font-size: .92rem; font-weight: 600; color: #fff; }
.pg-autorepere-win__title small { font-size: .74rem; color: var(--c-fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-autorepere-win__status { display: grid; margin-left: auto; flex-shrink: 0; }
.pg-autorepere-win__status > span { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: .74rem; font-weight: 600; white-space: nowrap; transition: opacity .45s var(--ease-out), transform .6s var(--ease-spring); }
.pg-autorepere-win__off { color: var(--sun-300); background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .3); }
.pg-autorepere-win__on { color: var(--mint-300); background: rgba(16, 185, 129, .12); border: 1px solid rgba(52, 211, 153, .3); opacity: 0; transform: scale(.8); }
.pg-autorepere-win.is-synced .pg-autorepere-win__off { opacity: 0; transform: scale(.8); }
.pg-autorepere-win.is-synced .pg-autorepere-win__on { opacity: 1; transform: none; }
.pg-autorepere-win__table { padding: 8px 10px; }
.pg-autorepere-win__th, .pg-autorepere-win__tr { display: grid; grid-template-columns: minmax(0, 1fr) 84px 48px; gap: 12px; align-items: center; padding: 0 12px; }
.pg-autorepere-win__th { height: 38px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-fg-3); }
.pg-autorepere-win__tr { height: 48px; }
.pg-autorepere-win__th span:last-child, .pg-autorepere-win__tr span:last-child { text-align: right; }
.pg-autorepere-win__tr { position: relative; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .92rem; color: #e7e8f3; border-radius: 10px; }
.pg-autorepere-win__tr > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-autorepere-win__tr > span:nth-child(2) { font: 500 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--c-fg-3); }
.pg-autorepere-win__tr b { font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.pg-autorepere-win__sq { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; background: rgba(255, 255, 255, .22); }
.pg-autorepere-win__tr.is-new { background: rgba(251, 191, 36, .1); border-top-color: transparent; box-shadow: inset 2px 0 0 var(--sun-400); }
.pg-autorepere-win__tr.is-new .pg-autorepere-win__sq { background: var(--sun-400); box-shadow: 0 0 0 3px rgba(251, 191, 36, .2); }
.pg-autorepere-win__note { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: var(--c-fg-3); }
.pg-autorepere-win__note .ws-i { color: var(--mint-400); flex-shrink: 0; }
@media (max-width: 479px) {
  .pg-autorepere-win__th, .pg-autorepere-win__tr { grid-template-columns: minmax(0, 1fr) 40px; }
  .pg-autorepere-win__th span:nth-child(2), .pg-autorepere-win__tr span:nth-child(2) { display: none; }
  .pg-autorepere-win__bar { gap: 10px; padding: 0 14px; }
  .pg-autorepere-win__dots { display: none; }
}
/* Pastille à cheval sur le bord bas de la fenêtre : elle ne masque aucune donnée du tableau
   (la note réserve la place en bas à droite). */
.pg-autorepere-partner__winwrap { position: relative; }
.pg-autorepere-partner__chip { position: absolute; z-index: 2; right: clamp(12px, 2vw, 24px); bottom: 0; transform: translateY(50%); display: flex; }
.pg-autorepere-win__note { padding-bottom: 44px; }
@media (max-width: 479px) {
  .pg-autorepere-partner__chip { right: 10px; left: 10px; justify-content: flex-end; }
  .pg-autorepere-partner__chip .pg-autorepere-chip { max-width: 100%; }
  .pg-autorepere-partner__chip .pg-autorepere-chip__txt { min-width: 0; }
  .pg-autorepere-partner__chip .pg-autorepere-chip__txt :is(strong, small) { white-space: normal; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.pg-autorepere-faq__grid { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .pg-autorepere-faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .pg-autorepere-faq__head { position: sticky; top: calc(var(--hdr-space) + 32px); }
}
.pg-autorepere-faq .ws-faq__item[open] .ws-faq__icon { background: var(--ink-900); }

/* ==========================================================================
   APPEL FINAL
   ========================================================================== */
.pg-autorepere-cta-sec { padding-bottom: clamp(56px, 7vw, 112px); }
.pg-autorepere-cta {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(64px, 9vw, 136px) clamp(20px, 6vw, 88px); border-radius: clamp(24px, 3vw, 40px);
  background: radial-gradient(70% 90% at 50% 115%, rgba(251, 191, 36, .2), transparent 60%), var(--night-1);
  box-shadow: 0 60px 120px -60px rgba(10, 12, 30, .6);
}
.pg-autorepere-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .12; mix-blend-mode: overlay; pointer-events: none; }
.pg-autorepere-cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: grid; place-items: center; }
.pg-autorepere-cta__radar { position: relative; flex-shrink: 0; width: min(980px, 150%); aspect-ratio: 1; opacity: .55; }
.pg-autorepere-cta__radar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Balayage : halo doux (conic aux deux bords fondus + masque radial qui efface la pointe et le bord + flou),
   en rotation lente (transform composité) ; r = 250/600 */
.pg-autorepere-cta__sweep {
  position: absolute; inset: 8.333%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(251, 191, 36, 0) 0deg, rgba(251, 191, 36, 0) 290deg, rgba(251, 191, 36, .1) 325deg, rgba(251, 191, 36, .2) 345deg, rgba(251, 191, 36, .06) 356deg, rgba(251, 191, 36, 0) 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 18%, #000 42%, #000 72%, transparent 100%); mask: radial-gradient(closest-side, transparent 18%, #000 42%, #000 72%, transparent 100%);
  filter: blur(10px);
  animation: ws-spin 18s linear infinite; will-change: transform;
}
.pg-autorepere-cta__orb { position: absolute; top: -40%; left: 50%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(107, 87, 250, .25), transparent 65%); }
.pg-autorepere-cta__inner { position: relative; max-width: 780px; margin-inline: auto; display: grid; justify-items: center; }
.pg-autorepere-cta h2 { color: #fff; }
.pg-autorepere-cta .ws-lead { margin-top: 20px; }
.pg-autorepere-cta .ws-actions { margin-top: 36px; }
@media (max-width: 399px) {
  .pg-autorepere-cta { padding-inline: 16px; }
  .pg-autorepere main .ws-actions > .ws-btn { white-space: normal; max-width: 100%; min-width: 0; padding-inline: 18px; text-align: center; line-height: 1.25; }
}

/* ==========================================================================
   Mouvement
   ========================================================================== */
/* Intro du hero : masquée seulement si le moteur est prêt ET au plus 1,1 s (filet CSS pur, sans attendre GSAP).
   Le JS ajoute .is-intro dès qu'il prend la main (avant le premier rendu des états de départ). */
html.ws-motion-ready .pg-autorepere-hero:not(.is-intro) :is([data-ar-intro], [data-ar-chip], [data-ar-h1]) { opacity: 0; animation: pg-ar-failsafe .45s var(--ease-out) 1.1s forwards; }
@keyframes pg-ar-failsafe { to { opacity: 1; } }

/* Pause des boucles hors écran (sections observées par le JS, comme les marquees de ws-gsap.js) */
.pg-autorepere-off *, .pg-autorepere-off *::before, .pg-autorepere-off *::after { animation-play-state: paused !important; }

/* Chrome partagé, ajustements limités à cette page (à reporter dans les fichiers Fondations) */
.pg-autorepere .ws-hdr.is-hidden .ws-hdr__bar { box-shadow: none; }
.pg-autorepere .ws-menu .ws-art *, .pg-autorepere .ws-menu .ws-art *::before, .pg-autorepere .ws-menu .ws-art *::after { animation-play-state: paused; }
.pg-autorepere .is-open > .ws-menu .ws-art *, .pg-autorepere .is-open > .ws-menu .ws-art *::before, .pg-autorepere .is-open > .ws-menu .ws-art *::after { animation-play-state: running; }
html:has(body.pg-autorepere.has-cookie) { scroll-padding-bottom: 180px; }
/* Petits écrans : un seul bouton flottant (WhatsApp), pour ne pas couvrir les « + » de la FAQ et les CTA */
@media (max-width: 479px) { .pg-autorepere #back-to-top-fab { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html .pg-autorepere-hero :is([data-ar-intro], [data-ar-chip], [data-ar-h1]) { opacity: 1 !important; animation: none !important; }
  .pg-autorepere :is(.pg-autorepere-map__pulse i, .pg-autorepere-scr__sos-r, .pg-autorepere-scr__caret, .pg-autorepere-cta__sweep, .pg-autorepere-hero__orb, .pg-autorepere-partner__orb, .pg-autorepere-dot--live),
  .pg-autorepere .pg-autorepere-dot--live::after { animation: none !important; }
  .pg-autorepere-map__pulse i:first-child { opacity: .5; transform: scale(.8); }
  .pg-autorepere-scr__sos-r:first-child { opacity: .6; transform: scale(1.1); }
}
html.ws-reduced .pg-autorepere :is(.pg-autorepere-map__pulse i, .pg-autorepere-scr__sos-r, .pg-autorepere-scr__caret, .pg-autorepere-cta__sweep, .pg-autorepere-hero__orb, .pg-autorepere-partner__orb) { animation: none; }

/* Sans JavaScript, la barre « overlay » ne reçoit jamais son état défilé : fond sombre translucide pour rester lisible
   sur les sections claires (à reporter dans ws-site.css pour tout le site) */
html:not(.ws-js) .pg-autorepere .ws-hdr .ws-hdr__bar { --hc-bg: rgba(12, 14, 30, .86); --hc-line: rgba(255, 255, 255, .1); --hc-fg: #fff; --hc-fg-2: #c4c8df; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); }

/* Polices de repli calées sur Geist / Instrument Serif : la découpe du titre ne « saute » pas au chargement des webfonts */
@font-face { font-family: 'pg-ar-geist-fb'; font-weight: 100 549; src: local('Arial'), local('ArialMT'), local('Helvetica'); size-adjust: 99.4%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'pg-ar-geist-fb'; font-weight: 550 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'); size-adjust: 100.3%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'pg-ar-serif-fb'; font-style: italic; src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT'), local('Times-Italic'); size-adjust: 86.8%; ascent-override: 98%; descent-override: 28%; line-gap-override: 0%; }
.pg-autorepere-hero__title { font-family: 'Geist', 'pg-ar-geist-fb', var(--font); }
.pg-autorepere-hero__title .ws-em { font-family: 'Instrument Serif', 'pg-ar-serif-fb', var(--font-serif); }
