/* ==========================================================================
   vf-b.css — SOCLE BIS (session 00B). Chargé APRÈS vf.css : ses règles l'emportent à poids égal.
   La session 00 n'écrit pas ici ; la 00B n'écrit jamais dans vf.css. Aucune couleur en dur : variables de vf.css.
   ========================================================================== */

/* V-67 — cartes de clubs (/campus) : au repos la photo, une petite bande de verre (pictogramme + titre) ;
   souris, focus clavier ou toucher : la carte devient blanche, titre en bleu, phrase du club et lien.
   Bloc visé, tel que la page l'écrit : .vf-grille-4 > .vf-atouts-photo > .vf-verre > (img d'icône + titre + p + a).
   Durées : celles de la carte « Core Values » d'Educrest (fond 0,8 s ; contenu 0,6 s après 0,2 s). Courbe en cubic-bezier (V-85 : la courbe « ressort » en linear() fait sauter la transition sur les navigateurs plus anciens). */
.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a){overflow:hidden;border-radius:8px;isolation:isolate}
.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a)::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;
  background:var(--vf-blanc);box-shadow:inset 0 0 0 1px var(--vf-gris-2);opacity:0;pointer-events:none;transition:opacity .8s cubic-bezier(.22,1,.36,1)}
.vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a){z-index:2;left:16px;right:16px;bottom:16px;width:auto;max-width:none;padding:14px 16px;gap:0 12px;
  transition:background-color .8s cubic-bezier(.22,1,.36,1),box-shadow .8s cubic-bezier(.22,1,.36,1),-webkit-backdrop-filter .8s cubic-bezier(.22,1,.36,1),backdrop-filter .8s cubic-bezier(.22,1,.36,1)}
.vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a) > :is(h2,h3,h4){transition:color .6s cubic-bezier(.22,1,.36,1)}
.vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a) > :is(p,a){max-height:0;margin:0;padding:0;opacity:0;overflow:hidden;
  transition:max-height .6s cubic-bezier(.22,1,.36,1),margin-top .6s cubic-bezier(.22,1,.36,1),opacity .6s cubic-bezier(.22,1,.36,1)}
.vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a) > p{color:var(--vf-encre);font-size:15px;line-height:1.45}
.vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a) > a{justify-self:start;min-height:0;border-radius:0;background:none;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;color:var(--vf-titre);font-size:16px;font-weight:600;line-height:1.4;pointer-events:none}
.vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a) > a::after{display:block;width:20px;height:20px}

/* état ouvert : focus clavier et toucher (classe posée par vf-b.js) partout ; survol seulement là où il y a une souris */
.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a):is(:focus-within,.vf-b-ouvert)::after{opacity:1}
.vf-grille-4 > .vf-atouts-photo:is(:focus-within,.vf-b-ouvert) > .vf-verre:has(> img[src*="/icones/"] ~ a){background-color:transparent;box-shadow:none;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}
.vf-grille-4 > .vf-atouts-photo:is(:focus-within,.vf-b-ouvert) > .vf-verre:has(> img[src*="/icones/"] ~ a) > :is(h2,h3,h4){color:var(--vf-titre)}
.vf-grille-4 > .vf-atouts-photo:is(:focus-within,.vf-b-ouvert) > .vf-verre:has(> img[src*="/icones/"] ~ a) > p{max-height:260px;margin-top:12px;opacity:1;transition-delay:0s,0s,.2s}
.vf-grille-4 > .vf-atouts-photo:is(:focus-within,.vf-b-ouvert) > .vf-verre:has(> img[src*="/icones/"] ~ a) > a{max-height:40px;margin-top:12px;opacity:1;pointer-events:auto;transition-delay:0s,0s,.2s}
@media (hover:hover){
  .vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a):hover::after{opacity:1}
  .vf-grille-4 > .vf-atouts-photo:hover > .vf-verre:has(> img[src*="/icones/"] ~ a){background-color:transparent;box-shadow:none;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}
  .vf-grille-4 > .vf-atouts-photo:hover > .vf-verre:has(> img[src*="/icones/"] ~ a) > :is(h2,h3,h4){color:var(--vf-titre)}
  .vf-grille-4 > .vf-atouts-photo:hover > .vf-verre:has(> img[src*="/icones/"] ~ a) > p{max-height:260px;margin-top:12px;opacity:1;transition-delay:0s,0s,.2s}
  .vf-grille-4 > .vf-atouts-photo:hover > .vf-verre:has(> img[src*="/icones/"] ~ a) > a{max-height:40px;margin-top:12px;opacity:1;pointer-events:auto;transition-delay:0s,0s,.2s}
}
@media (hover:none){.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a){cursor:pointer}}
@media (prefers-reduced-motion:reduce){
  .vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a)::after,
  .vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a),
  .vf-grille-4 > .vf-atouts-photo > .vf-verre:has(> img[src*="/icones/"] ~ a) > *{transition:none}
}

/* V-55 — Mot du Président (/a-propos) : portrait ramené à moins d'un tiers (360 px, 4/5), aligné en haut avec le sur-titre ;
   le texte prend le reste ; la carte de citation en verre tient entièrement dans la photo, en bas, marges égales.
   Bloc visé, tel que la page l'écrit : .vf-duo > .vf-atouts-photo (image + .vf-verre) + .vf-duo-texte. Rien à poser dans la page. */
.vf-duo > .vf-atouts-photo:has(> .vf-verre){width:100%;max-width:360px}
.vf-duo > .vf-atouts-photo:has(> .vf-verre) > .vf-img{--vf-ratio:4/5 !important}
.vf-duo > .vf-atouts-photo:has(> .vf-verre) > .vf-img > img{object-position:50% 0}
.vf-duo > .vf-atouts-photo > .vf-verre{left:12px;right:12px;bottom:12px;width:auto;max-width:none;padding:14px 16px;gap:4px}
.vf-duo > .vf-atouts-photo > .vf-verre > p{font-size:14px;line-height:1.4}
.vf-duo > .vf-atouts-photo > .vf-verre > :is(h2,h3,h4){margin:4px 0 0;font-size:16px;line-height:1.25}
@media (min-width:1200px){
  .vf-duo:has(> .vf-atouts-photo > .vf-verre){grid-template-columns:360px minmax(0,1fr)}
  .vf-duo:has(> .vf-atouts-photo > .vf-verre) > .vf-duo-texte{padding-top:0}
  .vf-duo:has(> .vf-atouts-photo > .vf-verre) > .vf-duo-texte > .vf-texte{max-width:none}
}
@media (max-width:809px){
  .vf-duo > .vf-atouts-photo:has(> .vf-verre){max-width:none}
  .vf-duo > .vf-atouts-photo:has(> .vf-verre) > .vf-img{--vf-ratio:350/420 !important;max-height:420px}
}

/* V-83 puis V-128 puis V-138 — MOSAÏQUE-PUZZLE des vidéos (médiathèque de /blog) : toutes les vignettes visibles d'un coup, sans flèche ni glissement.
   Balisage : section « Socle bis » de _ops/SOCLE.md (liste plate de liens .vf-vignette dans .vf-mosaique-piste, la plus récente en premier).
   Les 15 images sont des vidéos portrait posées sur des bandes sombres : chaque vignette ne montre que la bande nette centrale (l'image est agrandie 3,16 fois et centrée),
   donc AUCUN voile ni bande grise au repos. Le voile, le titre et la date n'apparaissent qu'au survol (ou au focus clavier). Disposition en puzzle, tuiles droites de tailles mêlées,
   fixée à la main pour 15 vidéos (grille pleine, aucun trou), légèrement décalées (translate) : certaines débordent des autres et des marges.
   Bureau (dès 1200) : 8 colonnes × 8 rangs ; tablette : 4 colonnes × 9 rangs ; mobile : 2 colonnes, titre sous l'image. Écarts : 22 px au bureau, 16 px en tablette. */
.vf-mosaique{--vf-b-ecart:22px;position:relative;container-type:inline-size}
.vf-mosaique-piste{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-flow:row dense;gap:var(--vf-b-ecart);padding:18px 0 34px;
  grid-auto-rows:calc((100cqw - 7 * var(--vf-b-ecart)) / 16)}
.vf-vignette{position:relative;display:block;min-width:0;border-radius:10px;overflow:hidden;isolation:isolate;color:#fff;background:var(--vf-gris-1);
  transition:filter .3s var(--vf-courbe),translate .5s cubic-bezier(.22,1,.36,1)}
.vf-vignette:focus-visible{outline:3px solid var(--vf-accent);outline-offset:3px}
.vf-vignette > .vf-img{position:absolute;inset:0;z-index:-1;width:auto;height:auto;aspect-ratio:auto;border-radius:0}
/* la bande nette centrale seulement (405 px sur 1280) : image à 316 % de la largeur de la case, centrée ; la case la recadre en haut et en bas */
.vf-vignette > .vf-img > img{position:absolute;top:0;left:-108%;width:316%;max-width:none;height:100%;object-fit:cover;transition:scale .6s cubic-bezier(.22,1,.36,1)}
/* voile bas : uniquement au survol */
.vf-vignette > .vf-img::before{content:"";position:absolute;inset:30% 0 0;z-index:1;background:linear-gradient(180deg,rgba(var(--vf-sombre-rvb),0),rgba(var(--vf-sombre-rvb),.7));opacity:0;transition:opacity .3s var(--vf-courbe);pointer-events:none}
/* rond de lecture : deux calques de la taille de la case, le rond jaune puis le triangle bleu profond */
.vf-vignette::before,.vf-vignette::after{content:"";position:absolute;inset:0;pointer-events:none;transition:transform .3s var(--vf-courbe)}
.vf-vignette::before{background:radial-gradient(circle at 50% 50%,var(--vf-accent) 0 15px,transparent 16px)}
.vf-vignette::after{background:var(--vf-sur-accent);clip-path:polygon(calc(50% - 4px) calc(50% - 7px),calc(50% + 8px) 50%,calc(50% - 4px) calc(50% + 7px))}
.vf-vignette:nth-child(1)::before{background:radial-gradient(circle at 50% 50%,var(--vf-accent) 0 30px,transparent 31px)}
.vf-vignette:nth-child(1)::after{clip-path:polygon(calc(50% - 8px) calc(50% - 13px),calc(50% + 15px) 50%,calc(50% - 8px) calc(50% + 13px))}
/* titre + date sur le verre du socle (variables de V-66) : cachés au repos, sur TOUTES les vignettes, la première comprise */
.vf-vignette-texte{position:absolute;left:8px;right:8px;bottom:8px;display:flex;flex-direction:column;gap:1px;padding:7px 10px;border-radius:var(--vf-verre-rayon);
  background:var(--vf-verre-fond);-webkit-backdrop-filter:var(--vf-verre-flou);backdrop-filter:var(--vf-verre-flou);box-shadow:var(--vf-verre-bord);color:#fff;
  opacity:0;transform:translateY(8px);transition:opacity .3s var(--vf-courbe),transform .3s var(--vf-courbe)}
.vf-vignette-texte > strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;font-size:13px;line-height:1.25;font-weight:600}
.vf-vignette-texte > time,.vf-vignette-texte > span{font-size:11px;line-height:1.3}
.vf-vignette:nth-child(1) > .vf-vignette-texte{left:14px;right:14px;bottom:14px;padding:12px 14px}
.vf-vignette:nth-child(1) > .vf-vignette-texte > strong{font-size:clamp(16px,1.4vw,20px)}
.vf-vignette:nth-child(1) > .vf-vignette-texte > time,.vf-vignette:nth-child(1) > .vf-vignette-texte > span{font-size:13px}
/* la vedette : souris (là où il y en a une) ou focus clavier */
.vf-vignette:focus-visible > .vf-vignette-texte{opacity:1;transform:none}
.vf-vignette:focus-visible > .vf-img::before{opacity:1}
.vf-vignette:focus-visible > .vf-img > img{scale:1.08}
.vf-vignette:focus-visible::before,.vf-vignette:focus-visible::after{transform:translateY(-22%) scale(1.35)}
.vf-mosaique-piste:has(.vf-vignette:focus-visible) > .vf-vignette:not(:focus-visible){filter:brightness(.8)}
@media (hover:hover){
  .vf-vignette:hover > .vf-vignette-texte{opacity:1;transform:none}
  .vf-vignette:hover > .vf-img::before{opacity:1}
  .vf-vignette:hover > .vf-img > img{scale:1.08}
  .vf-vignette:hover::before,.vf-vignette:hover::after{transform:translateY(-22%) scale(1.35)}
  .vf-mosaique-piste:has(.vf-vignette:hover) > .vf-vignette:not(:hover){filter:brightness(.8)}
}
/* écran tactile large (pas de survol) : les titres restent affichés */
@media (hover:none) and (min-width:810px){
  .vf-vignette > .vf-vignette-texte{opacity:1;transform:none}
  .vf-vignette > .vf-img::before{opacity:1}
}
/* bureau : 8 colonnes × 8 rangs, rangs de la moitié d'une colonne ; 15 tuiles de tailles mêlées, disposition pleine */
@media (min-width:1200px){
  .vf-vignette:nth-child(1){grid-area:1/1/7/4}
  .vf-vignette:nth-child(2){grid-area:1/4/6/6}
  .vf-vignette:nth-child(3){grid-area:1/6/5/8}
  .vf-vignette:nth-child(4){grid-area:1/8/4/9}
  .vf-vignette:nth-child(5){grid-area:4/8/6/9}
  .vf-vignette:nth-child(6){grid-area:5/6/7/7}
  .vf-vignette:nth-child(7){grid-area:5/7/7/8}
  .vf-vignette:nth-child(8){grid-area:6/4/9/5}
  .vf-vignette:nth-child(9){grid-area:6/5/9/6}
  .vf-vignette:nth-child(10){grid-area:6/8/9/9}
  .vf-vignette:nth-child(11){grid-area:7/1/9/2}
  .vf-vignette:nth-child(12){grid-area:7/2/9/3}
  .vf-vignette:nth-child(13){grid-area:7/3/9/4}
  .vf-vignette:nth-child(14){grid-area:7/6/9/7}
  .vf-vignette:nth-child(15){grid-area:7/7/9/8}
  .vf-vignette:nth-child(1){translate:-16px -10px}
  .vf-vignette:nth-child(3){translate:0 10px}
  .vf-vignette:nth-child(4){translate:18px -8px}
  .vf-vignette:nth-child(5){translate:18px 10px}
  .vf-vignette:nth-child(6){translate:0 16px}
  .vf-vignette:nth-child(7){translate:0 16px}
  .vf-vignette:nth-child(8){translate:0 14px}
  .vf-vignette:nth-child(9){translate:0 14px}
  .vf-vignette:nth-child(10){translate:18px 14px}
  .vf-vignette:nth-child(11){translate:-14px 12px}
  .vf-vignette:nth-child(12){translate:0 8px}
  .vf-vignette:nth-child(13){translate:0 16px}
  .vf-vignette:nth-child(14){translate:0 22px}
  .vf-vignette:nth-child(15){translate:0 22px}
  .vf-vignette:nth-child(2){scale:1.05}
  .vf-vignette:nth-child(9){scale:1.06}
}
/* tablette : 4 colonnes × 9 rangs, écart de 16 px */
@media (min-width:810px) and (max-width:1199px){
  .vf-mosaique{--vf-b-ecart:16px}
  .vf-mosaique-piste{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:calc((100cqw - 3 * var(--vf-b-ecart)) / 8)}
  .vf-vignette:nth-child(1){grid-area:1/1/4/3}
  .vf-vignette:nth-child(2){grid-area:1/3/4/4}
  .vf-vignette:nth-child(3){grid-area:1/4/3/5}
  .vf-vignette:nth-child(4){grid-area:3/4/6/5}
  .vf-vignette:nth-child(5){grid-area:4/1/6/2}
  .vf-vignette:nth-child(6){grid-area:4/2/6/3}
  .vf-vignette:nth-child(7){grid-area:4/3/6/4}
  .vf-vignette:nth-child(8){grid-area:6/1/8/2}
  .vf-vignette:nth-child(9){grid-area:6/2/8/3}
  .vf-vignette:nth-child(10){grid-area:6/3/8/4}
  .vf-vignette:nth-child(11){grid-area:6/4/8/5}
  .vf-vignette:nth-child(12){grid-area:8/1/10/2}
  .vf-vignette:nth-child(13){grid-area:8/2/10/3}
  .vf-vignette:nth-child(14){grid-area:8/3/10/4}
  .vf-vignette:nth-child(15){grid-area:8/4/10/5}
  .vf-vignette:nth-child(2){translate:0 10px}
  .vf-vignette:nth-child(3){translate:0 -6px}
  .vf-vignette:nth-child(4){translate:0 -6px}
  .vf-vignette:nth-child(7){translate:0 10px}
  .vf-vignette:nth-child(10){translate:0 10px}
  .vf-vignette:nth-child(11){translate:0 -6px}
  .vf-vignette:nth-child(14){translate:0 10px}
  .vf-vignette:nth-child(15){translate:0 -6px}
}
/* mobile : 2 colonnes, la 1re en pleine largeur ; l'image (bande nette recadrée) en haut, le titre et la date dessous, toujours lisibles ; colonne de droite décalée vers le bas */
@media (max-width:809px){
  .vf-mosaique{--vf-b-ecart:16px}
  .vf-mosaique-piste{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:30px 16px;padding:8px 0 40px}
  .vf-vignette{display:flex;flex-direction:column;gap:6px;overflow:visible;background:none;color:var(--vf-encre);filter:none!important;border-radius:0}
  .vf-vignette:nth-child(1){grid-column:1/-1}
  .vf-vignette:nth-child(even){translate:0 22px}
  .vf-vignette > .vf-img{position:relative;inset:auto;z-index:auto;width:100%;aspect-ratio:4/5;border-radius:10px;overflow:hidden}
  .vf-vignette:nth-child(1) > .vf-img{aspect-ratio:1/1}
  .vf-vignette > .vf-img::before{display:none}
  .vf-vignette::before,.vf-vignette::after{z-index:2;inset:0 0 auto 0;aspect-ratio:4/5;transform:none!important}
  .vf-vignette:nth-child(1)::before,.vf-vignette:nth-child(1)::after{aspect-ratio:1/1}
  .vf-vignette > .vf-vignette-texte,.vf-vignette:nth-child(1) > .vf-vignette-texte{position:static;padding:0;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;
    color:var(--vf-encre);opacity:1;transform:none}
  .vf-vignette-texte > strong{-webkit-line-clamp:3;line-clamp:3;font-size:13px;color:var(--vf-titre)}
  .vf-vignette:nth-child(1) > .vf-vignette-texte > strong{font-size:16px}
  .vf-vignette-texte > time,.vf-vignette-texte > span{font-size:12px;color:var(--vf-gris-texte)}
}
/* les flèches de l'ancien bloc (V-75), si une page les porte encore : masquées */
.vf-section:has(.vf-mosaique) .vf-carrousel-fleches:has([data-vf-b-prec],[data-vf-b-suiv]){display:none}
@media (prefers-reduced-motion:reduce){.vf-vignette,.vf-vignette *,.vf-vignette::before,.vf-vignette::after,.vf-vignette > .vf-img::before,.vf-vignette > .vf-img > img{transition:none}}

/* V-85 — cartes de clubs : l'image zoome en 600 ms à l'entrée de la souris et dézoome en 600 ms à sa sortie (jamais de saut) */
.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a) > .vf-img > img{transition:transform .6s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a):hover > .vf-img > img{transform:scale(1.08)}}
.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a):is(:focus-within,.vf-b-ouvert) > .vf-img > img{transform:scale(1.08)}

/* V-77 — ÉCHELLE : rien n'est pensé pour 1440 × 900. Paliers alignés sur ceux de la 00 : bureau dès 1200, tablette 810–1199, mobile < 810.
   Largeurs et hauteurs fluides, bornées par la fenêtre (vw, vh). Ces règles passent après celles de V-55, V-67 et V-75 ci-dessus. */
/* portrait du Président : largeur fluide, jamais plus du quart de la fenêtre */
@media (min-width:810px){
  .vf-duo > .vf-atouts-photo:has(> .vf-verre){max-width:clamp(260px,24vw,360px)}
}
@media (min-width:1200px){
  .vf-duo:has(> .vf-atouts-photo > .vf-verre){grid-template-columns:clamp(260px,24vw,360px) minmax(0,1fr);gap:clamp(40px,5vw,80px)}
}
.vf-duo > .vf-atouts-photo > .vf-verre > p{font-size:clamp(13px,1vw,14px)}
.vf-duo > .vf-atouts-photo > .vf-verre > :is(h2,h3,h4){font-size:clamp(14px,1.1vw,16px)}
/* cartes de clubs : hauteur relative à la fenêtre, bornée ; 4 de front dès 1200 */
.vf-grille-4 > .vf-atouts-photo:has(> .vf-verre > img[src*="/icones/"] ~ a) > .vf-img{aspect-ratio:auto;height:clamp(300px,52vh,460px)}
@media (min-width:1200px){
  .vf-grille-4:has(> .vf-atouts-photo > .vf-verre > img[src*="/icones/"] ~ a){grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* V-81 puis V-101 — plus aucun voile coloré sous le verre : la lisibilité vient du verre gris unique de la 00 (variables --vf-verre-*). */
/* le verre du portrait reste au-dessus de l'image */
.vf-duo > .vf-atouts-photo > .vf-verre{z-index:2}

/* V-87 — BARRE DE MENU FLOTTANTE au défilement. En haut de page : la barre de la 00, pleine largeur, blanche. Dès qu'on a défilé
   (classe vf-entete--defile, posée par vf.js) : la barre se détache des bords, s'arrête avant eux, coins arrondis, plus translucide.
   La place réservée ne bouge pas : l'en-tête garde sa hauteur et devient transparent ; c'est la barre intérieure qui porte le verre.
   Menu mobile ouvert (vf-menu-ouvert) : retour à la barre pleine largeur de la 00. */
.vf-entete-barre{border-radius:0;transition:max-width .3s ease,padding .3s ease,transform .3s ease,background-color .3s ease,border-radius .3s ease,box-shadow .3s ease}
.vf-entete.vf-entete--defile:not(.vf-menu-ouvert){background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;border-bottom-color:transparent;pointer-events:none}
.vf-entete.vf-entete--defile:not(.vf-menu-ouvert) > .vf-entete-barre{pointer-events:auto;max-width:min(1280px,calc(100% - 32px));padding-inline:clamp(16px,2vw,28px);transform:translateY(10px);border-radius:18px;
  background-color:rgba(255,255,255,.66);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 14px 32px -18px rgba(var(--vf-sombre-rvb),.45)}
/* lisibilité sur une photo sombre : les liens passent au bleu profond tant que la barre flotte (4,5 au moins, même sur du noir) */
.vf-entete.vf-entete--defile:not(.vf-menu-ouvert) .vf-menu > li > .vf-lien,.vf-entete.vf-entete--defile:not(.vf-menu-ouvert) .vf-fleche{color:var(--vf-sombre)}
@media (min-width:1200px){
  /* le déroulant « Formations » s'ouvre 8 px sous la barre flottante, mêmes coins arrondis */
  .vf-entete.vf-entete--defile .vf-sous-menu{top:calc(100% + (var(--vf-entete) - 24px) / 2 + 8px);border-radius:16px;padding:10px}
  .vf-entete.vf-entete--defile .vf-sous-menu::before{top:calc(-1 * ((var(--vf-entete) - 24px) / 2 + 8px));height:calc((var(--vf-entete) - 24px) / 2 + 8px)}
  .vf-entete.vf-entete--defile .vf-sous-menu a{border-radius:10px}
}
@media (max-width:809px){
  .vf-entete.vf-entete--defile:not(.vf-menu-ouvert) > .vf-entete-barre{max-width:calc(100% - 16px);padding-inline:14px;transform:translateY(8px);border-radius:16px}
}
/* la photo de tête collante monte jusqu'en haut de la fenêtre : la barre flotte sur la photo, plus sur une bande blanche */
@media (min-width:810px){.vf-js main > .vf-hero-photo:first-child,.vf-js [data-vf-recouvert]{top:0}}
html{scroll-padding-top:calc(var(--vf-entete) + 18px)}
@media (prefers-reduced-motion:reduce){.vf-entete-barre{transition:none}}

/* V-94 — ÉTAPES EMPILÉES (bloc vf-etapes de la 00, surchargé ici) : quand le nombre d'étapes est IMPAIR (3 sur /admissions), plus de grille 2 + 1
   avec une carte orpheline : une seule colonne, l'une sous l'autre, reliées par un trait vertical (un point par étape) ; dans la carte, le numéro
   en grand à gauche, puis le pictogramme et le titre sur une ligne (V-43), la phrase dessous. Un nombre pair (4, 6) garde la grille 2 × n de la 00.
   La colonne de gauche prend la hauteur de la pile : son bouton s'aligne sur le bas de la dernière étape (V-78). Rien à poser dans la page. */
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)){position:relative;grid-template-columns:minmax(0,1fr);gap:14px;padding-left:34px}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd))::before{content:"";position:absolute;left:9px;top:26px;bottom:26px;width:2px;border-radius:2px;background:var(--vf-gris-2)}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape{position:relative;grid-template-columns:auto 32px minmax(0,1fr);gap:6px 14px;min-height:0;padding:18px 22px;align-items:center;
  transition:background-color .3s cubic-bezier(.22,1,.36,1),box-shadow .3s cubic-bezier(.22,1,.36,1)}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape::before{content:"";position:absolute;left:-31px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;
  background:var(--vf-blanc);box-shadow:0 0 0 2px var(--vf-accent);transition:background-color .3s cubic-bezier(.22,1,.36,1)}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-num{grid-area:1/1/3/2;align-self:center;min-width:1.5em;font-size:clamp(30px,2.7vw,40px);line-height:1;font-weight:600;letter-spacing:-.02em;color:var(--vf-titre)}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-haut > img{grid-area:1/2;width:32px;height:32px;margin:0}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-bas > :first-child{grid-area:1/3}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-bas > :not(:first-child){grid-area:2/2/3/4;max-width:none}
/* survol ou focus : la carte passe en blanc avec une ombre légère, son point se remplit */
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape:focus-within{background:var(--vf-blanc);box-shadow:inset 0 0 0 1px var(--vf-gris-2),0 14px 30px -18px rgba(var(--vf-sombre-rvb),.4)}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape:focus-within::before{background:var(--vf-accent)}
@media (hover:hover){
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape:hover{background:var(--vf-blanc);box-shadow:inset 0 0 0 1px var(--vf-gris-2),0 14px 30px -18px rgba(var(--vf-sombre-rvb),.4)}
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape:hover::before{background:var(--vf-accent)}
}
/* bureau : les deux colonnes ont la même hauteur, le bouton de gauche descend au niveau du bas de la dernière étape */
@media (min-width:1200px){
  .vf-etapes:has(> .vf-etapes-grille > .vf-etape:last-child:nth-child(odd)){align-items:stretch}
  .vf-etapes:has(> .vf-etapes-grille > .vf-etape:last-child:nth-child(odd)) > .vf-tete{position:static}
  .vf-etapes:has(> .vf-etapes-grille > .vf-etape:last-child:nth-child(odd)) > .vf-tete > .vf-bouton{margin-top:auto}
}
@media (max-width:809px){
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)){padding-left:28px;gap:12px}
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd))::before{left:6px}
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape{padding:16px;gap:6px 12px}
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape::before{left:-28px}
  .vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-haut > img{width:28px;height:28px}
}
@media (prefers-reduced-motion:reduce){.vf-etapes-grille > .vf-etape,.vf-etapes-grille > .vf-etape::before{transition:none}}

/* V-101 — carte de citation du portrait : le nom en jaune de la charte ; citation et fonction restent en blanc. Le verre est celui de la 00, sans rien y ajouter. */
.vf-duo > .vf-atouts-photo > .vf-verre > :is(h2,h3,h4){color:var(--vf-accent)}

/* V-109 — MENTION : une ligne de sous-titre simple (sans fond, sans cadre, sans majuscules forcées), en bleu de la charte ;
   vf-mention--france la fait précéder d'un petit drapeau français rond (/commun/icones/drapeau-fr.svg, fichier du projet).
   Sert à « Diplôme étatique français » sous le nom d'une filière. Sur fond sombre (hero, bandeau, appel, section sombre, ligne survolée) : texte blanc.
   Balisage : section « Socle bis » de _ops/SOCLE.md. La carte de filière de la 00 n'est pas modifiée : la mention se loge dans le rang de son titre. */
.vf-mention{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;border:0;background:none;font-size:15px;line-height:22px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--vf-marque)}
.vf-mention--france::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:url("/commun/icones/drapeau-fr.svg") center/100% 100% no-repeat}
.vf-mention--claire,.vf-hero-photo .vf-mention,.vf-bandeau .vf-mention,.vf-appel .vf-mention,.vf-section--sombre .vf-mention,
.vf-ligne:hover .vf-mention,.vf-ligne:focus-within .vf-mention{color:#fff}
.vf-ligne .vf-mention{transition:color .4s}
/* dans une carte de filière en grille (sous-grille de la 00 : image · étiquette · titre · durée · texte · … · lien) : la mention se pose
   au bas du rang du titre. Titre d'une ligne : elle occupe la place de la seconde ligne ; titre de deux lignes : le rang grandit pour tout le rang de cartes. */
@media (min-width:810px){
  @supports (grid-template-rows:subgrid){
    /* le titre et la mention partagent la même case (rang 3, colonne 1) : le titre en haut, la mention en bas */
    :is(.vf-grille-2,.vf-grille-3,.vf-grille-4) > .vf-evenement:has(> .vf-actions) > .vf-mention{grid-area:3/1;align-self:end;justify-self:start;margin-top:0}
    :is(.vf-grille-2,.vf-grille-3,.vf-grille-4) > .vf-evenement:has(> .vf-actions):has(> .vf-mention) > :is(h2,h3,h4){grid-area:3/1;padding-bottom:26px}
  }
}
/* hors sous-grille (mobile, carrousel, ligne de filière) : simplement sous le titre */
.vf-evenement > .vf-mention{margin-top:-4px}
.vf-ligne-texte > .vf-mention{margin-top:2px}
@media (max-width:809px){.vf-mention{font-size:14px;line-height:20px}.vf-mention--france::before{width:16px;height:16px}}

/* V-110 — NUMÉROS DÉCORATIFS RETIRÉS (« 001// », « 002// »…) : écart voulu avec Educrest, décidé par Hamada. Une règle unique, sans toucher aux pages :
   le numéro des cartes (vf-carte-num, y compris celui des cartes à survol et les « 01 » / « 02 » des fiches, V-112) et celui des points d'atouts
   (le <span> de vf-atout-haut) sortent de l'affichage et de la lecture d'écran. Les numéros d'ordre des étapes (vf-etape-num) RESTENT : ils disent un ordre réel.
   ⚠️ À la 00 : ne pas remettre ces numéros. */
.vf-carte-num,.vf-atout-haut > span{display:none!important}
/* la place libérée revient au titre : il va jusqu'au bord de la carte */
.vf-atout > .vf-atout-bas > :first-child{grid-area:1/2/2/-1}

/* V-112 — fiches de filières, cartes « Compétences Développées » et « Débouchés Professionnels » : le pictogramme à gauche du titre est retiré
   (cartes dont l'en-tête enveloppe l'image et le titre dans un même <div>) ; le titre se cale au bord gauche, à l'aplomb des coches. Les coches restent. */
.vf-carte > .vf-carte-haut > div > img{display:none}

/* V-114 — PARCOURS année par année (cycles des écoles) : à gauche une ligne fine avec un point par année et un repère par cycle ; à droite la photo de l'année.
   Balisage : section « Socle bis » de _ops/SOCLE.md (B-04). Le HTML porte les années à la suite, chacune avec son texte et sa photo : lisible sans script.
   Sans script, ou en « mouvement réduit » : chaque année est une rangée, sa photo en face (dessous sur mobile), tout est visible.
   Avec script (classe vf-b-pret) et à partir de 1000 px : la colonne de droite est collante et la photo de l'année active remplace la précédente en fondu.
   Année active = celle qui passe au milieu de la fenêtre ; le survol, le clic ou le focus d'une année l'active aussi. Ni vf-frise ni vf-chrono ne sont touchés. */
.vf-parcours{--vf-b-avance:0;position:relative}
.vf-parcours-liste{position:relative;display:flex;flex-direction:column;gap:clamp(14px,2.4vh,22px);margin:0;padding:0 0 0 34px;list-style:none}
.vf-parcours-liste::before,.vf-parcours-liste::after{content:"";position:absolute;left:8px;top:6px;bottom:6px;width:2px;border-radius:2px;background:var(--vf-gris-2)}
.vf-parcours-liste::after{background:var(--vf-marque);transform:scaleY(var(--vf-b-avance));transform-origin:50% 0;transition:transform .25s linear}
/* repère de cycle : une pastille posée sur la ligne */
.vf-parcours-cycle{position:relative;z-index:1;align-self:flex-start;margin-left:-34px;padding:5px 14px;border-radius:100px;background:var(--vf-sombre);color:#fff;font-size:13px;line-height:1.3;font-weight:600;letter-spacing:.01em}
.vf-parcours-cycle:not(:first-child){margin-top:6px}
/* une année : son point sur la ligne, puis le libellé, le titre court et la phrase */
.vf-parcours-annee{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,260px);gap:12px 28px;align-items:start}
.vf-parcours-annee::before{content:"";position:absolute;z-index:1;left:-33px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--vf-blanc);box-shadow:inset 0 0 0 2px var(--vf-marque);
  transition:background-color .3s cubic-bezier(.22,1,.36,1),box-shadow .3s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.22,1,.36,1)}
.vf-parcours-texte{display:flex;flex-direction:column;gap:4px;min-width:0}
.vf-parcours-rang{font-size:13px;line-height:22px;font-weight:600;letter-spacing:.02em;color:var(--vf-marque)}
.vf-parcours-texte > :is(h2,h3,h4){margin:0}
.vf-parcours-annee > .vf-img{--vf-ratio:4/3}
@media (max-width:809px){
  .vf-parcours-liste{padding-left:30px;gap:20px}
  .vf-parcours-liste::before,.vf-parcours-liste::after{left:6px}
  .vf-parcours-cycle{margin-left:-30px}
  .vf-parcours-annee{grid-template-columns:minmax(0,1fr);gap:12px}
  .vf-parcours-annee::before{left:-31px}
}
/* avec script : l'année active a son point plein (jaune, cerclé de bleu) ; les années passées gardent un point bleu */
.vf-parcours.vf-b-pret .vf-parcours-annee{cursor:pointer;outline-offset:6px}
.vf-parcours.vf-b-pret .vf-parcours-annee.vf-b-passee::before{background:var(--vf-marque)}
.vf-parcours.vf-b-pret .vf-parcours-annee.vf-b-active::before{background:var(--vf-accent);box-shadow:inset 0 0 0 2px var(--vf-marque),0 0 0 4px rgba(var(--vf-sombre-rvb),.12);transform:scale(1.15)}
.vf-parcours-scene{display:none}
@media (min-width:1000px){
  .vf-parcours.vf-b-pret{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(32px,5vw,72px);align-items:start}
  .vf-parcours.vf-b-pret .vf-parcours-annee{grid-template-columns:minmax(0,1fr)}
  .vf-parcours.vf-b-pret .vf-parcours-annee > .vf-img{display:none}
  .vf-parcours.vf-b-pret .vf-parcours-texte{opacity:.55;transition:opacity .3s cubic-bezier(.22,1,.36,1)}
  .vf-parcours.vf-b-pret .vf-parcours-annee.vf-b-active .vf-parcours-texte{opacity:1}
  .vf-parcours.vf-b-pret > .vf-parcours-scene{display:block;position:sticky;top:calc(var(--vf-entete) + 24px);width:100%;aspect-ratio:4/3;max-height:calc(100vh - var(--vf-entete) - 60px);
    border-radius:12px;overflow:hidden;background:var(--vf-gris-1)}
  .vf-parcours-scene > .vf-parcours-vue{position:absolute;inset:0;width:auto;height:auto;aspect-ratio:auto;border-radius:0;opacity:0;transition:opacity .5s cubic-bezier(.22,1,.36,1)}
  .vf-parcours-scene > .vf-parcours-vue.vf-b-active{opacity:1}
  .vf-parcours-scene > .vf-parcours-vue > img{width:100%;height:100%;object-fit:cover}
}
@media (prefers-reduced-motion:reduce){.vf-parcours-liste::after,.vf-parcours-annee::before,.vf-parcours-texte,.vf-parcours-vue{transition:none!important}}

/* V-115 — CARTES À TITRE : plus de pictogramme à côté du titre, plus de numéro (élargit V-110 et V-112 ; écart voulu avec Educrest, décidé par Hamada).
   Une règle : dans toute carte vf-carte, sauf la carte à survol révélateur (vf-carte--valeur, dont le pictogramme est le seul repère au repos),
   le pictogramme de l'en-tête sort de l'affichage ; le titre se cale au bord gauche de la carte, à l'aplomb du texte et des coches.
   GARDÉS : pictogrammes des points d'atouts, des étapes, des étiquettes, des cartes de clubs ; logos des cartes de certifications et d'universités ; coches des listes. */
.vf-carte:not(.vf-carte--valeur) > .vf-carte-haut > img[src*="/icones/"]{display:none}
.vf-carte:not(.vf-carte--valeur):has(> .vf-carte-haut > img[src*="/icones/"]) > .vf-carte-bas > :first-child{grid-area:1/1/2/-1}

/* V-117 — JALONS : une frise de 3 à 6 jalons, tous visibles d'un coup, sans photo, sans flèche, sans défilement (« Un parcours progressif vers l'emploi » de /stages).
   Balisage : section « Socle bis » de _ops/SOCLE.md (B-05). Une liste ordonnée ; le numéro de chaque pastille vient du style (compteur), pas du HTML.
   Bureau (dès 1000 px) : une ligne horizontale, une colonne égale par jalon. En dessous : frise verticale, pastilles à gauche, texte à droite.
   État par défaut = état final (ligne jaune, pastilles allumées) : c'est ce qu'on voit sans script et en « mouvement réduit ».
   Avec script : quand le bloc entre à l'écran, la ligne se remplit en 1,2 s et les pastilles s'allument l'une après l'autre ; rejoué à chaque retour. */
.vf-jalons{--vf-b-n:5;--vf-b-pas:calc(1.2s / (var(--vf-b-n) - 1));position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0 clamp(8px,1.2vw,16px);
  margin:0;padding:0;list-style:none;counter-reset:vf-b-jalon}
.vf-jalons:has(> .vf-jalon:nth-child(3):last-child){--vf-b-n:3}
.vf-jalons:has(> .vf-jalon:nth-child(4):last-child){--vf-b-n:4}
.vf-jalons:has(> .vf-jalon:nth-child(6):last-child){--vf-b-n:6}
.vf-jalons::before{content:"";position:absolute;left:14px;right:14px;top:31px;height:2px;border-radius:2px;background:var(--vf-gris-2)}
.vf-jalon{--vf-b-i:0;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:14px 14px 16px;border-radius:12px;counter-increment:vf-b-jalon;
  transition:background-color .3s cubic-bezier(.22,1,.36,1),box-shadow .3s cubic-bezier(.22,1,.36,1)}
.vf-jalon:nth-child(2){--vf-b-i:1}.vf-jalon:nth-child(3){--vf-b-i:2}.vf-jalon:nth-child(4){--vf-b-i:3}.vf-jalon:nth-child(5){--vf-b-i:4}.vf-jalon:nth-child(6){--vf-b-i:5}
/* la pastille numérotée */
.vf-jalon::before{content:counter(vf-b-jalon);position:relative;z-index:2;flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin-bottom:10px;border-radius:50%;
  background:var(--vf-accent);color:var(--vf-sur-accent);box-shadow:0 0 0 4px var(--vf-blanc);font-size:16px;line-height:1;font-weight:700}
.vf-section--gris .vf-jalon::before{box-shadow:0 0 0 4px var(--vf-gris-1)}
/* le tronçon jaune qui relie une pastille à la suivante */
.vf-jalon::after{content:"";position:absolute;z-index:1;left:32px;right:calc(-1 * clamp(8px,1.2vw,16px) - 14px);top:31px;height:2px;background:var(--vf-accent);transform-origin:0 50%}
.vf-jalon:last-child::after{display:none}
.vf-jalon-rang{font-size:13px;line-height:20px;font-weight:600;letter-spacing:.02em;color:var(--vf-marque)}
.vf-jalon > :is(h2,h3,h4){margin:0;font-size:clamp(17px,1.4vw,20px);line-height:1.25;font-weight:600;color:var(--vf-titre)}
.vf-jalon > p{margin:2px 0 0;font-size:14.5px;line-height:1.5}
/* survol ou focus : la colonne passe sur une carte blanche à ombre douce, sa pastille grossit un peu */
.vf-jalon::before{transition:transform .3s cubic-bezier(.22,1,.36,1),background-color .3s cubic-bezier(.22,1,.36,1),color .3s cubic-bezier(.22,1,.36,1)}
.vf-jalon:focus-within{background:var(--vf-blanc);box-shadow:0 14px 30px -18px rgba(var(--vf-sombre-rvb),.4),inset 0 0 0 1px var(--vf-gris-2)}
.vf-jalon:focus-within::before{transform:scale(1.12)}
@media (hover:hover){
  .vf-jalon:hover{background:var(--vf-blanc);box-shadow:0 14px 30px -18px rgba(var(--vf-sombre-rvb),.4),inset 0 0 0 1px var(--vf-gris-2)}
  .vf-jalon:hover::before{transform:scale(1.12)}
}
/* frise verticale sous 1000 px : pastilles à gauche, texte à droite */
@media (max-width:999px){
  .vf-jalons{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:minmax(0,1fr);gap:6px}
  .vf-jalons::before{left:31px;right:auto;top:14px;bottom:14px;width:2px;height:auto}
  .vf-jalon{display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 14px;align-items:start}
  .vf-jalon::before{grid-area:1/1/4/2;margin:0}
  .vf-jalon > *{grid-column:2}
  .vf-jalon::after{left:31px;right:auto;top:46px;bottom:-24px;width:2px;height:auto;transform-origin:50% 0}
}
/* avec script : état d'attente (bloc hors écran) puis remplissage à l'entrée */
.vf-jalons.vf-b-attente:not(.vf-b-vu) > .vf-jalon::after{transform:scaleX(0)}
.vf-jalons.vf-b-attente:not(.vf-b-vu) > .vf-jalon::before{background:var(--vf-blanc);color:var(--vf-gris-texte);box-shadow:0 0 0 4px var(--vf-blanc),inset 0 0 0 2px var(--vf-gris-2)}
.vf-jalons.vf-b-attente.vf-b-vu > .vf-jalon::after{transition:transform var(--vf-b-pas) linear calc(var(--vf-b-i) * var(--vf-b-pas))}
.vf-jalons.vf-b-attente.vf-b-vu > .vf-jalon::before{transition:transform .3s cubic-bezier(.22,1,.36,1),background-color .3s ease calc(var(--vf-b-i) * var(--vf-b-pas)),color .3s ease calc(var(--vf-b-i) * var(--vf-b-pas)),box-shadow .3s ease calc(var(--vf-b-i) * var(--vf-b-pas))}
@media (max-width:999px){.vf-jalons.vf-b-attente:not(.vf-b-vu) > .vf-jalon::after{transform:scaleY(0)}}
@media (prefers-reduced-motion:reduce){.vf-jalon,.vf-jalon::before,.vf-jalon::after{transition:none!important}}

/* V-119 — CARTES DES BLOCS vf-etapes (élargit V-115) : le pictogramme de titre part de TOUTES les cartes d'étapes ; le numéro part aussi,
   SAUF dans la pile d'un processus (nombre impair d'étapes, empilées et reliées par un trait, V-94 : « Comment candidater ? » de /admissions), où il dit un ordre réel.
   Le titre se cale au bord gauche de la carte. Écart voulu avec Educrest, décidé par Hamada ; sans toucher aux pages. */
.vf-etape .vf-etape-haut > img{display:none!important}
.vf-etapes-grille:not(:has(> .vf-etape:last-child:nth-child(odd))) .vf-etape-num{display:none!important}
.vf-etapes-grille:not(:has(> .vf-etape:last-child:nth-child(odd))) > .vf-etape > .vf-etape-bas > :first-child{grid-area:1/1/2/-1}
/* pile d'un processus : numéro à gauche, puis le titre et la phrase (plus de colonne de pictogramme) */
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape{grid-template-columns:auto minmax(0,1fr);gap:4px 18px}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-bas > :first-child{grid-area:1/2}
.vf-etapes-grille:has(> .vf-etape:last-child:nth-child(odd)) > .vf-etape .vf-etape-bas > :not(:first-child){grid-area:2/2}

/* V-125 — CARTES À RANGS IMPOSÉS : data-vf-rangs="4,3,4" sur un bloc vf-cartes (même attribut que vf-logos, V-65). Au bureau (dès 1200 px) : des rangs de 4, 3 et 4 cartes,
   toutes de même largeur, le rang plus court CENTRÉ (marges égales). Le script (vf-b.js) pose la colonne de départ de chaque rang ; la grille compte deux colonnes par carte.
   Filets fins au-dessus de chaque carte (ceux de la 00) conservés. Sans l'attribut, ou si la somme des rangs n'est pas le nombre de cartes : comportement de la 00.
   En dessous de 1200 px : 2 cartes par rang, et la dernière, seule, est centrée. */
.vf-cartes[data-vf-rangs]:not(.vf-b-rangs){grid-template-columns:repeat(2,minmax(0,1fr))}
.vf-cartes[data-vf-rangs]:not(.vf-b-rangs) > .vf-carte:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 8px)}
@media (min-width:1200px){
  .vf-cartes.vf-b-rangs{grid-template-columns:repeat(var(--vf-b-cols),minmax(0,1fr))}
  .vf-cartes.vf-b-rangs > .vf-carte{grid-column:span 2}
  .vf-cartes.vf-b-rangs > .vf-carte[style*="--vf-b-depart"]{grid-column:var(--vf-b-depart) / span 2}
}
@media (max-width:1199px){
  .vf-cartes.vf-b-rangs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vf-cartes.vf-b-rangs > .vf-carte:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 8px)}
}

/* V-128 — logo YouTube tout petit à côté du mot « YouTube » du titre de la médiathèque (même ligne, posé sur le bas du texte) ; icône locale, mots inchangés.
   Le lien « Voir toute la chaîne » se détache de la grille. */
.vf-section:has(.vf-mosaique) .vf-tete > h2::after{content:"";display:inline-block;width:34px;height:24px;margin-left:10px;vertical-align:-2px;
  background:url("/commun/icones/youtube.svg") center/contain no-repeat}
.vf-section:has(.vf-mosaique) .vf-mosaique ~ .vf-actions{margin-top:24px}

/* V-190 — DERNIÈRE RANGÉE INCOMPLÈTE CENTRÉE : dans les grilles de portraits (vf-equipe, hors ligne qui défile) et de cartes à image (vf-grille-2, -3, -4), la rangée finale
   de 1, 2 ou 3 cartes est centrée sous les rangées pleines, aux mêmes largeurs de carte et aux mêmes écarts. À toutes les largeurs : le script (vf-b.js) compte les colonnes,
   puis la grille passe à deux colonnes par carte et la 1re carte de la dernière rangée démarre au bon décalage. Rangée complète : rien n'est changé. */
.vf-b-centre{grid-template-columns:repeat(calc(var(--vf-b-n) * 2),minmax(0,1fr))}
.vf-b-centre > :not(.vf-grille-note){grid-column:span 2}
.vf-b-centre > [style*="--vf-b-depart"]:not(.vf-grille-note){grid-column:var(--vf-b-depart) / span 2}
.vf-equipe.vf-b-centre{grid-template-columns:repeat(calc(var(--vf-b-n) * 2),minmax(0,calc((320px - 16px) / 2)))}
@media (max-width:809px){.vf-equipe.vf-b-centre{grid-template-columns:repeat(calc(var(--vf-b-n) * 2),minmax(0,1fr));column-gap:12px}}
