/* Véloci, refonte 2026-11 : habillage commun des pages de l'ancien site (publié sous /vc-legacy.css).
   habillage.py remplace leur en-tête et leur pied de page par ceux de la refonte et charge cette feuille APRÈS
   leurs propres feuilles (pages.css, components.css, apple-motion.css...). Elle reprend sur leurs classes le
   dessin de la refonte : héros bleu nuit (photo et parallaxe sur les pages produits), titres en serif léger,
   boutons dorés, bandeaux de rendez-vous, questions fréquentes en cartes.

   Pourquoi une couche (@layer) et des !important : les anciennes feuilles empilent des !important très
   spécifiques (body:not(#vcx):not(#vcy)...). Une déclaration !important posée dans une couche l'emporte sur
   TOUTES les déclarations !important hors couche, quelle que soit leur spécificité : c'est le seul moyen sûr
   de passer devant sans réécrire ces feuilles. Revers à garder en tête : un !important d'ici gagne aussi
   contre les règles « exception » des anciennes feuilles (le bouton doré changé en lien sous les chiffres
   du héros, par exemple), d'où les :not() ci-dessous. Les feuilles de famille (/vc-l-<famille>.css)
   utilisent la même couche et viennent après : à spécificité égale, elles gagnent. */

/* Mêmes polices que la refonte, pour les caractères accentués hors latin de base (ő, ł...) : fichiers
   déjà sur le site, téléchargés seulement si la page en contient. */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;
  src:url(/fonts/newsreader-normal-400-latin-ext-7a09be.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:100 700;font-display:swap;
  src:url(/fonts/ibmplexsans-normal-300-latin-ext-05d29b.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

@layer vc-legacy{

/* ---------- Barrière d'héritage de l'habillage ----------
   Les feuilles de l'ancien site sont cloisonnées (cloison.py) : aucune de leurs règles ne vise plus
   l'en-tête, le tiroir, le pied de page, la barre mobile, la barre d'urgence ni les widgets, c'est-à-dire
   les enfants directs de <body> autres que le contenu. Mais leurs règles html/body (police, interligne,
   ligatures...) passent encore par l'héritage. Ces racines reprennent donc les valeurs de body dans
   vc-site.css. Déclarations normales, dans la couche : une règle de vc-site.css posée sur la racine
   elle-même l'emporte toujours. Liste HORS identique à celle de cloison.py. */
body>:not(main,.vc-prog,.vc-toc,.glossary-nav-sidebar){
  font:400 17px/1.65 var(--sans);font-kerning:normal;font-feature-settings:normal;font-variation-settings:normal;
  font-optical-sizing:auto;font-synthesis:weight style;font-size-adjust:none;
  color:var(--ink);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none;
  white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:manual;text-wrap:wrap;line-break:auto;
  text-underline-offset:auto;text-underline-position:auto;text-decoration-skip-ink:auto;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
/* Boutons des widgets posés à la racine (assistant, cookies) : vc-site.css leur demande d'hériter de body
   (font:inherit), ce qui l'emporte sur la barrière ci-dessus. Seules les propriétés qu'ils héritent sur la
   page d'accueil sont reprises ici, en !important ; leur taille et leur graisse restent les leurs. */
body>:is(button,input,select,textarea){
  font-family:var(--sans)!important;line-height:1.65!important;font-kerning:normal!important;
  font-feature-settings:normal!important;font-variation-settings:normal!important}

/* ---------- Décalages : l'en-tête fixe de la refonte fait 72 px (64 px sous 1100 px), plus la barre d'urgence ---------- */
html{scroll-padding-top:calc(var(--head) + var(--ub) + 20px)!important}
body.v-legacy :is(.article-body h2,[id^="partie-"]){scroll-margin-top:12px!important}
body.v-legacy .vc-prog{top:calc(var(--head) + var(--ub))!important;z-index:880!important}
@media (min-width:1340px){
  body.v-legacy .vc-toc{top:calc(var(--head) + var(--ub) + 40px)!important;max-height:calc(100vh - var(--head) - var(--ub) - 80px)!important}
}

/* ---------- Héros : bleu nuit, comme les pages intérieures de la refonte (.v-phero) ----------
   Le texte s'aligne sur la grille de la refonte (1240 px, mêmes marges que l'en-tête). Les anciens halos
   (::before) et la trame de points (::after) disparaissent. */
body.v-legacy .page-hero{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:block!important;max-width:none!important;min-height:0!important;margin:0!important;border:0!important;
  padding:calc(var(--head) + var(--ub) + var(--hero-top)) max(var(--gut),calc((100% - var(--wrap)) / 2)) clamp(56px,7vw,96px)!important;
  background:var(--night)!important;background-image:linear-gradient(180deg,var(--night) 0%,var(--night-2) 100%)!important;
  color:#fff!important;text-align:left!important}
body.v-legacy .page-hero::before{display:none!important}
body.v-legacy .page-hero:not(.has-photo)::after{display:none!important}

/* Pages produits : photo plein cadre, haute comme l'écran, texte en bas à gauche */
body.v-legacy .page-hero.has-photo{display:flex!important;flex-direction:column!important;
  min-height:max(640px,min(100svh,1000px))!important;background-image:none!important;padding-bottom:clamp(40px,5vw,64px)!important}
/* Texte remonté (18-11) : le titre suit le fil d'Ariane. L'ancienne feuille lui donnait margin-top:auto, comme à
   la rangée de chiffres calée en bas : sur les pages au texte court, le vide se partageait entre les deux et le
   titre flottait à mi-hauteur, loin du fil d'Ariane. Les chiffres restent calés en bas de la photo. */
body.v-legacy .page-hero.has-photo > h1{margin-top:0!important}
body.v-legacy .page-hero.has-photo .page-hero-bg{position:absolute!important;inset:0!important;top:0!important;left:0!important;
  width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;
  transform:none!important;z-index:-2!important;object-fit:cover!important}
body.v-legacy .page-hero.has-photo::after{content:""!important;display:block!important;position:absolute!important;inset:0!important;
  top:0!important;left:0!important;width:auto!important;height:auto!important;transform:none!important;z-index:-1!important;
  -webkit-mask-image:none!important;mask-image:none!important;pointer-events:none!important;
  background:linear-gradient(90deg,rgba(7,12,30,.92) 0%,rgba(7,12,30,.74) 45%,rgba(7,12,30,.42) 100%),
             linear-gradient(0deg,rgba(7,12,30,.72) 0%,rgba(7,12,30,0) 42%)!important}
@media (max-width:860px){
  body.v-legacy .page-hero.has-photo::after{background:linear-gradient(180deg,rgba(7,12,30,.86) 0%,rgba(7,12,30,.76) 50%,rgba(7,12,30,.92) 100%)!important}
}
/* Parallaxe (vc-site.js pose .is-px et --px/--pt/--po au défilement) : la photo descend moins vite que la
   page, le texte glisse un peu et pâlit. Mouvement réduit : le script ne s'active pas. */
body.v-legacy .page-hero.is-px > .page-hero-bg{transform:translate3d(0,var(--px,0px),0)!important;will-change:transform}
body.v-legacy .page-hero.is-px > :not(.page-hero-bg){transform:translate3d(0,var(--pt,0px),0);opacity:var(--po,1);will-change:transform,opacity}

/* ---------- Photo de fond des bandeaux nuit (18-11, « sur chaque header de chaque page, une image en fond ») ----------
   habillage.py pose <div class="v-hbg"> (un <span> dans un titre) en premier enfant du bandeau : photo en bichromie
   bleu nuit (src/assets/img/entetes/), floutée à gauche sous le texte, sous un voile nuit. Le voile reprend celui des
   pages produits (.has-photo) : dense côté texte, plus léger à droite où la photo se lit. Le bandeau garde sa hauteur,
   son texte ne bouge pas. Couches : nuit du bandeau, photo, voile, texte (le bandeau isole ses couches). */
body.v-legacy .v-hbg{position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;
  width:auto!important;height:auto!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;pointer-events:none!important;
  background:var(--night)!important;box-shadow:none!important;opacity:1!important;transform:none!important;filter:none!important;animation:none!important}
body.v-legacy .v-hbg > img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:cover!important;object-position:50% 50%!important;
  opacity:1!important;filter:none!important;transform:none!important;animation:none!important}
body.v-legacy .v-hbg::after{content:""!important;position:absolute!important;inset:0!important;display:block!important;
  background:linear-gradient(90deg,rgba(7,12,30,.9) 0%,rgba(7,12,30,.76) 45%,rgba(7,12,30,.46) 100%),
             linear-gradient(0deg,rgba(7,12,30,.62) 0%,rgba(7,12,30,0) 45%)!important}
/* Texte centré (bilan patrimonial, questionnaires, articles) : voile dense au milieu, plus léger sur les bords. */
body.v-legacy :is(.v-hbg--c,.v-hbg--article)::after{
  background:linear-gradient(90deg,rgba(7,12,30,.62) 0%,rgba(7,12,30,.86) 26%,rgba(7,12,30,.86) 74%,rgba(7,12,30,.62) 100%)!important}
@media (max-width:860px){
  body.v-legacy .v-hbg::after,body.v-legacy :is(.v-hbg--c,.v-hbg--article)::after{
    background:linear-gradient(180deg,rgba(7,12,30,.76) 0%,rgba(7,12,30,.64) 50%,rgba(7,12,30,.84) 100%)!important}
}

/* ---------- En-tête plein écran (21-11-2026, demande de Nicolas : « le header complet, pas le blanc de la page ») ----------
   Mesure du 21-11 : le bandeau suivait la hauteur de son texte (de 30 à 90 % de l'écran selon la page et l'écran) et
   les pages produits s'arrêtaient à 1 000 px. Désormais le bandeau et sa photo couvrent tout le premier écran, quelle
   que soit sa taille. Le texte se centre dans la hauteur (align-content sur un bloc : la mise en page interne ne change
   pas) ; les pages produits (.has-photo, en colonne) gardent leur texte en haut et leurs chiffres en bas.
   Articles : voir articles.css. Questionnaires, bilan, calculateurs EN et souscription : règles suivantes. */
body.v-legacy:not(.v-pg-quiz,.v-pg-en-quiz,.v-pg-simulateur-patrimonial,.v-pg-en-wealth-simulator,.v-pg-en-simulateurs,.v-pg-souscrire-assurance-vie) main :is(.page-hero,:has(> .v-hbg)):not(.container):not(h1,h2,p,span),
body.v-legacy:not(.v-pg-quiz,.v-pg-en-quiz,.v-pg-simulateur-patrimonial,.v-pg-en-wealth-simulator,.v-pg-en-simulateurs,.v-pg-souscrire-assurance-vie) main .page-hero.has-photo{
  min-height:100vh!important;min-height:100svh!important;align-content:center!important}
/* Questionnaires, bilan, calculateurs EN et souscription : l'outil est une carte blanche qui commence dans le premier
   écran ; il garde sa place et c'est la photo qui descend derrière lui jusqu'au bas de l'écran. Le bloc qui suit le
   bandeau passe au-dessus d'elle (position relative, sans z-index : un z-index ferait remonter les fonds décoratifs
   placés sous lui, comme la bande blanche du bilan). Les calculateurs FR ouvrent sur une phrase posée hors carte : ils prennent l'en-tête
   plein écran ci-dessus, sinon cette phrase tomberait en gris sur la photo. */
body.v-legacy:is(.v-pg-quiz,.v-pg-en-quiz,.v-pg-simulateur-patrimonial,.v-pg-en-wealth-simulator,.v-pg-en-simulateurs,.v-pg-souscrire-assurance-vie) main :has(> .v-hbg){
  overflow:visible!important;z-index:0!important}
body.v-legacy:is(.v-pg-quiz,.v-pg-en-quiz,.v-pg-simulateur-patrimonial,.v-pg-en-wealth-simulator,.v-pg-en-simulateurs,.v-pg-souscrire-assurance-vie) main :has(> .v-hbg) > .v-hbg{
  bottom:auto!important;height:max(100%,100vh)!important;height:max(100%,100svh)!important}
body.v-legacy:is(.v-pg-quiz,.v-pg-en-quiz,.v-pg-simulateur-patrimonial,.v-pg-en-wealth-simulator,.v-pg-en-simulateurs,.v-pg-souscrire-assurance-vie) main :has(> .v-hbg) + *{
  position:relative!important}
/* Questionnaire EN, bilan, calculateurs EN : le bloc qui suit porte un fond brume ou blanc, il s'efface pour laisser
   voir la photo (la carte blanche de l'outil garde le sien). */
body.v-legacy:is(.v-pg-en-quiz,.v-pg-simulateur-patrimonial,.v-pg-en-wealth-simulator,.v-pg-en-simulateurs) main :has(> .v-hbg) + :is(.quiz-wrap,.bilan-section,.sim-section){
  background-color:transparent!important;background-image:none!important}
/* Souscription : la colonne des questions devient une carte blanche, comme la colonne « Votre dossier ». */
body.v-legacy.v-pg-souscrire-assurance-vie main .fn-main{background:#fff!important;border:1px solid var(--line)!important;
  border-radius:var(--r-card)!important;padding:clamp(20px,3vw,36px)!important}

/* Texte du héros */
body.v-legacy .page-hero h1{font-family:var(--serif)!important;font-optical-sizing:auto!important;font-variation-settings:normal!important;
  font-weight:330!important;font-size:clamp(40px,5.6vw,86px)!important;line-height:1!important;letter-spacing:-.03em!important;
  max-width:13em!important;margin-left:0!important;margin-right:0!important;margin-bottom:0!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;text-wrap:balance!important}
body.v-legacy .page-hero h1 *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.v-legacy .page-hero h1 em{font-style:normal!important;font-weight:inherit!important;background:none!important;padding:0!important;
  color:var(--glacier)!important;-webkit-text-fill-color:var(--glacier)!important}
body.v-legacy .page-hero > p:not(.hero-cta-note),body.v-legacy .page-hero .lead{font-size:clamp(17px,1.35vw,20px)!important;line-height:1.6!important;
  max-width:36em!important;margin-top:24px!important;margin-left:0!important;margin-right:0!important;
  color:rgba(255,255,255,.84)!important;-webkit-text-fill-color:rgba(255,255,255,.84)!important;text-shadow:none!important}
body.v-legacy .page-hero > p :is(strong,b,span){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.v-legacy .page-hero > p a{color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:underline!important;
  text-decoration-color:rgba(255,255,255,.45)!important;text-underline-offset:3px!important}
body.v-legacy .page-hero > p a:hover{text-decoration-color:#fff!important}

/* Tuile d'icône des pages outils : verre sombre au lieu de la tuile claire */
body.v-legacy .page-hero img.page-hero-ico{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important}

/* Boutons du héros (sans petite ligne dessous depuis le 18-11 : « va à l'essentiel ») */
body.v-legacy .page-hero .hero-cta-wrap{display:flex!important;flex-wrap:wrap!important;gap:12px 14px!important;
  align-items:center!important;justify-content:flex-start!important;margin-top:34px!important;margin-left:0!important;margin-right:0!important}
body.v-legacy .page-hero .hero-cta-wrap ~ .hero-service-stats ~ .hero-cta-wrap{margin-top:22px!important}
/* Sans la petite ligne, les chiffres collaient aux boutons quand le texte remplit le héros (marge auto à 0, téléphone) :
   40 px d'air, comme .v-keys des héros .v-phero. Sur grand écran la marge auto absorbe l'espace, rien ne change. */
body.v-legacy .page-hero.has-photo > .hero-cta-wrap:has(+ .hero-service-stats){margin-bottom:40px!important}

/* Chiffres du héros */
body.v-legacy .page-hero .hero-service-stats{background:none!important;box-shadow:none!important;border-color:rgba(255,255,255,.18)!important}
body.v-legacy .page-hero .hss-item{background:none!important;box-shadow:none!important;border-color:rgba(255,255,255,.16)!important}
body.v-legacy .page-hero .hss-val{font-family:var(--serif)!important;font-weight:400!important;letter-spacing:-.02em!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important}
body.v-legacy .page-hero .hss-lbl{color:rgba(255,255,255,.7)!important;-webkit-text-fill-color:rgba(255,255,255,.7)!important}
/* Le second appel sous les chiffres reste un lien souligné (choix de l'ancien site), en blanc sur le bleu nuit */
body.v-legacy .page-hero .hero-service-stats ~ .hero-cta-wrap .btn-primary{color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-decoration-color:rgba(255,255,255,.5)!important}

/* ---------- Titres de section : serif léger, accent droit (sans italique) comme .v-h2 ---------- */
body.v-legacy main h2{font-weight:400!important;font-optical-sizing:auto!important;font-variation-settings:normal!important}
body.v-legacy main :is(.section-title h2,h2.s-title,.s-title){font-family:var(--serif)!important;font-weight:360!important;
  font-size:clamp(32px,3.9vw,56px)!important;line-height:1.05!important;letter-spacing:-.025em!important;text-wrap:balance!important}
body.v-legacy main :is(h1,h2,h3,.s-title) em{font-style:normal!important}

/* ---------- Boutons : ceux de la refonte (.v-btn) ----------
   Le bouton doré « lien souligné » sous les chiffres du héros garde son dessin (:not ci-dessous).
   Comme .v-btn, un libellé trop long passe à la ligne : l'ancien .btn-ghost (nowrap) sortait de l'écran à 375 px.
   10 px en haut et en bas donnent de l'air sur deux lignes ; un bouton d'une ligne garde ses 54 px. */
body.v-legacy :is(.btn-primary,.btn-secondary,.btn-ghost):not(.hero-service-stats ~ .hero-cta-wrap .btn-primary){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  min-height:54px!important;padding:10px 26px!important;border-radius:var(--r-btn)!important;
  white-space:normal!important;text-align:center!important;text-wrap:balance!important;
  font-family:var(--sans)!important;font-size:15.5px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:.005em!important;
  text-decoration:none!important;text-shadow:none!important;filter:none!important;
  transition:var(--tr-btn)!important}
body.v-legacy .btn-primary:not(:disabled):not(.hero-service-stats ~ .hero-cta-wrap .btn-primary){
  --vg1:var(--gold-1)!important;--vg2:var(--gold-2)!important;background:linear-gradient(120deg,var(--vg1),var(--vg2) 55%,var(--vg1))!important;background-size:100% auto!important;
  color:#0a0e1f!important;-webkit-text-fill-color:#0a0e1f!important;border:0!important;box-shadow:var(--sh-gold)!important}
body.v-legacy :is(.btn-secondary,.btn-ghost):not(:disabled){background:transparent!important;background-image:none!important;border:0!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--line-2)!important;backdrop-filter:none!important}
body.v-legacy .btn-secondary::after{display:none!important}
@media (hover:hover){
  /* Survol : l'or se réchauffe et le bouton monte de 2 px ; le filet se teinte et monte de 1 px (jetons de vc-site.css) */
  body.v-legacy .btn-primary:not(:disabled):not(.hero-service-stats ~ .hero-cta-wrap .btn-primary):hover{
    --vg1:var(--gold-up-1)!important;--vg2:var(--gold-up-2)!important;transform:translateY(var(--btn-lift))!important;box-shadow:var(--sh-gold-up)!important}
  body.v-legacy :is(.btn-secondary,.btn-ghost):not(:disabled):hover{background:rgba(11,17,36,.045)!important;box-shadow:inset 0 0 0 1px var(--ink),var(--sh-line-up)!important;transform:translateY(var(--btn-lift-sm))!important}
}
/* Appui : rapide à l'enfoncement, doux au relâchement (la durée du repos reprend la main) */
body.v-legacy :is(.btn-primary,.btn-secondary,.btn-ghost):not(:disabled):not(.hero-service-stats ~ .hero-cta-wrap .btn-primary):active{transform:scale(var(--btn-press))!important;transition-duration:.12s!important}
body.v-legacy .btn-primary:not(:disabled):not(.hero-service-stats ~ .hero-cta-wrap .btn-primary):active{box-shadow:var(--sh-gold-down)!important}
body.v-legacy :is(.btn-secondary,.btn-ghost):not(:disabled):active{background:rgba(11,17,36,.08)!important}
body.v-legacy .btn-primary :is(svg,.btn-icon){color:currentColor!important}
/* Ce que contient un bouton prend sa couleur, quel que soit le bloc autour (règles des héros et bandeaux plus haut) */
body.v-legacy :is(main,.page-hero,.cta-banner) :is(.btn-primary,.btn-secondary,.btn-ghost) *{color:inherit!important;-webkit-text-fill-color:inherit!important}

/* Boutons sur fond bleu nuit (héros, bandeaux de rendez-vous) : contour blanc */
body.v-legacy :is(.page-hero,.cta-banner) :is(.btn-secondary,.btn-ghost):not(:disabled){color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.36)!important}
@media (hover:hover){
  body.v-legacy :is(.page-hero,.cta-banner) :is(.btn-secondary,.btn-ghost):not(:disabled):hover{background:rgba(255,255,255,.1)!important;box-shadow:inset 0 0 0 1px #fff,var(--sh-line-up-dark)!important}
}
body.v-legacy :is(.page-hero,.cta-banner) :is(.btn-secondary,.btn-ghost):not(:disabled):active{background:rgba(255,255,255,.16)!important}
@media (prefers-reduced-motion:reduce){
  body.v-legacy :is(.btn-primary,.btn-secondary,.btn-ghost):is(:hover,:active){transform:none!important}
}

/* ---------- Bandeaux « prendre rendez-vous » : carte bleu nuit, comme l'appel final de la refonte ---------- */
body.v-legacy .cta-banner{position:relative!important;isolation:isolate!important;overflow:hidden!important;
  background:var(--night)!important;background-image:none!important;
  border:0!important;border-radius:16px!important;box-shadow:none!important;color:#fff!important;
  padding:clamp(44px,5.5vw,80px) clamp(24px,4.5vw,72px)!important}
body.v-legacy .cta-banner::before,body.v-legacy .cta-banner::after{display:none!important}
body.v-legacy .cta-banner :is(h2,h3){font-family:var(--serif)!important;font-optical-sizing:auto!important;font-variation-settings:normal!important;
  font-weight:380!important;font-size:clamp(28px,3.2vw,46px)!important;line-height:1.08!important;letter-spacing:-.022em!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-wrap:balance!important}
body.v-legacy .cta-banner :is(h2,h3) :is(em,span){font-style:normal!important;background:none!important;background-image:none!important;
  background-color:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important;
  color:var(--glacier)!important;-webkit-text-fill-color:var(--glacier)!important}
body.v-legacy .cta-banner :is(p,li){color:rgba(255,255,255,.8)!important;-webkit-text-fill-color:rgba(255,255,255,.8)!important}
body.v-legacy .cta-banner :is(strong,b){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.v-legacy .cta-banner a:not([class]){color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:underline!important;text-underline-offset:3px!important}
/* Deux boutons dans le bandeau (pages solutions) : 14 px entre eux, comme .v-actions. Côte à côte, l'espace du code
   n'en laissait que 4 ; jusqu'à 768 px l'ancienne feuille passe le premier en pleine largeur, le second se collait dessous. */
body.v-legacy main .cta-banner > :is(.btn-primary,.btn-secondary,.btn-ghost) + :is(.btn-primary,.btn-secondary,.btn-ghost){margin-left:10px!important}
@media (max-width:768px){
  body.v-legacy main .cta-banner > :is(.btn-primary,.btn-secondary,.btn-ghost) + :is(.btn-primary,.btn-secondary,.btn-ghost){width:100%!important;margin:14px 0 0!important}
}

/* ---------- Questions fréquentes (.vc-faq) : cartes de la refonte, ouverture animée par vc-site.js ---------- */
body.v-legacy .vc-faq{display:grid!important;gap:10px!important;border:0!important}
body.v-legacy .vc-faq details{border:0!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--sh-1)!important;
  padding:0!important;margin:0!important}
body.v-legacy .vc-faq summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;
  padding:22px 26px!important;list-style:none!important;cursor:pointer!important;
  font-family:var(--serif)!important;font-weight:440!important;font-size:clamp(18px,1.5vw,21px)!important;line-height:1.3!important;letter-spacing:-.008em!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
body.v-legacy .vc-faq summary::-webkit-details-marker{display:none!important}
/* Le « + » devient une pastille : deux traits, dont un qui se couche à l'ouverture */
body.v-legacy .vc-faq summary::after{content:""!important;flex:none!important;width:30px!important;height:30px!important;border-radius:50%!important;
  font-size:0!important;line-height:0!important;color:transparent!important;
  background:linear-gradient(var(--ink),var(--ink)) 50% 50%/11px 1.5px no-repeat,linear-gradient(var(--ink),var(--ink)) 50% 50%/1.5px 11px no-repeat,var(--mist)!important;
  transition:background-size .3s var(--e-out)!important}
body.v-legacy .vc-faq details[open]:not(.is-closing) summary::after{background-size:11px 1.5px,1.5px 0!important}
body.v-legacy .vc-faq details > :not(summary){margin:0!important;padding:0 26px 14px!important;max-width:none!important;
  font-size:15.5px!important;line-height:1.7!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
body.v-legacy .vc-faq details > :last-child{padding-bottom:24px!important}
@media (max-width:599px){
  body.v-legacy .vc-faq summary{padding:18px 20px!important}
  body.v-legacy .vc-faq details > :not(summary){padding-left:20px!important;padding-right:20px!important}
}

/* ==========================================================================
   Composants partagés du contenu : sections, cartes, notes, étapes, questions, apparitions.
   Même dessin que la refonte (.v-sec, .v-card, .v-note, .v-step__n, .v-chip, .v-rv).
   Spécificité tenue à (0,2,2) avec :where() : une feuille de famille, chargée après, gagne
   à spécificité égale. Les exclusions passent par :not(:where(...)) pour ne rien ajouter.
   ========================================================================== */

/* ---------- Rythme des sections : plus d'air, et la grille de 1240 px de l'en-tête ----------
   Les sections qui fixent leur marge verticale en ligne (style="padding-top:0"...) la gardent ;
   les articles (.article-view) ont leur propre mise en page. Le filet doré du haut disparaît. */
body.v-legacy main .section:not(:where(.article-view)){padding-left:var(--gut)!important;padding-right:var(--gut)!important;box-shadow:none!important}
body.v-legacy main .section:not(:where(.article-view,[style*="padding"])){
  padding-top:clamp(64px,7.5vw,112px)!important;padding-bottom:clamp(64px,7.5vw,112px)!important}
/* Bande teintée de l'ancien site : la brume de la refonte (.v-sec--mist) */
body.v-legacy main .section[style*="background:var(--bg2)"]:not(:where(.article-view)){background:var(--mist)!important}
body.v-legacy main .container{max-width:var(--wrap)!important;margin-left:auto!important;margin-right:auto!important}

/* ---------- Héros générique (.hero : blog, réseaux) : même nuit que .page-hero ----------
   Le fond décoratif vide (.hero-bg) perd ses halos, le texte passe à gauche sur la grille. */
body.v-legacy main .hero{position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:block!important;max-width:none!important;min-height:0!important;margin:0!important;border:0!important;
  padding:calc(var(--head) + var(--ub) + var(--hero-top)) max(var(--gut),calc((100% - var(--wrap)) / 2)) clamp(56px,7vw,96px)!important;
  background:var(--night)!important;background-image:linear-gradient(180deg,var(--night) 0%,var(--night-2) 100%)!important;
  color:#fff!important;text-align:left!important}
body.v-legacy main .hero::before,body.v-legacy main .hero::after,body.v-legacy main .hero-bg::before,body.v-legacy main .hero-bg::after{display:none!important}
body.v-legacy main .hero-bg{background:none!important;background-image:none!important}
body.v-legacy main .hero-inner{max-width:none!important;margin:0!important;text-align:left!important}
body.v-legacy main .hero h1{font-family:var(--serif)!important;font-optical-sizing:auto!important;font-variation-settings:normal!important;
  font-weight:330!important;font-size:clamp(40px,5.6vw,86px)!important;line-height:1!important;letter-spacing:-.03em!important;
  max-width:13em!important;margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;text-wrap:balance!important}
body.v-legacy main .hero h1 *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.v-legacy main .hero h1 em{font-style:normal!important;font-weight:inherit!important;background:none!important;padding:0!important;
  color:var(--glacier)!important;-webkit-text-fill-color:var(--glacier)!important}
body.v-legacy main .hero-inner > p{font-size:clamp(17px,1.35vw,20px)!important;line-height:1.6!important;max-width:36em!important;
  margin:24px 0 0!important;color:rgba(255,255,255,.84)!important;-webkit-text-fill-color:rgba(255,255,255,.84)!important;text-shadow:none!important}
body.v-legacy main .hero-inner > p :is(strong,b){color:#fff!important;-webkit-text-fill-color:#fff!important}

/* ---------- Chapeau (.lead), comme .v-lead ---------- */
body.v-legacy main .lead:not(:where(.page-hero *,.hero *,.cta-banner *)){font-size:clamp(18px,1.4vw,20.5px)!important;line-height:1.6!important;
  letter-spacing:0!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important;text-wrap:pretty!important}

/* ---------- Cartes : blanches à filet, comme .v-card ----------
   Rien de cliquable : plus de soulèvement ni de halo qui suit la souris. Le numéro (.card-num) reste
   masqué, comme l'avait décidé l'ancien site. */
body.v-legacy main .card{background:#fff!important;background-image:none!important;border:1px solid var(--line-2)!important;
  border-radius:var(--r-card)!important;box-shadow:none!important;padding:clamp(24px,2.6vw,36px)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--ink)!important;transform:none!important}
body.v-legacy main .card::before{display:none!important}
body.v-legacy main .card h3{font-family:var(--serif)!important;font-optical-sizing:auto!important;font-weight:420!important;
  font-size:clamp(22px,2vw,28px)!important;line-height:1.15!important;letter-spacing:-.014em!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;margin:0 0 10px!important;text-wrap:balance!important}
body.v-legacy main .card-lead{font-size:16px!important;line-height:1.6!important;letter-spacing:0!important;margin-bottom:0!important;
  color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
/* Liste sous le chapeau : séparée par un filet, comme le bas d'étape de la refonte (.v-step__out) */
body.v-legacy main .card-list{gap:10px!important;margin-top:20px!important;padding-top:18px!important;box-shadow:inset 0 1px 0 var(--line)!important}
body.v-legacy main .card-list li{font-size:15px!important;line-height:1.55!important;align-items:baseline!important;gap:12px!important;
  color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
body.v-legacy main .card-list li::before{content:""!important;flex:none!important;width:6px!important;height:6px!important;margin:0!important;
  border-radius:50%!important;background:var(--royal)!important;transform:translateY(-2px)!important}

/* Tuile des icônes : aplat de brume au lieu du dégradé à filet ; blanche sur les fonds de brume */
body.v-legacy main img.vc-ico-3d-auto{background:var(--mist)!important;background-image:none!important;border:0!important;
  border-radius:14px!important;box-shadow:none!important;filter:none!important}
body.v-legacy main :is(.info-block,.callout) img.vc-ico-3d-auto{background:#fff!important}

/* ---------- Grilles ---------- */
body.v-legacy main :is(.grid-2,.grid-3,.vc-grid,.vc-levers,.yt-grid){gap:clamp(16px,1.8vw,24px)!important}
body.v-legacy main .vc-grid{margin-top:clamp(28px,3vw,40px)!important}
/* La grille passe de 1100 à 1240 px : 300 px minimum par levier gardent trois colonnes (six leviers en
   deux rangées pleines) au lieu de quatre colonnes étroites et d'une rangée orpheline. */
body.v-legacy main .vc-levers{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))!important}

/* ---------- Notes : brume calme, comme .v-note ----------
   .info-block (icône + texte) et .callout gardent leur disposition ; les halos et le bleu vif
   disparaissent. .callout-gold, points clés et citations, devient une carte blanche à filet. */
body.v-legacy main :is(.info-block,.callout){background:var(--mist)!important;background-image:none!important;border:0!important;
  border-radius:var(--r-card)!important;box-shadow:none!important;color:var(--ink-2)!important}
body.v-legacy main :is(.info-block,.callout)::before,body.v-legacy main :is(.info-block,.callout)::after{display:none!important}
body.v-legacy main .info-block{gap:clamp(16px,2vw,24px)!important;padding:clamp(22px,2.6vw,32px)!important}
body.v-legacy main .callout{padding:clamp(20px,2.4vw,28px) clamp(22px,2.6vw,30px)!important}
body.v-legacy main .callout-gold{background:#fff!important;box-shadow:inset 0 0 0 1px var(--line-2)!important}
body.v-legacy main :is(.info-block,.callout) h3{font-family:var(--serif)!important;font-optical-sizing:auto!important;font-weight:420!important;
  font-size:clamp(21px,1.8vw,24px)!important;line-height:1.2!important;letter-spacing:-.012em!important;margin:0 0 8px!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
/* Texte courant du bloc seulement (enfants directs) : les grilles imbriquées (parrainage) gardent leur taille */
body.v-legacy main .info-block > p:not(:where(.disclaimer)),body.v-legacy main .info-block > * > p:not(:where(.disclaimer)),
body.v-legacy main .info-block > * > :is(ul,ol) > li{font-size:15.5px!important;line-height:1.65!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
body.v-legacy main .callout :is(p,li){font-style:normal!important;font-size:16.5px!important;line-height:1.7!important;
  color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
body.v-legacy main :is(.info-block,.callout) :is(strong,b){color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}

/* Mention réglementaire : petite, encre secondaire (contraste AA sur blanc et sur brume) */
body.v-legacy main .disclaimer:not(:where(.page-hero *,.hero *,.cta-banner *)){line-height:1.6!important;
  color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}
body.v-legacy main .disclaimer:not(:where([style*="font-size"])){font-size:13px!important}

/* ---------- Liens « Souvent utilisé pour » : étiquette de la refonte et pastilles de brume (.v-chip) ---------- */
body.v-legacy main .vc-inline-links{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important}
body.v-legacy main .vc-inline-links strong{flex:0 0 100%!important;margin:0 0 4px!important;
  font:500 14px/1.3 var(--sans)!important;letter-spacing:.005em!important;text-transform:none!important;
  color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}
body.v-legacy main .vc-inline-links a{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:0 18px!important;
  border:0!important;border-radius:12px!important;background:var(--mist)!important;background-image:none!important;box-shadow:none!important;
  font:500 15px/1.2 var(--sans)!important;text-decoration:none!important;transform:none!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;transition:background-color .2s!important}
@media (hover:hover){
  body.v-legacy main .vc-inline-links a:hover{background:var(--mist-2)!important;transform:none!important}
}

/* ---------- Leviers (.vc-lever) : cartes à filet, lien final comme .v-link ---------- */
body.v-legacy main .vc-lever{background:#fff!important;background-image:none!important;border:1px solid var(--line-2)!important;
  border-radius:var(--r-card)!important;box-shadow:none!important;padding:clamp(24px,2.4vw,32px)!important}
body.v-legacy main .vc-lever:active{transform:none!important}
body.v-legacy main .vc-lever h3{font-family:var(--serif)!important;font-optical-sizing:auto!important;font-weight:420!important;
  font-size:clamp(21px,1.8vw,25px)!important;line-height:1.18!important;letter-spacing:-.012em!important;margin:0 0 10px!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
body.v-legacy main .vc-lever p{font-size:15.5px!important;line-height:1.65!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
body.v-legacy main .vc-lever a{font-weight:600!important;color:var(--royal)!important;-webkit-text-fill-color:var(--royal)!important;
  text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:5px!important;
  text-decoration-color:rgba(29,79,216,.32)!important;transition:text-decoration-color .2s!important}
body.v-legacy main .vc-lever > a{display:inline-flex!important;align-items:center!important;min-height:44px!important;margin-top:6px!important;font-size:15px!important}
body.v-legacy main .vc-lever a:hover{text-decoration-color:currentColor!important}

/* ---------- Cartes d'article (.vc-artcard) : lignes à filet avec vignette ----------
   Articles liés des pages produits (#analyses) et des pages défiscalisation, retraite, transmission : trois ou
   quatre cartes identiques côte à côte (à 1100 px, quatre colonnes de 237 px et des titres sur quatre lignes),
   le réflexe que la charte refuse. La grille devient une liste d'une colonne, chaque carte une ligne sans boîte :
   vignette à gauche, texte à droite, un filet au-dessus de chaque ligne et sous la dernière. Toute la ligne reste
   le lien. Deux balisages : titre <h3> suivi d'un extrait (pages produits), titre <span class="vc-ac-title">
   sans extrait (pages piliers) ; même dessin pour les deux. */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;
  column-gap:16px!important;row-gap:0!important;align-items:start!important;margin:0!important;padding:18px 0!important;
  background:transparent!important;background-image:none!important;border:0!important;border-top:1px solid var(--line)!important;
  border-radius:0!important;box-shadow:none!important;overflow:visible!important;transform:none!important;
  text-decoration:none!important;color:var(--ink)!important;transition:none!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard:last-child{border-bottom:1px solid var(--line)!important}
/* Vignette carrée de 96 px sur téléphone. La parallaxe d'apple-motion.css (image agrandie à 105 % qui glisse au
   défilement) débordait d'une case aussi petite : elle s'arrête ici. */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard > img{display:block!important;width:96px!important;height:96px!important;
  aspect-ratio:1 / 1!important;object-fit:cover!important;margin:0!important;border-radius:10px!important;background:var(--mist)!important;
  animation:none!important;transform:none!important;will-change:auto!important}
/* Le texte : rubrique et durée, titre, extrait, « Lire l'article », empilés sans écart de grille */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-body{display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:0!important;flex:none!important;min-width:0!important;padding:0!important}
/* Méta en petit, encre tertiaire : la rubrique en capitales espacées, puis la durée après un point (elles
   étaient aux deux bouts de la carte) */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:0!important;margin:0!important;font:500 13px/1.4 var(--sans)!important;letter-spacing:0!important;
  text-transform:none!important;color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-tag{font-size:14px!important;letter-spacing:.005em!important;text-transform:none!important;
  color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-time{font:500 13px/1.4 var(--sans)!important;letter-spacing:0!important;text-transform:none!important;
  color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-tag + .vc-ac-time::before{content:""!important;display:inline-block!important;
  width:3px!important;height:3px!important;margin:0 9px!important;border-radius:50%!important;background:currentColor!important;vertical-align:middle!important}
/* Titre en serif, souligné au survol (le soulignement est déjà posé, transparent : il apparaît en fondu) */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) :is(.vc-ac-body h3,.vc-ac-title){display:block!important;max-width:34em!important;margin:6px 0 0!important;
  font-family:var(--serif)!important;font-optical-sizing:auto!important;font-variation-settings:normal!important;font-weight:420!important;
  font-size:clamp(19px,1.6vw,23px)!important;line-height:1.22!important;letter-spacing:-.01em!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;text-wrap:balance!important;
  text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important;
  text-decoration-color:transparent!important;transition:text-decoration-color .2s!important}
/* L'extrait en entier : apple-motion.css le coupait à trois lignes (pages produits, à 1440 et 1100 px) */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-body p{display:block!important;max-width:62ch!important;margin:8px 0 0!important;
  font-size:15.5px!important;line-height:1.6!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important;
  overflow:visible!important;-webkit-line-clamp:none!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-more{display:inline-flex!important;align-items:center!important;gap:8px!important;
  margin:12px 0 0!important;padding:0!important;font:600 14.5px/1.3 var(--sans)!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
/* Trait de 2 px : à 1,5 px, l'écran ordinaire (une densité de 1) l'arrondissait à 1 ou 2 px selon la position
   de la ligne, et le même trait sortait bleu sur une carte, gris pâle sur la voisine. */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-more::after{content:""!important;width:14px!important;height:2px!important;
  background:var(--royal)!important;transition:width .25s var(--e-out)!important}
@media (hover:hover){
  body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard:hover :is(.vc-ac-body h3,.vc-ac-title){text-decoration-color:currentColor!important}
  body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard:hover .vc-ac-more::after{width:24px!important}
}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard:focus-visible{outline:2px solid var(--royal)!important;outline-offset:4px!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard:active{transform:none!important}
/* Dès 600 px : vignette de 200 px au plus, au format 16/10, plus d'air entre l'image et le texte */
@media (min-width:600px){
  body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard{grid-template-columns:minmax(0,200px) minmax(0,1fr)!important;
    column-gap:32px!important;padding:24px 0!important}
  body.v-legacy main .vc-grid-4:has(> a.vc-artcard) > a.vc-artcard > img{width:100%!important;height:auto!important;aspect-ratio:16 / 10!important;
    border-radius:12px!important}
}
@media (prefers-reduced-motion:reduce){
  body.v-legacy main .vc-grid-4:has(> a.vc-artcard) :is(.vc-ac-body h3,.vc-ac-title){transition:none!important}
  body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-more::after{transition:none!important}
}

/* ---------- Filtres (blog, espace) : pastilles de brume ; l'actif est cerclé de bleu, comme .v-chip pressé ---------- */
body.v-legacy main .filter-btn{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:0 18px!important;
  border:0!important;border-radius:12px!important;background:var(--mist)!important;background-image:none!important;box-shadow:none!important;
  font:500 15px/1.2 var(--sans)!important;letter-spacing:0!important;text-decoration:none!important;transform:none!important;filter:none!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;cursor:pointer!important;
  transition:background-color .2s,box-shadow .2s,transform .25s var(--e-out)!important}
@media (hover:hover){
  body.v-legacy main .filter-btn:hover{background:var(--mist-2)!important;box-shadow:none!important;transform:none!important}
}
body.v-legacy main .filter-btn:active{transform:scale(.985)!important}
body.v-legacy main .filter-btn:is(.active,[aria-pressed="true"]){background:#fff!important;box-shadow:inset 0 0 0 2px var(--royal)!important;
  color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
body.v-legacy main .filter-btn .filter-count{background:rgba(11,17,36,.07)!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important}
body.v-legacy main .filter-btn:focus-visible{outline:2px solid var(--royal)!important;outline-offset:2px!important}

/* ---------- Numéros d'étape : pastille de nuit et chiffre doré, comme une étape allumée (.v-step__n) ---------- */
body.v-legacy main .step-num{display:grid!important;place-items:center!important;flex:none!important;width:56px!important;height:56px!important;
  border:0!important;border-radius:50%!important;background:var(--night)!important;background-image:none!important;
  box-shadow:0 10px 24px -12px rgba(10,16,36,.7)!important;padding:0!important;
  font-family:var(--serif)!important;font-weight:400!important;font-size:24px!important;line-height:1!important;letter-spacing:0!important;
  font-variant-numeric:lining-nums!important;text-shadow:none!important;color:var(--gold-2)!important;-webkit-text-fill-color:var(--gold-2)!important}

/* ---------- Formulaires : rangée de deux champs et astérisque des champs obligatoires ----------
   L'astérisque garde le rouge de l'ancien site (#b42318, contraste AA), comme la feuille « services ». */
body.v-legacy main .form-row{gap:16px!important;align-items:start!important}
body.v-legacy main .req{font-weight:600!important}

/* ---------- Questions fréquentes (.faq-item) : cartes de .vc-faq ----------
   Le script de la page pose .open ; l'ouverture se fait par la hauteur de la grille (0fr à 1fr) au lieu
   d'un max-height plafonné, donc sans à-coup et sans couper les longues réponses. Mêmes durées que
   vc-site.js : 480 ms à l'ouverture, 360 ms à la fermeture. Les marges intérieures de la réponse passent
   en pseudo-éléments, sans quoi la rangée ne se referme pas tout à fait. */
body.v-legacy main .faq-item{border:0!important;border-radius:18px!important;background:#fff!important;background-image:none!important;
  box-shadow:var(--sh-1)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow:hidden!important;color:var(--ink)!important}
body.v-legacy main .faq-q{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;
  padding:22px 26px!important;cursor:pointer!important;
  font-family:var(--serif)!important;font-optical-sizing:auto!important;font-weight:440!important;font-size:clamp(18px,1.5vw,21px)!important;
  line-height:1.3!important;letter-spacing:-.008em!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
body.v-legacy main .faq-q:focus-visible{outline:2px solid var(--royal)!important;outline-offset:-2px!important;border-radius:18px!important}
/* Le chevron prend la pastille de brume de .vc-faq et pivote d'un demi-tour */
body.v-legacy main .faq-q > svg{flex:none!important;box-sizing:border-box!important;width:30px!important;height:30px!important;padding:8px!important;
  border-radius:50%!important;background:var(--mist)!important;color:var(--ink)!important;opacity:1!important;
  transition:transform .48s var(--e-out)!important}
body.v-legacy main .faq-item.open .faq-q > svg{transform:rotate(180deg)!important;color:var(--ink)!important}
body.v-legacy main .faq-a{display:grid!important;grid-template-rows:0fr!important;max-height:none!important;overflow:hidden!important;
  transition:grid-template-rows .36s cubic-bezier(.4,0,.2,1)!important}
body.v-legacy main .faq-item.open .faq-a{grid-template-rows:1fr!important;transition:grid-template-rows .48s var(--e-out)!important}
body.v-legacy main .faq-a-inner{min-height:0!important;overflow:hidden!important;padding:0 26px!important;border:0!important;
  font-size:15.5px!important;line-height:1.7!important;color:var(--ink-2)!important;-webkit-text-fill-color:var(--ink-2)!important;
  opacity:0!important;transform:translateY(-6px)!important;transition:opacity .2s,transform .36s cubic-bezier(.4,0,.2,1)!important}
body.v-legacy main .faq-a-inner::after{content:""!important;display:block!important;height:24px!important}
body.v-legacy main .faq-item.open .faq-a-inner{opacity:1!important;transform:none!important;
  transition:opacity .42s var(--e-out) 70ms,transform .42s var(--e-out) 70ms!important}
body.v-legacy main .faq-a-inner :is(strong,b){color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
body.v-legacy main .faq-a-inner a{color:var(--royal)!important;-webkit-text-fill-color:var(--royal)!important;font-weight:600!important;border:0!important;
  text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important;text-decoration-color:rgba(29,79,216,.32)!important}
body.v-legacy main .faq-a-inner a:hover{text-decoration-color:currentColor!important}
@media (max-width:599px){
  body.v-legacy main .faq-q{padding:18px 20px!important}
  body.v-legacy main .faq-a-inner{padding-left:20px!important;padding-right:20px!important}
}

/* ---------- Vidéos (.yt-section) : le halo rouge part, la section suit le rythme des autres ---------- */
body.v-legacy main .yt-section::before{display:none!important}
body.v-legacy main section.yt-section{padding:clamp(64px,7.5vw,112px) var(--gut)!important}

/* ---------- Apparitions au défilement : celles de la refonte (.v-rv) ----------
   22 px de course, 0,9 s d'opacité et 1 s de déplacement, courbe --e-out. Le décalage des classes d1 à d6
   ne vaut que pour l'apparition : base.js pose .vc-rv-fini ensuite, et le survol réagit sans attendre.
   html.vh-js : sans script, tout reste visible. */
html.vh-js body.v-legacy main .reveal{transition:opacity .9s var(--e-out),transform 1s var(--e-out)!important;transition-delay:var(--vc-rv-d,0s)!important}
html.vh-js body.v-legacy main .reveal:not(.is-visible):not(.visible){opacity:0!important;transform:translateY(22px)!important}
html.vh-js body.v-legacy main .reveal.vc-rv-fini{transition:opacity .3s,transform .35s var(--e-out),box-shadow .3s var(--e-out),border-color .25s,background-color .25s,color .2s!important;transition-delay:0s!important}
body.v-legacy main .d1{--vc-rv-d:.08s}
body.v-legacy main .d2{--vc-rv-d:.16s}
body.v-legacy main .d3{--vc-rv-d:.24s}
body.v-legacy main .d4{--vc-rv-d:.32s}
body.v-legacy main .d5{--vc-rv-d:.4s}
body.v-legacy main .d6{--vc-rv-d:.48s}
body.v-legacy main :is(.d1,.d2,.d3,.d4,.d5,.d6):not(:where(.reveal)){transition-delay:0s!important}
/* ---------- Correctifs communs relevés sur les 126 pages (2026-11-15) ---------- */

/* Voile de grain de pages.css (body::after fixe, au-dessus de tout, opacité ,02) : la refonte n'en a pas. */
body.v-legacy::after{content:none!important;display:none!important}

/* Règles body des styles de page : /client et /videos mettaient le corps en flex (la lettre du pied de page
   rétrécissait à 594 px au lieu de 760), /espace et /client teintaient l'encre à 90 % (le bouton de
   l'assistant et celui de WhatsApp en héritaient). Le corps redevient un bloc à l'encre de la refonte. */
body.v-legacy{display:block!important;color:var(--ink)!important}

/* L'attribut hidden l'emporte toujours dans le contenu. [hidden] de vc-site.css est hors couche : les
   affichages !important de cette couche (boutons en inline-flex...) passaient devant et montraient des
   éléments que la page cache (bouton Retour du parcours assurance vie, bouton Google de /client).
   Deux :not(#…) donnent à la règle la force de deux id, comme les anciennes feuilles (body:not(#vcx)...). */
body.v-legacy main [hidden]:not(#vc-h1):not(#vc-h2){display:none!important}

/* Plan du site : mêmes liens masqués que sur l'ancien site (tarifs, parrainage, soutien). La règle de
   nav-footer.css partageait sa liste de sélecteurs avec l'ancien tiroir mobile et a été écartée avec lui. */
body.v-legacy main .sm-grid a:is([href*="/donate"],[href*="/fees"],[href*=affiliation],[href*=soutenir],[href*=tarifs]){display:none!important}

/* Héros sur téléphone : le second bouton prend la largeur du doré, l'un sous l'autre */
@media (max-width:768px){
  body.v-legacy :is(.page-hero,.hero) .hero-cta-wrap > :is(.btn-ghost,.btn-secondary){width:100%!important;flex:1 1 100%!important}
}

/* Titres de section qui suivent un bloc : apple-motion.css impose « margin:0 0 40px!important » et efface la
   marge haute que la page leur donnait en ligne ; le titre collait au bloc précédent. Le premier titre d'un
   conteneur garde 0 : la section a déjà sa marge (sinon 204 px de vide en haut de /pourquoi). */
body.v-legacy main .section-title[style*="margin-top"]:not(:first-child):has(> h2){margin-top:clamp(56px,7vw,96px)!important}
body.v-legacy main .section-title[style*="margin-top"]:not(:first-child):not(:has(> h2)){margin-top:clamp(24px,3vw,36px)!important}

/* Puces de .card-list dont la phrase contient un lien ou une mise en valeur : le <li> en flex coupait la
   phrase en colonnes (« Locatif à Nancy : | rendement net calculé | avant tout achat »). Il redevient un
   bloc, la puce passe en retrait. */
body.v-legacy main .card-list li:has(> :is(a,strong,em,b,code)){display:block!important;position:relative!important;padding-left:18px!important}
body.v-legacy main .card-list li:has(> :is(a,strong,em,b,code))::before{position:absolute!important;left:0!important;top:calc(.775em - 3px)!important;transform:none!important}

/* Liens dans le chapeau d'un titre de section : apple-motion.css teinte le paragraphe en encre et le lien
   en héritait (seul le soulignement le distinguait). Bleu roi, comme les autres liens de texte. */
body.v-legacy main .section-title p a{color:var(--royal)!important;-webkit-text-fill-color:var(--royal)!important;
  text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;
  text-decoration-color:rgba(29,79,216,.32)!important;transition:text-decoration-color .2s!important}
body.v-legacy main .section-title p a:hover{text-decoration-color:currentColor!important}

/* GreenCity : l'ancien fichier arrivait en plaque sombre (cadre bleu-gris, bandeau bleu nuit), une tuile grise
   sur le mur des partenaires. habillage.py le remplace par greencity-immobilier-lettres.webp (lettres seules,
   fond transparent, 623 x 200). Taille à surface visible comparable aux autres logos (logos-partenaires.css,
   où l'ancien nom reste visé) : 34 px de haut sur le mur, 28 px dans les cartes de /partenaires. */
html body .vc-logowall img[src*="/partners/greencity-immobilier-lettres.webp"]{height:34px!important;max-height:none!important;width:auto!important;max-width:120px!important}
html body .p-card-ico.has-logo img[src*="/partners/greencity-immobilier-lettres.webp"]{height:28px!important;max-height:none!important;width:auto!important;max-width:96px!important}

@media (prefers-reduced-motion:reduce){
  html.vh-js body.v-legacy main .reveal{opacity:1!important;transform:none!important;transition:none!important}
  body.v-legacy main :is(.faq-a,.faq-a-inner,.faq-q > svg,.section-title p a){transition:none!important}
  body.v-legacy main .faq-a-inner{opacity:1!important;transform:none!important}
}
@media print{
  html.vh-js body.v-legacy main .reveal{opacity:1!important;transform:none!important}
  body.v-legacy main .faq-a-inner{opacity:1!important;transform:none!important}
}

/* =====================================================================================================
   Passe du 23-11-2026 : mêmes retraits sur les pages de l'ancien site (voir la fin de vc-site.css).
   ===================================================================================================== */
/* Bandeaux d'appel : aplat nuit, sans dégradé ni ombre portée, angle moins rond. */
body.v-legacy .cta-banner{background-image:none!important;border-radius:16px!important;box-shadow:none!important}
/* Questions fréquentes : liste à filets, plus de cartes à ombre ni de pastille autour du chevron. */
body.v-legacy main .faq-item{margin:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-bottom:1px solid var(--line-2)!important}
body.v-legacy main :is(:not(.faq-item) + .faq-item,.faq-item:first-child){border-top:1px solid var(--line-2)!important}
body.v-legacy main .faq-q{padding:20px 0!important}
body.v-legacy main .faq-q:focus-visible{outline-offset:2px!important;border-radius:4px!important}
body.v-legacy main .faq-q > svg{width:18px!important;height:18px!important;padding:0!important;border-radius:0!important;background:none!important}
body.v-legacy main .faq-a-inner{padding:0!important}
/* Filtres : onglets de texte soulignés, plus de pastilles. */
body.v-legacy main .filter-btn{padding:0!important;border-radius:0!important;background:none!important;color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}
@media (hover:hover){
  body.v-legacy main .filter-btn:hover{background:none!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
}
body.v-legacy main .filter-btn:is(.active,[aria-pressed="true"]){background:none!important;box-shadow:inset 0 -2px 0 var(--ink)!important}
/* Cartes d'article : la ligne entière est le lien, plus de « Lire l'article » suivi d'un trait ; catégorie et durée
   séparées par un filet au lieu d'un point médian. */
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-more{display:none!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-tag + .vc-ac-time::before{content:none!important;display:none!important}
body.v-legacy main .vc-grid-4:has(> a.vc-artcard) .vc-ac-tag + .vc-ac-time{margin-left:2px!important;padding-left:10px!important;border-left:1px solid var(--line-2)!important}
/* Numéros d'étape : le chiffre seul, en serif, sans pastille de nuit. */
body.v-legacy main .step-num{display:block!important;width:auto!important;height:auto!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  color:var(--ink-3)!important;-webkit-text-fill-color:var(--ink-3)!important}

/* Suite du 23-11-2026 : les questions des simulateurs et des pages solutions (.vc-faq) suivent la même liste à filets,
   et les liens « Souvent utilisé pour » redeviennent des liens de texte. */
body.v-legacy .vc-faq{gap:0!important;border-bottom:1px solid var(--line-2)!important}
body.v-legacy .vc-faq details{border-radius:0!important;background:none!important;box-shadow:none!important;border-top:1px solid var(--line-2)!important}
body.v-legacy .vc-faq summary{padding:20px 0!important}
body.v-legacy .vc-faq summary::after{width:18px!important;height:18px!important;border-radius:0!important;
  background:linear-gradient(var(--ink),var(--ink)) 50% 50%/14px 1.5px no-repeat,linear-gradient(var(--ink),var(--ink)) 50% 50%/1.5px 14px no-repeat!important}
body.v-legacy .vc-faq details[open]:not(.is-closing) summary::after{background-size:14px 1.5px,1.5px 0!important}
body.v-legacy .vc-faq details > :not(summary){padding-left:0!important;padding-right:0!important}
body.v-legacy main .vc-inline-links{gap:2px 24px!important}
body.v-legacy main .vc-inline-links a{min-height:44px!important;padding:0!important;border-radius:0!important;background:none!important;
  text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:5px!important;text-decoration-color:var(--line-2)!important}
@media (hover:hover){
  body.v-legacy main .vc-inline-links a:hover{background:none!important;text-decoration-color:currentColor!important}
}
}
