/* ============================================================
   ATELIER : feuille commune à toutes les pages
   (accueil, négociateurs, team leaders, agences, l'équipe)
   La page Agences ajoute css/agences.css par-dessus.
   Clair, net, orienté produit. Mouvement vif, à ressort.
   Le socle (css/socle.css) porte la mécanique des animations,
   cette feuille en règle le caractère et l'habillage.
   ============================================================ */
:root {
  --fond: #FBFAF7; --carte: #FFFFFF; --sable: #F4EFE4; --sable-2: #E9E2D2; --bord: #E6E1D6;
  --encre: #16212B; --encre-2: #5D6873; --encre-3: #98A1AA; --nuit: #111C26;
  --or: #B8922A; --or-vif: #D4AF37; --or-doux: #F6EDCF; --or-texte: #7A5C0B; --or-clair: #EBD58A;
  --vert: #0F7B55; --vert-doux: #E4F4EC;
  --titre: 'Plus Jakarta Sans', system-ui, sans-serif; --texte: 'Inter', system-ui, sans-serif;
  --vif: cubic-bezier(.2, .8, .2, 1); --ressort: cubic-bezier(.34, 1.56, .64, 1); --doux: cubic-bezier(.16, 1, .3, 1);
  --marge: clamp(16px, 4vw, 48px); --large: 1200px; --rayon: 24px;
  /* caractère du mouvement */
  --rev-duree: .75s; --rev-y: 22px; --rev-courbe: cubic-bezier(.2, .8, .2, 1); --dec-duree: .9s; --dec-pas: 70ms;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--fond); color: var(--encre); font: 400 17px/1.65 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.fige { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--or-doux); color: var(--encre); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }
.page { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }
.centre { text-align: center; max-width: 780px; margin-inline: auto; }
.centre > p:not(.sur-titre) { color: var(--encre-2); }
.bloc { padding: clamp(76px, 10vw, 140px) 0; }
.bloc--blanc { background: #fff; border-block: 1px solid var(--bord); }
.bloc--sable { background: var(--sable); }

.sur-titre { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--or-doux); color: var(--or-texte); font: 700 12.5px/1.2 var(--titre); letter-spacing: .02em; }
.bloc--sable .sur-titre { background: #fff; }
h2 { font: 800 clamp(30px, 4.1vw, 54px)/1.08 var(--titre); letter-spacing: -.038em; margin: 18px 0; }
.coche { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--vert-doux); color: var(--vert); flex-shrink: 0; }
.coche svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.points { display: grid; gap: 12px; }
.points li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.points .coche { margin-top: 3px; }
.lien { all: unset; cursor: pointer; font: 700 14.5px/1.3 var(--titre); color: var(--encre); background: linear-gradient(var(--or-vif), var(--or-vif)) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--vif), color .3s; }
.lien:hover { background-size: 100% 100%; }
.lien:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

/* --- BOUTONS : léger rebond, flèche dans sa pastille --- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 9px 9px 9px 24px; border: 1px solid transparent; border-radius: 99px; font: 700 15px/1 var(--titre); letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: scale .3s var(--ressort), box-shadow .3s, background .3s, border-color .3s, translate .5s cubic-bezier(.2, .9, .3, 1.25); }
.btn:hover { scale: 1.03; }
.btn:active { scale: .98; }
.btn i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: rotate .45s var(--ressort); }
.btn i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover i { rotate: -45deg; }
.btn--plein { background: var(--encre); color: #fff; box-shadow: 0 14px 30px -14px rgba(22, 33, 43, .7); }
.btn--plein i { background: var(--or-vif); color: var(--encre); }
.btn--plein:hover { box-shadow: 0 20px 40px -14px rgba(22, 33, 43, .75); }
.btn--clair { background: #fff; border-color: var(--bord); padding: 17px 26px; }
.btn--clair:hover { border-color: var(--encre); }
.btn--or { background: var(--or-vif); color: var(--encre); box-shadow: 0 14px 34px -12px rgba(212, 175, 55, .8); }
.btn--or i { background: var(--encre); color: #fff; }
.btn--petit { padding: 12px 20px; font-size: 14px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* --- NAVIGATION : une pastille flottante --- */
.nav { position: fixed; top: 14px; left: 50%; z-index: 50; width: min(calc(100% - 24px), 1160px); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 99px; border: 1px solid transparent; transition: transform .5s var(--vif), background .3s, box-shadow .3s, border-color .3s; }
.nav--pleine, .nav--ouverte { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-color: var(--bord); box-shadow: 0 14px 36px -18px rgba(22, 33, 43, .3); }
.nav--cachee:not(.nav--ouverte) { transform: translate(-50%, -150%); }
.marque { display: flex; align-items: baseline; margin-right: auto; white-space: nowrap; font: 800 23px/1 var(--titre); letter-spacing: -.035em; }
.nav nav { display: flex; gap: 2px; margin-right: auto; font: 600 14px/1 var(--titre); color: var(--encre-2); }
.nav nav a { padding: 10px 13px; border-radius: 99px; white-space: nowrap; transition: background .25s, color .25s; }
.nav nav a:hover { background: var(--sable); color: var(--encre); }
.nav nav a[aria-current="page"] { color: var(--encre); background: var(--or-doux); }
.nav-menu { all: unset; display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sable); cursor: pointer; flex-shrink: 0; }
.nav-menu i, .nav-menu i::before { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .4s var(--ressort), translate .3s; }
.nav-menu i { translate: 0 -3px; }
.nav-menu i::before { content: ''; translate: 0 6px; }
.nav--ouverte .nav-menu i { translate: 0 0; transform: rotate(45deg); }
.nav--ouverte .nav-menu i::before { translate: 0 0; transform: rotate(-90deg); }
.nav-menu:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

/* --- HERO --- */
.hero { position: relative; padding-top: clamp(112px, 14vh, 150px); text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 33, 43, .16) 1px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 72% 58% at 50% 26%, #000 15%, transparent 74%); mask-image: radial-gradient(ellipse 72% 58% at 50% 26%, #000 15%, transparent 74%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 50%; top: -220px; width: 980px; height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212, 175, 55, .26), transparent); pointer-events: none; animation: respirer 9s ease-in-out infinite alternate; }
@keyframes respirer { to { transform: translateX(-50%) scale(1.18); opacity: .7; } }
.hero > * { position: relative; z-index: 1; }
.statut { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 600 13px/1.2 var(--titre); box-shadow: 0 6px 18px -10px rgba(22, 33, 43, .3); }
.statut i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
.statut i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--vert); animation: pouls 2.2s ease-out infinite; }
@keyframes pouls { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.fil { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 600 13px/1.2 var(--titre); color: var(--encre-2); }
.fil a:hover { color: var(--encre); }
.fil [aria-current] { color: var(--encre); }
.hero h1 { display: block; }
.hero-sur { display: block; margin-top: 26px; font: 600 14px/1.4 var(--titre); color: var(--encre-2); }
.hero-titre { display: block; max-width: 14.5em; margin: 12px auto 20px; font: 800 clamp(36px, 6.1vw, 84px)/1.04 var(--titre); letter-spacing: -.048em; }
.hero--page .hero-titre { max-width: 17em; font-size: clamp(33px, 5vw, 66px); }
.surligne { background: linear-gradient(transparent 60%, #F0DD98 60%, #F0DD98 93%, transparent 93%) 0 0 / 0% 100% no-repeat; transition: background-size 1.2s var(--vif) .85s; }
.vu .surligne { background-size: 100% 100%; }
.hero-chapo { max-width: 600px; margin: 0 auto; font-size: 19px; color: var(--encre-2); }
.hero-chapo strong { color: var(--encre); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-gages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 14px; color: var(--encre-2); }
.hero-gages li { display: flex; align-items: center; gap: 8px; }

/* --- LES QUATRE PROFILS : la porte d'entrée du site --- */
.profils-vitrine { margin-top: clamp(34px, 4.4vw, 52px); padding-bottom: clamp(50px, 7vw, 90px); }
.profils-vitrine .hero-gages { margin-top: clamp(26px, 3.4vw, 40px); }
.profils-question { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; font: 700 12.5px/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--encre-2); }
.profils-question::before, .profils-question::after { content: ''; width: 46px; height: 1px; background: var(--sable-2); }
.profils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.profils--deux { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.profils .profil { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bord); box-shadow: 0 30px 60px -46px rgba(22, 33, 43, .5); overflow: hidden; transition: opacity var(--rev-duree) var(--rev-courbe) var(--d, 0ms), transform .9s var(--ressort) var(--d, 0ms), translate .45s var(--ressort), border-color .3s, box-shadow .4s; }
.js .profils .profil:not(.vu) { transform: translate3d(0, 46px, 0) scale(.94); }
.profil::before { content: ''; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 175, 55, .22), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.profil:hover::before { opacity: 1; }
.profils .profil:hover { translate: 0 -8px; border-color: var(--or-vif); box-shadow: 0 40px 70px -40px rgba(22, 33, 43, .55); }
.profil > * { position: relative; }
.profil-haut { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.profil-picto { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sable); transition: background .35s, rotate .5s var(--ressort); }
.profil:hover .profil-picto { background: var(--or-doux); rotate: -7deg; }
.picto { width: 26px; height: 26px; fill: none; stroke: var(--encre); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.js .picto * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--vif) calc(var(--d, 0ms) + 350ms); }
.js .vu .picto *, .js .vu.picto * { stroke-dashoffset: 0; }
.profil-rang { font: 700 12px/1 var(--titre); color: var(--encre-3); }
.profil-nom { font: 800 clamp(21px, 2vw, 25px)/1.15 var(--titre); letter-spacing: -.035em; }
.profil-texte { flex: 1; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--encre-2); }
.profil-lien { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--bord); font: 700 13.5px/1.2 var(--titre); }
.profil-lien i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--encre); color: #fff; flex-shrink: 0; transition: background .3s, color .3s, rotate .45s var(--ressort); }
.profil-lien i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profil:hover .profil-lien i { background: var(--or-vif); color: var(--encre); rotate: -45deg; }

/* --- INCLUS : bandeau de pastilles --- */
.inclus { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-block: 1px solid var(--bord); background: #fff; }
.inclus-titre { flex-shrink: 0; padding-left: var(--marge); font: 700 13.5px/1.2 var(--titre); color: var(--encre-2); white-space: nowrap; }
.inclus-fenetre { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.inclus-piste { display: flex; gap: 12px; width: max-content; animation: defiler 46s linear infinite; }
.inclus-piste span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 12px; border-radius: 99px; border: 1px solid var(--bord); background: var(--fond); font: 600 14px/1 var(--titre); white-space: nowrap; }
.inclus:hover .inclus-piste { animation-play-state: paused; }
@keyframes defiler { to { transform: translateX(calc(-50% - 6px)); } }

/* --- LA PILE : des dossiers qui se rangent au défilement --- */
.constat-grille { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.constat-fixe { position: sticky; top: 124px; }
.constat-fixe > p:not(.sur-titre) { color: var(--encre-2); max-width: 46ch; }
.constat-fixe .constat-question { margin: 18px 0 28px; padding-left: 16px; border-left: 2px solid var(--or-vif); font-size: 15.5px; color: var(--encre); }
.pile { --pile-haut: 104px; --pile-pas: 46px; padding-bottom: 30px; }
.pile .dossier, .pile .dossier.vu { position: sticky; top: calc(var(--pile-haut) + var(--n) * var(--pile-pas)); margin-bottom: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 -14px 30px -24px rgba(22, 33, 43, .4), 0 26px 50px -40px rgba(22, 33, 43, .5); overflow: hidden; transform-origin: 50% 0; transform: scale(calc(1 - var(--c, 0) * .026)); transition: opacity .8s var(--vif); }
.dossier-onglet { display: flex; align-items: center; gap: 12px; height: var(--pile-pas); padding: 0 12px 0 14px; border-bottom: 1px solid var(--bord); background: var(--sable); font: 700 13.5px/1 var(--titre); filter: brightness(calc(1 - var(--c, 0) * .022)); }
.dossier-onglet b { display: grid; place-items: center; min-width: 30px; height: 24px; padding: 0 8px; border-radius: 8px; background: var(--encre); color: #fff; font-size: 11.5px; font-weight: 800; }
.dossier-onglet em { margin-left: auto; padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font-style: normal; font-size: 12px; color: var(--or-texte); white-space: nowrap; }
.dossier-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 20px; align-items: center; min-height: 214px; padding: 20px 20px 20px 26px; }
.dossier h3 { font: 800 clamp(20px, 2vw, 24px)/1.2 var(--titre); letter-spacing: -.03em; margin-bottom: 8px; }
.dossier p { font-size: 15px; color: var(--encre-2); }
.visuel { position: relative; display: grid; place-items: center; height: 174px; border-radius: 14px; background: var(--sable); overflow: hidden; }
.js .dossier:not(.vu) .visuel *, .js [data-rev]:not(.vu) .visuel * { animation-play-state: paused !important; }

/* variante : les quatre offres d'intégration, avec leurs listes */
.pile--offres { --pile-pas: 52px; }
.pile.pile--plate .dossier, .pile.pile--plate .dossier.vu { position: relative; top: auto; transform: none; }
.pile--plate .dossier-onglet { filter: none; }
@media (min-width: 981px) and (max-height: 760px) { .pile { --pile-haut: 84px; } }
.pile--offres .dossier-corps { display: block; min-height: 0; padding: 24px 26px 28px; }
.pile--offres .dossier-onglet { font-size: 14px; }
.offre-liste { display: grid; gap: 14px; margin-top: 16px; }
.offre-liste li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; color: var(--encre-2); }
.offre-liste .coche { margin-top: 2px; }
.offre-liste strong { color: var(--encre); font-weight: 600; }

/* visuel : le relevé à zéro */
.releve { grid-template-columns: auto 1fr; gap: 16px; padding: 0 16px; place-items: center stretch; }
.releve-total { text-align: center; }
.releve-total strong { display: block; font: 800 44px/1 var(--titre); letter-spacing: -.05em; }
.releve-total span { font: 600 12px/1 var(--titre); color: var(--encre-2); }
.releve ul { display: grid; gap: 6px; }
.releve li { display: flex; align-items: center; gap: 8px; padding: 8px 9px 8px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--bord); font: 600 12.5px/1.2 var(--titre); white-space: nowrap; }
.releve li b { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.releve li .coche { width: 18px; height: 18px; animation: cocher 5.6s var(--ressort) infinite; animation-delay: calc(var(--i) * .45s); scale: 0; }
@keyframes cocher { 0% { scale: 0; } 9%, 82% { scale: 1; } 90%, 100% { scale: 0; } }

/* visuel : la fourchette */
.fourchette { padding: 0 24px; place-items: center stretch; }
.fourchette-chiffre { font: 800 clamp(28px, 3vw, 38px)/1 var(--titre); letter-spacing: -.05em; text-align: center; margin-bottom: 18px; white-space: nowrap; color: var(--encre); }
.fourchette-chiffre sup { font-size: .5em; color: var(--or); vertical-align: .75em; margin-left: 2px; }
.rail { position: relative; height: 12px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); }
.rail .bande { position: absolute; left: 50%; width: 35%; top: -1px; bottom: -1px; border-radius: 99px; background: linear-gradient(90deg, var(--or), var(--or-vif)); transform: scaleX(0); transform-origin: left; transition: transform 1.5s var(--vif) .35s; }
.rail .au-dela { position: absolute; left: 86.5%; right: 2%; top: 3px; height: 4px; background: radial-gradient(circle, var(--or-vif) 2px, transparent 2.5px) 0 0 / 10px 4px repeat-x; opacity: 0; transition: opacity .7s ease 1.7s; }
.vu .rail .bande { transform: none; }
.vu .rail .au-dela { opacity: 1; }
.rail-bornes { position: relative; height: 22px; margin-top: 9px; font: 700 12px/1 var(--titre); color: var(--encre-2); }
.rail-bornes span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }

/* visuel : la diffusion en étoile */
.etoile .noyau { position: relative; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--encre); color: #fff; box-shadow: 0 0 0 7px rgba(22, 33, 43, .08); }
.etoile .noyau svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.etoile .rayon { position: absolute; left: 50%; top: 50%; width: 76px; height: 1.5px; transform-origin: 0 50%; transform: rotate(calc(var(--i) * 30deg)); background: linear-gradient(90deg, transparent 30px, var(--sable-2) 30px); }
.etoile .rayon:nth-child(even) { width: 62px; }
.etoile .rayon::after { content: ''; position: absolute; right: -6px; top: -5.25px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1.5px solid var(--sable-2); animation: allumer 3.6s ease infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes allumer { 0%, 62%, 100% { background: #fff; border-color: var(--sable-2); box-shadow: none; } 8%, 34% { background: var(--or-vif); border-color: var(--or-vif); box-shadow: 0 0 0 5px rgba(212, 175, 55, .22); } }
.etoile .compte { position: absolute; right: 14px; top: 12px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 800 14px/1 var(--titre); }

/* visuel : la signature */
.signature .feuille { position: relative; width: 180px; padding: 16px 16px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 14px 30px -18px rgba(22, 33, 43, .4); rotate: -3deg; }
.signature .feuille > i { display: block; height: 6px; margin-bottom: 8px; border-radius: 99px; background: var(--sable); }
.signature .feuille > i:nth-child(2) { width: 72%; }
.signature .feuille > i:nth-child(3) { width: 86%; }
.signature svg { display: block; width: 100%; height: 42px; margin-top: 2px; fill: none; stroke: var(--encre); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.signature svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: signer 5.6s ease-in-out infinite; }
@keyframes signer { 0%, 6% { stroke-dashoffset: 1; opacity: 1; } 44%, 84% { stroke-dashoffset: 0; opacity: 1; } 92% { stroke-dashoffset: 0; opacity: 0; } 93%, 100% { stroke-dashoffset: 1; opacity: 0; } }
.signature .tampon { position: absolute; right: -20px; top: -14px; display: flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border-radius: 99px; background: var(--vert); color: #fff; font: 700 12px/1 var(--titre); rotate: 6deg; scale: 0; animation: tamponner 5.6s var(--ressort) infinite; }
.signature .tampon .coche { width: 18px; height: 18px; background: rgba(255, 255, 255, .22); color: #fff; }
@keyframes tamponner { 0%, 46% { scale: 0; } 54%, 84% { scale: 1; } 92%, 100% { scale: 0; } }

/* visuel : le rythme */
.rythme { gap: 8px; align-content: center; }
.rythme span { padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 700 13.5px/1 var(--titre); color: var(--encre-2); animation: tour 6s var(--vif) infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes tour { 0%, 29% { background: var(--encre); border-color: var(--encre); color: #fff; scale: 1.06; } 35%, 100% { background: #fff; border-color: var(--bord); color: var(--encre-2); scale: 1; } }

/* visuel : la conversation */
.echange { grid-template-columns: 1fr; gap: 9px; padding: 0 18px; place-items: center stretch; align-content: center; }
.message { max-width: 84%; padding: 10px 14px; border-radius: 16px; font: 500 13.5px/1.4 var(--texte); color: var(--encre); }
.message--vous { justify-self: end; background: var(--encre); color: #fff; border-bottom-right-radius: 5px; animation: msg-vous 8s var(--vif) infinite; }
.reponse { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: end; }
.reponse img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.reponse-bulles { display: grid; }
.reponse-bulles > * { grid-area: 1 / 1; justify-self: start; background: #fff; border: 1px solid var(--bord); border-bottom-left-radius: 5px; }
.message--frappe { display: flex; gap: 5px; padding: 14px 15px; animation: msg-frappe 8s ease infinite; }
.message--frappe i { width: 6px; height: 6px; border-radius: 50%; background: var(--encre-3); animation: point 1s ease-in-out infinite; }
.message--frappe i:nth-child(2) { animation-delay: .15s; }
.message--frappe i:nth-child(3) { animation-delay: .3s; }
.message--reponse { animation: msg-reponse 8s var(--vif) infinite; }
.message--reponse b { display: block; font: 700 11.5px/1.3 var(--titre); color: var(--or-texte); }
@keyframes msg-vous { 0% { opacity: 0; translate: 0 10px; } 6%, 90% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: 0 0; } }
@keyframes msg-frappe { 0%, 17% { opacity: 0; scale: .8; } 21%, 41% { opacity: 1; scale: 1; } 44%, 100% { opacity: 0; scale: .8; } }
@keyframes msg-reponse { 0%, 43% { opacity: 0; translate: 0 10px; } 48%, 90% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: 0 0; } }
@keyframes point { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -4px; } }

/* visuel : la lignée */
.lignee { gap: 14px; align-content: center; }
.lignee-rangee { display: flex; justify-content: center; }
.lignee-rangee span { display: grid; place-items: center; width: 46px; height: 46px; margin-left: -9px; border-radius: 50%; border: 3px solid var(--sable); background: #fff; font: 800 13px/1 var(--titre); color: var(--encre); scale: 0; transition: scale .6s var(--ressort) calc(300ms + var(--i) * 110ms); }
.lignee-rangee span:first-child { margin-left: 0; background: var(--encre); color: #fff; }
.lignee-rangee span.plus { background: var(--or-vif); font-size: 19px; animation: battre 2.4s ease-in-out infinite; }
.vu .lignee-rangee span { scale: 1; }
@keyframes battre { 50% { box-shadow: 0 0 0 9px rgba(212, 175, 55, .22); } }
.lignee-note { display: inline-flex; align-items: center; gap: 8px; justify-self: center; padding: 8px 14px 8px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 700 12px/1 var(--titre); color: var(--encre); white-space: nowrap; }

/* --- RÉMUNÉRATION : la jauge et les quatre statuts --- */
.taux { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(34px, 5vw, 56px); align-items: start; }
.jauge { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; padding: clamp(24px, 3.4vw, 44px) clamp(18px, 3vw, 40px) clamp(22px, 3vw, 34px); border-radius: 30px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 34px 70px -50px rgba(22, 33, 43, .55); text-align: center; }
.jauge-cadran { position: relative; width: 100%; max-width: 470px; }
.jauge svg { display: block; width: 100%; overflow: visible; }
.jauge-fond, .jauge-plage, .jauge-au-dela { fill: none; stroke-linecap: round; }
.jauge-fond { stroke: var(--sable); stroke-width: 26; }
.jauge-plage { stroke: url(#or-jauge); stroke-width: 26; stroke-dasharray: 86 100; }
.jauge-au-dela { stroke: var(--or-vif); stroke-width: 9; stroke-dasharray: 0 90.5 .01 3.4 .01 3.4 .01 100; opacity: 0; transition: opacity .5s ease; }
.jauge.fini .jauge-au-dela { opacity: 1; }
.jauge-graduations line { stroke: var(--sable-2); stroke-width: 2; stroke-linecap: round; }
.jauge-graduations text { font: 700 15.5px var(--titre); fill: var(--encre-2); }
.jauge-curseur { fill: #fff; stroke: var(--or); stroke-width: 5; }
.jauge-centre { position: absolute; left: 0; right: 0; bottom: 3%; display: grid; justify-items: center; pointer-events: none; }
.jauge-centre span { font: 600 clamp(13px, 1.3vw, 15.5px)/1.3 var(--titre); color: var(--encre-2); }
.jauge-centre strong { display: block; font: 800 clamp(50px, 6.2vw, 84px)/1.02 var(--titre); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.jauge-centre sup { display: inline-block; font-size: .42em; color: var(--or); vertical-align: .95em; margin-left: 3px; scale: 0; transition: scale .6s var(--ressort); }
.jauge.fini .jauge-centre sup { scale: 1; }
.jauge-critere { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 10px 18px 10px 12px; border-radius: 99px; background: var(--or-doux); color: var(--or-texte); font: 700 14px/1.3 var(--titre); text-align: left; }
.jauge-critere .coche { background: #fff; color: var(--or-texte); }
.jauge-critere b { display: inline-block; font-weight: 700; }
.jauge-critere b.change { animation: entrer .5s var(--vif) both; }
.jauge-note { margin-top: 14px; max-width: 40ch; font-size: 13.5px; line-height: 1.5; color: var(--encre-2); }
@keyframes entrer { from { opacity: 0; transform: translateY(12px); } }

.statuts { display: grid; gap: 10px; }
.statut-item { border-radius: 22px; background: rgba(255, 255, 255, .5); border: 1px solid var(--bord); overflow: hidden; transition: background .4s, box-shadow .4s, border-color .4s; }
.statut-item.actif { background: #fff; border-color: var(--sable-2); box-shadow: 0 30px 60px -46px rgba(22, 33, 43, .55); }
.statuts .statut-item > button { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; width: 100%; padding: 17px 18px; cursor: pointer; }
.statuts .statut-item > button:focus-visible { outline: 2px solid var(--or); outline-offset: -4px; border-radius: 22px; }
.statuts .statut-item > button::after { height: 3px; background: var(--or-vif); }
.statuts:hover .statut-item > button::after { animation-play-state: paused; }
.statut-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--bord); transition: background .4s, border-color .4s, scale .5s var(--ressort); }
.statut-num .picto { width: 23px; height: 23px; transition: stroke .4s; }
.statut-item.actif .statut-num { background: var(--encre); border-color: var(--encre); scale: 1.06; }
.statut-item.actif .statut-num .picto { stroke: var(--or-clair); }
.statut-nom { font: 800 clamp(20px, 2.1vw, 26px)/1.2 var(--titre); letter-spacing: -.035em; }
.statut-nom small { display: block; margin-top: 2px; font: 400 14px/1.4 var(--texte); letter-spacing: 0; color: var(--encre-2); }
.statut-signe { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--sable); transition: background .35s, rotate .5s var(--ressort); }
.statut-signe::before, .statut-signe::after { content: ''; position: absolute; left: 11px; top: 16px; width: 12px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .4s var(--vif), background .35s; }
.statut-signe::after { transform: rotate(90deg); }
.statut-item.actif .statut-signe { background: var(--encre); rotate: 180deg; }
.statut-item.actif .statut-signe::before, .statut-item.actif .statut-signe::after { background: #fff; }
.statut-item.actif .statut-signe::after { transform: rotate(0deg); }
.statut-corps { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--vif); }
.js .statut-item:not(.actif) .statut-corps { grid-template-rows: 0fr; }
.statut-item.actif .statut-corps { grid-template-rows: 1fr; }
.statut-corps > div { overflow: hidden; }
.statut-dedans { padding: 2px 22px 24px 80px; }
.statut-dedans > p { color: var(--encre-2); font-size: 16px; margin-bottom: 16px; }
.statut-dedans .points li { font-size: 15px; }
.statut-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }

/* --- FRAIS DE DIFFUSION ET RÈGLE DES 30 000 € --- */
.regle-grille { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.regle-grille p:not(.sur-titre) { color: var(--encre-2); max-width: 50ch; }
.regle-grille .points { margin-top: 24px; }
.portails { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin-top: 28px; padding: 14px; border-radius: 20px; background: var(--fond); border: 1px solid var(--bord); }
.portails .visuel { height: 150px; }
.portails .etoile .rayon { width: 60px; }
.portails .etoile .rayon:nth-child(even) { width: 48px; }
.portails .etoile .compte { right: 8px; top: 8px; padding: 5px 10px; font-size: 13px; }
.portails h3 { font: 800 18px/1.25 var(--titre); letter-spacing: -.025em; margin-bottom: 6px; }
.portails p { font-size: 14.5px; line-height: 1.55; margin-bottom: 12px; }
.seuil { --seuil-plein: var(--encre); --seuil-vide: var(--sable-2); --seuil-bouton: #fff; --seuil-piste: 10px; --seuil-poignee: 34px; padding: clamp(22px, 3.4vw, 38px); border-radius: var(--rayon); background: var(--fond); border: 1px solid var(--bord); box-shadow: 0 30px 60px -44px rgba(22, 33, 43, .5); }
.seuil-haut { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.seuil label { font: 600 14px/1.4 var(--titre); color: var(--encre-2); }
.seuil-regle { padding: 6px 12px; border-radius: 99px; background: var(--or-doux); color: var(--or-texte); font: 700 12px/1 var(--titre); white-space: nowrap; }
.seuil-val { display: block; margin: 8px 0 14px; font: 800 clamp(46px, 6vw, 76px)/1.05 var(--titre); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.seuil-piste { position: relative; padding-bottom: 34px; }
.seuil-repere { position: absolute; left: 50%; top: -5px; width: 2px; height: 44px; border-radius: 2px; background: var(--or-vif); pointer-events: none; }
.seuil-repere b { position: absolute; top: 50px; left: 0; transform: translateX(-50%); white-space: nowrap; font: 800 12px/1 var(--titre); color: var(--or-texte); }
.seuil-etats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.etat { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--bord); }
.etat small { display: block; margin-bottom: 8px; font: 700 11.5px/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--encre-3); }
.etat h3 { display: flex; align-items: center; gap: 9px; font: 800 16.5px/1.25 var(--titre); letter-spacing: -.02em; margin-bottom: 7px; }
.etat p { font-size: 14px; color: var(--encre-2); }
.etat[data-pour="apres"] { background: var(--vert-doux); border-color: transparent; }
.etat[data-pour="apres"] .coche { background: var(--vert); color: #fff; }
.etat[data-pour="avant"] .coche { background: var(--or-doux); color: var(--or-texte); }
.seuil.bascule[data-etat="apres"] .etat[data-pour="apres"], .seuil.bascule[data-etat="avant"] .etat[data-pour="avant"] { animation: rebond .7s var(--ressort); }
@keyframes rebond { from { scale: .94; } to { scale: 1; } }

/* --- OUTILS INCLUS : trois cartes illustrées (les scènes sont plus bas) --- */
.outils-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.outils-grille .outil { display: flex; flex-direction: column; padding: 12px 12px 26px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bord); transition: opacity var(--rev-duree) var(--rev-courbe) var(--d, 0ms), transform var(--rev-duree) var(--rev-courbe) var(--d, 0ms), translate .4s var(--vif), box-shadow .4s, border-color .4s; }
.outils-grille .outil:hover { translate: 0 -6px; box-shadow: 0 30px 56px -34px rgba(22, 33, 43, .45); border-color: var(--sable-2); }
.outil-image { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--sable); clip-path: inset(0 0 100% 0 round 14px); transition: clip-path 1.2s var(--doux) calc(var(--d, 0ms) + 150ms); }
.vu .outil-image { clip-path: inset(0 0 0 0 round 14px); }
.outil-image picture { display: block; height: 100%; }
.outil-image img { will-change: transform; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); scale: 1.2; transition: scale 1.8s var(--doux) calc(var(--d, 0ms) + 150ms), filter .7s ease; }
.vu .outil-image img { scale: 1; }
.outil:hover .outil-image img { filter: none; scale: 1.05; transition: scale .9s var(--doux), filter .7s ease; }
.outil h3 { padding: 0 14px; margin: 22px 0 8px; font: 800 21px/1.2 var(--titre); letter-spacing: -.03em; }
.outil p { flex: 1; padding: 0 14px; font-size: 15px; color: var(--encre-2); }
.etiquettes { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px; margin-top: 18px; }
.etiquettes li { padding: 6px 12px; border-radius: 99px; background: var(--sable); font: 700 12px/1 var(--titre); color: var(--encre); }

/* --- MDB MANAGER : un seul écran, sept vues --- */
.manager { padding: 0 var(--marge); }
.manager-panneau { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 60px) clamp(40px, 6vw, 70px); border-radius: clamp(24px, 3vw, 40px); background: var(--nuit); color: #fff; overflow: hidden; }
.manager-panneau::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 70% 46% at 50% 12%, #000, transparent 78%); mask-image: radial-gradient(ellipse 70% 46% at 50% 12%, #000, transparent 78%); pointer-events: none; }
.manager-panneau::after { content: ''; position: absolute; left: 50%; top: -360px; width: 1000px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212, 175, 55, .3), transparent); animation: respirer 9s ease-in-out infinite alternate; pointer-events: none; }
.manager-panneau > * { position: relative; z-index: 1; }
.manager .sur-titre { background: rgba(212, 175, 55, .16); color: var(--or-clair); }
.manager .centre > p:not(.sur-titre) { color: #B9C3CC; }
.manager-onglets { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(26px, 4vw, 40px); }
.manager .manager-onglets button { all: unset; box-sizing: border-box; position: relative; overflow: hidden; cursor: pointer; padding: 12px 18px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font: 700 14px/1 var(--titre); color: #B9C3CC; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.manager .manager-onglets button:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.manager .manager-onglets button.actif { background: #fff; border-color: #fff; color: var(--encre); }
.manager .manager-onglets button::after { height: 3px; background: var(--or-vif); }
.manager .manager-onglets button:focus-visible { outline: 2px solid var(--or-vif); outline-offset: 2px; }
.vitrine { max-width: 1060px; margin: clamp(22px, 3vw, 34px) auto 0; perspective: 2200px; }
.fenetre { border-radius: 18px; overflow: hidden; border: 1px solid var(--bord); background: #fff; box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .08); }
.vitrine .fenetre { transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p, 1)) * 11deg)) scale(calc(.94 + var(--p, 1) * .06)); }
.fenetre-barre { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--bord); background: #FBFAF7; }
.fenetre-barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--sable-2); }
.fenetre-barre span { margin: 0 auto; padding: 5px 20px; border-radius: 8px; background: var(--sable); font-size: 12px; color: var(--encre-2); transform: translateX(-24px); }
.vitrine-note { margin-top: 14px; text-align: center; font-size: 13px; color: #7F8B96; }
.vitrine-glisser { display: none; }
.nav .btn .court { display: none; }
@media (max-width: 600px) { .nav .btn .court { display: inline; } }
.vitrine:has(.mgr--glisse) .vitrine-glisser { display: inline; }
.vitrine:has(.mgr--glisse) .vitrine-onglet { display: none; }
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(30px, 4vw, 50px); }
.atouts .atout { all: unset; box-sizing: border-box; display: block; cursor: pointer; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: opacity var(--rev-duree) var(--rev-courbe) var(--d, 0ms), transform var(--rev-duree) var(--rev-courbe) var(--d, 0ms), background .3s, border-color .3s, translate .4s var(--vif); }
.atouts .atout:hover, .atouts .atout.actif { background: rgba(255, 255, 255, .09); border-color: rgba(212, 175, 55, .55); translate: 0 -4px; }
.atouts .atout:focus-visible { outline: 2px solid var(--or-vif); outline-offset: 3px; }
.atout .picto { stroke: var(--or-clair); margin-bottom: 16px; }
.atout h3 { font: 800 17.5px/1.25 var(--titre); letter-spacing: -.02em; margin-bottom: 8px; }
.atout p { font-size: 14.5px; line-height: 1.55; color: #A9B4BF; }
.atout small { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 700 12.5px/1 var(--titre); color: var(--or-clair); }
.demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3); }
.demo h3 { font: 800 clamp(21px, 2.3vw, 28px)/1.2 var(--titre); letter-spacing: -.03em; margin-bottom: 6px; }
.demo p { max-width: 54ch; font-size: 15.5px; color: #B9C3CC; }

/* --- VOTRE DIRECTEUR : le portrait se dévoile derrière un rideau --- */
.directeur-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(44px, 8vw, 120px); align-items: center; }
.portrait { position: relative; isolation: isolate; aspect-ratio: 4 / 5; width: 100%; max-width: 440px; }
.rideau { position: absolute; inset: 0; overflow: hidden; border-radius: 22px; background: var(--sable); clip-path: inset(100% 0 0 0 round 22px); transition: clip-path 1.7s var(--doux) .2s; }
.vu > .rideau { clip-path: inset(0 0 0 0 round 22px); }
.rideau picture { display: block; height: 100%; }
.rideau img { will-change: transform; width: 100%; height: 113%; object-fit: cover; object-position: 50% 20%; scale: 1.28; filter: grayscale(1) contrast(1.04); transform: translate3d(0, calc(var(--p, 0) * -11%), 0); transition: scale 2.2s var(--doux) .2s, filter 1.2s ease; }
.vu > .rideau img { scale: 1; }
.portrait:hover .rideau img { filter: none; }
.portrait::after { content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1.5px solid var(--or-vif); border-radius: 22px; opacity: 0; transform: translate(-16px, -16px); transition: opacity 1s ease 1.1s, transform 1.4s var(--doux) 1.1s; }
.portrait.vu::after { opacity: 1; transform: none; }
.portrait figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 13px/1 var(--titre); opacity: 0; translate: 0 12px; transition: opacity .7s ease 1.5s, translate .8s var(--ressort) 1.5s; }
.portrait.vu figcaption { opacity: 1; translate: 0 0; }
.portrait figcaption i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
@media (hover: none) { .vu > .rideau img { filter: none; transition: scale 2.2s var(--doux) .2s, filter 1.4s ease 1.9s; } }
.directeur blockquote { margin: 18px 0 24px; font: 700 clamp(24px, 2.9vw, 38px)/1.2 var(--titre); letter-spacing: -.035em; }
.directeur-texte p { color: var(--encre-2); max-width: 56ch; margin-bottom: 14px; }
.directeur .nom { margin-top: 26px; font: 800 16px/1.4 var(--titre); color: var(--encre); }
.directeur .nom small { display: block; font: 400 14px/1.4 var(--texte); color: var(--encre-2); }

/* --- L'ÉQUIPE : bandeau de visages sur l'accueil, mur complet sur sa page --- */
.equipe-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.equipe-tete h2 { max-width: 13em; margin-bottom: 12px; }
.equipe-tete p:not(.sur-titre) { color: var(--encre-2); max-width: 50ch; }
.equipe-compte { display: flex; align-items: center; gap: 18px; }
.equipe-compte strong { color: var(--encre); font: 800 clamp(58px, 7vw, 92px)/1 var(--titre); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.equipe-compte span { font: 700 14px/1.35 var(--titre); color: var(--encre-2); }
.visages { display: grid; gap: 10px; margin-top: clamp(34px, 5vw, 56px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.visages-rang { display: flex; gap: 10px; width: max-content; animation: defiler-visages 80s linear infinite; }
.visages-rang:nth-child(2) { animation-direction: reverse; animation-duration: 96s; }
.visages:hover .visages-rang { animation-play-state: paused; }
@keyframes defiler-visages { to { transform: translateX(calc(-50% - 5px)); } }
.visage { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--sable-2); -webkit-user-select: none; user-select: none; }
.visages .visage { width: clamp(84px, 9vw, 124px); flex-shrink: 0; }
.visage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1); pointer-events: none; -webkit-user-drag: none; transition: filter .5s ease, scale .7s var(--vif); }
.visage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, rgba(212, 175, 55, .22)); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.visage:hover img, .visage.allume img { filter: none; scale: 1.07; }
.visage:hover::after, .visage.allume::after { opacity: 1; }
.mur { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; }
.mur .visage { transition: opacity .6s ease var(--d, 0ms), scale .8s var(--ressort) var(--d, 0ms); }
.js .mur > * { opacity: 0; scale: .8; }
.js .mur > .vu { opacity: 1; scale: 1; }
.visage--neutre { display: grid; place-items: center; background: linear-gradient(135deg, #16212B, #2A4156); }
.visage--neutre svg { width: 38%; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.visage--vous { all: unset; box-sizing: border-box; position: relative; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 16px; border: 1.5px dashed var(--or); background: var(--or-doux); color: var(--or-texte); cursor: pointer; text-align: center; font: 800 17px/1.1 var(--titre); transition: opacity .6s ease var(--d, 0ms), scale .8s var(--ressort) var(--d, 0ms), background .3s, color .3s; }
.visage--vous small { font: 600 11.5px/1.2 var(--titre); }
.visage--vous:hover { background: var(--encre); color: var(--or-clair); border-style: solid; border-color: var(--encre); }
.visage--vous:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

/* --- FICHES DE STATUT : pages négociateurs, équipes et agences --- */
.fiche-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.fiche-tete { position: sticky; top: 124px; }
.fiche-tete h2 { font-size: clamp(38px, 5vw, 66px); margin: 16px 0 14px; }
.fiche-tete > p:not(.sur-titre) { color: var(--encre-2); max-width: 44ch; }
.fiche-num { display: block; font: 800 13px/1 var(--titre); letter-spacing: .1em; color: var(--encre-3); margin-bottom: 18px; }
.fiche-pour { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 28px; }
.fiche-pour li { padding: 7px 13px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 600 13px/1 var(--titre); color: var(--encre-2); }
.fiche-pour li:first-child { background: transparent; border-color: transparent; padding-left: 0; color: var(--encre-3); }
.fiche-atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fiche-atouts .carte { padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--bord); transition: opacity var(--rev-duree) var(--rev-courbe) var(--d, 0ms), transform var(--rev-duree) var(--rev-courbe) var(--d, 0ms), translate .4s var(--vif), box-shadow .4s, border-color .4s; }
.fiche-atouts .carte:hover { translate: 0 -5px; box-shadow: 0 26px 50px -34px rgba(22, 33, 43, .45); border-color: var(--sable-2); }
.carte-picto { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--sable); }
.carte-picto .picto { width: 23px; height: 23px; }
.carte h3 { font: 800 18px/1.25 var(--titre); letter-spacing: -.025em; margin-bottom: 7px; }
.carte p { font-size: 15px; color: var(--encre-2); }
.fiche-atouts .carte--large { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--encre); border-color: var(--encre); color: #fff; }
.carte--large .carte-picto { margin: 0; background: rgba(255, 255, 255, .1); }
.carte--large .picto { stroke: var(--or-clair); }
.carte--large p { color: #B9C3CC; }
.carte--large h3 { margin-bottom: 3px; }

/* --- COMPARATIF : ce qui change concrètement --- */
.comparatif { max-width: 980px; margin: clamp(36px, 5vw, 60px) auto 0; border-radius: 28px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 34px 70px -52px rgba(22, 33, 43, .55); overflow: hidden; }
.comparatif-ligne { display: grid; grid-template-columns: .7fr 1fr 1.15fr; }
.comparatif-ligne > * { padding: 20px 24px; border-top: 1px solid var(--bord); }
.comparatif-ligne.tete > * { border-top: 0; padding-block: 16px; font: 700 12.5px/1.3 var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--encre-3); }
.comparatif-ligne .nous { background: #FDFBF3; border-left: 1px solid var(--bord); }
.comparatif-ligne.tete .nous { display: flex; align-items: center; gap: 9px; background: var(--encre); color: #fff; letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 800; }
.comparatif h3 { font: 800 16.5px/1.3 var(--titre); letter-spacing: -.02em; }
.comparatif .eux { font-size: 15px; color: var(--encre-2); }
.comparatif .eux span { background: linear-gradient(var(--encre-3), var(--encre-3)) 0 58% / 0% 1.5px no-repeat; transition: background-size 1s var(--vif) calc(var(--d, 0ms) + 500ms), color .6s ease calc(var(--d, 0ms) + 700ms); }
.comparatif .vu .eux span { background-size: 100% 1.5px; color: var(--encre-3); }
.comparatif p.nous { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--encre); }
.comparatif p.nous .coche { margin-top: 2px; scale: 0; transition: scale .6s var(--ressort) calc(var(--d, 0ms) + 900ms); }
.comparatif .vu p.nous .coche { scale: 1; }
.js .comparatif .comparatif-ligne[data-rev] { transform: none; }
.comparatif-note { max-width: 980px; margin: 16px auto 0; text-align: center; font-size: 13.5px; color: var(--encre-3); }

/* --- LE PARCOURS --- */
.etapes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.etapes::before { content: ''; position: absolute; left: 40px; right: 40px; top: 45px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--or-vif) calc(var(--q) * 100%), var(--sable-2) 0); --q: clamp(0, calc((var(--p, 0) - .16) * 2.4), 1); }
.etapes .etape { position: relative; padding: 24px 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--bord); transition: opacity var(--rev-duree) var(--rev-courbe) var(--d, 0ms), transform var(--rev-duree) var(--rev-courbe) var(--d, 0ms), translate .4s var(--vif); }
.etapes .etape:hover { translate: 0 -5px; }
.etape .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--encre); color: #fff; font: 800 16px/1 var(--titre); box-shadow: 0 0 0 6px #fff; }
.bloc--sable .etape .num { box-shadow: 0 0 0 6px var(--sable); }
.etape h3 { font: 800 19px/1.25 var(--titre); letter-spacing: -.025em; margin: 20px 0 8px; }
.etape p { font-size: 15px; color: var(--encre-2); }

/* --- PASSERELLE : un bandeau qui renvoie vers une autre page --- */
.passerelle { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 30px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 34px 70px -52px rgba(22, 33, 43, .55); }
.passerelle h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 14px 0 10px; }
.passerelle p:not(.sur-titre) { color: var(--encre-2); max-width: 58ch; }
.passerelle--nuit { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.passerelle--nuit p:not(.sur-titre) { color: #B9C3CC; }
.passerelle--nuit .sur-titre { background: rgba(212, 175, 55, .16); color: var(--or-clair); }
.passerelle-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- LE MÉDAILLON : le taux des structures, en tête de la page agences --- */
.medaillon { display: inline-grid; grid-template-columns: auto auto; gap: 18px; align-items: center; margin-top: 34px; padding: 14px 26px 14px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 20px 44px -30px rgba(22, 33, 43, .5); text-align: left; }
.medaillon-anneau { position: relative; display: grid; place-items: center; width: 92px; height: 92px; }
.medaillon-anneau svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; fill: none; stroke-width: 7; stroke-linecap: round; }
.medaillon-anneau .fond { stroke: var(--sable); }
.medaillon-anneau .trait { stroke: var(--or-vif); stroke-dasharray: 85 100; }
.js .medaillon-anneau .trait { stroke-dasharray: 0 100; transition: stroke-dasharray 1.9s var(--vif) .9s; }
.js .medaillon.vu .trait { stroke-dasharray: 85 100; }
.medaillon-anneau strong { font: 800 27px/1 var(--titre); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.medaillon-anneau strong sup { font-size: .5em; color: var(--or); vertical-align: .8em; }
.medaillon p { font: 700 15px/1.35 var(--titre); }
.medaillon p small { display: block; font: 400 13.5px/1.4 var(--texte); color: var(--encre-2); }

/* --- LE CONSTAT DES AGENCES : les charges qui s'effacent --- */
.allege-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.allege-phrase { font: 800 clamp(25px, 3.1vw, 42px)/1.22 var(--titre); letter-spacing: -.035em; margin: 18px 0 22px; }
.allege-grille p:not(.sur-titre):not(.allege-phrase) { color: var(--encre-2); max-width: 54ch; }
.allege-grille p strong { color: var(--encre); font-weight: 600; }
.charges { padding: clamp(20px, 3vw, 30px); border-radius: var(--rayon); background: #fff; border: 1px solid var(--bord); box-shadow: 0 30px 60px -44px rgba(22, 33, 43, .5); }
.charges-titre { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font: 700 13px/1.3 var(--titre); color: var(--encre-2); }
.charges-titre span { padding: 6px 12px; border-radius: 99px; background: var(--vert-doux); color: var(--vert); font-size: 12px; white-space: nowrap; }
.charges li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 13px 14px; border-radius: 12px; font: 600 15px/1.3 var(--titre); transition: background .5s ease calc(var(--i) * 260ms + 500ms); }
.charges li + li { margin-top: 4px; }
.charges li span { background: linear-gradient(var(--encre-3), var(--encre-3)) 0 55% / 0% 1.5px no-repeat; transition: background-size .8s var(--vif) calc(var(--i) * 260ms + 400ms), color .5s ease calc(var(--i) * 260ms + 600ms); }
.charges li em { display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 12.5px; color: var(--vert); opacity: 0; translate: 10px 0; transition: opacity .5s ease calc(var(--i) * 260ms + 800ms), translate .6s var(--ressort) calc(var(--i) * 260ms + 800ms); }
.charges li em .coche { width: 18px; height: 18px; }
.charges.vu li { background: var(--fond); }
.charges.vu li span { background-size: 100% 1.5px; color: var(--encre-3); }
.charges.vu li em { opacity: 1; translate: 0 0; }

/* --- QUESTIONS --- */
.questions-liste { display: grid; gap: 10px; max-width: 820px; margin: clamp(30px, 4vw, 50px) auto 0; }
.question { border-radius: 18px; background: #fff; border: 1px solid var(--bord); transition: border-color .3s, box-shadow .3s; }
.question:hover { border-color: var(--sable-2); box-shadow: 0 16px 34px -26px rgba(22, 33, 43, .45); }
.question summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 20px 20px 24px; font: 700 17px/1.35 var(--titre); letter-spacing: -.02em; }
.question summary i { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--sable); flex-shrink: 0; transition: background .35s, rotate .5s var(--ressort); }
.question summary i::before, .question summary i::after { content: ''; position: absolute; left: 11px; top: 16px; width: 12px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .4s var(--vif), background .35s; }
.question summary i::after { transform: rotate(90deg); }
.question.ouvert summary i, .question[open]:not(.ouvert) summary i { background: var(--encre); rotate: 180deg; }
.question.ouvert summary i::before, .question.ouvert summary i::after, .question[open]:not(.ouvert) summary i::before { background: #fff; }
.question.ouvert summary i::after, .question[open]:not(.ouvert) summary i::after { transform: rotate(0deg); }
.question .acc-corps p { padding: 0 70px 24px 24px; font-size: 16px; color: var(--encre-2); }
.question .acc-corps strong { color: var(--encre); font-weight: 600; }

/* --- APPEL --- */
.appel { padding: 0 var(--marge) clamp(30px, 4vw, 48px); }
.appel-panneau { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(60px, 9vw, 130px) clamp(22px, 5vw, 70px); border-radius: clamp(24px, 3vw, 40px); background: var(--nuit); color: #fff; text-align: center; overflow: hidden; }
.appel-panneau::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 76%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 76%); }
.appel-panneau::after { content: ''; position: absolute; left: 50%; bottom: -55%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212, 175, 55, .42), transparent); animation: respirer 8s ease-in-out infinite alternate; }
.appel-panneau > * { position: relative; z-index: 1; }
.appel .sur-titre { background: rgba(212, 175, 55, .16); color: var(--or-clair); }
.appel h2 { max-width: 13em; margin: 22px auto 18px; font-size: clamp(34px, 5.6vw, 78px); line-height: 1.03; letter-spacing: -.048em; }
.appel h2 em { font-style: normal; color: var(--or-clair); }
.appel p { max-width: 540px; margin: 0 auto; color: #B9C3CC; }
.appel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.appel .btn--clair { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.appel .btn--clair:hover { border-color: #fff; }

/* --- PIED --- */
footer { color: var(--encre-2); font-size: 14px; }
.pied { display: grid; grid-template-columns: 1.5fr repeat(3, auto); gap: 30px clamp(30px, 6vw, 90px); padding-block: clamp(30px, 5vw, 56px) 30px; }
.pied-marque p { max-width: 38ch; margin-top: 14px; line-height: 1.6; }
.pied h3 { font: 700 12.5px/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 14px; }
.pied li + li { margin-top: 9px; }
.pied li a, .pied li button { all: unset; cursor: pointer; transition: color .25s; }
.pied li a:hover, .pied li button:hover { color: var(--encre); }
.pied li a:focus-visible, .pied li button:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 4px; }
.pied .marque { color: var(--encre); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; padding-block: 18px 26px; border-top: 1px solid var(--bord); font-size: 13px; }
.pied-bas a { color: var(--or-texte); font-weight: 600; }
/* le lien qui réduit ou rétablit les animations, posé par js/atelier.js */
.pied-mouvement { all: unset; cursor: pointer; color: var(--or-texte); font-weight: 600; }
.pied-mouvement:hover { text-decoration: underline; text-underline-offset: 3px; }
.pied-mouvement:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 4px; }

/* --- MODALES : candidature, accès démo, tarifs des portails --- */
.modale { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.modale.ouverte { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.modale-fond { position: absolute; inset: 0; background: rgba(17, 28, 38, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modale-boite { position: relative; width: 100%; max-width: 580px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; border-radius: 28px; background: var(--fond); border: 1px solid var(--bord); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); transform: translateY(40px) scale(.96); transition: transform .6s var(--ressort); }
.modale.ouverte .modale-boite { transform: none; }
.modale-fermer { all: unset; position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sable); cursor: pointer; font-size: 22px; line-height: 1; transition: background .3s, color .3s, rotate .5s var(--ressort); }
.modale-fermer:hover { background: var(--encre); color: #fff; rotate: 90deg; }
.modale-fermer:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.modale-tete { padding: 34px 34px 6px; }
.modale-tete h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 14px 0 8px; }
.modale-tete p:not(.sur-titre) { color: var(--encre-2); font-size: 15.5px; }
.modale-corps { padding: 20px 34px 34px; }
.champ { display: grid; gap: 7px; margin-bottom: 16px; }
.champ-rang { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champ label, .champ .libelle { font: 700 13.5px/1.3 var(--titre); }
.champ label small { font-weight: 500; color: var(--encre-3); }
.champ input, .champ select, .champ textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--bord); background: #fff; font: 400 16px/1.4 var(--texte); color: var(--encre); transition: border-color .25s, box-shadow .25s; }
.champ textarea { resize: vertical; min-height: 104px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 4px rgba(212, 175, 55, .22); }
.champ .faux { border-color: #C0392B; }
.erreur { font-size: 13px; color: #B0312A; }
.erreur a { text-decoration: underline; }
[hidden] { display: none !important; }
.choix-profil { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choix-profil button { all: unset; box-sizing: border-box; cursor: pointer; padding: 13px 6px; border-radius: 14px; border: 1px solid var(--bord); background: #fff; text-align: center; font: 700 13.5px/1.2 var(--titre); color: var(--encre-2); transition: background .3s, color .3s, border-color .3s, scale .3s var(--ressort); }
.choix-profil button:hover { border-color: var(--encre); color: var(--encre); }
.choix-profil button.choisi { background: var(--encre); border-color: var(--encre); color: #fff; scale: 1.03; }
.choix-profil button:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.accord { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 4px 0 6px; font-size: 13.5px; line-height: 1.55; color: var(--encre-2); cursor: pointer; }
.accord input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--encre); }
.accord a { color: var(--or-texte); text-decoration: underline; }
.piege { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; overflow: hidden; }
.modale-corps .btn { width: 100%; justify-content: space-between; margin-top: 16px; }
.modale-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--encre-2); }
.modale-note strong { color: var(--encre); }
.reussite { padding: 54px 34px 44px; text-align: center; }
.reussite .rond { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: var(--vert-doux); color: var(--vert); animation: rebond .7s var(--ressort); }
.reussite .rond svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reussite h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; }
.reussite p { color: var(--encre-2); margin-bottom: 8px; }
.reussite .btn { width: auto; margin-top: 18px; }
.tarifs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tarifs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--bord); font: 600 14.5px/1.2 var(--titre); }
.tarifs li strong { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.modale.ouverte .tarifs li { animation: entrer .5s var(--vif) both; animation-delay: calc(var(--i) * 45ms + 150ms); }
.tarifs-plus { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--vert-doux); font: 700 14px/1.35 var(--titre); color: var(--vert); }
.tarifs-plus .coche { background: var(--vert); color: #fff; }

/* --- ÉCRANS ÉTROITS --- */
@media (max-width: 1080px) {
  .nav nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 2px; margin: 0; padding: 10px; border-radius: 24px; background: #fff; border: 1px solid var(--bord); box-shadow: 0 30px 60px -30px rgba(22, 33, 43, .45); font-size: 16px; opacity: 0; visibility: hidden; translate: 0 -10px; transition: opacity .3s ease, translate .45s var(--ressort), visibility 0s .3s; }
  .nav nav a { padding: 15px 16px; }
  .nav--ouverte nav { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s ease, translate .45s var(--ressort); }
  .nav-menu { display: grid; }
}
@media (max-width: 980px) {
  .profils { grid-template-columns: 1fr 1fr; }
  .constat-grille, .taux, .regle-grille, .directeur-grille, .fiche-grille, .allege-grille { grid-template-columns: 1fr; }
  .constat-fixe, .fiche-tete, .jauge { position: static; }
  .pile { --pile-haut: 80px; --pile-pas: 42px; }
  .outils-grille { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .atouts, .etapes { grid-template-columns: 1fr 1fr; }
  .etapes::before { display: none; }
  .portrait { max-width: 400px; margin-inline: auto; }
  .passerelle { grid-template-columns: 1fr; }
  .pied { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .comparatif-ligne { grid-template-columns: 1fr 1fr; }
  .comparatif-ligne > h3, .comparatif-ligne.tete > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .comparatif-ligne.tete > span:first-child { display: none; }
  .comparatif-ligne > h3 + * , .comparatif-ligne > h3 + * + * { border-top: 0; }
}
@media (max-width: 700px) {
  .manager-onglets { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(clamp(16px, 4vw, 60px) * -1); padding-inline: clamp(16px, 4vw, 60px); scrollbar-width: none; }
  .manager-onglets::-webkit-scrollbar { display: none; }
  .manager .manager-onglets button { flex-shrink: 0; }
  .dossier-corps { grid-template-columns: 1fr; gap: 14px; min-height: 0; padding: 18px; }
  .dossier .visuel { height: 132px; order: -1; }
  .statut-dedans { padding-left: 22px; }
  .fiche-atouts { grid-template-columns: 1fr; }
  .fiche-atouts .carte--large { grid-template-columns: auto 1fr; }
  .fiche-atouts .carte--large .btn { grid-column: 1 / -1; justify-content: center; }
  .portails { grid-template-columns: 1fr; }
  .comparatif-ligne { grid-template-columns: 1fr; }
  .comparatif-ligne.tete { display: none; }
  .comparatif-ligne .nous { border-left: 0; }
  .comparatif .eux { padding-bottom: 4px; }
  .comparatif-ligne > h3 + * + * { padding-top: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .inclus-titre { display: none; }
  .profils, .profils--deux { grid-template-columns: 1fr; }
  .profils .profil { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 16px; }
  .profil-haut { margin: 0; grid-row: span 2; }
  .profil-rang { display: none; }
  .profil-texte { grid-column: 2; margin: 0; }
  .profil-lien { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; }
  .profil-lien span { display: none; }
  .seuil-etats, .etapes, .atouts, .champ-rang, .tarifs { grid-template-columns: 1fr; }
  .choix-profil { grid-template-columns: 1fr 1fr; }
  .question .acc-corps p { padding-right: 24px; }
  .btn { font-size: 14.5px; }
  .fenetre-barre span { transform: none; }
  .nav .btn .long { display: none; }
  .vitrine { margin-inline: -6px; }
  .portrait::after { inset: 12px -8px -12px 8px; }
  .modale-tete { padding: 28px 22px 4px; }
  .modale-corps { padding: 18px 22px 26px; }
  .medaillon { border-radius: 28px; }
  .demo .btn { width: 100%; justify-content: space-between; }
  .pied { grid-template-columns: 1fr; }
  .mur { grid-template-columns: repeat(3, 1fr); }
  .visage--vous { font-size: 15px; }
  .visage--vous small { font-size: 10.5px; }
  .releve-total strong { font-size: 36px; }
}
@media (max-height: 640px) {
  .pile .dossier, .pile .dossier.vu { position: relative; top: auto; transform: none; }
  .dossier-onglet { filter: none; }
}

/* ============================================================
   COMPLÉMENTS : logo, onglet Agences, scènes des outils,
   partage du taux, questions par page, pages de texte
   ============================================================ */

/* --- LE LOGO : le mot-toit. Le M du logo d'origine devient toit et tient lieu de première lettre --- */
/* dans les tracés, la classe a porte l'encre (elle suit la couleur du texte), la classe o l'or */
.lg .a { fill: currentColor; }
.lg .o { fill: var(--or-vif); }
/* le fût du symbole fait la hauteur des capitales, son toit déborde sur le D */
.marque .lg { display: block; flex-shrink: 0; width: auto; height: 1.25em; margin-right: -.4em; }
.marque span i { margin-left: .26em; font-style: normal; font-weight: 500; letter-spacing: -.02em; }
.comparatif-ligne.tete .nous-logo { display: inline-flex; }
.comparatif-ligne.tete .nous .lg { height: 22px; width: auto; }

/* --- L'ONGLET AGENCES : à part dans la navigation --- */
.nav nav a.nav-agences { display: inline-flex; align-items: center; gap: 8px; color: var(--or-texte); background: linear-gradient(135deg, #FFFDF6, var(--or-doux)); box-shadow: inset 0 0 0 1px var(--or-clair); }
.nav nav a.nav-agences::before { content: ''; width: 6px; height: 6px; rotate: 45deg; border-radius: 1px; background: var(--or-vif); transition: rotate .5s var(--ressort); }
.nav nav a.nav-agences:hover { background: var(--or-doux); color: var(--encre); }
.nav nav a.nav-agences:hover::before { rotate: 225deg; }
.nav nav a.nav-agences[aria-current="page"] { background: var(--encre); color: var(--or-clair); box-shadow: none; }

/* --- LA CARTE AGENCE DE L'ACCUEIL : une offre à part --- */
.profils .profil--prestige { border-color: var(--or-clair); background: linear-gradient(160deg, #fff 55%, #FBF4DC); }
.profil-insigne { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--encre); color: var(--or-clair); font: 700 11px/1 var(--titre); letter-spacing: .03em; white-space: nowrap; }
.profil-insigne::before { content: ''; width: 5px; height: 5px; rotate: 45deg; background: var(--or-vif); }
.passerelle--nuit .btn--clair { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.passerelle--nuit .btn--clair:hover { border-color: #fff; }
.passerelle--or { position: relative; overflow: hidden; border-color: #3A3520; background: radial-gradient(90% 140% at 100% 0%, #2A2A1E 0%, var(--nuit) 60%); }
.passerelle--or .passerelle-actions { flex-direction: column; align-items: stretch; }
.passerelle--or .passerelle-actions .btn { justify-content: center; }
.passerelle--or::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--or-vif), transparent); }

/* --- OUTILS INCLUS : trois scènes dessinées, qui montrent l'outil au travail --- */
.outil-image--scene { aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--sable), #EDE5D3); }
.scene { display: block; width: 100%; height: 100%; font-family: var(--titre); }
.sc-fenetre, .sc-carte { fill: #fff; stroke: var(--bord); }
.sc-feuille { fill: #fff; stroke: var(--bord); }
.sc-pt { fill: var(--sable-2); }
.sc-filet { stroke: var(--bord); }
.sc-photo { fill: var(--sable); }
.sc-trait { fill: none; stroke: var(--encre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-t { font-size: 11px; font-weight: 700; fill: var(--encre); }
.sc-fort { font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.sc-gris { font-family: var(--texte); font-size: 10px; font-weight: 500; fill: var(--encre-2); }
.sc-etiq { font-size: 9px; font-weight: 800; letter-spacing: .07em; fill: var(--encre-3); }
.sc-mini { font-size: 9.5px; }
.sc-valeur { font-size: 27px; font-weight: 800; letter-spacing: -.045em; }
.sc-or-doux { fill: var(--or-doux); }
.sc-or-t { fill: var(--or-texte); font-weight: 700; }
.sc-or { fill: var(--or-vif); }
.sc-nuit { fill: var(--encre); }
.sc-blanc-t { fill: #fff; }
.sc-rang { fill: var(--fond); stroke: var(--bord); }
.sc-vert { fill: var(--vert-doux); }
.sc-coche { fill: none; stroke: var(--vert); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-pas { font-size: 10.5px; font-weight: 600; }
.sc-coche-n { fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-coche-o { fill: none; stroke: var(--or-texte); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-coche-b { fill: none; stroke: var(--encre); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.sc-ligne { fill: var(--sable-2); }
.sc-encadre { fill: var(--fond); stroke: var(--bord); }
.sc-griffe { fill: none; stroke: var(--encre); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sc-fil { stroke: var(--sable-2); stroke-width: 2; }
.sc-rail { fill: var(--sable); }
.sc-plage { fill: var(--or-vif); transform-box: fill-box; transform-origin: 0 50%; }
.sc-curseur { fill: #fff; stroke: var(--encre); stroke-width: 3; }
.sc-barre { fill: var(--or-clair); transform-box: fill-box; transform-origin: 50% 100%; }
.sc-barre--fin { fill: var(--encre); }
.sc-tampon { transform-box: fill-box; transform-origin: 50% 50%; }
/* le mouvement : chaque élément entre à son tour, la scène tient, puis rejoue */
.js:not(.calme) .vu .sc-a { animation: sc-entrer 10s var(--vif) calc(var(--i) * .3s + .5s) infinite both; }
.js:not(.calme) .vu .sc-griffe { animation: sc-signer 10s ease-in-out 1.7s infinite both; }
.js:not(.calme) .vu .sc-tampon { animation: sc-tamponner 10s var(--ressort) 3.5s infinite both; }
.js:not(.calme) .vu .sc-plage { animation: sc-etirer 10s var(--vif) 1.3s infinite both; }
.js:not(.calme) .vu .sc-curseur { animation: sc-glisser 10s var(--vif) 1.3s infinite both; }
.js:not(.calme) .vu .sc-barre { animation: sc-pousser 10s var(--vif) calc(var(--i) * .12s + 1.9s) infinite both; }
@keyframes sc-entrer { 0% { opacity: 0; transform: translateY(10px); } 6%, 87% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes sc-signer { 0% { stroke-dashoffset: 1; opacity: 1; } 16%, 80% { stroke-dashoffset: 0; opacity: 1; } 86% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes sc-tamponner { 0% { opacity: 0; transform: scale(.3) rotate(-30deg); } 5%, 64% { opacity: 1; transform: scale(1) rotate(-8deg); } 70%, 100% { opacity: 0; transform: scale(1) rotate(-8deg); } }
@keyframes sc-etirer { 0% { transform: scaleX(0); } 12%, 84% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes sc-glisser { 0% { transform: translateX(-62px); opacity: 0; } 12%, 84% { transform: none; opacity: 1; } 92%, 100% { transform: translateX(-62px); opacity: 0; } }
@keyframes sc-pousser { 0% { transform: scaleY(0); } 9%, 80% { transform: scaleY(1); } 87%, 100% { transform: scaleY(0); } }

/* --- LE PARTAGE : un taux global, réparti comme on l'entend (page team leaders) --- */
.partage { --part: 42; padding: clamp(22px, 3vw, 34px); border-radius: var(--rayon); background: #fff; border: 1px solid var(--bord); box-shadow: 0 30px 60px -44px rgba(22, 33, 43, .5); }
.partage-titre { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 700 13px/1.3 var(--titre); color: var(--encre-2); }
.partage-titre span { padding: 6px 12px; border-radius: 99px; background: var(--or-doux); color: var(--or-texte); font-size: 12px; white-space: nowrap; }
.partage-legende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 20px; font: 700 13.5px/1.3 var(--titre); letter-spacing: -.01em; }
.partage-legende span { display: inline-flex; align-items: center; gap: 8px; }
.partage-legende i { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.partage-barre { display: flex; gap: 4px; height: 58px; margin-top: 10px; }
.partage-barre > span { border-radius: 14px; }
.partage-barre .partage-vous { flex: 0 0 calc(var(--part) * 1%); }
.partage-barre .partage-eux { flex: 1; }
.partage-vous { background: var(--encre); }
.partage-eux { background: linear-gradient(135deg, var(--or-clair), var(--or-vif)); }
.partage input { display: block; width: 100%; margin: 14px 0 0; accent-color: var(--or); cursor: ew-resize; }
.partage-note { margin-top: 10px; font-size: 14px; color: var(--encre-2); }
.partage-points { display: grid; gap: 12px; margin-top: 26px; }

/* --- QUESTIONS : en nombre, sur chaque page --- */
.questions-liste--deux { max-width: 1100px; grid-template-columns: 1fr 1fr; align-items: start; }
.questions-liste--deux > div { display: grid; gap: 10px; }
.question .acc-corps a { color: var(--or-texte); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .questions-liste--deux { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .profil-insigne { display: none; }
  .marque { font-size: 21px; }
  .partage-barre { height: 50px; }
}

/* --- PAGES DE TEXTE : les mentions légales --- */
.legal { padding-top: clamp(26px, 4vw, 44px); }
.legal .page { max-width: 860px; }
.legal-sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 60px); }
.legal-sommaire a { padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--bord); font: 600 13.5px/1.2 var(--titre); color: var(--encre-2); transition: color .25s, border-color .25s; }
.legal-sommaire a:hover { color: var(--encre); border-color: var(--encre); }
.legal-partie { scroll-margin-top: 100px; }
.legal-partie + .legal-partie { margin-top: clamp(50px, 7vw, 84px); }
.legal-partie h2 { margin: 0 0 22px; padding-bottom: 16px; border-bottom: 2px solid var(--or-vif); font-size: clamp(25px, 3vw, 34px); }
.legal-partie h3 { margin: 32px 0 10px; font: 700 18px/1.3 var(--titre); letter-spacing: -.02em; }
.legal-partie p, .legal-partie li { font-size: 16px; color: var(--encre-2); }
.legal-partie p { margin-bottom: 12px; }
.legal-partie ul { margin: 6px 0 14px; padding-left: 22px; list-style: disc; }
.legal-partie li { margin-bottom: 7px; }
.legal-partie li::marker { color: var(--or); }
.legal-partie strong { color: var(--encre); font-weight: 600; }
.legal-partie a { color: var(--or-texte); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-encart { margin: 14px 0 20px; padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--bord); border-left: 4px solid var(--or-vif); }
.legal-encart p:last-child { margin-bottom: 0; }
