/* =========================================================================================================
   V5.4 bandeau (c-bandeau-01) : bandeau d'etapes permanent du parcours de demo + incrustation de la page dans le cadre des
   ecrans de transition (demande utilisateur du 10/11 19:42). Pose par js/demo-bandeau.js, en mode demo SEULEMENT :
     html.ntb            parcours de demo en cours (toutes les pages du parcours)
     html.ntb-carte      page reelle (brief, fiche, visio, debrief, fin) : incrustee en carte dans le cadre blanc casse
     html.ntb-p-<page>   etape | brief | fiche | visio | debrief | fin
     html[data-ntb-theme] light | dark (theme des ecrans de transition, nt_theme ; la visio garde le sien a l'interieur)
   Hors demo, aucune de ces classes n'existe : aucune regle de cette feuille ne s'applique (pages identiques).
   Geometrie : bandeau fixe de --ntb-h en haut ; la carte occupe le reste, a --ntb-m des bords (haut : sous le bandeau).
   Le cadre (.ntb-cadre, fixe, sans clic) peint le blanc casse AUTOUR de la carte (ombre etendue d'un rectangle arrondi
   transparent) et l'ombre douce de la carte : la page defile DANS la fenetre, comme une incrustation. Les pages pleine hauteur
   (brief, visio) sont posees en position fixe dans la fenetre (contain:paint : leurs elements fixes s'y rapportent).
   Ecran seulement : rien a l'impression.
   ========================================================================================================= */
@media screen{
  html.ntb{
    --ntb-h:52px; --ntb-m:14px; --ntb-r:16px;
    /* V5.5 bandeau : la carte s'arrete a --ntb-haut du haut (bandeau + marge : le cadre se voit entre bandeau et page) et a
       --ntb-bas du bas (V5.6 demo : plus de socle sous la carte, la marge seule) */
    --ntb-g:16px; --ntb-haut:calc(var(--ntb-h) + var(--ntb-g)); --ntb-bas:var(--ntb-m);
    /* V5.6 demo : bouton « etape suivante » flottant (style du bouton flottant « Lancer la visio » de la fiche) et reserve de
       hauteur qu'il laisse en fin de page */
    --ntb-sv-bg:#5B5FC7; --ntb-sv-bg-h:#4A4EB4; --ntb-sv-halo:91,95,199; --ntb-sv-reserve:84px;
    --ntb-hh:calc(100vh - var(--ntb-haut) - var(--ntb-bas));
    --ntb-bg:#F8F5EE; --ntb-bg-2:#F0EBDF; --ntb-surface:#FFFFFF; --ntb-ink:#141318; --ntb-ink-2:#4F4E57; --ntb-ink-3:#6B6973;
    --ntb-line:#DCD6C8; --ntb-accent:#4347B8; --ntb-accent-txt:#4347B8;
    --ntb-lisere:rgba(60,52,30,.15); --ntb-ombre:0 1px 2px rgba(60,52,30,.07),0 12px 32px -14px rgba(60,52,30,.30);
    /* V5.5 bandeau : bandeau teinte (lavande froide de la marque) distinct du cadre (blanc casse chaud), filet franc, ombre */
    --ntb-band:#E2E0F7; --ntb-band-2:#D4D1F1; --ntb-filet:#8F8BD6;
    --ntb-ombre-band:0 2px 0 rgba(67,71,184,.07),0 10px 22px -10px rgba(40,38,90,.42);
    --ntb-cta:#4347B8; --ntb-cta-halo:67,71,184;
    --ntb-font:"Helvetica Neue",Helvetica,"Nimbus Sans","Nimbus Sans L","Liberation Sans",Roboto,"Segoe UI",Arial,sans-serif;
  }
  @supports (height:100dvh){ html.ntb{--ntb-hh:calc(100dvh - var(--ntb-haut) - var(--ntb-bas))} }
  html.ntb[data-ntb-theme="dark"]{
    --ntb-bg:#24232C; --ntb-bg-2:#2D2C36; --ntb-surface:#2F2E39; --ntb-ink:#F2F0EA; --ntb-ink-2:#C9C6CF; --ntb-ink-3:#A9A6B2;
    --ntb-line:#4A4855; --ntb-accent:#5B60D6; --ntb-accent-txt:#A9ACFF;
    --ntb-lisere:rgba(255,255,255,.16); --ntb-ombre:0 1px 2px rgba(0,0,0,.4),0 14px 36px -12px rgba(0,0,0,.7);
    --ntb-band:#403E86; --ntb-band-2:#4D4B98; --ntb-filet:#8D8AE6;
    --ntb-ombre-band:0 2px 0 rgba(0,0,0,.3),0 10px 22px -8px rgba(0,0,0,.7);
    --ntb-cta:#5B60E8; --ntb-cta-halo:120,126,255;
  }
  @media (max-width:640px){ html.ntb{--ntb-h:52px; --ntb-m:7px; --ntb-g:12px; --ntb-r:12px; --ntb-bas:var(--ntb-m)} }
  /* V5.6 demo : bande du bouton suivant au telephone (10 + 44 + 10 px, zone sure comprise) */
  @media (max-width:767px){ html.ntb{--ntb-sv-reserve:calc(64px + env(safe-area-inset-bottom,0px))} }

  /* ------------------------------------------------------------------ 1. le bandeau */
  html.ntb .ntb-bandeau{position:fixed;top:0;left:0;right:0;z-index:77;height:var(--ntb-h);box-sizing:border-box;
    display:flex;align-items:center;gap:18px;padding:0 calc(var(--ntb-m) + 8px);
    background:var(--ntb-band);color:var(--ntb-ink);font:600 13px/1.2 var(--ntb-font);-webkit-font-smoothing:antialiased;
    color-scheme:light;border-bottom:2px solid var(--ntb-filet);box-shadow:var(--ntb-ombre-band)}
  html.ntb[data-ntb-theme="dark"] .ntb-bandeau{color-scheme:dark}
  html.ntb .ntb-bandeau *{box-sizing:border-box}
  html.ntb .ntb-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

  /* V5.5 bandeau : « Quitter la démo » (a gauche, fleche retour) et « Tarifs et souscription » (a droite) : liens hypertexte,
     cible de 44 px de haut ; libelles courts au telephone */
  html.ntb .ntb-sortie{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:44px;min-width:44px;padding:0 10px;margin:0 -4px;
    border-radius:10px;color:var(--ntb-ink);font-size:13.5px;font-weight:650;line-height:1.1;white-space:nowrap;
    text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--ntb-filet)}
  html.ntb .ntb-sortie:hover{background:var(--ntb-band-2);text-decoration-color:currentColor}
  html.ntb .ntb-sortie .ntb-ico{width:17px;height:17px;flex:none}
  html.ntb .ntb-sortie-court{display:none}
  html.ntb .ntb-quitter{color:var(--ntb-ink-2)}
  html.ntb .ntb-quitter:hover{color:var(--ntb-ink)}
  html.ntb .ntb-tarifs{color:var(--ntb-accent-txt);margin-left:auto}
  html.ntb .ntb-outils:not(:empty) + .ntb-tarifs{margin-left:0}
  /* fin de demo (des le debrief) : bouton plein couleur marque, qui pulse doucement (2,6 s) */
  /* jury (11/11) : texte blanc franc sur fond plein, halo net qui s'elargit a chaque pulsation */
  html.ntb.ntb-fin .ntb-tarifs{min-height:42px;margin:0 0 0 auto;padding:0 20px 0 22px;border-radius:999px;background:var(--ntb-cta);color:#fff;
    text-decoration:none;font-size:14.5px;font-weight:750;letter-spacing:.01em;
    box-shadow:0 6px 16px -6px rgba(var(--ntb-cta-halo),.8),0 0 0 0 rgba(var(--ntb-cta-halo),.55);
    animation:ntb-pop 2.6s ease-in-out infinite}
  html.ntb.ntb-fin .ntb-tarifs .ntb-ico{width:18px;height:18px}
  html.ntb.ntb-fin .ntb-tarifs:hover{background:#363AA0;color:#fff;animation-play-state:paused}
  html.ntb.ntb-fin[data-ntb-theme="dark"] .ntb-tarifs:hover{background:#6E73F2}
  html.ntb.ntb-fin .ntb-tarifs::before{content:"";position:absolute;inset:-4px -10px}   /* cible de 44 px autour du bouton */
  html.ntb.ntb-fin .ntb-tarifs{position:relative}
  @keyframes ntb-pop{
    0%,100%{transform:scale(1);box-shadow:0 6px 16px -6px rgba(var(--ntb-cta-halo),.8),0 0 0 0 rgba(var(--ntb-cta-halo),.6)}
    40%{transform:scale(1.08);box-shadow:0 10px 22px -6px rgba(var(--ntb-cta-halo),.9),0 0 0 7px rgba(var(--ntb-cta-halo),.38)}
    75%{transform:scale(1.01);box-shadow:0 6px 16px -6px rgba(var(--ntb-cta-halo),.8),0 0 0 15px rgba(var(--ntb-cta-halo),0)}}
  html.ntb.ntb-fin.ntb-calme .ntb-tarifs{animation:none}
  /* les feuilles des pages recolorent leurs liens avec des selecteurs plus forts (ecole.css, nuit : body.ecole-theme-auto
     a:not(.btn):not(.brand):not(.skip-link)) : les couleurs des liens du bandeau sont verrouillees */
  html.ntb .ntb-bandeau a.ntb-quitter{color:var(--ntb-ink-2)!important}
  html.ntb .ntb-bandeau a.ntb-quitter:hover{color:var(--ntb-ink)!important}
  html.ntb .ntb-bandeau a.ntb-tarifs{color:var(--ntb-accent-txt)!important}
  html.ntb.ntb-fin .ntb-bandeau a.ntb-tarifs{color:#fff!important}
  html.ntb .ntb-bandeau a.ntb-pas{color:inherit!important}
  html.ntb .ntb-bandeau a.ntb-pas:hover{color:var(--ntb-ink)!important}

  /* libelle « Étape 2 sur 4 · La fiche récap » (petites capitales espacees, comme le fil des ecrans de transition) */
  /* amendement 2 : deux lignes, l'etape (petites capitales) puis sa ligne courte (« Le brief, tel que le verra l'étudiant ») :
     c'est l'ecran de transition, replie dans la barre de titre */
  html.ntb .ntb-lib{margin:0;padding-left:18px;border-left:1px solid var(--ntb-filet);flex:0 1 auto;min-width:0;
    display:flex;flex-direction:column;justify-content:center;gap:3px;white-space:nowrap}
  html.ntb .ntb-l1{font-size:11.5px;font-weight:700;line-height:1.1;letter-spacing:.1em;text-transform:uppercase;color:var(--ntb-ink-2)}
  html.ntb .ntb-lib-court{display:none}
  html.ntb .ntb-ligne{max-width:340px;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;font-weight:600;line-height:1.2;color:var(--ntb-ink)}
  /* ecran de transition deplie : la ligne courte n'apparait qu'une fois l'ecran range dans le bandeau */
  html.ntb-p-etape .ntb-ligne{max-height:0;opacity:0;transition:max-height .3s ease,opacity .3s ease .18s}
  html.ntb-p-etape.ntb-plie .ntb-ligne{max-height:1.3em;opacity:1}

  /* fil des 4 etapes : pastilles numerotees, l'etape courante pleine et cerclee, les etapes faites cochees */
  html.ntb .ntb-fil{flex:1 1 auto;min-width:0;display:flex;justify-content:center}
  html.ntb .ntb-fil ol{display:flex;align-items:center;margin:0;padding:0;list-style:none;min-width:0}
  html.ntb .ntb-fil li{display:flex;align-items:center;gap:7px;flex:none;color:var(--ntb-ink-3);font-size:13px;font-weight:600;white-space:nowrap}
  html.ntb .ntb-fil li + li::before{content:"";flex:none;width:30px;height:1.5px;margin:0 12px 0 5px;background:var(--ntb-line)}
  html.ntb .ntb-fil li.is-fait + li::before{background:var(--ntb-accent)}
  html.ntb .ntb-n{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;
    border:1.5px solid var(--ntb-line);background:var(--ntb-surface);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
  html.ntb .ntb-fil li.is-fait{color:var(--ntb-ink-2)}
  html.ntb .ntb-fil li.is-fait .ntb-n{border-color:var(--ntb-accent);color:var(--ntb-accent-txt)}
  html.ntb .ntb-fil li.is-courant{color:var(--ntb-ink);font-weight:700}
  html.ntb .ntb-fil li.is-courant .ntb-n{border-color:var(--ntb-accent);background:var(--ntb-accent);color:#fff;
    box-shadow:0 0 0 3px var(--ntb-band),0 0 0 4.5px var(--ntb-accent)}
  html.ntb .ntb-l{overflow:hidden;text-overflow:ellipsis}
  /* V5.5 bandeau : etapes precedentes cliquables (retour a leur ecran de transition) ; survol et focus visibles */
  html.ntb .ntb-pas{position:relative;display:inline-flex;align-items:center;gap:7px;min-width:0;margin:-5px -7px;padding:5px 7px;border-radius:999px;
    color:inherit;text-decoration:none;cursor:pointer}
  html.ntb .ntb-pas::after{content:"";position:absolute;inset:-6px -3px}      /* cible elargie (44 px de haut) */
  html.ntb .ntb-pas:hover{background:var(--ntb-band-2);color:var(--ntb-ink)}
  html.ntb .ntb-pas:hover .ntb-n,html.ntb .ntb-pas:focus-visible .ntb-n{background:var(--ntb-accent);color:#fff}
  html.ntb .ntb-pas:hover .ntb-l{text-decoration:underline;text-underline-offset:3px}
  html.ntb .ntb-pas:focus-visible{outline:2px solid var(--ntb-accent-txt);outline-offset:1px}

  html.ntb .ntb-outils{display:flex;align-items:center;gap:4px;flex:none}
  html.ntb .ntb-outils:empty{display:none}
  /* V5.6 demo : « simulé » (?mock=1), etiquette discrete a la suite de l'etape (la pastille Cote ecole la portait) */
  /* au bureau : a droite, juste avant les commandes et « Tarifs » (le libelle de gauche et le fil centre gardent leur place) */
  /* (jury : sur les ecrans de transition, les commandes gardaient leur marge automatique et « simulé » glissait sur le fil) */
  html.ntb .ntb-bandeau > .ntb-simule ~ .ntb-outils:not(:empty),html.ntb .ntb-bandeau > .ntb-simule ~ .ntb-tarifs,
  html.ntb .ntb-bandeau > .ntb-simule ~ .ntb-outils:not(:empty) + .ntb-tarifs,html.ntb.ntb-fin .ntb-bandeau > .ntb-simule ~ .ntb-tarifs{margin-left:0}
  html.ntb .ntb-bandeau > .ntb-simule ~ .ntb-outils:not(:empty){margin-left:-6px}
  html.ntb .ntb-simule{display:inline-block;flex:none;margin-left:auto;padding:2px 6px;border-radius:999px;
    background:rgba(180,90,20,.12);color:#8A4A10;font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1.2;text-transform:uppercase}
  html.ntb[data-ntb-theme="dark"] .ntb-simule{background:rgba(255,190,120,.16);color:#F5C99A}

  /* ecrans de transition : jour / nuit et Reglages, repris de l'en-tete de l'ecran */
  html.ntb .ntb-outils .btn,html.ntb .ntb-outils .nt-theme-btn{display:inline-grid;place-items:center;width:40px;height:40px;min-width:0;min-height:0;padding:0;
    border:0;border-radius:10px;background:transparent;color:var(--ntb-ink-2);box-shadow:none;cursor:pointer}
  html.ntb .ntb-bandeau .ntb-outils .btn:hover,html.ntb .ntb-bandeau .ntb-outils .nt-theme-btn:hover{background:var(--ntb-band-2);color:var(--ntb-ink)}
  html.ntb .ntb-outils--ecran .btn:hover,html.ntb .ntb-outils--ecran .nt-theme-btn:hover{background:var(--ntb-bg-2);color:var(--ntb-ink)}

  html.ntb .ntb-bandeau :focus-visible,html.ntb .ntb-outils--ecran :focus-visible{outline:2px solid var(--ntb-accent-txt);outline-offset:2px}

  /* V5.6 demo : plus de socle sous la carte (la pastille « Côté école » est supprimee en demo, socle compris). Au telephone,
     les commandes des ecrans de transition (jour / nuit, Reglages) sont en haut a droite de l'ecran, au-dessus du titre ;
     au bureau, elles restent dans le bandeau (l'emplacement de l'ecran est alors vide, donc masque). */
  html.ntb .ntb-outils--ecran{position:absolute;top:6px;right:calc(var(--ntb-m) + 2px);z-index:3;gap:2px}

  /* largeur moyenne : seules l'etape courante garde son nom dans le fil */
  @media (max-width:1440px){
    html.ntb .ntb-fil li:not(.is-courant) .ntb-l{display:none}
    html.ntb .ntb-fil li + li::before{width:22px;margin:0 8px 0 6px}
    html.ntb .ntb-fil li.is-courant .ntb-l{display:inline-block;min-width:86px}   /* largeur fixe : le fil ne bouge pas d une etape a l autre */
    html.ntb .ntb-fil ol:not(:has(.is-courant)){padding-right:93px}   /* avant / apres : meme largeur de fil */
  }
  @media (max-width:1100px){ html.ntb .ntb-ligne{max-width:240px} }
  /* jury (10/11) : le fil ne doit pas bouger d une page a l autre ; au bureau, il est centre dans le bandeau, independamment de
     la largeur du libelle de gauche (la ligne courte est bornee pour ne jamais le toucher) */
  html.ntb .ntb-bandeau > .ntb-outils:not(:empty){margin-left:auto}
  html.ntb .ntb-bandeau > .ntb-outils:not(:empty) + .ntb-tarifs{margin-left:0}
  @media (min-width:1280px){
    html.ntb .ntb-fil{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);align-items:center}
    html.ntb .ntb-lib{max-width:calc(50vw - 345px)}   /* V5.5 : « Quitter la démo » a la place du logo, de meme largeur */
  }
  @media (min-width:1280px) and (max-width:1440px){ html.ntb .ntb-ligne{max-width:280px} }
  /* V5.5 bandeau : « Quitter » et « Tarifs » prennent de la place : le fil perd ses libelles plus tot, puis les libelles courts */
  @media (max-width:1180px){
    html.ntb .ntb-fil li .ntb-l,html.ntb .ntb-fil li.is-courant .ntb-l{display:none}
    html.ntb .ntb-fil ol:not(:has(.is-courant)){padding-right:0}
  }
  @media (max-width:1000px){
    html.ntb .ntb-lib-long,html.ntb .ntb-sortie-long{display:none}
    html.ntb .ntb-lib-court,html.ntb .ntb-sortie-court{display:inline}
  }
  @media (max-width:900px){
    html.ntb .ntb-bandeau{gap:12px}
  }
  /* telephone : « Quitter » et « Tarifs » (libelles courts, cibles de 44 px), pastilles sans libelles, libelle court de l'etape ;
     les commandes des ecrans de transition sont dans le socle du bas */
  @media (max-width:640px){
    html.ntb .ntb-bandeau{gap:8px;padding:0 calc(var(--ntb-m) + 4px)}
    html.ntb .ntb-sortie{padding:0 7px;margin:0 -3px;gap:5px;font-size:13px}
    html.ntb .ntb-sortie .ntb-ico{width:15px;height:15px}
    html.ntb.ntb-fin .ntb-tarifs{padding:0 12px;min-height:36px}
    html.ntb .ntb-quitter{order:0}
    html.ntb .ntb-fil{order:2;flex:0 0 auto;justify-content:flex-start}
    html.ntb .ntb-lib{order:3;flex:1 1 auto;min-width:0;overflow:hidden;padding-left:0;border-left:0;white-space:normal}
    html.ntb .ntb-l1{overflow:hidden;font-size:12.5px;line-height:1.15;letter-spacing:0;text-transform:none;color:var(--ntb-ink);
      display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
    html.ntb .ntb-lib .ntb-ligne{display:none}
    html.ntb .ntb-bandeau > .ntb-outils{order:4;gap:0}
    html.ntb .ntb-tarifs{order:5;margin-left:0}
    html.ntb .ntb-fil li + li::before{width:6px;margin:0 3px}
    html.ntb .ntb-n{width:19px;height:19px;font-size:10.5px}
    html.ntb .ntb-pas{gap:0;margin:-5px -4px;padding:5px 4px}
    html.ntb .ntb-pas::after{inset:-8px -2px}
    html.ntb .ntb-fil li.is-courant .ntb-n{box-shadow:0 0 0 2px var(--ntb-band),0 0 0 3.5px var(--ntb-accent)}
    html.ntb .ntb-outils--ecran .btn,html.ntb .ntb-outils--ecran .nt-theme-btn{width:44px;height:44px}
    /* « simulé » : petit onglet accroche sous le bandeau, au centre (le libelle court de l'etape garde toute sa place) */
    html.ntb .ntb-simule{position:absolute;left:50%;bottom:-9px;margin:0;padding:1px 7px 2px;transform:translateX(-50%);font-size:9.5px;letter-spacing:.05em;
      background:var(--ntb-band);border:1.5px solid var(--ntb-filet);color:#8A4A10}
    html.ntb[data-ntb-theme="dark"] .ntb-simule{background:var(--ntb-band);color:#F5C99A}
  }

  /* ------------------------------------------------------------------ 2. la pastille « Cote ecole » du guide */
  /* V5.6 demo : en demo, le guide ne monte plus sa pastille (ni son panneau) : son contenu est sur le post-it des ecrans de
     transition (demo-guide.css, .dg-postit). V5.9 dock (c-dock-01) : pastille, panneau et ligne de progression n'existent
     plus nulle part : plus de garde-fou a poser ici. */

  /* ------------------------------------------------------------------ 3. ecrans de transition : le cadre lui-meme */
  html.ntb-p-etape body.etape-page{box-sizing:border-box;padding-top:var(--ntb-h);padding-bottom:var(--ntb-bas)}
  html.ntb-p-etape body.etape-page > header.et-top{display:none}
  /* le fil des etapes de l'ecran est desormais celui du bandeau, juste au-dessus (le meme, en permanence) */
  html.ntb-p-etape body.etape-page .et-fil{display:none}
  html.ntb-p-etape body.etape-page .et-main{padding-top:clamp(36px,10vh,112px);position:relative;z-index:2}
  /* V5.6 demo : pendant le depli (etape.js anime la carte depuis le bandeau), la carte transformee faisait deborder la page de
     ~55 px au telephone pendant une demi-seconde (defilement horizontal) : l'ecran rogne l'horizontale, jamais la verticale */
  html.ntb-p-etape body.etape-page .et-main{overflow-x:clip}

  /* amendement 2 (coquille) : la carte « fantome » de la page de l'etape, dans le cadre, pendant le repli (etape.js : elle se
     dessine pendant que l'ecran file dans le bandeau) et au depli (elle s'efface pendant que l'ecran se redeploie) */
  html.ntb-p-etape .ntb-fantome{position:fixed;top:var(--ntb-haut);left:var(--ntb-m);right:var(--ntb-m);bottom:var(--ntb-bas);z-index:1;
    pointer-events:none;opacity:0;border-radius:var(--ntb-r);background:#FFFFFF;box-shadow:var(--ntb-ombre),0 0 0 1px var(--ntb-lisere)}
  html.ntb-p-etape[data-ntb-theme="dark"] .ntb-fantome{background:#15141A}
  /* nuit : le cadre (ecrans de transition, bandeau) est un ton plus clair que les pages, qui s y lisent en creux */
  html.ntb-p-etape[data-ntb-theme="dark"] body.etape-page{--et-bg:var(--ntb-bg);--et-surface:var(--ntb-surface);--et-haut:var(--ntb-bg)}
  html.ntb-p-etape .ntb-fantome[data-cible="visio"]{background:#17171B}
  /* V5.5 bandeau : retour par le fil depuis un autre ecran de transition : pas de page a effacer */
  html.ntb-p-etape .ntb-fantome[data-cible="etape"]{display:none}
  /* arrivee depuis la page d'une etape : l'ecran part replie (etape.js le redeplie aussitot) ; filet de securite sans script */
  html.ntb-p-etape.ntb-depli-init .ntb-fantome{opacity:1;animation:ntb-secours-f 0s linear 1.5s forwards}
  html.ntb-p-etape.ntb-depli-init .et-carte{opacity:0;animation:ntb-secours-c 0s linear 1.5s forwards}
  @keyframes ntb-secours-f{to{opacity:0}}
  @keyframes ntb-secours-c{to{opacity:1}}
  /* pendant le repli : plus de clic sur l'ecran qui s'en va */
  html.ntb-repli body.etape-page .et-main{pointer-events:none}

  /* boutons du brief : la duree reelle en petit, sous le libelle */
  html.ntb body.etape-page .et-go--duree{flex-direction:column;gap:2px;line-height:1.2}
  html.ntb body.etape-page .et-go--duree .et-duree{display:block;font-size:13px;font-weight:500;opacity:.85}
  html.ntb body.etape-page .et-go--duree .et-duree:empty{display:none}

  /* page d'une etape, juste apres le repli : elle apparait en fondu dans sa carte */
  html.ntb-carte.ntb-entree body > :not(.ntb-bandeau):not(.ntb-cadre):not(script){animation:ntb-entree .32s ease-out both}
  @keyframes ntb-entree{from{opacity:0}to{opacity:1}}
  @media (prefers-reduced-motion:reduce){
    html.ntb-carte.ntb-entree body > *{animation:none}
    html.ntb-p-etape .ntb-ligne{transition:none}
    html.ntb.ntb-fin .ntb-tarifs{animation:none}   /* V5.5 bandeau : emphase statique, sans pulsation */
  }

  /* ------------------------------------------------------------------ 4. pages reelles : la carte incrustee */
  html.ntb-carte body{box-sizing:border-box;padding:var(--ntb-haut) var(--ntb-m) var(--ntb-bas)}
  html.ntb-carte .ntb-cadre{position:fixed;top:var(--ntb-haut);left:var(--ntb-m);right:var(--ntb-m);bottom:var(--ntb-bas);z-index:76;
    pointer-events:none;border-radius:var(--ntb-r);box-shadow:0 0 0 100vmax var(--ntb-bg)}
  html.ntb-carte .ntb-cadre::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--ntb-ombre),0 0 0 1px var(--ntb-lisere)}
  /* l'en-tete propre de la page reste dans la carte (ses commandes : Passer, version, jour / nuit, Reglages) ; seul le logo,
     redondant avec celui du bandeau a 60 px au-dessus, est retire */
  html.ntb-carte body > header.app-top > .brand,html.ntb-p-brief .brief-top > .brand,html.ntb-p-visio .m-title .logo-dd-symbole{display:none!important}

  /* pages pleine hauteur (brief, visio) : posees dans la fenetre, a la taille exacte de la carte */
  html.ntb-p-brief body.bd-page .brief,
  html.ntb-p-visio body.meeting-page .meeting{position:fixed;top:var(--ntb-haut);left:var(--ntb-m);right:var(--ntb-m);bottom:var(--ntb-bas);
    height:auto;border-radius:var(--ntb-r);contain:paint}

  /* fiche : sommaire collant sous le bandeau, appel flottant dans la carte */
  html.ntb-carte body.fiche-page{--fr-stick:var(--ntb-haut)}
  html.ntb-carte body.fiche-page .fr-flottant{right:calc(24px + var(--ntb-m));bottom:calc(20px + var(--ntb-bas))}
  html.ntb-carte .toasts{bottom:calc(24px + var(--ntb-bas))}
  @media (max-width:767px){
    html.ntb-carte body.fiche-page .fr-flottant{left:var(--ntb-m);right:var(--ntb-m);bottom:var(--ntb-bas);border-radius:0 0 var(--ntb-r) var(--ntb-r)}
  }

  /* visio : les hauteurs de v2.css / teams.css calculees sur 100dvh le sont sur la hauteur de la carte (--ntb-hh) */
  html.ntb-p-visio .meeting-page .m-body{--left-w:clamp(460px,calc((var(--ntb-hh) - var(--h-mtop) - 2 * var(--gap-m)) * .5 * 16 / 9),900px)}
  @media (min-width:1024px) and (max-width:1239px) and (max-height:819px), (min-width:1240px) and (max-height:559px){
    html.ntb-p-visio .meeting-page .tile{width:min(100%,calc(var(--ntb-hh) * .36 * 16 / 9))}
    html.ntb-p-visio .meeting-page #coachBody{max-height:calc(var(--ntb-hh) * .64 - 180px)}
  }
  @media (max-width:1023px){
    html.ntb-p-visio .meeting-page .m-body .tile{width:min(100%,calc(var(--ntb-hh) * .4 * 16 / 9))}
  }
  @media (max-width:767px){
    html.ntb-p-visio .meeting-page .m-body[data-mtab="chat"] .tile{width:min(100%,calc(var(--ntb-hh) * .28 * 16 / 9))}
    /* carte de 376 px au lieu de 390 : sous Firefox, le champ (min-width:auto) poussait le bouton Envoyer hors de la carte */
    html.ntb-p-visio .meeting-page .composer > :not(.send),html.ntb-p-visio .meeting-page .composer textarea{min-width:0}
  }

  /* V5.6 demo : la fiche ouverte pendant la visio (bouton « Brief » de la barre, #sheet, voisine de .meeting) etait posee sur la
     FENETRE (v2.css : inset:var(--h-mtop) 0 0 0) et non sur la carte : son haut passait sous le bandeau et sous l'arrondi du
     cadre (barre « Fiche de négociation » rognee, bouton « Brief » de la visio recouvert). Elle est posee sur la carte, sous la
     barre de la visio, aux memes retraits que hors demo (barre du bas et incrustation au telephone). */
  html.ntb-p-visio body.meeting-page .sheet{top:calc(var(--ntb-haut) + var(--h-mtop));left:var(--ntb-m);right:var(--ntb-m);bottom:var(--ntb-bas)}
  @media (max-width:767px){
    html.ntb-p-visio body.meeting-page .sheet{bottom:calc(var(--ntb-bas) + 64px + var(--pip-h) + env(safe-area-inset-bottom,0px))}
  }
  @media (max-width:767px) and (max-height:600px){
    html.ntb-p-visio body.meeting-page .sheet{bottom:calc(var(--ntb-bas) + var(--pip-h))}
  }

  /* ------------------------------------------------------------------ 5. V5.6 demo : bouton « etape suivante » flottant */
  /* demo-bandeau.js (html.ntb-suivant-on) : brief, fiche, debrief, fiche a emporter. Meme place partout : en bas a droite de la
     carte (24 px du bord droit, 20 px du bas, comme le bouton flottant « Lancer la visio » de la fiche) ; au telephone, une bande
     au bas de la carte, bouton pleine largeur, zone sure comprise. Toujours visible. */
  html.ntb .ntb-suivant{position:fixed;right:calc(24px + var(--ntb-m));bottom:calc(20px + var(--ntb-bas));z-index:75;display:flex;justify-content:flex-end}
  html.ntb .ntb-suivant-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:42px;padding:6px 20px;
    border-radius:10px;background:var(--ntb-sv-bg);color:#fff!important;text-decoration:none!important;white-space:nowrap;
    font:650 15px/1.25 var(--ntb-font);-webkit-font-smoothing:antialiased;letter-spacing:normal;
    box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 1px 2px rgba(0,0,0,.25);transition:background-color .15s ease}
  html.ntb .ntb-suivant-btn:hover{background:var(--ntb-sv-bg-h)}
  html.ntb .ntb-suivant-btn:focus-visible{outline:3px solid var(--ntb-sv-bg);outline-offset:3px}
  html.ntb .ntb-suivant-btn .ntb-ico{width:18px;height:18px;flex:none}
  /* fin du brief : UNE pulsation (1,2 s) ; mouvement reduit ou mode calme : halo statique */
  html.ntb .ntb-suivant-btn.is-pulse{animation:ntb-suivant-pulse 1.2s ease-in-out 1}
  @keyframes ntb-suivant-pulse{
    0%{transform:scale(1);box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 0 rgba(var(--ntb-sv-halo),.55)}
    40%{transform:scale(1.07);box-shadow:0 12px 28px -10px rgba(30,30,80,.65),0 0 0 8px rgba(var(--ntb-sv-halo),.32)}
    100%{transform:scale(1);box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 16px rgba(var(--ntb-sv-halo),0)}}
  html.ntb.ntb-calme.ntb-brief-fin .ntb-suivant-btn{animation:none;box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 4px rgba(var(--ntb-sv-halo),.35)}
  @media (prefers-reduced-motion:reduce){
    html.ntb .ntb-suivant-btn.is-pulse{animation:none}
    html.ntb.ntb-brief-fin .ntb-suivant-btn{box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 4px rgba(var(--ntb-sv-halo),.35)}
  }
  /* reserve en fin de page (pages qui defilent) : le dernier bloc remonte au-dessus du bouton */
  html.ntb .ntb-reserve{display:block;height:var(--ntb-sv-reserve);pointer-events:none}
  /* telephone : bande au bas de la carte (fond de la page, legerement translucide), bouton pleine largeur, zone sure */
  @media (max-width:767px){
    html.ntb .ntb-suivant{left:var(--ntb-m);right:var(--ntb-m);bottom:var(--ntb-bas);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
      border-radius:0 0 var(--ntb-r) var(--ntb-r);background:rgba(248,245,238,.95);box-shadow:0 -8px 16px -14px rgba(30,30,60,.5)}
    html.ntb[data-theme="dark"] .ntb-suivant{background:rgba(21,20,26,.95)}
    html.ntb .ntb-suivant-btn{width:100%;min-height:44px}
    /* brief (pleine hauteur) : la carte du brief s'arrete au-dessus de la bande (lecteur et boutons jamais recouverts) */
    html.ntb-p-brief.ntb-suivant-on body.bd-page .brief{bottom:calc(var(--ntb-bas) + var(--ntb-sv-reserve));border-radius:var(--ntb-r) var(--ntb-r) 0 0}
  }

  /* brief (jury : le bouton recouvrait la mini-carte, rangee dans la barre du bas a 28 px du bord droit des 1 024 px, et, de
     768 a 1 023 px, le bouton des sous-titres du lecteur) : en demo, la mini-carte se range en bas a GAUCHE de la barre (place
     libre mesuree : 290 px au moins, le lecteur est centre sous la feuille) ; sur tablette, la carte du brief s'arrete au-dessus
     du bouton (42 + 20 px) */
  @media (min-width:1024px){ html.ntb-p-brief.ntb-suivant-on .bd-plan{right:auto;left:28px} }
  @media (min-width:768px) and (max-width:1023px){
    html.ntb-p-brief.ntb-suivant-on body.bd-page .brief{bottom:calc(var(--ntb-bas) + 62px);border-radius:var(--ntb-r) var(--ntb-r) 0 0}
  }
  /* brief : a la fin, le « Suivant » du lecteur est inactif en demo (brief-player.js) : il le montre ; au telephone, la phrase
     « Prochaine étape » de la carte de fin reste a la taille du texte courant */
  /* (jury : un « Suivant » grise a cote du bouton flottant deroutait) : a la fin du brief, il s'efface, sa place reste */
  html.ntb-p-brief #bNext:disabled{opacity:.45;cursor:default}
  html.ntb-p-brief.ntb-brief-fin #bNext:disabled{visibility:hidden}
  /* V5.6 demo (jury) : sur une page qui a son bouton « étape suivante » (debrief, fiche a emporter), « Tarifs et souscription »
     garde son aplat (V5.5) mais ne pulse plus : un seul appel anime a l'ecran. Il pulse sur l'ecran final, ou il est la suite. */
  html.ntb.ntb-fin.ntb-suivant-on .ntb-tarifs{animation:none}
  /* V5.7 (demande utilisateur 11/11 19:43) : sur le debrief, le bouton flottant EST « Tarifs et souscription » : c'est lui qui
     pulse doucement (2,6 s, comme le lien du bandeau en V5.5) ; survol : pause ; mouvement reduit ou mode calme : halo statique */
  html.ntb.ntb-suivant-tarifs .ntb-suivant-btn{animation:ntb-suivant-pop 2.6s ease-in-out infinite}
  html.ntb.ntb-suivant-tarifs .ntb-suivant-btn:hover{animation-play-state:paused}
  @keyframes ntb-suivant-pop{
    0%,100%{transform:scale(1);box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 0 rgba(var(--ntb-sv-halo),.55)}
    40%{transform:scale(1.06);box-shadow:0 12px 28px -10px rgba(30,30,80,.65),0 0 0 7px rgba(var(--ntb-sv-halo),.32)}
    75%{transform:scale(1.01);box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 15px rgba(var(--ntb-sv-halo),0)}}
  html.ntb.ntb-calme.ntb-suivant-tarifs .ntb-suivant-btn{animation:none;box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 4px rgba(var(--ntb-sv-halo),.35)}
  @media (prefers-reduced-motion:reduce){
    html.ntb.ntb-suivant-tarifs .ntb-suivant-btn{animation:none;box-shadow:0 10px 26px -10px rgba(30,30,80,.6),0 0 0 4px rgba(var(--ntb-sv-halo),.35)}
  }
  @media (max-width:640px){ html.ntb-p-brief .bd-cta .bd-suite{font-size:14px} }

  /* boutons de la page qui font doublon en demo (ils menent a l'etape suivante ou a une autre etape) : masques. Les actions qui
     ne changent pas d'etape restent (imprimer, telecharger, version du brief... ; V5.7 : plus rejouer ni effacer sur le debrief). Les fichiers de
     la fiche et du debrief ne sont pas modifies : tout passe par cette feuille. */
  /* brief : « Passer », « Voir ma fiche / ma feuille de route » et « Rejoindre la réunion / Aller directement à l'entretien »
     (ce dernier n'est meme plus construit en demo, brief-player.js) : du brief, on passe obligatoirement par la fiche recap */
  html.ntb-p-brief #skipBrief,html.ntb-p-brief [data-testid="see-fiche"],html.ntb-p-brief [data-testid="join-from-brief"],
  /* fiche (avant la visio, et fiche a emporter) : « Lancer la visio » (haut, bas, flottant), « Rejoindre », « Revoir le brief »,
     « Terminer la démo » (haut, bas, flottant) ; les encadres de suite gardent leur phrase */
  html.ntb-p-fiche [data-testid="fiche-lancer-visio"],html.ntb-p-fiche [data-testid="fiche-lancer-visio-bas"],html.ntb-p-fiche #joinBtn,
  html.ntb-p-fiche [data-testid="fiche-flottant"],html.ntb-p-fiche [data-testid="replay-brief"],
  html.ntb-p-fiche [data-testid="fiche-fin-demo"],html.ntb-p-fiche [data-testid="fiche-fin-demo-bas"],
  /* debrief : « Revoir le brief », « Ma fiche à emporter » (haut et bas) */
  html.ntb-p-debrief [data-testid="btn-see-brief"],html.ntb-p-debrief [data-testid="btn-fiche"],html.ntb-p-debrief [data-testid="btn-fiche-haut"],
  /* V5.7 (demande utilisateur 11/11 19:43) : le debrief clot la demo : ni « Rejouer », ni « Effacer mes données de cette
     session », ni les encarts « Côté école » (diagnostic ; promotion, illustration), ni l'encadre de fin « Et maintenant »
     (sa phrase parle de rejouer) ; la barre d'actions du haut, vide, disparait avec ses boutons */
  html.ntb-p-debrief [data-testid="btn-replay"],html.ntb-p-debrief [data-testid="btn-wipe"],
  html.ntb-p-debrief [data-testid="ecole-pastille"],html.ntb-p-debrief [data-testid="ecole-promotion"],
  html.ntb-p-debrief [data-testid="debrief-fin"],html.ntb-p-debrief body.debrief-page .d-actions{display:none!important}
}
@media print{
  .ntb-bandeau,.ntb-cadre,.ntb-suivant,.ntb-reserve{display:none!important}
}
@media (forced-colors:active){
  html.ntb-carte .ntb-cadre{box-shadow:none;border:1px solid CanvasText}
}
