/* Cadre de la vitrine, aux couleurs de Nous Campus (noir, blanc, jaune). Les démos, elles, prennent la marque du
   visiteur via css/reseau.css.
   Toute règle à classe porte :where(:not(.demo-zone *)) : le style des pages ne déborde jamais dans une démo
   (.sophie, .etape, .pied… existent des deux côtés). Une règle neuve se protège de la même façon. */
:root {
  --noir: #23262E;
  --nuit: #16181D;
  --blanc: #FFFFFF;
  --papier: #F4F3EF;
  --ligne: #E1DFD9;
  --gris: #464952;
  --gris-clair: #A9ACB5;
  --jaune: #FFE14D;
  --f-titre: "Plus Jakarta Sans", "Onest", system-ui, sans-serif;
  --f-texte: "Onest", system-ui, sans-serif;
  --f-main: "Playwrite FR Moderne", cursive;
  --g: max(20px, 4vw);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1320px;
  /* Plus Jakarta Sans a une espace étroite : un suivi trop serré colle les mots des titres. */
  --ls-titre: -.012em;
  --ws-titre: .06em;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { background: var(--nuit) }
body { margin: 0; background: var(--blanc); color: var(--noir); font: 17.5px/1.65 var(--f-texte); -webkit-font-smoothing: antialiased; overflow-x: hidden }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--f-titre); letter-spacing: var(--ls-titre); line-height: 1.12; font-weight: 800 }
p { margin: 0 }
/* Coupures : titres équilibrés, paragraphes sans mot seul en dernière ligne. */
p, li, dd, blockquote, figcaption, .question p:where(:not(.demo-zone *)) { text-wrap: pretty }
h4, summary, label, .phrase:where(:not(.demo-zone *)), .accroche:where(:not(.demo-zone *)), .p-besoin p:where(:not(.demo-zone *)), .liee b:where(:not(.demo-zone *)), .besoins-liste b:where(:not(.demo-zone *)), .besoins-liste span:where(:not(.demo-zone *)), .benefice b:where(:not(.demo-zone *)), .etape b:where(:not(.demo-zone *)), .pilier b:where(:not(.demo-zone *)), .chiffres b:where(:not(.demo-zone *)), .chiffres span:where(:not(.demo-zone *)), .choix-formule b:where(:not(.demo-zone *)), .s-question:where(:not(.demo-zone *)), .so-questions button:where(:not(.demo-zone *)), .style b:where(:not(.demo-zone *)), .f h3:where(:not(.demo-zone *)), .f .t:where(:not(.demo-zone *)), .moment h3:where(:not(.demo-zone *)), .detail h3:where(:not(.demo-zone *)), .pied-haut p:where(:not(.demo-zone *)) { text-wrap: balance }
/* Les textes en police de titre gardent une espace lisible entre les mots. */
h1, h2, h3, h4, .phrase:where(:not(.demo-zone *)), .accroche:where(:not(.demo-zone *)), .p-besoin p:where(:not(.demo-zone *)), .liee b:where(:not(.demo-zone *)), .chiffres b:where(:not(.demo-zone *)), .style b:where(:not(.demo-zone *)), .resultat .prix:where(:not(.demo-zone *)), .simu .nb:where(:not(.demo-zone *)), .f .p:where(:not(.demo-zone *)), .partenaire h2:where(:not(.demo-zone *)), .besoins h2:where(:not(.demo-zone *)), .pv-etat:where(:not(.demo-zone *)), .pv-souverain .pv-prose p:first-child:where(:not(.demo-zone *)) { word-spacing: var(--ws-titre) }
.reseau h1, .reseau h2, .reseau h3, .reseau h4 { word-spacing: normal }
a { color: inherit }
img { max-width: 100%; display: block }
button { font: inherit; color: inherit }
.cadre:where(:not(.demo-zone *)) { max-width: var(--max); margin: 0 auto; padding-inline: var(--g) }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px }
.sr:where(:not(.demo-zone *)) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* Barre du haut */
.barre:where(:not(.demo-zone *)) { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent }
.barre.pleine:where(:not(.demo-zone *)) { background: rgba(22, 24, 29, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255,255,255,.08) }
.barre .cadre:where(:not(.demo-zone *)) { display: flex; align-items: center; gap: 28px; height: 68px }
.barre .logo-petit:where(:not(.demo-zone *)) { height: 54px; opacity: 0; transition: opacity .3s }
.barre.pleine .logo-petit:where(:not(.demo-zone *)) { opacity: 1 }
.barre nav:where(:not(.demo-zone *)) { margin-left: auto; display: flex; gap: 24px; font-size: 14.5px; font-weight: 500 }
.barre nav a:where(:not(.demo-zone *)) { color: #D6D8DE; text-decoration: none }
.barre nav a:hover:where(:not(.demo-zone *)) { color: var(--blanc) }
.btn:where(:not(.demo-zone *)) { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--f-texte); padding: 15px 22px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; transition: transform 160ms var(--ease-out), filter 160ms ease; white-space: nowrap }
.btn:active:where(:not(.demo-zone *)) { transform: scale(.97) }
.btn-jaune:where(:not(.demo-zone *)) { background: var(--jaune); color: var(--noir) }
@media (hover: hover) and (pointer: fine) { .btn-jaune:hover:where(:not(.demo-zone *)) { filter: brightness(1.05) } }
.btn-blanc:where(:not(.demo-zone *)) { background: var(--blanc); color: var(--noir) }
.btn-trait:where(:not(.demo-zone *)) { box-shadow: inset 0 0 0 1.5px currentColor; background: transparent }
@media (max-width: 900px) { .barre nav:where(:not(.demo-zone *)) { display: none } .barre .btn:where(:not(.demo-zone *)) { margin-left: auto } }

/* Ouverture : le logo en très grand */
.ouverture:where(:not(.demo-zone *)) { background: var(--nuit); color: var(--blanc); display: grid; padding-block: 0 72px; position: relative; overflow: hidden }
.ouverture:where(:not(.demo-zone *))::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(ellipse at center, rgba(255, 225, 77, .10), transparent 65%); pointer-events: none }
.grand-logo:where(:not(.demo-zone *)) { width: min(1100px, 92vw); margin-inline: auto; display: block }
.phrase:where(:not(.demo-zone *)) { margin-top: clamp(32px, 5vw, 64px); text-align: center; font: 600 clamp(24px, 3.2vw, 44px)/1.15 var(--f-titre); letter-spacing: var(--ls-titre); max-width: 24ch; margin-inline: auto }
.phrase .champ-nom:where(:not(.demo-zone *)) { display: inline-flex; align-items: baseline; border-bottom: 3px solid var(--jaune); padding: 0 .1em; min-width: 6ch; max-width: 100% }
.phrase input:where(:not(.demo-zone *)) { font: inherit; letter-spacing: inherit; color: var(--jaune); background: transparent; border: 0; outline: none; width: 14ch; text-align: center; padding: 0 }
.ouverture .sous:where(:not(.demo-zone *)) { margin: 22px auto 0; max-width: 54ch; text-align: center; color: #BFC2CA; font-size: 18px }
.ouverture .actions:where(:not(.demo-zone *)) { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap }
.indice:where(:not(.demo-zone *)) { text-align: center; margin-top: 18px; font-size: 13.5px; color: #8D919C }

/* Notre partenaire */
.partenaire:where(:not(.demo-zone *)) { background: var(--blanc); border-bottom: 1px solid var(--ligne) }
.partenaire .cadre:where(:not(.demo-zone *)) { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding-block: 36px }
.partenaire img:where(:not(.demo-zone *)) { width: 120px; height: auto; flex: none }
.partenaire h2:where(:not(.demo-zone *)) { font: 600 clamp(18px, 2vw, 22px)/1.3 var(--f-titre); letter-spacing: var(--ls-titre) }
.partenaire p:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 6px; max-width: 70ch; font-size: 16px }
@media (max-width: 600px) { .partenaire .cadre:where(:not(.demo-zone *)) { flex-direction: column; align-items: flex-start } }

/* Configurateur */
.config:where(:not(.demo-zone *)) { background: var(--nuit); color: var(--blanc); padding-block: 24px 96px; border-top: 1px solid rgba(255,255,255,.08) }
.config h2:where(:not(.demo-zone *)) { font-size: clamp(28px, 3.6vw, 46px) }
.config .intro:where(:not(.demo-zone *)) { color: #BFC2CA; margin-top: 14px; max-width: 56ch }
.reglages:where(:not(.demo-zone *)) { margin-top: 36px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 40px }
@media (max-width: 980px) { .reglages:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.form:where(:not(.demo-zone *)) { display: grid; gap: 18px; align-content: start }
.form label:where(:not(.demo-zone *)), .form .lab:where(:not(.demo-zone *)) { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: #D6D8DE }
.form input[type="text"]:where(:not(.demo-zone *)) { font: 500 16px/1.2 var(--f-texte); color: var(--blanc); background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); border-radius: 10px; padding: 13px 14px; width: 100% }
.form input[type="text"]:focus:where(:not(.demo-zone *)) { outline: none; border-color: var(--jaune) }
.adresse:where(:not(.demo-zone *)) { display: flex; align-items: center; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); border-radius: 10px }
.adresse input[type="text"]:where(:not(.demo-zone *)) { border: 0 !important; background: transparent !important }
.adresse span:where(:not(.demo-zone *)) { padding-right: 14px; color: #8D919C; white-space: nowrap; font-weight: 500 }
.nuancier:where(:not(.demo-zone *)) { display: flex; flex-wrap: wrap; gap: 10px }
.nuancier button:where(:not(.demo-zone *)), .nuancier label.perso:where(:not(.demo-zone *)) { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--p); cursor: pointer; box-shadow: 0 0 0 2px var(--nuit), 0 0 0 3px rgba(255,255,255,.12); transition: box-shadow 160ms ease, transform 160ms var(--ease-out) }
.nuancier button:active:where(:not(.demo-zone *)) { transform: scale(.92) }
.nuancier button[aria-pressed="true"]:where(:not(.demo-zone *)) { box-shadow: 0 0 0 3px var(--nuit), 0 0 0 5px var(--jaune) }
.nuancier label.perso:where(:not(.demo-zone *)) { background: conic-gradient(#E63946, #F4A261, #E9C46A, #2A9D8F, #264653, #6D597A, #E63946); position: relative; overflow: hidden; display: block }
.nuancier .perso input:where(:not(.demo-zone *)) { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100% }
.deux:where(:not(.demo-zone *)) { display: inline-flex; background: rgba(255,255,255,.06); border-radius: 10px; padding: 4px; gap: 4px }
.deux button:where(:not(.demo-zone *)) { border: 0; background: none; color: #D6D8DE; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 7px; cursor: pointer }
.deux button[aria-pressed="true"]:where(:not(.demo-zone *)) { background: var(--jaune); color: var(--noir) }
.depot:where(:not(.demo-zone *)) { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px dashed rgba(255,255,255,.2); border-radius: 10px; cursor: pointer; font-weight: 500; color: #D6D8DE }
.depot img:where(:not(.demo-zone *)) { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff }
.depot input:where(:not(.demo-zone *)) { display: none }
.styles:where(:not(.demo-zone *)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
@media (max-width: 560px) { .styles:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.style:where(:not(.demo-zone *)) { text-align: left; border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); border-radius: 14px; padding: 12px; cursor: pointer; display: grid; gap: 10px; transition: border-color 200ms ease, transform 200ms var(--ease-out); text-decoration: none; color: inherit }
.style:active:where(:not(.demo-zone *)) { transform: scale(.98) }
@media (hover: hover) and (pointer: fine) { .style:hover:where(:not(.demo-zone *)) { border-color: rgba(255,255,255,.3) } }
.style[aria-pressed="true"]:where(:not(.demo-zone *)) { border-color: var(--jaune); box-shadow: 0 0 0 1px var(--jaune) }
.style b:where(:not(.demo-zone *)) { font: 600 16px/1.2 var(--f-titre); letter-spacing: var(--ls-titre) }
.style span:where(:not(.demo-zone *)) { font-size: 13.5px; color: #A9ACB5; line-height: 1.45 }
.mini:where(:not(.demo-zone *)) { aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; display: grid; grid-template-rows: 18% 1fr; background: var(--m-fond) }
.mini i:where(:not(.demo-zone *)) { background: var(--client) }
.mini div:where(:not(.demo-zone *)) { padding: 8%; display: grid; gap: 7%; grid-template-columns: 1fr 1fr }
.mini div span:where(:not(.demo-zone *)) { background: var(--m-surface); border-radius: var(--m-rayon); border: 1px solid var(--m-ligne) }
.mini div span:first-child:where(:not(.demo-zone *)) { grid-row: span 2 }
.mini.institution:where(:not(.demo-zone *)) { --m-fond: #FAF9F7; --m-surface: #fff; --m-ligne: #DEDAD2; --m-rayon: 2px }
.mini.campus:where(:not(.demo-zone *)) { --m-fond: #F3F4F6; --m-surface: #fff; --m-ligne: #E4E5E9; --m-rayon: 9px }
.mini.studio:where(:not(.demo-zone *)) { --m-fond: #0D0E12; --m-surface: #1E2129; --m-ligne: #2A2D36; --m-rayon: 6px }
.style.mesure .mini:where(:not(.demo-zone *)) { background: repeating-linear-gradient(135deg, rgba(255,225,77,.12) 0 10px, transparent 10px 20px); display: grid; place-items: center; grid-template-rows: none; color: var(--jaune); font: 400 22px/1 var(--f-main) }

/* Photo de promo */
.promo:where(:not(.demo-zone *)) { background: var(--papier); padding-block: 110px; overflow: hidden }
.promo h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 54px); max-width: 16ch }
.promo .intro:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 16px; max-width: 52ch; font-size: 18px }
.photo-promo:where(:not(.demo-zone *)) { margin-top: 48px; display: grid; gap: 10px; justify-items: center }
.rang:where(:not(.demo-zone *)) { display: flex; gap: 10px; justify-content: center }
.rang img:where(:not(.demo-zone *)) { width: clamp(44px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--papier); background: #ddd }
.rang img.vous:where(:not(.demo-zone *)) { box-shadow: 0 0 0 3px var(--papier), 0 0 0 6px var(--client) }
.ardoise:where(:not(.demo-zone *)) { margin-top: 26px; background: var(--noir); color: var(--blanc); border: 8px solid #C9A36B; border-radius: 6px; padding: 14px 22px; font: 400 clamp(18px, 2vw, 24px)/1.3 var(--f-main); transform: rotate(-1.5deg); text-align: center }
.ardoise b:where(:not(.demo-zone *)) { display: block; font: 600 13px/1.4 var(--f-texte); color: var(--jaune); letter-spacing: .04em; margin-top: 4px }
@media (max-width: 640px) { .rang:where(:not(.demo-zone *)) { gap: 6px } .rang img:nth-child(n+7):where(:not(.demo-zone *)) { display: none } }

/* Logo 3D */
.logo-3d:where(:not(.demo-zone *)) { width: min(1100px, 92vw); margin-inline: auto; display: grid; place-items: center; perspective: 1200px }
.logo-3d .grand-logo:where(:not(.demo-zone *)) { width: 100%; transform-style: preserve-3d; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)) drop-shadow(0 2px 0 rgba(255, 255, 255, .04)); will-change: transform }
.logo-3d canvas:where(:not(.demo-zone *)) { display: block; cursor: grab }

/* Le pont entre nouveaux et anciens : un parcours réel, étape par étape */
.pont:where(:not(.demo-zone *)) { background: var(--papier); padding-block: 110px }
.pont h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px); max-width: 22ch }
.pont .intro:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 16px; max-width: 56ch; font-size: 18px }
.etapes:where(:not(.demo-zone *)) { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; counter-reset: etape; position: relative }
.etapes:where(:not(.demo-zone *))::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--ligne) }
.etape:where(:not(.demo-zone *)) { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 18px 0; position: relative }
.etape .num:where(:not(.demo-zone *)) { width: 56px; height: 56px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--noir); display: grid; place-items: center; font: 700 18px/1 var(--f-titre); z-index: 1 }
.etape.fin .num:where(:not(.demo-zone *)) { background: var(--jaune) }
.etape .quand:where(:not(.demo-zone *)) { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gris) }
.etape b:where(:not(.demo-zone *)) { display: block; font: 600 19px/1.3 var(--f-texte); margin-top: 4px }
.etape p:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 4px; max-width: 62ch; font-size: 16px }
.etape a:where(:not(.demo-zone *)) { align-self: center; font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid var(--jaune); white-space: nowrap }
@media (max-width: 640px) { .etape:where(:not(.demo-zone *)) { grid-template-columns: 56px minmax(0, 1fr) } .etape a:where(:not(.demo-zone *)) { grid-column: 2; justify-self: start } }

/* Ce que l'établissement y gagne, par rôle */
.gains:where(:not(.demo-zone *)) { background: var(--blanc); padding-block: 110px }
.gains h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px); max-width: 20ch }
.roles:where(:not(.demo-zone *)) { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--ligne) }
.roles button:where(:not(.demo-zone *)) { border: 0; background: none; padding: 14px 16px; font-weight: 600; font-size: 15.5px; color: var(--gris); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px }
.roles button[aria-selected="true"]:where(:not(.demo-zone *)) { color: var(--noir); border-bottom-color: var(--noir) }
.role-corps:where(:not(.demo-zone *)) { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start }
@media (max-width: 900px) { .role-corps:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.role-corps .accroche:where(:not(.demo-zone *)) { font: 600 clamp(22px, 2.4vw, 30px)/1.25 var(--f-titre); letter-spacing: var(--ls-titre) }
.role-corps .accroche + p:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 14px; font-size: 17px }
.benefices:where(:not(.demo-zone *)) { display: grid; gap: 0 }
.benefice:where(:not(.demo-zone *)) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ligne) }
.benefice b:where(:not(.demo-zone *)) { display: block; font-size: 17px }
.benefice span:where(:not(.demo-zone *)) { color: var(--gris); font-size: 15px }
.benefice a:where(:not(.demo-zone *)) { font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid var(--jaune); white-space: nowrap }

/* Salle de démo */
.salle:where(:not(.demo-zone *)) { background: var(--nuit); color: var(--blanc); padding-block: 110px }
.config + .salle:where(:not(.demo-zone *)) { padding-top: 32px }
.salle h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 54px); max-width: 20ch }
.salle .intro:where(:not(.demo-zone *)) { color: #BFC2CA; margin-top: 16px; max-width: 58ch; font-size: 18px }
.ecran:where(:not(.demo-zone *)) { margin-top: 44px; border-radius: 22px; overflow: clip; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.08) }
.ecran-barre:where(:not(.demo-zone *)) { background: var(--client); color: var(--client-texte); display: flex; align-items: center; gap: 14px; padding: 14px 20px; transition: background-color .4s, color .4s }
.ecran-barre .mono:where(:not(.demo-zone *)) { width: 40px; height: 40px; border-radius: 10px; background: var(--client-texte); color: var(--client); display: grid; place-items: center; font: 700 14px/1 var(--f-texte); overflow: hidden; flex: none }
.ecran-barre .mono img:where(:not(.demo-zone *)) { width: 100%; height: 100%; object-fit: contain; background: #fff }
.ecran-barre b:where(:not(.demo-zone *)) { display: block; font-size: 16px; line-height: 1.2 }
.ecran-barre small:where(:not(.demo-zone *)) { opacity: .8; font-size: 12.5px }
.ecran-barre .url:where(:not(.demo-zone *)) { margin-left: auto; font-size: 12.5px; opacity: .85; background: rgba(255,255,255,.14); padding: 7px 12px; border-radius: 99px }
.ecran-corps:where(:not(.demo-zone *)) { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 640px }
.rail:where(:not(.demo-zone *)) { background: var(--r-surface); border-right: 1px solid var(--r-ligne); padding: 14px 10px; align-self: start; position: sticky; top: 70px; max-height: calc(100svh - 90px); overflow-y: auto }
.rail h3:where(:not(.demo-zone *)) { font: 700 11px/1 var(--r-corps); text-transform: uppercase; letter-spacing: .09em; color: var(--r-texte-2); padding: 14px 10px 8px }
.rail button:where(:not(.demo-zone *)) { display: block; width: 100%; text-align: left; border: 0; background: none; color: var(--r-texte); padding: 9px 10px; border-radius: var(--r-rayon-petit); font: 500 14px/1.3 var(--r-corps); cursor: pointer }
.rail button:hover:where(:not(.demo-zone *)) { background: var(--r-surface-2) }
.rail button[aria-current="true"]:where(:not(.demo-zone *)) { background: var(--client-doux); color: var(--client); font-weight: 700 }
:root[data-theme="studio"] .rail button[aria-current="true"]:where(:not(.demo-zone *)) { background: color-mix(in srgb, var(--client) 24%, transparent); color: var(--r-texte) }
.scene:where(:not(.demo-zone *)) { padding: 22px; min-width: 0; overflow-x: clip }
.scene > *:where(:not(.demo-zone *)) { animation: entree-scene 180ms var(--ease-out) both }
@keyframes entree-scene { from { opacity: 0; transform: translateY(6px) } }
.scene-tete:where(:not(.demo-zone *)) { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-bottom: 16px }
.scene-tete h3:where(:not(.demo-zone *)) { font-size: 22px }
.scene-tete p:where(:not(.demo-zone *)) { color: var(--r-texte-2); font-size: 14.5px }
.attente:where(:not(.demo-zone *)) { padding: 60px 20px; text-align: center; color: var(--r-texte-2) }
@media (max-width: 1180px) {
  .ecran-corps:where(:not(.demo-zone *)) { grid-template-columns: 1fr }
  .rail:where(:not(.demo-zone *)) { display: flex; gap: 6px; overflow-x: auto; max-height: none; border-right: 0; border-bottom: 1px solid var(--r-ligne); padding: 10px }
  .rail h3:where(:not(.demo-zone *)) { display: none }
  .rail button:where(:not(.demo-zone *)) { width: auto; white-space: nowrap; flex: none }
  .ecran-barre .url:where(:not(.demo-zone *)) { display: none }
}

/* Sophie */
.sophie:where(:not(.demo-zone *)) { background: var(--blanc); padding-block: 110px }
.sophie .cadre:where(:not(.demo-zone *)) { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center }
@media (max-width: 900px) { .sophie .cadre:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.sophie h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px) }
.sophie .intro:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 16px; font-size: 18px; max-width: 48ch }
.so-cadre:where(:not(.demo-zone *)) { position: relative; width: 100%; max-width: 360px; justify-self: center; aspect-ratio: 1072 / 1928; max-height: 640px; border-radius: 24px; overflow: hidden; background: linear-gradient(170deg, #3A3F4B, var(--noir)); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6) }
.so-cadre .attente-video:where(:not(.demo-zone *)) { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #C9CBD3; font-size: 14px; padding: 28px }
.so-cadre .attente-video b:where(:not(.demo-zone *)) { display: block; color: var(--jaune); font: 400 30px/1.2 var(--f-main); margin-bottom: 8px }
.so-chat:where(:not(.demo-zone *)) { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--blanc); border-radius: 16px; padding: 12px; display: grid; gap: 8px; font-size: 13.5px; max-height: 58%; overflow: auto }
.so-bulle:where(:not(.demo-zone *)) { background: var(--papier); border-radius: 12px 12px 12px 4px; padding: 9px 11px; transform-origin: bottom left; animation: bulle 220ms var(--ease-out) both }
@keyframes bulle { from { opacity: 0; transform: scale(.96) translateY(4px) } }
.so-bulle.moi:where(:not(.demo-zone *)) { transform-origin: bottom right; background: var(--noir); color: var(--blanc); border-radius: 12px 12px 4px 12px; justify-self: end }
.so-questions:where(:not(.demo-zone *)) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px }
.so-questions button:where(:not(.demo-zone *)) { border: 1.5px solid var(--ligne); background: var(--blanc); border-radius: 99px; padding: 10px 14px; font-weight: 500; font-size: 14.5px; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out) }
.so-questions button:active:where(:not(.demo-zone *)) { transform: scale(.97) }
@media (hover: hover) and (pointer: fine) { .so-questions button:hover:where(:not(.demo-zone *)) { border-color: var(--noir) } }
.so-prix:where(:not(.demo-zone *)) { margin-top: 24px; font-size: 15px; color: var(--gris) }

/* Tarifs et simulateur */
.tarifs:where(:not(.demo-zone *)) { background: var(--papier); padding-block: 110px }
.tarifs h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px) }
.simu:where(:not(.demo-zone *)) { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 20px; padding: clamp(20px, 3vw, 36px) }
@media (max-width: 900px) { .simu:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.simu label:where(:not(.demo-zone *)) { font-weight: 600; font-size: 15px; display: grid; gap: 12px }
.simu input[type="range"]:where(:not(.demo-zone *)) { width: 100%; accent-color: var(--noir) }
.simu .nb:where(:not(.demo-zone *)) { font: 700 42px/1 var(--f-titre); letter-spacing: var(--ls-titre) }
.simu .opt:where(:not(.demo-zone *)) { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 15px }
.simu .opt input:where(:not(.demo-zone *)) { width: 20px; height: 20px; accent-color: var(--noir) }
.resultat:where(:not(.demo-zone *)) { display: grid; gap: 10px; align-content: start }
.resultat .formule:where(:not(.demo-zone *)) { font: 600 15px/1 var(--f-texte); color: var(--gris) }
.resultat .prix:where(:not(.demo-zone *)) { font: 700 clamp(40px, 5vw, 60px)/1 var(--f-titre); letter-spacing: var(--ls-titre) }
.resultat .prix small:where(:not(.demo-zone *)) { font: 500 16px/1 var(--f-texte); letter-spacing: 0; color: var(--gris) }
.resultat .detail:where(:not(.demo-zone *)) { color: var(--gris); font-size: 15px }
.compare3:where(:not(.demo-zone *)) { margin-top: 14px; display: grid; gap: 8px }
.ligne3:where(:not(.demo-zone *)) { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px }
.ligne3 .barre3:where(:not(.demo-zone *)) { height: 10px; border-radius: 6px; background: var(--noir); transform-origin: left; transition: transform .5s cubic-bezier(.16, 1, .3, 1) }
.ligne3.autre .barre3:where(:not(.demo-zone *)) { background: #C9C6BE }
.ligne3 b:where(:not(.demo-zone *)) { font-variant-numeric: tabular-nums }
.note:where(:not(.demo-zone *)) { font-size: 12.5px; color: var(--gris); margin-top: 6px }
.grille:where(:not(.demo-zone *)) { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; background: var(--blanc) }
@media (max-width: 1000px) { .grille:where(:not(.demo-zone *)) { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .grille:where(:not(.demo-zone *)) { grid-template-columns: 1fr } .grille .f:where(:not(.demo-zone *)) { border-right: 0; border-bottom: 1px solid var(--ligne) } .grille .f:last-child:where(:not(.demo-zone *)) { border-bottom: 0 } }
.f:where(:not(.demo-zone *)) { padding: 22px; border-right: 1px solid var(--ligne); display: grid; gap: 6px; align-content: start }
.f:last-child:where(:not(.demo-zone *)) { border-right: 0 }
.f.on:where(:not(.demo-zone *)) { background: var(--noir); color: var(--blanc) }
.f h3:where(:not(.demo-zone *)) { font-size: 19px }
.f .t:where(:not(.demo-zone *)) { font-size: 13.5px; color: var(--gris) }
.f.on .t:where(:not(.demo-zone *)), .f.on .s:where(:not(.demo-zone *)) { color: #BFC2CA }
.f .p:where(:not(.demo-zone *)) { font: 700 30px/1 var(--f-titre); letter-spacing: var(--ls-titre); margin-top: 6px }
.f .p small:where(:not(.demo-zone *)) { font: 500 13px/1 var(--f-texte); letter-spacing: 0 }
.f .s:where(:not(.demo-zone *)) { font-size: 13px; color: var(--gris); border-top: 1px dashed var(--ligne); padding-top: 8px; margin-top: 6px }

/* Comparatif */
.comparatif:where(:not(.demo-zone *)) { background: var(--blanc); padding-block: 110px }
.comparatif h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px); max-width: 18ch }
.tableau:where(:not(.demo-zone *)) { margin-top: 36px; overflow-x: auto; border: 1px solid var(--ligne); border-radius: 16px }
.tableau table:where(:not(.demo-zone *)) { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px }
.tableau th:where(:not(.demo-zone *)), .tableau td:where(:not(.demo-zone *)) { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--ligne) }
.tableau thead th:where(:not(.demo-zone *)) { background: var(--papier); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris) }
.tableau thead th.nous:where(:not(.demo-zone *)) { background: var(--noir); color: var(--jaune) }
.tableau td.nous:where(:not(.demo-zone *)) { background: #FFFBE6; font-weight: 600 }
.oui:where(:not(.demo-zone *)) { color: #12805C; font-weight: 700 }
.opt:where(:not(.demo-zone *)) { color: #9A5B00; font-weight: 600 }
.non:where(:not(.demo-zone *)) { color: var(--gris-clair) }

/* Confiance et contact */
.confiance:where(:not(.demo-zone *)) { background: var(--nuit); color: var(--blanc); padding-block: 110px }
.confiance h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px) }
.piliers:where(:not(.demo-zone *)) { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px }
@media (max-width: 900px) { .piliers:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.pilier:where(:not(.demo-zone *)) { border-top: 2px solid var(--jaune); padding-top: 18px; display: grid; gap: 8px }
.pilier b:where(:not(.demo-zone *)) { font: 600 19px/1.3 var(--f-texte) }
.pilier span:where(:not(.demo-zone *)) { color: #BFC2CA }
.contact:where(:not(.demo-zone *)) { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; background: var(--jaune); color: var(--noir); border-radius: 22px; padding: clamp(24px, 4vw, 48px) }
@media (max-width: 900px) { .contact:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.contact h3:where(:not(.demo-zone *)) { font-size: clamp(26px, 3vw, 38px) }
.contact form:where(:not(.demo-zone *)) { display: grid; gap: 12px }
.contact input:where(:not(.demo-zone *)), .contact select:where(:not(.demo-zone *)) { font: 500 15.5px/1.2 var(--f-texte); color: var(--noir); padding: 13px 14px; border-radius: 10px; border: 1.5px solid rgba(35,38,46,.25); background: var(--blanc); width: 100% }
.contact select:where(:not(.demo-zone *)), .pv-form select:where(:not(.demo-zone *)) { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2323262E' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center }
.contact .merci:where(:not(.demo-zone *)) { font-weight: 600 }
.pied:where(:not(.demo-zone *)) { background: var(--nuit); color: #8D919C; padding-block: 40px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08) }
.pied .cadre:where(:not(.demo-zone *)) { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center }
.pied img:where(:not(.demo-zone *)) { height: 34px }
.pied a:where(:not(.demo-zone *)) { color: #BFC2CA; text-decoration: none }
.bandeau-maquette:where(:not(.demo-zone *)) { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--jaune); color: var(--noir); font: 600 12px/1.3 var(--f-texte); padding: 7px 10px; border-radius: 6px }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important } }

/* Séquence d'ouverture : logo, puis les lettres deviennent une fenêtre sur la vidéo, puis la vidéo en plein cadre */
.sequence:where(:not(.demo-zone *)) { position: relative; width: 100%; max-width: 1680px; margin-inline: auto; aspect-ratio: 16 / 9; max-height: max(340px, calc(100svh - 250px)); overflow: hidden; background: var(--nuit) }
@media (min-width: 1700px) { .sequence:where(:not(.demo-zone *)) { margin-top: 80px; border-radius: 24px } }
.scene-video:where(:not(.demo-zone *)) { position: absolute; inset: 0; opacity: 0 }
.scene-video video:where(:not(.demo-zone *)), .scene-video .photo-ouverture:where(:not(.demo-zone *)) { width: 100%; height: 100%; object-fit: cover; display: block }
.scene-video:where(:not(.demo-zone *))::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(22,24,29,.78) 0%, rgba(22,24,29,.35) 10%, rgba(22,24,29,0) 22%, rgba(22,24,29,0) 78%, var(--nuit) 100%) }
.scene-video.masquee:where(:not(.demo-zone *)) { -webkit-mask-image: url(/img/masque-campus.svg); mask-image: url(/img/masque-campus.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat }
.nous-video:where(:not(.demo-zone *)) { position: absolute; z-index: 2; left: 2.6%; top: 38%; width: 16%; transform: rotate(-6deg); filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); clip-path: inset(0 100% 0 0) }
.intro-logo:where(:not(.demo-zone *)) { position: absolute; inset: 0; pointer-events: none }
.intro-logo img:where(:not(.demo-zone *)) { position: absolute; display: block }
.li-campus:where(:not(.demo-zone *)) { filter: drop-shadow(0 2px 0 #C9CBD1) drop-shadow(0 4px 0 #9FA2AB) drop-shadow(0 6px 0 #7D818B) drop-shadow(0 22px 30px rgba(0,0,0,.55)) }
.li-nous:where(:not(.demo-zone *)) { transform: rotate(-6deg); transform-origin: left bottom; clip-path: inset(0 100% 0 0) }
.passer:where(:not(.demo-zone *)) { position: absolute; right: max(16px, 2vw); bottom: 20px; z-index: 5; background: rgba(22,24,29,.6); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 9px 14px; font: 600 13px/1 var(--f-texte); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity 300ms ease, transform 160ms var(--ease-out) }
.passer:active:where(:not(.demo-zone *)) { transform: scale(.97) }
.sequence.finie .passer:where(:not(.demo-zone *)) { opacity: 0; pointer-events: none }
.ouverture .cadre:where(:not(.demo-zone *)) { margin-top: -40px; position: relative; z-index: 3 }
.ouverture .phrase:where(:not(.demo-zone *)) { margin-top: 0 }
@media (max-width: 700px) { .sequence:where(:not(.demo-zone *)) { aspect-ratio: 4 / 5 } .scene-video .photo-ouverture:where(:not(.demo-zone *)) { object-position: 18% center } .nous-video:where(:not(.demo-zone *)) { display: none } .ouverture .cadre:where(:not(.demo-zone *)) { margin-top: 0 } }

/* Page partenaires */
.page-tete:where(:not(.demo-zone *)) { background: var(--nuit); color: var(--blanc); padding-block: 72px 56px }
.page-tete h1:where(:not(.demo-zone *)) { font-size: clamp(32px, 4.4vw, 56px) }
.page-tete p:where(:not(.demo-zone *)) { color: #BFC2CA; margin-top: 12px; font-size: 18px }

/* Le récit : les textes défilent, l'écran change à droite */
.recit:where(:not(.demo-zone *)) { background: var(--blanc); padding-block: 110px }
.recit h2:where(:not(.demo-zone *)) { font-size: clamp(30px, 4vw, 52px); max-width: 20ch }
.recit .intro:where(:not(.demo-zone *)) { color: var(--gris); margin-top: 16px; max-width: 60ch; font-size: 18px }
.recit-grille:where(:not(.demo-zone *)) { margin-top: 56px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px }
.chapitres:where(:not(.demo-zone *)) { display: grid; gap: 0 }
.chapitre:where(:not(.demo-zone *)) { min-height: 70vh; display: grid; align-content: center; gap: 12px; padding-block: 40px; opacity: .35; transition: opacity 400ms ease }
.chapitre.actif:where(:not(.demo-zone *)) { opacity: 1 }
.chapitre .surtitre:where(:not(.demo-zone *)) { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris) }
.chapitre h3:where(:not(.demo-zone *)) { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1 }
.chapitre p:where(:not(.demo-zone *)) { color: var(--gris); font-size: 17.5px; max-width: 46ch }
.chapitre ul:where(:not(.demo-zone *)) { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px }
.chapitre li:where(:not(.demo-zone *)) { display: flex; gap: 10px; align-items: baseline; font-weight: 500 }
.chapitre li:where(:not(.demo-zone *))::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--jaune); box-shadow: 0 0 0 1.5px var(--noir); flex: none; transform: translateY(-1px) }
.chapitre .voir:where(:not(.demo-zone *)) { justify-self: start; margin-top: 10px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--jaune) }
.ecran-mobile:where(:not(.demo-zone *)) { display: none }
.vitrine-ecran:where(:not(.demo-zone *)) { position: relative }
.cadre-ecran:where(:not(.demo-zone *)) { position: sticky; top: 110px; height: min(72vh, 680px); border-radius: 18px; overflow: hidden; background: #F3F4F6; border: 1px solid var(--ligne); box-shadow: 0 40px 80px -40px rgba(27, 29, 35, .35) }
.cadre-ecran img:where(:not(.demo-zone *)) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: translateY(12px) scale(.99); transition: opacity 450ms ease, transform 600ms var(--ease-out) }
.cadre-ecran img.actif:where(:not(.demo-zone *)) { opacity: 1; transform: none }
@media (max-width: 900px) {
  .recit-grille:where(:not(.demo-zone *)) { grid-template-columns: 1fr }
  .vitrine-ecran:where(:not(.demo-zone *)) { display: none }
  .chapitre:where(:not(.demo-zone *)) { min-height: 0; opacity: 1 }
  .ecran-mobile:where(:not(.demo-zone *)) { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--ligne); margin-top: 8px }
}

/* Les besoins du dirigeant, tout de suite */
.besoins:where(:not(.demo-zone *)) { background: var(--nuit); color: var(--blanc); padding-block: 8px 72px }
.besoins h2:where(:not(.demo-zone *)) { font: 600 clamp(18px, 2vw, 22px)/1.3 var(--f-titre); letter-spacing: var(--ls-titre); color: #BFC2CA }
.besoins-liste:where(:not(.demo-zone *)) { margin-top: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px }
@media (max-width: 1100px) { .besoins-liste:where(:not(.demo-zone *)) { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .besoins-liste:where(:not(.demo-zone *)) { grid-template-columns: 1fr } }
.besoins-liste a:where(:not(.demo-zone *)) { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-decoration: none; transition: border-color 200ms ease, transform 160ms var(--ease-out) }
.besoins-liste a:active:where(:not(.demo-zone *)) { transform: scale(.98) }
@media (hover: hover) and (pointer: fine) { .besoins-liste a:hover:where(:not(.demo-zone *)) { border-color: var(--jaune) } }
.besoins-liste b:where(:not(.demo-zone *)) { font-size: 16.5px; line-height: 1.3 }
.besoins-liste span:where(:not(.demo-zone *)) { color: #A9ACB5; font-size: 14.5px }
.lien-compte:where(:not(.demo-zone *)) { margin-left: 24px; margin-right: 12px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 10px; color: var(--blanc); font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s }
.lien-compte:hover:where(:not(.demo-zone *)) { background: rgba(255, 255, 255, .1); border-color: var(--blanc) }
@media (max-width: 900px) { .lien-compte:where(:not(.demo-zone *)) { margin-left: auto } }
/* Drapeau de l'autre langue, juste avant « Se connecter » (langue-en.mjs fabrique les pages /en/). */
.lien-langue:where(:not(.demo-zone *)) { margin-left: 20px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--blanc); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: background-color .2s }
.lien-langue:hover:where(:not(.demo-zone *)) { background: rgba(255, 255, 255, .1) }
.lien-langue:where(:not(.demo-zone *)) span[aria-hidden] { font-size: 17px; line-height: 1 }
/* Petit téléphone : « Se connecter » et « Créer un compte » passent en tête du menu déroulant. */
.tiroir-compte:where(:not(.demo-zone *)) { display: none }
@media (max-width: 420px) { .barre .lien-compte:where(:not(.demo-zone *)) { display: none } .tiroir-compte:where(:not(.demo-zone *)) { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 8px } .tiroir .tiroir-compte a:where(:not(.demo-zone *)) { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 700 } .tiroir .tiroir-compte .lien-compte:where(:not(.demo-zone *)) { color: var(--blanc) } .tiroir .tiroir-compte .btn-jaune:where(:not(.demo-zone *)) { color: var(--noir) } }
@media (max-width: 520px) { .barre .cadre:where(:not(.demo-zone *)) { gap: 10px } .lien-langue-code:where(:not(.demo-zone *)) { display: none } .lien-langue:where(:not(.demo-zone *)) { padding: 0 8px } .lien-compte:where(:not(.demo-zone *)) { padding: 0 12px } }
.lien-langue:where(:not(.demo-zone *)) + .lien-compte { margin-left: 8px }
@media (max-width: 900px) { .lien-langue:where(:not(.demo-zone *)) { margin-left: auto } .lien-langue:where(:not(.demo-zone *)) + .lien-compte { margin-left: 4px } }

/* Logo animé de l'en-tête (js/logo-anime.js) : « Campus » se lève en 3D, « nous » s'écrit, le tout suit la souris. */
.logo-scene:where(:not(.demo-zone *)) { display: block; perspective: 420px }
.logo-anime:where(:not(.demo-zone *)) { display: block; height: 54px; width: auto; overflow: visible; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease-out) }
.logo-anime .lg-campus:where(:not(.demo-zone *)) { transform-box: fill-box; transform-origin: 50% 100%; animation: lg-lever .8s cubic-bezier(.2, 1.25, .4, 1) both }
.logo-anime .lg-nous:where(:not(.demo-zone *)) { transform-box: fill-box; transform-origin: 0 100%; animation: lg-ecrire 1.1s cubic-bezier(.65, 0, .35, 1) .55s both, lg-flotter 5s ease-in-out 2s infinite }
.logo-anime.reecrit .lg-nous:where(:not(.demo-zone *)) { animation: lg-ecrire .9s cubic-bezier(.65, 0, .35, 1) both, lg-flotter 5s ease-in-out .9s infinite }
@keyframes lg-lever { from { opacity: 0; transform: perspective(300px) rotateX(80deg) translateY(10px) } }
@keyframes lg-ecrire { from { clip-path: inset(-20% 100% -20% 0) } to { clip-path: inset(-20% -5% -20% 0) } }
@keyframes lg-flotter { 0%, 100% { transform: none } 50% { transform: translateY(-3px) rotate(-4deg) } }
@media (max-width: 600px) { .logo-anime:where(:not(.demo-zone *)), .barre .logo-petit:where(:not(.demo-zone *)) { height: 38px } }

/* Sophie en mode guide (classe crl-guide posée par sa fenêtre quand elle montre une page) : l'écran se partage en
   deux, le panneau ancré à gauche et la page à droite. Le contenu et le pied de page se décalent de la largeur du
   panneau et sont réduits proportionnellement (variables posées par js/sophie-vitrine.js) ; la barre de navigation
   reste entière, le panneau commence sous elle. Sous 1024 px, le panneau reste posé sur la page. */
@media (min-width: 1024px) {
  body > :is(main, footer) { transition: margin-left .3s ease }
  html.crl-guide body > :is(main, footer) { margin-left: var(--sophie-marge-guide, 0px); zoom: var(--sophie-zoom-guide, 1) }
  /* La barre transparente de l'accueil passerait sur le fond clair du panneau : elle prend son fond sombre. */
  html.crl-guide .barre:where(:not(.demo-zone *)) { background: rgba(22, 24, 29, .97); border-color: rgba(255,255,255,.08) }
  html.crl-guide .barre .logo-petit:where(:not(.demo-zone *)) { opacity: 1 }
}
@media (prefers-reduced-motion: reduce) {
  body > :is(main, footer) { transition: none }
}
