/* ═══════════════════════════════════════════════════════
   YGREK — couche « motion » v3 (maquette)
   Par-dessus main.css. Tokens de la charte « Le trait bleu ».
   v3 : le spectacle est au SCROLL (assemblage du site fictif,
   balayage de refonte, chapitre IA) + explorateur métiers.
   Gadgets souris de la v2 (halo, magnétisme, tilt) : retirés.
   ═══════════════════════════════════════════════════════ */

:root {
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --c-light: color-mix(in srgb, var(--c), #fff 55%);
  --aurora-a: rgba(143,166,255,.55);
  --aurora-b: rgba(76,110,245,.45);
  --aurora-c: rgba(190,205,255,.35);
  --mock-bg: #0b1120;
  --mock-line: rgba(255,255,255,.14);
}
[data-theme="light"] {
  --aurora-a: rgba(43,75,215,.22);
  --aurora-b: rgba(99,131,255,.20);
  --aurora-c: rgba(160,180,255,.28);
  --mock-bg: #ffffff;
  --mock-line: rgba(16,21,43,.14);
}

/* ─── 1. AURORE + GRILLE CORDEAU + FAISCEAUX (hero) ─── */
.hero-aurora {
  position: absolute; inset: -20% -10%;
  pointer-events: none; z-index: 0;
  filter: blur(70px) saturate(1.2); opacity: .9;
}
.hero-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
[data-theme="light"] .hero-aurora span { mix-blend-mode: multiply; }
.hero-aurora span:nth-child(1) { width: 55vw; height: 55vw; left: -10%; top: -10%; background: var(--aurora-a); animation: aur-1 18s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(2) { width: 45vw; height: 45vw; right: -5%;  top: 10%;  background: var(--aurora-b); animation: aur-2 22s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(3) { width: 35vw; height: 35vw; left: 30%;  bottom: -20%; background: var(--aurora-c); animation: aur-3 16s ease-in-out infinite alternate; }
@keyframes aur-1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes aur-2 { to { transform: translate(-16vw, 18vh) scale(.9); } }
@keyframes aur-3 { to { transform: translate(-12vw, -22vh) scale(1.25); } }

.hero-trace {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  --cell: 56px;
  background-image:
    linear-gradient(to right, var(--v-15) 1px, transparent 1px),
    linear-gradient(to bottom, var(--v-15) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 40%, #000 25%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 40%, #000 25%, transparent 100%);
}
.hero-trace .beam {
  position: absolute; top: 0; width: 2px; height: 28%;
  background: linear-gradient(to bottom, transparent, var(--c-light) 50%, transparent);
  box-shadow: 0 0 12px var(--v-40);
  animation: beam-fall var(--d, 7s) linear var(--delay, 0s) infinite;
  will-change: transform;
}
.hero-trace .beam--h {
  top: auto; left: 0; width: 22%; height: 2px;
  background: linear-gradient(to right, transparent, var(--c-light) 50%, transparent);
  animation-name: beam-run;
}
@keyframes beam-fall { from { transform: translateY(-110%); } to { transform: translateY(380%); } }
@keyframes beam-run  { from { transform: translateX(-110%); } to { transform: translateX(480%); } }
.hero-trace .beam:nth-child(1) { left: calc(50% - 7 * var(--cell)); --d: 6.5s; --delay: 0s; }
.hero-trace .beam:nth-child(2) { left: calc(50% - 2 * var(--cell)); --d: 9s;   --delay: 1.8s; }
.hero-trace .beam:nth-child(3) { left: calc(50% + 3 * var(--cell)); --d: 7.5s; --delay: 3.6s; }
.hero-trace .beam:nth-child(4) { left: calc(50% + 9 * var(--cell)); --d: 10s;  --delay: 5s; }
.hero-trace .beam:nth-child(5) { top: calc(3 * var(--cell)); --d: 11s; --delay: 1s; }
.hero-trace .beam:nth-child(6) { top: calc(9 * var(--cell)); --d: 13s; --delay: 6s; }

/* ─── 2. TITRE — révélation mot à mot + mots qui basculent ─── */
.hero--motion h1 .w {
  display: inline-block;
  animation: word-in .9s var(--ease-out) both;
  animation-delay: calc(.15s + var(--i) * .11s);
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(.35em) rotate(2deg); filter: blur(14px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.flip, .hero--motion h1 .flip.w { display: inline-grid; vertical-align: bottom; text-align: left; }
/* Le hero tient dans l'écran : contenu compacté, centré verticalement */
.hero--motion { display: flex; align-items: center; min-height: calc(100dvh - 4.7rem); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero--motion .hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.75fr); }
@media (max-width: 900px) { .hero--motion .hero-grid { grid-template-columns: minmax(0,1fr); } }
.hero--motion .hero-copy { position: relative; z-index: 1; }
.hero--motion h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero--motion .hero-copy > p { margin-bottom: 1.1rem !important; line-height: 1.7 !important; }
.hero--motion .y-mark { -webkit-text-stroke-width: 2.5px; }

/* Champ de puces-preuves : verre flotté autour du Y */
.hero-chips { position: relative; z-index: 1; height: 24rem; }
.hero-chips .chip {
  position: absolute; left: var(--cx); top: var(--cy);
  display: inline-flex; align-items: baseline; gap: .4rem;
  font-size: .78rem; color: var(--muted); white-space: nowrap;
  background: var(--surface); border: 1px solid var(--v-25);
  border-radius: 999px; padding: .55rem 1.05rem;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  animation: chip-in .9s var(--ease-out) both, chip-float 7s ease-in-out calc(var(--cd) - 4s) infinite alternate;
  animation-delay: calc(.9s + var(--cd)), calc(var(--cd) - 4s);
}
.hero-chips .chip b { color: var(--text); font-weight: 700; font-family: var(--fd); letter-spacing: -.01em; }
.hero-chips .chip .stars { color: var(--star); letter-spacing: .12em; font-size: .7rem; }
@keyframes chip-in { from { opacity: 0; transform: translateY(26px) scale(.9); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes chip-float { from { translate: 0 -7px; } to { translate: 0 7px; } }
@media (max-width: 900px) {
  .hero-chips { height: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
  .hero-chips .chip { position: static; }
}
.flip > span {
  grid-area: 1 / 1; white-space: nowrap;
  transition: opacity .5s ease, transform .55s var(--ease-out), filter .5s ease;
}
.flip > span:not(.is-active) { opacity: 0; transform: translateY(.5em) scale(.94); filter: blur(10px); pointer-events: none; }
.flip > span.is-leaving { transform: translateY(-.5em) scale(1.04); }
.flip > span.grad-text { -webkit-text-fill-color: transparent; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero--motion .hero-copy > *:not(h1) { animation: rise .8s var(--ease-out) both; }
.hero--motion .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero--motion .hero-copy > *:nth-child(3) { animation-delay: .75s; }
.hero--motion .hero-copy > *:nth-child(4) { animation-delay: .85s; }
.hero--motion .hero-copy > *:nth-child(5) { animation-delay: .95s; }
.hero--motion .hero-copy > *:nth-child(6) { animation-delay: 1.05s; }
.hero--motion .hero-copy > *:nth-child(7) { animation-delay: 1.15s; }

/* ─── 3. TEXTE DÉGRADÉ — reflet balayé ─── */
.grad-text {
  background: linear-gradient(100deg, var(--c) 0%, var(--c) 35%, var(--c-light) 50%, var(--c) 65%, var(--c) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

/* ─── 4. FAISCEAU TOURNANT (utilisé par le CTA final) ─── */
@property --beam-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes beam-spin { to { --beam-angle: 360deg; } }

/* ─── 5. BOUTONS — éclat périodique ─── */
.btn-primary, .btn-white { position: relative; overflow: hidden; }
.btn-primary::after, .btn-white::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 80%, 100% { left: 140%; } }

/* ─── 6. RÉVÉLATION AU SCROLL ─── */
[data-reveal] {
  opacity: 0; transform: translateY(36px) scale(.985);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ─── 7. LES 3 BRIQUES ÉPINGLÉES ───
   Une section par service, chacune avec SON animation longue,
   pilotée par --q (progression 0→1 posée en JS sur [data-scrub]).
   Chaque pièce est une animation en pause dont on remonte le temps
   via animation-delay négatif : un « scrub » sans aucune librairie.
   Ces trois animations sont conçues pour être reprises telles quelles
   sur les pages /services/creation-site-web/, /services/refonte-site-web/ et /ia/. */
.scrub { position: relative; height: 240vh; }
.scrub-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.scrub--build .scrub-sticky, .scrub--ia .scrub-sticky { background: rgba(255,255,255,0.03); }
[data-theme="light"] .scrub--build .scrub-sticky, [data-theme="light"] .scrub--ia .scrub-sticky { background: rgba(0,0,0,0.03); }
.scrub-grid {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: 3.5rem; align-items: center; width: 100%;
}
.scrub--refonte .scrub-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.scrub-copy .eyebrow { margin-bottom: 1.25rem; }
.scrub-copy h2 { margin-bottom: 1rem; }
.scrub-copy p { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.75rem; max-width: 26rem; }
/* Barre de progression du « film » de la brique */
.scrub-bar {
  width: 9rem; height: 3px; border-radius: 999px; margin-top: 2.25rem;
  background: linear-gradient(to right, var(--cta) calc(var(--q, 0) * 100%), var(--v-20) 0);
}

/* Le faux navigateur */
.build-stage { position: relative; perspective: 1400px; }
.mock {
  position: relative; overflow: hidden;
  background: var(--mock-bg);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11.5; max-height: 74vh;
}

/* Pièces : arrivée « Iron Man » remontée par --q */
.pc {
  --st: 0;
  animation: snap 1s var(--ease-out) both paused;
  animation-delay: calc((var(--st) - var(--q, 0)) * 4.5s);
  will-change: transform, opacity;
}
@keyframes snap {
  from { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, 70px)) rotate(var(--fr, 4deg)) scale(.82); filter: blur(6px); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.mock-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-bottom: 1px solid var(--mock-line);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--mock-line); }
.mock-bar i:nth-child(1) { background: #f26d6d; } .mock-bar i:nth-child(2) { background: #f2c76d; } .mock-bar i:nth-child(3) { background: #62c98a; }
.mock-url {
  flex: 1; max-width: 55%; margin-left: .75rem;
  font-size: .62rem; color: var(--muted);
  border: 1px solid var(--mock-line); border-radius: 999px;
  padding: .22rem .8rem; white-space: nowrap; overflow: hidden;
}
.mock-body { padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.mock-nav { display: flex; align-items: center; gap: 1rem; }
.mock-logo { font-family: var(--fd); font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }
.mock-nav nav { display: flex; gap: .9rem; margin-left: auto; }
.mock-nav nav b { font-size: .6rem; font-weight: 500; color: var(--muted); }
.mock-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; align-items: center; }
.mock-h1 { font-family: var(--fd); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.5rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: .6rem; }
.mock-line { height: 7px; border-radius: 999px; background: var(--mock-line); margin-bottom: .5rem; }
.mock-line.short { width: 62%; }
.mock-cta {
  display: inline-block; margin-top: .7rem;
  background: var(--cta); color: var(--cta-text);
  font-size: .66rem; font-weight: 700;
  padding: .45rem 1.1rem; border-radius: 999px;
}
.mock-img {
  aspect-ratio: 4/3; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--v-25), var(--v-10));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; position: relative; overflow: hidden;
}
.mock-badge {
  position: absolute; right: .6rem; bottom: .6rem;
  font-size: .58rem; font-weight: 600;
  background: var(--mock-bg); border: 1px solid var(--mock-line);
  border-radius: 999px; padding: .25rem .6rem;
  display: flex; align-items: center; gap: .35rem;
}
.mock-badge b { color: var(--star); }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
.mock-card {
  border: 1px solid var(--mock-line); border-radius: var(--r-md);
  padding: .7rem .8rem; font-size: .62rem; color: var(--muted);
}
.mock-card b { display: block; font-size: .7rem; color: var(--text); margin-bottom: .3rem; }

/* Chapitre 2 — REFONTE : l'ancien site est balayé, le neuf apparaît */
.mock-old {
  position: absolute; inset: 0; z-index: 4; border-radius: inherit; overflow: hidden;
  background: #cfc9ba; color: #3a352a;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  /* Visible dès la première frame : la magie, c'est de partir du vieux site */
  clip-path: inset(0 0 0 clamp(0%, calc((var(--q, 0) - .1) / .62 * 100%), 100%));
}
.mock-old-inner { padding: 1rem 1.2rem; transform: rotate(-.6deg); }
.mock-old h4 {
  font-size: 1rem; font-weight: 700; text-decoration: underline;
  color: #1a3faa; margin: .4rem 0 .8rem; transform: rotate(.8deg);
}
.mock-old .ol { height: 8px; background: #a89f8d; margin-bottom: .55rem; }
.mock-old .ol:nth-child(odd) { width: 92%; transform: rotate(.4deg); }
.mock-old .ol:nth-child(even) { width: 78%; transform: rotate(-.3deg); }
.mock-old .o-img {
  width: 46%; aspect-ratio: 4/3; background: repeating-linear-gradient(45deg, #b8ae99 0 8px, #a89f8d 8px 16px);
  border: 3px ridge #8d8571; float: right; margin: 0 0 .6rem .8rem; transform: rotate(1.4deg);
}
.mock-old .o-btn {
  display: inline-block; margin-top: .6rem; padding: .35rem .9rem;
  background: linear-gradient(#7f8fb3, #4a5a80); color: #fff;
  border: 2px outset #93a3c7; font-size: .62rem; font-family: var(--f);
}
.mock-old .o-marquee { font-size: .6rem; color: #8a2b2b; margin-top: .8rem; font-style: italic; }
.mock-sweep {
  position: absolute; top: 0; bottom: 0; width: 3px; z-index: 5;
  left: clamp(0%, calc((var(--q, 0) - .1) / .62 * 100%), 100%);
  background: linear-gradient(to bottom, transparent, var(--c-light), transparent);
  box-shadow: 0 0 18px 4px var(--v-40);
  pointer-events: none;
  opacity: calc(clamp(0, calc((var(--q, 0) - .08) * 14), 1) - clamp(0, calc((var(--q, 0) - .72) * 14), 1));
}

/* Brique 3 — IA : les documents se rangent, la réponse s'écrit */
.scrub--ia .build-stage::before {
  content: ''; position: absolute; inset: -18%;
  background: radial-gradient(circle at 60% 40%, var(--aurora-b), transparent 65%);
  filter: blur(50px); pointer-events: none;
}
.ia-stage { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.2rem; align-items: center; }
.ia-doc {
  --st: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  backdrop-filter: blur(10px);
  padding: .8rem .9rem; font-size: .62rem; color: var(--muted);
  margin-bottom: .7rem; display: flex; gap: .6rem; align-items: center;
  animation: doc-in 1s var(--ease-out) both paused;
  animation-delay: calc((var(--st) - var(--q, 0)) * 4.5s);
}
.ia-doc b { color: var(--text); font-size: .68rem; }
.ia-doc .ok { margin-left: auto; color: var(--ok); font-weight: 700; }
@keyframes doc-in {
  from { opacity: 0; transform: translateX(-70px) rotate(-5deg); }
  to   { opacity: 1; transform: none; }
}
.ia-panel {
  background: var(--mock-bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 1.1rem 1.2rem;
}
.ia-panel h5 { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.ia-row {
  --st: 0; display: flex; gap: .6rem; align-items: baseline;
  font-size: .72rem; color: var(--muted); margin-bottom: .55rem;
  animation: doc-in 1s var(--ease-out) both paused;
  animation-delay: calc((var(--st) - var(--q, 0)) * 4.5s);
}
.ia-row b { color: var(--text); }
.ia-row .grad-text { font-weight: 700; }

/* Variante « pleine page » (pages services) : plus grand, plus long, plus détaillé */
.scrub--page { height: 320vh; }
.scrub--page .scrub-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
.scrub--page .mock { aspect-ratio: 16 / 10; max-height: 72vh; }
.scrub--page .scrub-sticky { padding-top: 1.5rem; }
.mock-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
.mock-thumb {
  aspect-ratio: 16/10; border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--v-20), var(--v-10));
  border: 1px solid var(--mock-line);
}
.mock-wins {
  position: absolute; top: .9rem; right: .9rem; z-index: 6;
  display: flex; flex-direction: column; gap: .5rem; align-items: flex-end;
}
.win {
  font-size: .68rem; font-weight: 700; color: var(--ok);
  background: var(--mock-bg); border: 1px solid var(--ok);
  border-radius: 999px; padding: .3rem .8rem;
  box-shadow: 0 4px 16px rgba(34,197,94,.25);
}

/* ─── 8. EXPLORATEUR MÉTIERS ─── */
.metier-x { display: flex; flex-direction: column; gap: 1.1rem; }
.metier-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.metier-chips button {
  font-family: var(--f); font-size: .8rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .45rem 1rem; background: var(--surface);
  transition: all .25s var(--ease-out);
}
.metier-chips button:hover { border-color: var(--v-40); color: var(--text); transform: translateY(-2px); }
.metier-chips button.on { background: var(--c); color: var(--bg); border-color: var(--c); font-weight: 600; }
[data-theme="light"] .metier-chips button.on { color: #fff; }
.metier-panel {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); padding: 1.1rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: stretch;
  animation: rise .5s var(--ease-out) both;
}
.metier-panel.swap { animation: rise .45s var(--ease-out) both; }
.mock--mini { aspect-ratio: auto; max-height: none; }
.mock--mini .mock-body { padding: .8rem .9rem; gap: .7rem; }
.mock--mini .mock-h1 { font-size: .95rem; }
.metier-links { display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.metier-links .ml-row b { display: block; font-size: .78rem; margin-bottom: .3rem; }
.metier-links .ml-row span { font-size: .72rem; color: var(--muted); margin-right: .1rem; }
.metier-links .ml-row a {
  font-size: .75rem; font-weight: 600; color: var(--c);
  margin-right: .55rem; text-decoration: underline; text-underline-offset: 3px;
}
.metier-links .ml-row a:hover { color: var(--c-light); }
.metier-more { font-size: .72rem; color: var(--muted); }

/* ─── 9. BANDE DES SITES LIVRÉS (captures réelles) ─── */
.marquee {
  position: relative; overflow: hidden; padding: 1rem 0 2.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.site-card {
  display: block; width: 380px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: .75rem; transition: transform .35s var(--ease-out), border-color .3s;
}
.site-card:hover { transform: translateY(-6px) scale(1.02); border-color: var(--v-40); }
.site-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; border-radius: var(--r-md); display: block; }
.site-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem .4rem .2rem; }
.site-card strong { font-family: var(--fd); font-size: 1rem; letter-spacing: -.01em; }
.site-card small { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.site-card .live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: .4rem; animation: pulse 2s ease-in-out infinite; }
@keyframes marquee { to { transform: translateX(calc(-50% - .75rem)); } }

/* ─── 10. CTA FINAL ─── */
.cta-box { isolation: isolate; }
.cta-box::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: 1;
  background: conic-gradient(from var(--beam-angle), transparent 0 60%, var(--c-light) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam-spin 7s linear infinite; pointer-events: none;
}
.cta-orb {
  position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: -40%;
  background: radial-gradient(circle, var(--aurora-a), transparent 60%);
  filter: blur(40px); pointer-events: none; z-index: 0;
  animation: cta-orb 12s ease-in-out infinite alternate;
}
@keyframes cta-orb { to { transform: translate(15%, 25%) scale(1.2); } }

/* ─── 11. COMPTEURS ─── */
[data-count] { font-variant-numeric: tabular-nums; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  /* Mobile : une colonne, dans l'ordre titre → film → texte.
     display:contents éclate .scrub-copy pour que head/stage/body
     deviennent enfants de la grille et se réordonnent. */
  .scrub-grid, .scrub--page .scrub-grid, .scrub--refonte .scrub-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; align-content: start; }
  .scrub-copy { display: contents; }
  .scrub-head { order: 1; }
  .build-stage { order: 2; }
  .scrub-body { order: 3; }
  .scrub-sticky { height: auto; min-height: 100dvh; align-items: flex-start; padding: 1.25rem 0 2rem; overflow-x: clip; overflow-y: visible; }
  .scrub, .scrub--page { height: 300vh; }
  .scrub--xl { height: 380vh; }
  .scrub-head h1, .scrub-head h2 { font-size: clamp(1.7rem, 7.5vw, 2.3rem); }
  .scrub-copy p { max-width: none; }
  /* Les faux écrans prennent leur hauteur naturelle, plus d'aspect forcé */
  .mock, .scrub--page .mock, .mock--ig, .mock--wa, .scrub--page .mock--ig, .scrub--page .mock--wa { aspect-ratio: auto; max-height: none; }
  .hw-body { grid-template-columns: 1fr; }
  .hw-viewport { min-height: 12rem; }
  .hw-stage { min-height: 24rem; }
  .ia-stage { grid-template-columns: 1fr; gap: .9rem; }
  .metier-panel { grid-template-columns: 1fr; }
}

/* ─── MOUVEMENT RÉDUIT : la page redevient statique et lisible ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora span, .hero-trace .beam, .grad-text,
  .btn-primary::after, .btn-white::after,
  .beam-card::before, .cta-box::after, .cta-orb, .site-card .live { animation: none !important; }
  .hero--motion h1 .w, .hero--motion .hero-copy > *, .hero-card { animation: none; }
  .flip > span, .site-card { transition: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-chips .chip { animation: none; }
  .scrub { height: auto; }
  .scrub-sticky { position: static; height: auto; padding: 4rem 0; }
  .pc, .ia-doc, .ia-row { animation: none; opacity: 1; }
  .mock-old, .mock-sweep { display: none; }
  .scrub-bar { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track > :nth-child(n+4) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ─── Heros de pages : typo compactée pour tenir dans l'écran épinglé ─── */
.scrub--page h1 { font-size: clamp(2rem, 3.6vw, 3.3rem); margin-bottom: .75rem; }
.scrub--page .scrub-copy > p { margin-bottom: 1rem !important; line-height: 1.65 !important; }
.scrub--page .scrub-copy .diag-q { font-size: 1.05rem; }
.scrub--page .scrub-bar { margin-top: 1.25rem; }

/* ─── 12. PRIMITIVES DES AUTRES SERVICES ─── */
/* Branding : planche d'identité */
.brand-logo { font-family: var(--fd); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -.02em; }
.brand-logo b { color: var(--c); }
.swatches { display: flex; gap: .7rem; margin-bottom: 1.2rem; }
.swatch { width: 3.4rem; height: 3.4rem; border-radius: .8rem; border: 1px solid var(--mock-line); position: relative; }
.swatch small { position: absolute; bottom: -1.25rem; left: 0; font-size: .55rem; color: var(--muted); white-space: nowrap; }
.brand-type { font-size: .8rem; color: var(--muted); }
.brand-type b { font-family: var(--fd); font-size: 1.5rem; color: var(--text); margin-right: .6rem; }
.brand-card {
  border: 1px solid var(--mock-line); border-radius: var(--r-md);
  padding: .9rem 1.1rem; width: 62%; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--v-10), transparent);
  font-size: .62rem; color: var(--muted);
}
.brand-card b { display: block; font-family: var(--fd); font-size: .9rem; color: var(--text); }

/* Google Business : résultat local */
.gbp-search { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--mock-line); border-radius: 999px; padding: .5rem 1rem; font-size: .72rem; color: var(--text); }
.gbp-search span { color: var(--muted); }
.gbp-head { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.gbp-head b { font-family: var(--fd); font-size: 1.05rem; }
.gbp-head .stars { color: var(--star); font-size: .7rem; letter-spacing: .1em; }
.gbp-head small { font-size: .68rem; color: var(--muted); }
.gbp-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.gbp-actions span { font-size: .62rem; font-weight: 600; color: var(--c); border: 1px solid var(--v-40); border-radius: 999px; padding: .3rem .8rem; }

/* Réseaux sociaux : le post */
.rs-head { display: flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 700; }
.rs-avatar { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: linear-gradient(135deg, var(--c), var(--c-light)); flex-shrink: 0; }
.rs-head small { font-weight: 400; color: var(--muted); }
.rs-actions { display: flex; gap: 1rem; font-size: .9rem; }
.rs-likes { font-size: .68rem; color: var(--muted); }
.rs-likes b { color: var(--text); }

/* Support : conversation */
.chat { display: flex; flex-direction: column; gap: .6rem; }
.msg { max-width: 80%; font-size: .74rem; line-height: 1.5; padding: .55rem .95rem; border-radius: 1rem 1rem 1rem .25rem; background: var(--surface); border: 1px solid var(--border); color: var(--text); align-self: flex-start; }
.msg--me { align-self: flex-end; border-radius: 1rem 1rem .25rem 1rem; background: var(--v-15); border-color: var(--v-25); }

/* Parc : la flotte passe au vert */
.park-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.park { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-md); padding: .6rem .7rem; font-size: .62rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.park i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.park b { color: var(--text); }

/* Barre de disponibilité (maintenance site) */
.uptime { height: 6px; border-radius: 999px; background: var(--v-15); overflow: hidden; margin-top: .4rem; }
.uptime i { display: block; height: 100%; width: calc(var(--q, 0) * 99.9%); background: linear-gradient(to right, var(--c), var(--ok)); border-radius: inherit; }

/* ─── 13. MAILLAGE SERVICES (home) : dix services, trois pôles ─── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.svc-col h3 { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.svc-col a { display: flex; align-items: baseline; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; font-weight: 600; transition: color .2s, padding-left .25s var(--ease-out); }
.svc-col a:last-child { border-bottom: none; }
.svc-col a small { margin-left: auto; font-size: .7rem; color: var(--muted); font-weight: 400; text-align: right; }
.svc-col a::after { content: '→'; color: var(--c); opacity: 0; transition: opacity .2s; }
.svc-col a:hover { color: var(--c); padding-left: .3rem; }
.svc-col a:hover::after { opacity: 1; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .park-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── 14. GOOGLE BUSINESS — fiche calquée sur la vraie ───
   Page blanche même en thème sombre : une page Google est blanche, c'est
   précisément ce qui la rend immédiatement reconnaissable. */
.g-page { background: #fff; color: #202124; font-family: Arial, Helvetica, sans-serif; padding: .9rem 1.1rem; min-height: 100%; }
.g-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.g-logo { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.g-logo span:nth-child(1) { color: #4285f4; } .g-logo span:nth-child(2) { color: #ea4335; }
.g-logo span:nth-child(3) { color: #fbbc04; } .g-logo span:nth-child(4) { color: #4285f4; }
.g-logo span:nth-child(5) { color: #34a853; } .g-logo span:nth-child(6) { color: #ea4335; }
.g-input { flex: 1; max-width: 23rem; display: flex; align-items: center; gap: .6rem; border: 1px solid #dfe1e5; border-radius: 999px; padding: .45rem 1rem; font-size: .74rem; box-shadow: 0 1px 5px rgba(32,33,36,.12); }
.g-input i { margin-left: auto; font-style: normal; }
.g-cols { display: grid; grid-template-columns: 1fr 1.08fr; gap: 1.2rem; align-items: start; }
.g-result { margin-bottom: 1rem; }
.g-result small { display: block; font-size: .6rem; color: #188038; margin-bottom: .15rem; }
.g-result b { display: block; font-size: .82rem; font-weight: 400; color: #1a0dab; margin-bottom: .35rem; }
.g-line { height: 6px; border-radius: 3px; background: #e8eaed; margin-bottom: .35rem; }
.g-line.short { width: 70%; }
.g-panel { border: 1px solid #dadce0; border-radius: 10px; padding: .8rem .9rem; box-shadow: 0 1px 6px rgba(32,33,36,.08); }
.g-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 2.6rem); gap: .25rem; margin-bottom: .6rem; border-radius: 8px; overflow: hidden; }
.g-ph { background: linear-gradient(135deg, #b8c6e0, #e2e8f4); }
.g-ph:first-child { grid-row: span 2; background: linear-gradient(135deg, #8fa6c9, #ccd7ec); }
.g-name { font-size: 1.15rem; margin-bottom: .15rem; }
.g-rating { font-size: .7rem; color: #70757a; display: flex; align-items: center; gap: .35rem; margin-bottom: .15rem; }
.g-stars { color: #fbbc04; letter-spacing: .05em; }
.g-rating u { color: #1a73e8; text-decoration: none; }
.g-cat { font-size: .7rem; color: #70757a; margin-bottom: .7rem; }
.g-cat b { color: #188038; font-weight: 400; }
.g-actions { display: flex; gap: 1.1rem; margin-bottom: .8rem; }
.g-actions span { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .58rem; color: #1a73e8; }
.g-actions i { width: 2rem; height: 2rem; border: 1px solid #dadce0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .8rem; }
.g-info { font-size: .68rem; color: #3c4043; padding: .32rem 0; border-top: 1px solid #f1f3f4; }
.g-info b { color: #188038; font-weight: 400; }
.g-review { font-size: .68rem; color: #3c4043; border-top: 1px solid #f1f3f4; padding-top: .5rem; margin-top: .2rem; font-style: italic; }

/* ─── 15. HARDWARE — configurateur 3D → carton → installé ─── */
.hw-stage { min-height: 30rem; }
.hw-mock { animation: hw-mock-tl 1s linear both paused; animation-delay: calc(var(--q, 0) * -1s); }
@keyframes hw-mock-tl {
  0%, 52%   { opacity: 1; transform: none; }
  58%, 100% { opacity: 0; transform: translateY(-26px) scale(.92); }
}
.hw-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1rem; align-items: center; }
.hw-viewport { perspective: 900px; display: flex; align-items: center; justify-content: center; min-height: 15rem; }
.hw-tower { position: relative; width: 110px; height: 180px; transform-style: preserve-3d; animation: hw-spin 18s linear infinite; }
@keyframes hw-spin { from { transform: rotateX(-10deg) rotateY(0deg); } to { transform: rotateX(-10deg) rotateY(360deg); } }
.hw-tower .f { position: absolute; border: 1px solid var(--v-40); background: color-mix(in srgb, var(--mock-bg), var(--c) 10%); box-shadow: inset 0 0 30px var(--v-15); }
.f-front, .f-back { inset: 0; }
.f-front { transform: translateZ(27px); background-image: repeating-linear-gradient(to bottom, transparent 0 6px, var(--v-15) 6px 8px); }
.f-front::after { content: ''; position: absolute; top: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.f-back { transform: translateZ(-27px) rotateY(180deg); }
.f-left, .f-right { width: 54px; height: 180px; left: 28px; top: 0; }
.f-left  { transform: rotateY(-90deg) translateZ(55px); }
.f-right { transform: rotateY(90deg) translateZ(55px); background: rgba(143,166,255,.14); }
.f-top { width: 110px; height: 54px; left: 0; top: 63px; transform: rotateX(90deg) translateZ(90px); }
.hw-part {
  position: absolute; left: 12px; right: 12px; top: 50%; height: 26px; margin-top: -13px;
  display: flex; align-items: center; justify-content: center;
  font-size: .56rem; font-weight: 700; color: var(--text);
  background: var(--v-20); border: 1px solid var(--v-45); border-radius: 4px;
  animation: hw-fly 1s var(--ease-out) both paused;
  animation-delay: calc((var(--st, 0) - var(--q, 0)) * 4.5s);
}
@keyframes hw-fly {
  from { opacity: 0; transform: translate3d(-230px, calc(var(--sy, 0px) - 60px), 130px) rotateY(-55deg); }
  to   { opacity: 1; transform: translate3d(0, var(--sy, 0px), 0) rotateY(0); }
}
.hw-carton {
  position: absolute; left: 50%; top: 38%; width: 210px; margin-left: -105px;
  padding: 3rem 1rem .9rem; text-align: center; font-size: .78rem; line-height: 1.45; color: #5d4426;
  background: linear-gradient(#cda671, #b8905d); border: 1px solid #a07a4a; border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  animation: hw-carton-tl 1s linear both paused; animation-delay: calc(var(--q, 0) * -1s);
}
.hw-carton::before { content: ''; position: absolute; top: 0; left: 50%; width: 26px; margin-left: -13px; height: 100%; background: rgba(255,255,255,.32); }
.hw-carton b { position: relative; display: block; font-family: var(--fd); font-size: 1.2rem; color: #52401f; letter-spacing: .1em; }
.hw-carton small { position: relative; display: block; font-size: .6rem; opacity: .8; margin-top: .3rem; }
/* Le carton prend son temps : pop à 58 %, traversée lente jusqu'à 74 % */
@keyframes hw-carton-tl {
  0%, 54%   { opacity: 0; transform: translateX(-150px) translateY(16px) scale(.5) rotate(-8deg); }
  59%       { opacity: 1; transform: translateX(-150px) scale(1) rotate(0deg); }
  66%       { opacity: 1; transform: translateX(0px) rotate(-1deg); }
  74%       { opacity: 1; transform: translateX(150px) rotate(1.5deg); }
  79%, 100% { opacity: 0; transform: translateX(190px) scale(.75); }
}
.hw-note {
  position: absolute; left: 0; right: 0; top: 72%; text-align: center;
  font-size: .68rem; color: var(--muted);
  animation: hw-note-tl 1s linear both paused; animation-delay: calc(var(--q, 0) * -1s);
}
@keyframes hw-note-tl { 0%, 57% { opacity: 0; } 62%, 74% { opacity: 1; } 79%, 100% { opacity: 0; } }
.hw-desk {
  position: absolute; left: 0; right: 0; bottom: 6%; text-align: center;
  animation: hw-desk-tl 1s linear both paused; animation-delay: calc(var(--q, 0) * -1s);
}
@keyframes hw-desk-tl { 0%, 74% { opacity: 0; } 79%, 100% { opacity: 1; } }
/* L'écran choisi sur le configurateur se pose à côté de la tour */
.hw-scr {
  position: absolute; right: 4%; bottom: 18%; width: 96px; height: 64px;
  border: 1px solid var(--v-45); border-radius: 6px;
  background: linear-gradient(135deg, var(--v-25), var(--v-10));
  box-shadow: 0 0 22px var(--v-25);
  animation: scr-fly 1s var(--ease-out) both paused;
  animation-delay: calc((var(--st, 0) - var(--q, 0)) * 4.5s);
}
.hw-scr::after { content: ''; position: absolute; left: 50%; bottom: -12px; width: 26px; height: 12px; margin-left: -13px; background: var(--v-25); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
@keyframes scr-fly {
  from { opacity: 0; transform: translate3d(-240px, -60px, 0) rotate(-8deg) scale(.7); }
  to   { opacity: 1; transform: none; }
}
/* Le test final : un gros pouce vert, ça marche */
.hw-screen { position: relative; }
.hw-thumb {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; filter: drop-shadow(0 0 14px rgba(34,197,94,.65));
  animation-name: thumb-pop !important;
}
@keyframes thumb-pop {
  0%   { opacity: 0; transform: scale(0) rotate(-25deg); }
  60%  { opacity: 1; transform: scale(1.25) rotate(6deg); }
  80%  { transform: scale(.95) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
/* À l'installation, l'écran est d'abord ÉTEINT : noir, sans halo */
.hw-screen { display: inline-block; width: 160px; height: 96px; border-radius: 8px; border: 1px solid var(--v-40); background: #090d18; vertical-align: bottom; margin: 0 .7rem; }
.hw-mini { display: inline-block; width: 46px; height: 96px; border-radius: 6px; border: 1px solid var(--v-40); background: color-mix(in srgb, var(--mock-bg), var(--c) 10%); vertical-align: bottom; }
.hw-plant { font-size: 1.7rem; vertical-align: bottom; display: inline-block; }
.hw-desk-line { display: block; height: 4px; border-radius: 999px; background: var(--border); margin: .1rem 8% 1rem; }

@media (prefers-reduced-motion: reduce) {
  .hw-tower { animation: none; transform: rotateX(-10deg) rotateY(-24deg); }
  .hw-mock, .hw-part, .hw-desk, .hw-scr, .hw-thumb { animation: none !important; opacity: 1; }
  .hw-part { transform: translateY(var(--sy, 0px)); }
  .hw-carton, .hw-note { display: none; }
  .hw-desk { position: static; margin-top: 1.5rem; }
}

/* Boîtier vitré : les composants restent visibles une fois posés */
.hw-tower .f-front, .hw-tower .f-back { background-color: color-mix(in srgb, var(--mock-bg) 55%, transparent); }
.hw-tower .f-left { background-color: color-mix(in srgb, var(--mock-bg) 70%, transparent); }

/* ─── 16. HARDWARE — tempo rallongé + séquence d'allumage ─── */
/* Section 50 % plus longue : le film respire */
.scrub--xl { height: 480vh; }
/* Scrub rapide (fenêtre 0.1 de --q) pour les temps forts de fin de film */
.pcf { animation-delay: calc((var(--st, 0) - var(--q, 0)) * 10s) !important; }
/* L'écran 3D du configurateur : plus grand, bien visible à côté de la tour */
.hw-scr { width: 118px; height: 78px; right: 0; bottom: 16%; }
/* Allumage : 1) bouton power vert sur la tour, à droite */
.hw-mini { position: relative; }
.hw-power {
  position: absolute; top: 12px; right: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: #3a4358;
  animation: power-on .3s ease both paused;
  animation-delay: calc((var(--st, 0) - var(--q, 0)) * 10s);
}
@keyframes power-on {
  from { background: #3a4358; box-shadow: none; }
  to   { background: var(--ok); box-shadow: 0 0 10px 2px var(--ok); }
}
/* 2) puis l'écran s'illumine */
.hw-glow {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, var(--v-25), var(--v-10));
  box-shadow: 0 0 34px var(--v-40);
  opacity: 0;
  animation: glow-on 1s ease both paused;
  animation-delay: calc((var(--st, 0) - var(--q, 0)) * 10s);
}
@keyframes glow-on { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .scrub--xl { height: auto; }
  .hw-power, .hw-glow { animation: none; opacity: 1; background: var(--ok); }
  .hw-glow { background: linear-gradient(135deg, var(--v-25), var(--v-10)); }
}

/* ─── 17. RÉSEAUX SOCIAUX — post Instagram réaliste ───
   Comme la fiche Google : fond clair fidèle au vrai réseau,
   c'est ce qui le rend immédiatement reconnaissable. */
.ig-page { background: #fafafa; min-height: 100%; padding: .9rem; font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; display: flex; align-items: flex-start; justify-content: center; }
.ig-card { width: min(340px, 94%); background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; color: #262626; }
.ig-head { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; }
.ig-avatar { width: 34px; height: 34px; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433); flex-shrink: 0; }
.ig-avatar i { width: 100%; height: 100%; border-radius: 50%; background: #eef1fb; border: 2px solid #fff; font-style: normal; font-size: .72rem; display: flex; align-items: center; justify-content: center; }
.ig-name { font-size: .74rem; font-weight: 600; line-height: 1.2; }
.ig-name small { display: block; font-weight: 400; font-size: .62rem; color: #737373; }
.ig-dots { margin-left: auto; color: #262626; letter-spacing: .12em; font-weight: 700; }
.ig-photo { position: relative; aspect-ratio: 16 / 9; display: flex; overflow: hidden;
  background: linear-gradient(115deg, #b3ab9c 0 49.8%, #fff 49.8% 50.2%, #9fb4e8 50.2% 100%); }
.ig-photo b { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .5rem; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.92); text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.ig-photo .bath { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.3rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.ig-acts { display: flex; gap: .85rem; padding: .55rem .7rem .2rem; font-size: 1.1rem; line-height: 1; }
.ig-acts .save { margin-left: auto; }
.ig-heart {
  display: inline-block; filter: grayscale(1);
  animation: heart-pop 1s var(--ease-out) both paused;
  animation-delay: calc((var(--st, 0) - var(--q, 0)) * 4.5s);
}
@keyframes heart-pop {
  0%   { transform: scale(1); filter: grayscale(1); }
  45%  { transform: scale(1.65) rotate(-10deg); filter: none; }
  70%  { transform: scale(.9); filter: none; }
  100% { transform: scale(1); filter: none; }
}
.ig-likes { padding: .2rem .7rem 0; font-size: .74rem; font-weight: 600; }
.ig-cap { padding: .2rem .7rem 0; font-size: .72rem; line-height: 1.45; }
.ig-cap b { font-weight: 600; }
.ig-com { padding: .3rem .7rem 0; font-size: .7rem; color: #737373; }
.ig-com b { color: #262626; font-weight: 600; }
.ig-time { padding: .35rem .7rem .7rem; font-size: .56rem; letter-spacing: .06em; color: #737373; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .ig-heart { animation: none; filter: none; }
}

/* Le post Instagram est vertical : cadre un peu plus haut pour cette scène */
.mock--ig { aspect-ratio: 16 / 12.5; }
.scrub--page .mock--ig { aspect-ratio: 16 / 12; }

/* ─── 18. SUPPORT DIGITAL — conversation WhatsApp réaliste ─── */
.mock--wa { aspect-ratio: 16 / 12; display: flex; flex-direction: column; }
.scrub--page .mock--wa { aspect-ratio: 16 / 11.5; }
.mock--wa .wa-page { flex: 1; min-height: 0; }
.wa-page { display: flex; flex-direction: column; font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; }
.wa-head { display: flex; align-items: center; gap: .6rem; background: #008069; color: #fff; padding: .5rem .8rem; }
.wa-ava { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #008069; font-weight: 800; font-family: var(--fd); display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.wa-head b { display: block; font-size: .76rem; line-height: 1.2; }
.wa-head small { display: block; font-size: .6rem; opacity: .85; }
.wa-icons { margin-left: auto; display: flex; gap: .9rem; font-size: .8rem; opacity: .9; }
.wa-body {
  flex: 1; min-height: 0; padding: .8rem .9rem;
  display: flex; flex-direction: column; gap: .45rem;
  background: #efe7dd;
  background-image: radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 16px 16px;
}
.wa-date { align-self: center; background: #fff; color: #54656f; font-size: .56rem; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 6px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg {
  position: relative; max-width: 78%; align-self: flex-start;
  background: #fff; color: #111b21;
  font-size: .72rem; line-height: 1.45;
  padding: .4rem 3.4rem .4rem .6rem;
  border-radius: 8px; border-top-left-radius: 0;
  box-shadow: 0 1px 1px rgba(0,0,0,.10);
}
.wa-msg--me { background: #d9fdd3; align-self: flex-end; border-top-left-radius: 8px; border-top-right-radius: 0; }
.wa-meta { position: absolute; right: .45rem; bottom: .25rem; font-size: .52rem; color: #667781; display: flex; gap: .2rem; align-items: center; }
.wa-meta .ck { color: #53bdeb; letter-spacing: -.12em; }
.wa-done { align-self: center; background: #d1f4cc; color: #0b6e4f; font-size: .6rem; font-weight: 700; padding: .3rem .85rem; border-radius: 999px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-foot { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; background: #f0f2f5; }
.wa-input { flex: 1; background: #fff; border-radius: 999px; padding: .4rem .9rem; font-size: .68rem; color: #8696a0; }
.wa-foot > span { font-size: .95rem; opacity: .75; }
