/* ==========================================================================
   djplays · habillage graphique des pages publiques (refonte de novembre 2026)
   Chargé après site.css, seulement sur body.rf (entete.php) : jamais dans /app/.
   Photos d'ambiance, textures (affiches déchirées, trame, grain, rayures), aplats
   vert et violet, grands titres, ruban qui défile, mouvements au défilement.
   Tout mouvement s'arrête si le visiteur a demandé moins d'animations.
   ========================================================================== */

body.rf{
  --rf-noir:#0B0B10;--rf-encre:#0F0F14;--rf-papier:#F3F3F7;--rf-violet:#6D28D9;--rf-violet-clair:#A78BFA;--rf-ambre:#FFC46B;
  --rf-photo:url(/assets/refonte/hero-dj-club-g.webp);--rf-photo-p:url(/assets/refonte/hero-dj-club-p.webp);--rf-pos:78% 40%;
  --rf-entete:68px;
  background:var(--rf-noir);
}
body.rf .conteneur{max-width:1240px;padding:0 32px}

/* ---- Grain argentique sur toute la page (au-dessus du fond, sous les clics) ---- */
body.rf::after{content:"";position:fixed;inset:-50%;z-index:30;pointer-events:none;background:url(/assets/refonte/grain.svg) 0 0/220px 220px;opacity:.07;animation:rf-grain 1.2s steps(6) infinite}
@keyframes rf-grain{0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-4%)}60%{transform:translate(-2%,3%)}80%{transform:translate(4%,-1%)}100%{transform:translate(0,0)}}

/* ---- Motifs réutilisés ---- */
body.rf .rf-rayures{height:16px;background:repeating-linear-gradient(-45deg,var(--lime) 0 16px,var(--rf-encre) 16px 32px);background-size:45.25px 100%;animation:rf-rayures 1.6s linear infinite}
@keyframes rf-rayures{to{background-position:45.25px 0}}

/* ---- Titres : plus grands, plus serrés ---- */
body.rf h1,body.rf h2{letter-spacing:-.04em}
body.rf .ap-sec h2,body.rf .ap-bande h2{font-size:clamp(36px,5.4vw,80px);line-height:.95;letter-spacing:-.04em}
body.rf h2.titre-bloc{font-size:clamp(28px,3.6vw,48px);line-height:1;letter-spacing:-.03em;max-width:900px}
body.rf .ap-sous{color:#B9B9C8}

/* ---- Étiquettes : les sur-titres deviennent des autocollants penchés ---- */
body.rf .ap-eyebrow,body.rf .hero .sur-titre,body.rf .contact-hero .sur-titre,body.rf .bloc>.conteneur>.sur-titre{display:inline-block;padding:7px 14px;background:var(--lime);color:var(--rf-encre);font-family:var(--titre);font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;transform:rotate(-2deg);transform-origin:left center;margin-bottom:22px;border-radius:2px}
body.rf .ap-eyebrow.violet,body.rf .hero .sur-titre.violet,body.rf .bloc>.conteneur>.sur-titre.violet{background:var(--rf-violet-clair);color:var(--rf-encre)}
body.rf .ap-eyebrow.ambre{background:var(--rf-ambre);color:var(--rf-encre)}
body.rf .ap-centre .ap-eyebrow{transform-origin:center}
html.js body.rf .ap-eyebrow.reveal{transform:rotate(-9deg) scale(.7);opacity:0;transition:opacity .45s ease,transform .6s cubic-bezier(.3,1.6,.5,1)}
html.js body.rf .ap-eyebrow.reveal.visible{transform:rotate(-2deg) scale(1);opacity:1}
/* À l'intérieur des cartes et de la démo, les sur-titres restent de simples libellés. */
body.rf .vi-demo .ap-eyebrow,body.rf .ap-tile .ap-eyebrow,body.rf .carte .ap-eyebrow,body.rf .ap-pied-photo .ap-eyebrow{display:block;padding:0;background:none;color:var(--lime);transform:none;font-family:var(--corps);font-weight:600;margin-bottom:14px}
body.rf .vi-demo .ap-eyebrow.violet,body.rf .ap-tile .ap-eyebrow.violet{color:var(--rf-violet-clair)}
body.rf .ap-lime .ap-eyebrow{color:var(--rf-encre)}

/* ---- Boutons : pastilles, halo, reflet qui passe au survol ---- */
body.rf .bouton{border-radius:999px;position:relative;overflow:hidden;transition:transform .25s cubic-bezier(.3,1.4,.5,1),box-shadow .25s,background .2s,border-color .2s}
body.rf .bouton:not(.bouton-petit){min-height:56px;padding:0 28px;font-size:16px}
body.rf .bouton-lime{box-shadow:0 0 0 rgba(212,255,79,0)}
body.rf .bouton-lime::after,body.rf .bouton-violet::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);transition:left .6s ease;pointer-events:none}
body.rf .bouton-fantome{border-color:rgba(243,243,247,.7);border-width:1.5px}
body.rf .bouton:active{transform:scale(.97)}
@media (hover:hover){
  body.rf .bouton:hover{transform:translateY(-2px)}
  body.rf .bouton-lime:hover{box-shadow:0 10px 50px rgba(212,255,79,.4)}
  body.rf .bouton-violet:hover{box-shadow:0 10px 50px rgba(167,139,250,.45)}
  body.rf .bouton-lime:hover::after,body.rf .bouton-violet:hover::after{left:120%}
  body.rf .bouton-fantome:hover{background:var(--rf-papier);color:var(--rf-encre);border-color:var(--rf-papier)}
}

/* ==========================================================================
   Hauts de page : photo plein cadre sous l'en-tête, texte à gauche
   ========================================================================== */
body.rf .entete{background:rgba(11,11,16,.2)}
body.rf .entete-solide,body.rf .entete.ouvert{background:rgba(11,11,16,.9)}
body.rf main>.ap-hero:first-child,body.rf main>.hero-app:first-child,body.rf main>.contact-hero:first-child{margin-top:calc(-1 * var(--rf-entete))}

/* Photo par page (le fichier léger sert sous 700 px, plus bas) */
body.rf-p-dj{--rf-photo:url(/assets/refonte/dj-cabine-violet-g.webp);--rf-photo-p:url(/assets/refonte/dj-cabine-violet-p.webp);--rf-pos:80% 30%}
body.rf-p-labels,body.rf-p-classement,body.rf-p-classement-djs{--rf-photo:url(/assets/refonte/label-vinyles-g.webp);--rf-photo-p:url(/assets/refonte/label-vinyles-p.webp);--rf-pos:70% 50%}
body.rf-p-comment,body.rf-p-a-propos{--rf-photo:url(/assets/refonte/producteur-studio-g.webp);--rf-photo-p:url(/assets/refonte/producteur-studio-p.webp);--rf-pos:60% 35%}
body.rf-p-tarifs,body.rf-p-aide,body.rf-p-presse,body.rf-p-transparence,body.rf-p-feuille-de-route,body.rf-p-statut{--rf-photo:url(/assets/refonte/mur-enceintes-g.webp);--rf-photo-p:url(/assets/refonte/mur-enceintes-p.webp);--rf-pos:75% 45%}
body.rf-p-preuve{--rf-photo:url(/assets/refonte/mains-platines-g.webp);--rf-photo-p:url(/assets/refonte/mains-platines-p.webp);--rf-pos:80% 70%}
body.rf-p-djs,body.rf-p-passages,body.rf-p-styles{--rf-photo:url(/assets/refonte/foule-lasers-g.webp);--rf-photo-p:url(/assets/refonte/foule-lasers-p.webp);--rf-pos:60% 40%}
body.rf-p-blog,body.rf-p-contact,body.rf-p-legal,body.rf-p-newsletter,body.rf-p-404{--rf-photo:url(/assets/refonte/affiches-g.webp);--rf-photo-p:url(/assets/refonte/affiches-p.webp);--rf-pos:50% 50%}
/* Pages de style : la photo de scène de la famille tient lieu de photo de fond (30/11/2026) */
body.rf.page-scene{--rf-photo:none;--rf-photo-p:none}

/* -- Hauts de page « ap-hero » (accueil, DJ, tarifs, preuve, labels, comment, aide) -- */
body.rf .ap-hero{text-align:left;isolation:isolate;padding:calc(var(--rf-entete) + 104px) 0 0;background:var(--rf-noir)}
body.rf .ap-hero::before{content:"";position:absolute;inset:0 0 auto 0;left:0;top:0;width:100%;height:min(100%,880px);transform:none;z-index:-2;background:var(--rf-photo) var(--rf-pos)/cover no-repeat;transform-origin:70% 40%;animation:rf-zoom 26s ease-in-out infinite alternate;will-change:transform}
body.rf .ap-hero::after{content:"";position:absolute;left:0;top:0;width:100%;height:min(100%,882px);z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--rf-noir) 0%,rgba(11,11,16,.9) 30%,rgba(11,11,16,.35) 62%,rgba(11,11,16,.1) 100%),linear-gradient(180deg,rgba(11,11,16,.6) 0%,rgba(11,11,16,0) 22%,rgba(11,11,16,0) 62%,var(--rf-noir) 100%)}
@keyframes rf-zoom{from{transform:scale(1) translate3d(0,var(--rf-para,0),0)}to{transform:scale(1.09) translate3d(-1%,var(--rf-para,0),0)}}
body.rf .ap-hero h1{font-size:clamp(44px,8vw,116px);line-height:.92;letter-spacing:-.045em;max-width:920px;margin:0;text-wrap:balance}
body.rf .ap-hero .ap-sous{margin-left:0;margin-right:0;max-width:540px;font-size:clamp(17px,1.5vw,20px);color:#D6D6E0;margin-top:28px}
body.rf .ap-hero .actions{justify-content:flex-start;margin-top:32px;gap:14px}
body.rf .ap-hero .bouton{min-height:60px;padding:0 32px;font-size:18px}
body.rf .ap-hero .bouton-lime{box-shadow:0 0 60px rgba(212,255,79,.3)}
body.rf .ap-hero .ap-note{color:#D6D6E0;text-align:left;margin-top:22px}
body.rf .ap-hero-court{padding-bottom:96px}
body.rf .ap-hero .ap-sommaire{justify-content:flex-start}
body.rf .ap-hero .ap-centre{text-align:left;margin:0}
/* Le faisceau : une lame de lumière verte qui balaie lentement la photo */
body.rf .ap-hero>.conteneur:first-of-type::before{content:"";position:absolute;right:-10%;top:-260px;width:46%;height:900px;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(212,255,79,.16) 45%,rgba(212,255,79,.3) 50%,rgba(212,255,79,.16) 55%,transparent);filter:blur(14px);transform-origin:80% 0;transform:rotate(24deg);mix-blend-mode:screen;animation:rf-faisceau 9s ease-in-out infinite alternate}
@keyframes rf-faisceau{from{transform:rotate(30deg);opacity:.35}50%{opacity:.9}to{transform:rotate(8deg);opacity:.45}}
body.rf-p-dj .ap-hero>.conteneur:first-of-type::before{background:linear-gradient(90deg,transparent,rgba(167,139,250,.2) 45%,rgba(167,139,250,.4) 50%,rgba(167,139,250,.2) 55%,transparent)}

/* Accueil : la démo passe sous la photo, posée comme un écran de régie */

body.rf .vi-demo{border-radius:10px;border:1px solid #3A3A4C;box-shadow:14px 14px 0 var(--lime),0 40px 100px rgba(0,0,0,.6);max-width:1040px;margin:0 auto}
body.rf .ap-hero>.ap-note.conteneur{text-align:center;margin-top:34px;padding-bottom:64px}

/* -- Hauts de page « hero-app » (annuaire, classement, blog, à propos, presse, styles…) et contact -- */
body.rf .hero-app,body.rf .contact-hero{position:relative;isolation:isolate;overflow:hidden;padding:calc(var(--rf-entete) + 96px) 0 96px;background:var(--rf-noir)}
body.rf .hero-app::before,body.rf .contact-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--rf-photo) var(--rf-pos)/cover no-repeat;transform-origin:70% 40%;animation:rf-zoom 26s ease-in-out infinite alternate}
body.rf .hero-app::after,body.rf .contact-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--rf-noir) 0%,rgba(11,11,16,.9) 32%,rgba(11,11,16,.45) 66%,rgba(11,11,16,.2) 100%),linear-gradient(180deg,rgba(11,11,16,.6) 0%,rgba(11,11,16,0) 26%,rgba(11,11,16,.2) 60%,var(--rf-noir) 100%)}
body.rf .hero-app .hero-fond,body.rf .hero-app>.photo-hero{display:none}
body.rf .hero-app h1,body.rf .contact-hero h1{font-size:clamp(40px,6.4vw,92px);line-height:.94;letter-spacing:-.045em;max-width:980px;text-wrap:balance}
body.rf .hero .accroche,body.rf .contact-hero .accroche{color:#D6D6E0;font-size:clamp(17px,1.5vw,20px);max-width:600px;margin-top:24px}
body.rf-p-blog .hero-app::after,body.rf-p-contact .contact-hero::after,body.rf-p-legal .hero-app::after{background:linear-gradient(180deg,rgba(11,11,16,.78),rgba(11,11,16,.7) 60%,var(--rf-noir))}
/* Page d'une famille de styles : l'illustration reste la vedette, la photo de foule s'efface */
body.rf .hero-style::before{opacity:.35}

/* ==========================================================================
   Ruban adhésif qui défile
   ========================================================================== */

@keyframes rf-defile{to{transform:translate3d(-25%,0,0)}}

/* ==========================================================================
   Sections
   ========================================================================== */
body.rf .ap-sec{padding:128px 0}
body.rf .ap-sec.serre,body.rf .ap-sec-serre{padding:80px 0}
body.rf .bloc{padding:96px 0}
body.rf .ap-centre{text-align:left;max-width:none;margin:0}
body.rf .ap-centre .ap-sous{margin-left:0;max-width:640px}
body.rf .ap-liens{justify-content:flex-start;gap:14px 28px;margin-top:36px}
body.rf .ap-liens a{text-decoration:underline;text-underline-offset:6px;text-decoration-color:rgba(212,255,79,.4);transition:text-decoration-color .2s,text-underline-offset .2s}
body.rf .ap-liens a:hover{text-decoration-color:currentColor;text-underline-offset:9px}

/* Sections noires : mur d'affiches déchirées, assombri */
body.rf .ap-noir{background:linear-gradient(180deg,rgba(11,11,16,.9),rgba(11,11,16,.8) 50%,rgba(11,11,16,.92)),url(/assets/refonte/affiches-g.webp) center/cover;background-attachment:scroll,fixed}
/* Sections sombres : trame de points */
body.rf .bloc-sombre{background:radial-gradient(rgba(255,255,255,.07) 1.2px,transparent 1.5px) 0 0/12px 12px,#08080C;border-color:#2A2A38}

/* ---- Les garanties : quatre grands chiffres ---- */

body.rf .rf-chiffre{display:block;font:700 clamp(48px,6vw,84px)/.95 var(--titre);letter-spacing:-.04em;color:var(--lime);margin-bottom:12px;white-space:nowrap}

/* ---- Les étapes : trois panneaux (photo, violet tramé, vert tramé) ---- */
body.rf .ap-pas{gap:20px;margin-top:56px;text-align:left}
body.rf .ap-pas>div{position:relative;isolation:isolate;overflow:hidden;min-height:480px;padding:32px;border-radius:10px;display:flex;flex-direction:column;justify-content:flex-end;background:#15151E;transition:transform .35s cubic-bezier(.3,1.3,.5,1),box-shadow .35s}
body.rf .ap-pas>div:nth-child(3n+1){background:linear-gradient(180deg,rgba(11,11,16,.1),rgba(11,11,16,.55) 45%,rgba(11,11,16,.96)),url(/assets/refonte/producteur-studio-g.webp) center/cover}
body.rf .ap-pas>div:nth-child(3n+2){background:radial-gradient(rgba(255,255,255,.2) 1.3px,transparent 1.6px) 0 0/10px 10px,var(--rf-violet);color:#fff}
body.rf .ap-pas>div:nth-child(3n+3){background:radial-gradient(rgba(15,15,20,.22) 1.3px,transparent 1.6px) 0 0/10px 10px,var(--lime);color:var(--rf-encre)}
body.rf .ap-pas .ap-illu{position:absolute;top:24px;right:24px;width:84px;height:84px;opacity:.9}
body.rf .ap-pas .ap-num{font-size:clamp(84px,9vw,128px);line-height:.8;letter-spacing:-.05em;margin:0 0 14px;color:var(--lime)}
body.rf .ap-pas>div:nth-child(3n+2) .ap-num{color:#fff}
body.rf .ap-pas>div:nth-child(3n+3) .ap-num{color:var(--rf-encre)}
body.rf .ap-pas h3{font-size:clamp(24px,2.4vw,30px);margin-bottom:10px}
body.rf .ap-pas p{font-size:16px;color:#D6D6E0}
body.rf .ap-pas>div:nth-child(3n+2) p{color:#fff}
body.rf .ap-pas>div:nth-child(3n+3) p{color:var(--rf-encre)}
/* Page Labels, « Trois façons » : un bouton d'inscription par carte, lisible sur le violet et sur le lime */
body.rf .labels-facons>div .bouton{margin-top:20px;align-self:flex-start}
body.rf .labels-facons>div:nth-child(3n+2) .bouton{border-color:#fff;color:#fff}
body.rf .labels-facons>div:nth-child(3n+3) .bouton{background:var(--rf-encre);border-color:var(--rf-encre);color:var(--lime)}
body.rf .labels-facons>div:nth-child(3n+2) .num{color:#fff}
body.rf .labels-facons>div:nth-child(3n+3) .num{color:var(--rf-encre)}
@media (hover:hover){body.rf .ap-pas>div:hover{transform:translate(-5px,-5px) rotate(-.6deg);box-shadow:10px 10px 0 var(--rf-papier)}}

/* ---- Vidéo d'une minute ---- */

body.rf .vi-video{border-radius:10px;box-shadow:-14px 14px 0 var(--rf-violet)}

/* ---- La preuve : la photo des platines derrière les écrans ---- */

@keyframes rf-tampon{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg) scale(1.06)}}

/* ---- La scène : la carte sur un fond de lumières ---- */
body.rf #scene{background:radial-gradient(60% 55% at 55% 30%,rgba(124,58,237,.3),rgba(11,11,16,0) 70%),radial-gradient(38% 40% at 48% 26%,rgba(212,255,79,.12),rgba(11,11,16,0) 70%),var(--rf-noir);border-top:1px solid #2A2A38}

/* ---- Tuiles (prix, avantages) : angles nets, aplats tramés, ombre portée au survol ---- */
body.rf .ap-tile{border-radius:10px;border:1px solid #2A2A38;transition:transform .35s cubic-bezier(.3,1.3,.5,1),box-shadow .35s,border-color .35s}
body.rf .ap-tile.ap-lime{background:radial-gradient(rgba(15,15,20,.2) 1.3px,transparent 1.6px) 0 0/10px 10px,var(--lime);border-color:var(--lime)}

body.rf .ap-tile h3{font-size:clamp(24px,2.6vw,36px);letter-spacing:-.03em;line-height:1.02}
/* Titres de tuile passés en h2 (ordre des titres, T16) : même rendu qu'avant qu'ils soient en h3. */
body.rf .ap-sec .ap-tile-titre{font-size:clamp(24px,2.6vw,36px);letter-spacing:-.03em;line-height:1.02}
body.rf .ap-sec .ap-lime .ap-tile-titre{color:var(--fond)}
body.rf .ap-gros{font-size:clamp(64px,9vw,128px);line-height:.85}
@media (hover:hover){
  body.rf .ap-tile:hover{transform:translate(-5px,-5px);box-shadow:10px 10px 0 var(--lime);border-color:var(--lime)}
  body.rf .ap-tile.ap-lime:hover{box-shadow:10px 10px 0 var(--rf-papier)}

}

/* ---- Cartes génériques, tableaux, bandeaux ---- */
body.rf .carte,body.rf .etape,body.rf .tableau,body.rf .bandeau{border-radius:10px}
body.rf .carte,body.rf .etape{transition:transform .3s cubic-bezier(.3,1.3,.5,1),box-shadow .3s,border-color .3s}
@media (hover:hover){
  body.rf .carte:hover,body.rf .etape:hover{transform:translate(-4px,-4px);box-shadow:8px 8px 0 var(--lime);border-color:var(--lime)}
  body.rf .carte.violet:hover{box-shadow:8px 8px 0 var(--rf-violet-clair);border-color:var(--rf-violet-clair)}
}
body.rf .chiffre{font-size:clamp(48px,5vw,72px);letter-spacing:-.04em}
body.rf .etape::before{font-size:56px;line-height:.9;letter-spacing:-.04em}

/* ---- Questions : des lignes, plus de cases vides ---- */

body.rf .faq details{background:none;border:0;border-top:1px solid #2A2A38;border-radius:0;padding:22px 0;margin:0}
body.rf .faq details:last-of-type{border-bottom:1px solid #2A2A38}
body.rf .faq summary{font:700 clamp(19px,2vw,24px)/1.2 var(--titre);letter-spacing:-.02em;min-height:44px;align-items:center;transition:color .2s,padding-left .25s}

@media (hover:hover){body.rf .faq summary:hover{color:var(--lime);padding-left:8px}}

/* ---- Bandes photo et carte finale de l'accueil ---- */
body.rf .ap-bande{min-height:680px;text-align:left;place-items:end start;padding:120px max(32px,calc((100% - 1176px)/2))}
body.rf .ap-pied-photo{border-radius:10px;min-height:520px;padding:64px;align-items:flex-end;box-shadow:14px 14px 0 var(--lime)}
body.rf .ap-pied-photo>div{max-width:820px}
body.rf .ap-pied-photo h2{font-size:clamp(44px,8vw,116px);line-height:.9;letter-spacing:-.05em}
body.rf .ap-pied-photo p{font-size:19px;margin-top:18px}

/* ---- Pied de page ---- */
body.rf .pied{margin-top:150px;border-top:0}
body.rf .pied>.rf-rayures{position:absolute;left:0;right:0;top:0}

/* ---- Barre d'action collée en bas (mobile seulement) ---- */
body.rf .rf-barre{display:none}

/* ---- Mouvements au défilement (les éléments .reveal existent déjà) ---- */
html.js body.rf .reveal{transform:translateY(40px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
html.js body.rf h1.reveal,html.js body.rf h2.reveal{transform:translateY(60px) skewY(2deg);transform-origin:left bottom}
html.js body.rf .reveal.visible{transform:none}
html.js body.rf .ap-pas>.reveal:nth-child(2){transition-delay:.12s}
html.js body.rf .ap-pas>.reveal:nth-child(3){transition-delay:.24s}

/* Barre de progression de lecture : plus épaisse, aux couleurs de la maison */
body.rf .entete-progression{height:3px}

/* ==========================================================================
   Tablette et mobile
   ========================================================================== */
@media (max-width:960px){
  body.rf .ap-sec{padding:88px 0}
  body.rf .ap-sec.serre,body.rf .ap-sec-serre{padding:56px 0}
  body.rf .bloc{padding:64px 0}
  body.rf .ap-pas>div{min-height:340px}

  body.rf .ap-noir{background-attachment:scroll,scroll}

  body.rf .ap-pied-photo{padding:40px 32px;min-height:440px}

}
@media (max-width:700px){
  body.rf{--rf-entete:64px;--rf-photo:var(--rf-photo-p)}
  body.rf .conteneur{padding:0 20px}
  body.rf::after{animation:none;opacity:.06;inset:0}
  /* Haut de page : la photo en haut, plein écran, le texte posé sur son bas noirci */
  body.rf .ap-hero{padding-top:calc(var(--rf-entete) + 33vh)}
  body.rf .ap-hero::before{height:62vh;background-position:var(--rf-pos)}
  body.rf .ap-hero::after{height:calc(62vh + 2px);background:linear-gradient(180deg,rgba(11,11,16,.55) 0%,rgba(11,11,16,0) 18%,rgba(11,11,16,.2) 40%,rgba(11,11,16,.92) 78%,var(--rf-noir) 100%)}
  body.rf .ap-hero h1{font-size:clamp(42px,12.5vw,64px);line-height:.94}
  body.rf .ap-hero .ap-sous{font-size:17px;margin-top:20px}
  body.rf .ap-hero .actions{flex-direction:column;align-items:stretch;gap:10px;margin-top:26px}
  body.rf .ap-hero .bouton{width:100%;min-height:58px}
  body.rf .ap-hero-court{padding-top:calc(var(--rf-entete) + 26vh);padding-bottom:56px}
  body.rf .ap-hero-court::before{height:52vh}
  body.rf .ap-hero-court::after{height:calc(52vh + 2px)}
  body.rf .ap-hero>.conteneur:first-of-type::before{width:90%;right:-30%;top:-33vh;height:60vh}

  body.rf .vi-demo{box-shadow:8px 8px 0 var(--lime),0 30px 60px rgba(0,0,0,.6)}
  body.rf .hero-app,body.rf .contact-hero{padding:calc(var(--rf-entete) + 150px) 0 56px}
  body.rf .hero-app::after,body.rf .contact-hero::after{background:linear-gradient(180deg,rgba(11,11,16,.5) 0%,rgba(11,11,16,.15) 22%,rgba(11,11,16,.85) 62%,var(--rf-noir) 100%)}
  body.rf .hero-app h1,body.rf .contact-hero h1{font-size:clamp(38px,11vw,56px)}

  body.rf .ap-sec{padding:72px 0}
  body.rf .ap-sec h2,body.rf .ap-bande h2{font-size:clamp(36px,10.5vw,52px)}

  body.rf .rf-chiffre{font-size:clamp(40px,12vw,56px)}

  /* Étapes : un couloir horizontal qui s'accroche carte par carte */
  body.rf .ap-pas{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:40px -20px 0;padding:0 20px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  body.rf .ap-pas::-webkit-scrollbar{display:none}
  body.rf .ap-pas>div{flex:0 0 82%;scroll-snap-align:center;min-height:400px;padding:24px}
  html.js body.rf .ap-pas>.reveal{transition-delay:0s}
  body.rf .vi-video{box-shadow:-8px 8px 0 var(--rf-violet)}

  body.rf .ap-tile{padding:28px}
  body.rf .ap-pied-photo{padding:32px 24px;min-height:460px;box-shadow:8px 8px 0 var(--lime)}
  body.rf .ap-bande{min-height:520px;padding:72px 20px}
  body.rf .pied{margin-top:110px}

  /* Barre d'action : apparaît après le haut de page, s'efface près du pied */
  body.rf .rf-barre{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:35;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(11,11,16,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #2A2A38;transform:translateY(110%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  body.rf .rf-barre[hidden]{display:flex}
  body.rf .rf-barre.rf-visible{transform:none}
  body.rf .rf-barre .bouton{flex:1 1 auto;min-height:50px;padding:0 14px;font-size:15px;white-space:nowrap}
  body.rf .rf-barre .bouton-fantome{flex:0 0 auto}
}

/* ==========================================================================
   Moins d'animations : tout s'arrête, rien ne disparaît
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  body.rf::after,body.rf .rf-rayures,body.rf .ap-hero::before,body.rf .hero-app::before,body.rf .contact-hero::before,body.rf .ap-hero>.conteneur:first-of-type::before{animation:none}
  body.rf .bouton,body.rf .ap-tile,body.rf .carte,body.rf .etape,body.rf .ap-pas>div{transition:none}
  html.js body.rf .reveal,html.js body.rf h1.reveal,html.js body.rf h2.reveal,html.js body.rf .ap-eyebrow.reveal{opacity:1;transform:none;transition:none}
  html.js body.rf .ap-eyebrow.reveal{transform:rotate(-2deg)}
  body.rf .rf-barre{transition:none}
}

/* ---- Garde-fous de mise en page ---- */
body.rf .ap-hero .ap-note{margin-left:0;margin-right:0;max-width:none}
body.rf .ap-sec>.conteneur>.ap-sous{margin-left:0;margin-right:0;text-align:left;margin-top:36px}
/* Tuile sur capture d'écran : la capture recule pour que le texte se lise */

/* Titres longs des pages intérieures : un cran plus petit que l'accueil */
body.rf:not(.rf-p-accueil) .ap-hero h1{font-size:clamp(40px,6vw,84px);max-width:1040px}
body.rf .hero-app h1,body.rf .contact-hero h1{font-size:clamp(38px,5.4vw,76px);max-width:1040px}
@media (max-width:700px){
  body.rf:not(.rf-p-accueil) .ap-hero h1{font-size:clamp(36px,10.5vw,52px)}
  body.rf .hero-app h1,body.rf .contact-hero h1{font-size:clamp(34px,10vw,50px)}
}

/* ---- Alignements : tout ce qui accompagne un titre à gauche se cale à gauche ---- */
body.rf .ap-sec .ap-note,body.rf .ap-hero .conteneur>.ap-note{text-align:left}
body.rf .ap-sec>.ap-note.conteneur{text-align:left;margin-top:28px}
body.rf .ap-hero .ap-chiffres,body.rf .ap-hero .legende-cotes{justify-content:flex-start;text-align:left;margin-left:0;margin-right:0}
body.rf .ap-sec h3{text-align:left}
body.rf .ap-sec .ap-centre h3,body.rf .ap-sec>.conteneur>h3{text-align:left;margin-left:0}
/* Mots longs (anglais, « Automatiquement ») : jamais coupés par le bord */
body.rf h1,body.rf h2{overflow-wrap:break-word}
body.rf .ap-pied-photo>div{width:100%}
body.rf .ap-pied-photo h2{font-size:clamp(40px,6.6vw,96px)}
@media (max-width:700px){
  body.rf .ap-sec h2,body.rf .ap-bande h2{font-size:clamp(30px,9vw,46px)}
  body.rf .ap-pied-photo h2{font-size:clamp(34px,10vw,48px)}
}
/* Bandes photo : le texte reste calé à gauche sous son titre, sur un voile plus dense */
body.rf .ap-bande>.photo-fond,body.rf .ap-bande>.ap-fond{--voile-haut:.82;--voile-bas:.94}

body.rf .ap-bande .ap-sous,body.rf .ap-bande p{margin-left:0;margin-right:0;text-align:left;max-width:640px;color:#F3F3F7}
body.rf .ap-bande .actions,body.rf .ap-bande .ap-liens{justify-content:flex-start}

/* ==========================================================================
   Accueil : la démo a quitté le haut de page (elle illustre les trois étapes)
   ========================================================================== */
body.rf-p-accueil .ap-hero{padding-bottom:170px}
body.rf-p-accueil .ap-hero::before,body.rf-p-accueil .ap-hero::after{height:100%}

/* ==========================================================================
   Carte « La scène djplays » : cadre, commandes de cadrage, pastilles hors cadre
   (moteur : assets/carte.js ; la carte existe aussi sur l'annuaire et la candidature)
   ========================================================================== */

@keyframes rf-pastille{from{opacity:0;scale:.6}to{opacity:1;scale:1}}
/* Le pays mis en avant : sa ligne du classement s'allume, et l'encart en bas de carte grossit */

@media (max-width:700px){
  /* Téléphone : plus de carte à faire défiler de côté, la caméra cadre la scène dans une toile plus haute */

  body.rf-p-accueil .ap-hero{padding-bottom:96px}
}

/* ==========================================================================
   Accueil, refonte du front (lot 6) : « Trois oreilles. Une seule règle. », bloc du test du titre, bloc label
   ========================================================================== */

