/* rm-lumieres.css — LE SITE PUBLIC, EN LUMIÈRE (2026-11-07)
   ════════════════════════════════════════════════════════════════════════════════════
   Demande du propriétaire : « modernise tout le site, un vrai truc impressionnant, mais garde
   la logique du site » — des animations, des lumières, des ombrages, des dégradés.
   · Charte gardée : rouges, noir, blanc, gris neutres. Rien d'autre.
   · La barre du haut garde ses polices et son style d'origine (demande du propriétaire).
   · Police du contenu : Plus Jakarta Sans, hébergée ici (/polices), aucun service tiers.
   · Tout mouvement s'arrête avec « réduire les animations » (prefers-reduced-motion), et rien
     ne se cache si rm-lumieres.js ne tourne pas (la classe `wow-r` n'est posée que par lui).
   Chargé APRÈS les styles de chaque page : à spécificité égale, il passe devant. */

@font-face { font-family:'RM Jakarta'; src:url('/polices/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); font-weight:200 800; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'RM Jakarta'; src:url('/polices/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2'); font-weight:200 800; font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'RM Jakarta'; font-style:italic; src:url('/polices/plus-jakarta-sans-latin-wght-italic.woff2') format('woff2'); font-weight:200 800; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

body { font-family:'RM Jakarta', var(--rm-font); }
.rm-topbar { font-family:var(--rm-font); }
h1, h2, .rm-section-title, .section-title { letter-spacing:-.03em; }

/* ── Les boutons rouges : dégradé, relief, reflet qui passe ── */
.rm-btn-red { position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(135deg,#ef4444 0%,#dc2626 30%,#b91c1c 65%,#991b1b 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26), 0 0 0 1px rgba(127,29,29,.3), 0 12px 28px -12px rgba(185,28,28,.65);
  transition:transform .25s ease, box-shadow .25s ease; }
.rm-btn-red::after { content:""; position:absolute; top:0; left:-70%; width:45%; height:100%; z-index:-1;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.36),transparent); transform:skewX(-20deg); transition:left .8s ease; }
.rm-btn-red:hover { background:linear-gradient(135deg,#ef4444 0%,#dc2626 30%,#b91c1c 65%,#991b1b 100%); transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(127,29,29,.4), 0 18px 40px -12px rgba(185,28,28,.85); }
.rm-btn-red:hover::after { left:140%; }
.rm-btn-outline { transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rm-btn-outline:hover { transform:translateY(-2px); box-shadow:0 14px 30px -18px rgba(20,20,20,.4); }

/* ── Les bandeaux de titre des pages : aurores rouges et quadrillage lumineux ── */
.rm-bandeau.rm-bandeau.rm-bandeau { overflow:hidden; isolation:isolate; border-bottom:0; }
.rm-bandeau.rm-bandeau.rm-bandeau::before { content:""; display:block; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(36% 55% at 82% 30%, rgba(239,68,68,.36), transparent 70%),
             radial-gradient(30% 50% at 12% 105%, rgba(185,28,28,.30), transparent 70%),
             radial-gradient(420px circle at var(--mx,70%) var(--my,40%), rgba(248,113,113,.14), transparent 65%);
  background-repeat:no-repeat; animation:wow-bandeau 16s ease-in-out infinite alternate; }
.rm-bandeau.rm-bandeau.rm-bandeau::after { content:""; display:block; position:absolute; left:0; right:0; bottom:0; height:2px; z-index:0;
  background:linear-gradient(90deg, rgba(185,28,28,.2), #ef4444 30%, #fca5a5 50%, #ef4444 70%, rgba(185,28,28,.2)); background-size:200% 100%;
  animation:wow-filet 8s linear infinite; }
.rm-bandeau.rm-bandeau.rm-bandeau > .rm-container { position:relative; }
@keyframes wow-bandeau { to { opacity:.8; } }
@keyframes wow-filet { to { background-position:-200% 0; } }
html.wow-anim .rm-bandeau.rm-bandeau .rm-container > * { animation:wow-monte .85s cubic-bezier(.2,.7,.2,1) both; }
html.wow-anim .rm-bandeau.rm-bandeau .rm-container > :nth-child(2) { animation-delay:.08s; }
html.wow-anim .rm-bandeau.rm-bandeau .rm-container > :nth-child(n+3) { animation-delay:.16s; }

/* ── Les cartes : ombre douce, la lumière suit le pointeur, elles se soulèvent ── */
.pricing-card, .service-carte, .value-card, .post-card, .plr-step, .contact-info-item, .plan-col, .sv-carte,
.real-carte, .real-sm-carte, .aide-q, .tarifs-etapes li, .tarifs-guarantee, .rm-etape, .rm-service, .rm-prix > div, .rm-plus > div {
  transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.wow-lum { --mx:-999px; --my:-999px; background-image:radial-gradient(420px circle at var(--mx) var(--my), rgba(220,38,38,.075), transparent 42%); }
.wow-lum:hover { transform:translateY(-4px); border-color:rgba(185,28,28,.28);
  box-shadow:0 1px 2px rgba(20,20,20,.04), 0 28px 50px -28px rgba(20,20,20,.35), 0 14px 34px -22px rgba(185,28,28,.35); }
.aide-q:hover { border-color:rgba(185,28,28,.3); box-shadow:0 18px 36px -26px rgba(20,20,20,.3); }
.aide-q[open] { border-color:rgba(185,28,28,.35); box-shadow:0 18px 40px -28px rgba(185,28,28,.4); }
.real-carte img, .real-sm-carte img, .post-card-img { transition:transform .8s cubic-bezier(.2,.7,.2,1); }
.real-sm-carte:hover img, .real-carte:hover .real-ecran img { transform:scale(1.03); }

/* L'offre mise en avant (Tarifs) : une bordure de lumière qui tourne. */
@property --wow-angle { syntax:'<angle>'; initial-value:0deg; inherits:false; }
@keyframes wow-tour { to { --wow-angle:360deg; } }
html .pricing-card.featured { border:2px solid transparent;
  background:linear-gradient(var(--rm-black),var(--rm-black)) padding-box, conic-gradient(from var(--wow-angle), #7f1d1d, #ef4444, #fecaca, #ef4444, #7f1d1d) border-box;
  box-shadow:0 30px 60px -30px rgba(20,20,20,.6), 0 0 60px -22px rgba(220,38,38,.5); animation:wow-tour 6s linear infinite; }
.pricing-card.featured:hover { transform:translateY(-4px); }

/* Les pastilles numérotées : un dégradé et une lueur. */
.rm-etape-n, .plr-step-n, .sv-etape-n { background:linear-gradient(140deg,#ef4444,#b91c1c 60%,#7f1d1d) !important; color:#fff !important;
  box-shadow:0 10px 22px -8px rgba(185,28,28,.7), inset 0 1px 0 rgba(255,255,255,.3); }

/* ── Apparition au défilement (posée par rm-lumieres.js) ── */
@keyframes wow-monte { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
html.wow-anim .wow-r { opacity:0; transform:translateY(28px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay:calc(var(--i,0) * 80ms); }
html.wow-anim .wow-r.wow-vu { opacity:1; transform:none; }
html.wow-anim .wow-r.wow-vu.wow-lum, html.wow-anim .wow-r.wow-vu.wow-lum:hover { transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease, opacity .8s ease; transition-delay:0s; }
html.wow-anim .wow-r.wow-vu.wow-lum:hover { transform:translateY(-4px); }

/* ── Le pied de page : un filet de lumière ── */
.rm-footer { position:relative; }
.rm-footer::before { content:""; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(239,68,68,.7), transparent); }

/* ══ L'ACCUEIL ══════════════════════════════════════════════════════════════════════ */
body.rm-accueil #hero { isolation:isolate; }
.wow-fond { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.wow-fond::before { content:""; position:absolute; inset:0;
  background:radial-gradient(42% 60% at 88% 8%, rgba(239,68,68,.26), transparent 70%),
             radial-gradient(30% 42% at 62% 72%, rgba(185,28,28,.14), transparent 70%),
             radial-gradient(34% 50% at 0% 100%, rgba(127,29,29,.12), transparent 70%);
  background-size:130% 130%; background-repeat:no-repeat; animation:wow-derive 18s ease-in-out infinite alternate; }
@keyframes wow-derive { 0% { background-position:0% 0%; } 50% { background-position:60% 40%; } 100% { background-position:100% 100%; } }
.wow-spot { position:absolute; inset:0; background:radial-gradient(560px circle at var(--mx,72%) var(--my,30%), rgba(220,38,38,.09), transparent 62%); }
@keyframes wow-derive1 { to { transform:translate(-90px,70px) scale(1.1); } }
@keyframes wow-derive2 { to { transform:translate(70px,-50px) scale(.92); } }
@keyframes wow-derive3 { to { transform:translate(110px,-60px) scale(1.06); } }

body.rm-accueil #hero .rm-hero-title .insecable { background:linear-gradient(100deg,#7f1d1d 0%,#dc2626 30%,#f87171 50%,#dc2626 70%,#7f1d1d 100%); background-size:240% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent !important; -webkit-text-fill-color:transparent; animation:wow-reflet 7s ease-in-out infinite; }
@keyframes wow-reflet { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
body.rm-accueil .rm-hero-eyebrow { background:rgba(255,255,255,.7); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 1px 2px rgba(20,20,20,.04), 0 8px 24px -14px rgba(185,28,28,.35); }
body.rm-accueil .rm-hero-point { animation:wow-ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes wow-ping { 0% { box-shadow:0 0 0 0 rgba(185,28,28,.5); } 80%,100% { box-shadow:0 0 0 10px rgba(185,28,28,0); } }
body.rm-accueil #hero .rm-hero-actions .rm-btn-red { box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(127,29,29,.35), 0 14px 32px -12px rgba(185,28,28,.7); }
body.rm-accueil .rm-hero-lien span { display:inline-block; transition:transform .25s ease; }
body.rm-accueil .rm-hero-lien:hover span { transform:translateX(4px); }
body.rm-accueil .rm-hero-tarif { background:rgba(255,255,255,.72); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.9); box-shadow:0 0 0 1px rgba(20,20,20,.06), 0 24px 48px -24px rgba(20,20,20,.28), 0 10px 30px -18px rgba(185,28,28,.3); }
body.rm-accueil .rm-hero-visuel { position:relative; }
.wow-halo { position:absolute; inset:6% 4% 0 8%; z-index:-1; border-radius:40px; pointer-events:none;
  background:radial-gradient(60% 60% at 55% 55%, rgba(220,38,38,.30), rgba(220,38,38,0) 72%); filter:blur(34px); }
body.rm-accueil .rm-hero-visuel img { transition:transform .5s cubic-bezier(.2,.7,.2,1); filter:drop-shadow(0 40px 60px rgba(17,17,17,.18)) drop-shadow(0 12px 22px rgba(185,28,28,.10)); }
html.wow-anim body.rm-accueil .rm-hero-texte > * { animation:wow-monte .9s cubic-bezier(.2,.7,.2,1) both; }
html.wow-anim body.rm-accueil .rm-hero-texte > :nth-child(2) { animation-delay:.08s; }
html.wow-anim body.rm-accueil .rm-hero-texte > :nth-child(3) { animation-delay:.16s; }
html.wow-anim body.rm-accueil .rm-hero-texte > :nth-child(4) { animation-delay:.24s; }
html.wow-anim body.rm-accueil .rm-hero-texte > :nth-child(5) { animation-delay:.32s; }
html.wow-anim body.rm-accueil .rm-hero-texte > :nth-child(n+6) { animation-delay:.4s; }
html.wow-anim body.rm-accueil .rm-hero-visuel { animation:wow-apparait 1.1s .2s cubic-bezier(.2,.7,.2,1) both, wow-flotte 7s 1.4s ease-in-out infinite; }
@keyframes wow-apparait { from { opacity:0; transform:translateY(34px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes wow-flotte { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
body.rm-accueil .rm-service-icone { background:linear-gradient(140deg, rgba(239,68,68,.16), rgba(185,28,28,.05)); box-shadow:inset 0 0 0 1px rgba(185,28,28,.14); }
body.rm-accueil .rm-real-cadre img { transition:transform .8s cubic-bezier(.2,.7,.2,1); }
body.rm-accueil .rm-real:hover .rm-real-cadre img { transform:scale(1.035); }
html body.rm-accueil .rm-prix > .rm-prix-reco { border:1px solid transparent;
  background:linear-gradient(#0b0b0d,#0b0b0d) padding-box, conic-gradient(from var(--wow-angle), #7f1d1d, #ef4444, #fecaca, #ef4444, #7f1d1d) border-box;
  box-shadow:0 30px 60px -30px rgba(20,20,20,.6), 0 0 60px -20px rgba(220,38,38,.45); animation:wow-tour 6s linear infinite; }
.wow-fond-sombre { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.wow-fond-sombre::before { content:""; position:absolute; inset:0;
  background:radial-gradient(48% 55% at 50% -10%, rgba(239,68,68,.36), transparent 72%),
             radial-gradient(34% 48% at 100% 100%, rgba(185,28,28,.26), transparent 72%),
             radial-gradient(30% 40% at 0% 45%, rgba(254,202,202,.07), transparent 72%);
  background-size:130% 130%; background-repeat:no-repeat; animation:wow-respire 12s ease-in-out infinite alternate; }
.wow-grille { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:56px 56px; -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%); mask-image:radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%); }
@keyframes wow-respire { 0% { opacity:.8; background-position:50% 0%; } 50% { opacity:1; background-position:20% 30%; } 100% { opacity:.85; background-position:80% 60%; } }
body.rm-accueil #sur-mesure::before { display:none; }
body.rm-accueil #sur-mesure .rm-real-cadre { transition:box-shadow .4s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
body.rm-accueil #sur-mesure .rm-real:hover .rm-real-cadre { transform:translateY(-6px); box-shadow:0 0 0 1px rgba(239,68,68,.45), 0 30px 80px -24px rgba(239,68,68,.45); }

/* ══ NIVEAU 2 (2026-11-07, « essaye d'augmenter encore le niveau ») ══════════════════════ */
/* Le titre sort d'un flou. */
@keyframes wow-net { from { opacity:0; filter:blur(14px); transform:translateY(20px); } to { opacity:1; filter:none; transform:none; } }
html.wow-anim body.rm-accueil .rm-hero-texte > .rm-hero-title, html.wow-anim .rm-bandeau.rm-bandeau .rm-container > h1 { animation-name:wow-net; animation-duration:1.1s; }

/* Le curseur qui utilise l'éditeur : le titre, « Régénérer », puis « Construire le site ». */
body.rm-accueil .wow-curseur { position:absolute; left:79%; top:31%; z-index:3; width:26px; height:26px; opacity:0; pointer-events:none;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.35)); animation:wow-curseur 10s cubic-bezier(.45,.05,.25,1) 2s infinite; }
body.rm-accueil .wow-curseur::after { content:""; position:absolute; left:2px; top:1px; width:18px; height:18px; margin:-9px 0 0 -9px; border-radius:50%;
  border:2px solid rgba(220,38,38,.9); opacity:0; animation:wow-clic 10s linear 2s infinite; }
@keyframes wow-curseur {
  0% { left:70%; top:45%; opacity:0; }
  6% { opacity:1; }
  16%, 24% { left:80%; top:30%; }
  42%, 50% { left:84%; top:62.5%; }
  70%, 80% { left:91%; top:7%; opacity:1; }
  92%, 100% { left:91%; top:7%; opacity:0; }
}
@keyframes wow-clic {
  0%, 18% { opacity:0; transform:scale(.4); } 20% { opacity:1; transform:scale(.6); } 25% { opacity:0; transform:scale(2.2); }
  44% { opacity:0; transform:scale(.4); } 46% { opacity:1; transform:scale(.6); } 51% { opacity:0; transform:scale(2.2); }
  72% { opacity:0; transform:scale(.4); } 74% { opacity:1; transform:scale(.6); } 79% { opacity:0; transform:scale(2.2); } 100% { opacity:0; }
}

/* Les badges en verre qui flottent autour de l'image. */
body.rm-accueil .wow-badge { position:absolute; z-index:2; display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:999px; white-space:nowrap;
  font-size:13px; font-weight:700; color:var(--rm-black); background:rgba(255,255,255,.78); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.9); box-shadow:0 0 0 1px rgba(20,20,20,.06), 0 18px 40px -18px rgba(20,20,20,.35), 0 8px 24px -16px rgba(185,28,28,.4); }
body.rm-accueil .wow-badge svg { color:var(--rm-red); flex:none; }
body.rm-accueil .wow-badge.b1 { left:-3%; top:14%; animation:wow-badge 6s ease-in-out infinite; }
body.rm-accueil .wow-badge.b2 { left:31%; bottom:-4%; animation:wow-badge 7s ease-in-out 1s infinite; }
body.rm-accueil .wow-badge.b3 { right:5%; top:-6%; animation:wow-badge 6.5s ease-in-out .5s infinite; }
@keyframes wow-badge { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
html.wow-anim body.rm-accueil .wow-badge { opacity:0; animation:wow-monte .8s cubic-bezier(.2,.7,.2,1) 1.2s forwards, wow-badge 6s ease-in-out 2s infinite; }
html.wow-anim body.rm-accueil .wow-badge.b2 { animation-delay:1.4s, 2.4s; }
html.wow-anim body.rm-accueil .wow-badge.b3 { animation-delay:1.6s, 2.8s; }
@media (max-width:980px) { body.rm-accueil .wow-badge, body.rm-accueil .wow-curseur { display:none; } }

/* La bande des métiers, qui défile sans fin. */
.wow-metiers { overflow:hidden; padding:22px 0; background:#fff; border-top:1px solid var(--rm-gray-200); border-bottom:1px solid var(--rm-gray-200);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wow-metiers-piste { display:flex; width:max-content; animation:wow-defile 38s linear infinite; }
.wow-metiers:hover .wow-metiers-piste { animation-play-state:paused; }
.wow-metiers ul { display:flex; margin:0; padding:0; list-style:none; }
.wow-metiers li { display:flex; align-items:center; gap:28px; padding-right:28px; font-size:15px; font-weight:700; color:var(--rm-gray-500); white-space:nowrap; letter-spacing:-.01em; }
.wow-metiers li::after { content:""; width:6px; height:6px; border-radius:50%; background:linear-gradient(140deg,#ef4444,#7f1d1d); }
@keyframes wow-defile { to { transform:translateX(-50%); } }

/* Les chiffres, qui comptent à l'apparition. */
.wow-chiffres { background:#fff; padding:44px 0 52px; }
.wow-chiffres .rm-container { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; }
.wow-chiffre { text-align:center; padding:6px 10px; border-left:1px solid var(--rm-gray-200); }
.wow-chiffre:first-child { border-left:0; }
.wow-n { display:block; font-size:clamp(34px,3.6vw,48px); font-weight:800; letter-spacing:-.04em; line-height:1.05;
  background:linear-gradient(180deg,#111 30%,#7f1d1d 140%); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.wow-l { display:block; margin-top:6px; font-size:13.5px; color:var(--rm-gray-600); }
@media (max-width:768px) {
  .wow-chiffres .rm-container { grid-template-columns:repeat(2, minmax(0,1fr)); row-gap:26px; }
  .wow-chiffre:nth-child(3) { border-left:0; }
}

/* Les cartes s'inclinent sous le pointeur (le script pose --rx / --ry). */
.wow-lum:hover, html.wow-anim .wow-r.wow-vu.wow-lum:hover { transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px); }

/* Les offres sur un fond de lumière douce. */
body.rm-accueil #prix { background:radial-gradient(55% 60% at 12% 0%, rgba(239,68,68,.07), transparent 70%), radial-gradient(50% 55% at 92% 100%, rgba(185,28,28,.07), transparent 70%), #fff !important; }

/* ══ NIVEAU 3 (2026-11-07) ════════════════════════════════════════════════════════════
   Le grand « RM Solutions » du pied de page est retiré (« de trop », propriétaire). */
/* Les pages s'enchaînent en fondu ; la barre du haut ne bouge pas. */
@view-transition { navigation:auto; }
.rm-topbar { view-transition-name:rm-barre; }
::view-transition-old(root) { animation:wow-vt-sort .22s ease both; }
::view-transition-new(root) { animation:wow-vt-entre .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes wow-vt-sort { to { opacity:0; transform:translateY(-6px); } }
@keyframes wow-vt-entre { from { opacity:0; transform:translateY(10px); } }

/* Au survol, une bordure de lumière fait le tour des cartes. */
.wow-lum { position:relative; }
.wow-lum::after { content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1.5px; pointer-events:none; opacity:0;
  background:conic-gradient(from var(--wow-angle), transparent 0deg, transparent 220deg, #fca5a5 280deg, #ef4444 320deg, transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition:opacity .35s ease; animation:wow-tour 3.2s linear infinite; }
.wow-lum:hover::after { opacity:1; }

/* Les étiquettes de section scintillent. */
.rm-section-label { background:linear-gradient(90deg,#b91c1c 0%,#b91c1c 40%,#f87171 50%,#b91c1c 60%,#b91c1c 100%); background-size:250% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent !important; -webkit-text-fill-color:transparent; animation:wow-scintille 5s linear infinite; }
body.rm-accueil #sur-mesure .rm-section-label { background-image:linear-gradient(90deg,#f87171 0%,#f87171 40%,#fff 50%,#f87171 60%,#f87171 100%); }
@keyframes wow-scintille { from { background-position:150% 0; } to { background-position:-100% 0; } }

/* Les captures se dévoilent de haut en bas quand elles apparaissent. */
html.wow-anim .wow-r:not(.wow-vu) :is(.rm-real-cadre, .real-ecran, .real-sm-carte .real-ecran) img { clip-path:inset(0 0 100% 0); }
html.wow-anim .wow-r :is(.rm-real-cadre, .real-ecran) img { clip-path:inset(0 0 0 0); transition:clip-path 1.1s cubic-bezier(.65,0,.35,1) .15s, transform .8s cubic-bezier(.2,.7,.2,1); }

/* Les liens texte : un soulignement qui se dessine. */
.rm-section :is(p, li) > a:not([class]) { background-image:linear-gradient(currentColor,currentColor); background-size:0% 1.5px; background-repeat:no-repeat; background-position:0 100%; transition:background-size .35s ease; }
.rm-section :is(p, li) > a:not([class]):hover { background-size:100% 1.5px; }

/* ── Moins de mouvement demandé : tout s'arrête, tout reste visible ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
  .wow-r { opacity:1 !important; transform:none !important; }
  .wow-badge { opacity:1 !important; }
  .wow-curseur { display:none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation:none !important; }
  .rm-section-label { animation:none !important; }
  .wow-metiers-piste { transform:none !important; }
}
@media (max-width:980px) {
  body.rm-accueil .rm-hero-grille { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:480px) {
  body.rm-accueil .rm-hero-eyebrow { white-space:normal !important; font-size:11.5px !important; text-align:left; max-width:100%; }
}
