
/*
 * NEXA — plateforme e-learning aux couleurs de Nexus Académie.
 * Mise en page : bandes pleine largeur alternant blanc et bleu Nexus, contenu dans un conteneur de 1200 px,
 * cartes de cours illustrées, lecteur de cours avec sommaire latéral.
 */
:root {
  /* Couleurs officielles Nexus (fixes) */
  --bleu: #002E7A;
  --bleu-vif: #0A55C2;
  --marine: #001A4D;
  --turquoise: #00C8C8;
  --sur-bleu: #FFFFFF;
  --sur-bleu-doux: #BCCBE8;

  /* Thème clair */
  --fond: #FFFFFF;
  --fond-2: #F3F6FB;
  --surface: #FFFFFF;
  --surface-2: #EDF1F8;
  --texte: #0B1736;
  --discret: #5F6772;
  --bordure: #E1E7F0;
  --accent: #002E7A;
  --accent-clair: #E7EEF9;
  --sur-accent: #FFFFFF;
  --turq-texte: #007C7C;
  --turq-clair: #DDF7F7;
  --marque: #002E7A;
  --ok: #1E7A4C;
  --ok-clair: #E3F4EA;
  --ko: #B03A2E;
  --ko-clair: #FBE9E7;
  --alerte: #8A5A00;
  --alerte-clair: #FFF3D6;
  --ombre: 0 1px 2px rgba(11, 23, 54, 0.05), 0 10px 28px rgba(11, 23, 54, 0.08);
  --ombre-forte: 0 2px 4px rgba(11, 23, 54, 0.06), 0 20px 48px rgba(11, 23, 54, 0.16);

  --titre: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
  --r-petit: 8px;
  --conteneur: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #111C30;
    --fond-2: #14213A;
    --surface: #1A2840;
    --surface-2: #22324E;
    --texte: #E8EDF7;
    --discret: #A3AEC4;
    --bordure: #2B3D5C;
    --accent: #00C8C8;
    --accent-clair: #16323A;
    --sur-accent: #001A4D;
    --turq-texte: #3FE0E0;
    --turq-clair: #083B45;
    --marque: #FFFFFF;
    --ok: #6FCF97;
    --ok-clair: #12301F;
    --ko: #F0877D;
    --ko-clair: #3A2220;
    --alerte: #F2C46D;
    --alerte-clair: #362B12;
    --ombre: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
    --ombre-forte: 0 2px 4px rgba(0, 0, 0, 0.4), 0 20px 48px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #111C30;
  --fond-2: #14213A;
  --surface: #1A2840;
  --surface-2: #22324E;
  --texte: #E8EDF7;
  --discret: #A3AEC4;
  --bordure: #2B3D5C;
  --accent: #00C8C8;
  --accent-clair: #16323A;
  --sur-accent: #001A4D;
  --turq-texte: #3FE0E0;
  --turq-clair: #083B45;
  --marque: #FFFFFF;
  --ok: #6FCF97;
  --ok-clair: #12301F;
  --ko: #F0877D;
  --ko-clair: #3A2220;
  --alerte: #F2C46D;
  --alerte-clair: #362B12;
  --ombre: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
  --ombre-forte: 0 2px 4px rgba(0, 0, 0, 0.4), 0 20px 48px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
h1, h2, h3, h4, .titre-font, .bouton, .mot, .entete nav a { font-family: var(--titre); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}
main:focus { outline: none; }
img, svg { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: -999px; }
.saut:focus { left: 8px; top: 8px; background: var(--surface); color: var(--texte); padding: 8px; z-index: 50; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; }

.conteneur { max-width: var(--conteneur); margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.bande { padding-block: clamp(40px, 6vw, 72px); }
.bande.douce { background: var(--fond-2); }
.sous-titre { color: var(--discret); font-size: 1.05rem; max-width: 60ch; }
.surtitre {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--titre); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--turq-texte); margin: 0 0 10px;
}
.surtitre::before { content: ""; width: 22px; height: 2px; background: var(--turquoise); }
.tete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 28px; }
.tete-section > div { min-width: 0; }
.meta { color: var(--discret); font-size: 0.9rem; }

/* ---------- Mot NEXA ---------- */
.mot { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: 0.14em; line-height: 1; }
.mot .x { width: 1.34em; height: 1.18em; margin: -0.12em -0.04em -0.06em -0.08em; overflow: visible; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--bordure);
}
.entete-int { max-width: var(--conteneur); margin: 0 auto; padding: 12px clamp(20px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.marque { display: inline-flex; flex-direction: column; gap: 3px; color: var(--marque); text-decoration: none; }
.marque .mot { font-size: 1.5rem; }
.marque .signature {
  font-family: var(--titre); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--discret); display: flex; align-items: center; gap: 6px;
}
.marque .signature::before, .marque .signature::after { content: ""; width: 10px; height: 1px; background: var(--turquoise); }
.entete nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1; }
.entete nav a { padding: 8px 12px; border-radius: var(--r-petit); color: var(--texte); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.entete nav a:hover { background: var(--surface-2); }
.entete nav a.actif { color: var(--accent); background: var(--accent-clair); }
.bouton-espace {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--titre); font-weight: 700; font-size: 0.88rem;
  color: var(--sur-accent); background: var(--accent); padding: 9px 16px; border-radius: 999px;
}
.bandeau-prototype[hidden] { display: none !important; }
.bandeau-prototype { background: var(--alerte-clair); color: var(--alerte); text-align: center; font-size: 0.78rem; padding: 5px 16px; }

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--sur-accent);
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; font-weight: 700; font-size: 0.95rem; cursor: pointer; line-height: 1.2;
}
.bouton:hover { filter: brightness(1.12); }
.bouton.secondaire { background: transparent; color: var(--accent); border-color: var(--bordure); }
.bouton.secondaire:hover { border-color: var(--accent); filter: none; }
.bouton.turquoise { background: var(--turquoise); color: #001A4D; }
.bouton.blanc { background: #FFFFFF; color: #002E7A; }
.bouton.contour-clair { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
.bouton.large { width: 100%; }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-family: var(--titre); font-weight: 700; font-size: 0.92rem; text-decoration: none; color: var(--accent); }

/* ---------- Accueil : héros ---------- */
.hero { background: var(--fond-2); padding-block: clamp(36px, 6vw, 72px); overflow: hidden; }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.16em; background: var(--turquoise); opacity: 0.55; z-index: -1; border-radius: 2px; }
.hero h1 { position: relative; z-index: 0; }
.hero .sous-titre { font-size: 1.12rem; margin-bottom: 26px; }
.barre-recherche {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: var(--ombre); max-width: 560px;
}
.barre-recherche .ico { color: var(--discret); font-size: 1.15rem; }
.barre-recherche input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--texte); padding: 10px 4px; }
.barre-recherche input:focus { outline: none; }
.barre-recherche:focus-within { border-color: var(--accent); }
.populaires { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.88rem; color: var(--discret); }
.tag {
  font: inherit; font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); cursor: pointer; text-decoration: none;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

.hero-visuel {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(140deg, #002E7A 0%, #001A4D 100%);
  aspect-ratio: 5 / 4.2; max-width: 100%;
  box-shadow: var(--ombre-forte);
}
.hero-visuel .rubans { position: absolute; inset: 0; width: 100%; height: 100%; }
.apercu-carte {
  position: absolute; left: 9%; top: 12%; width: 62%;
  background: #FFFFFF; color: #0B1736; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 10, 40, 0.45);
}
.apercu-carte .couv { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.apercu-corps { padding: 12px 14px 14px; }
.apercu-corps strong { font-family: var(--titre); font-size: 0.95rem; display: block; }
.apercu-corps span { font-size: 0.78rem; color: #5F6772; }
.apercu-jauge { height: 6px; background: #EDF1F8; border-radius: 999px; margin-top: 10px; overflow: hidden; }
.apercu-jauge i { display: block; height: 100%; width: 42%; background: #00C8C8; }
.apercu-puce {
  position: absolute; right: 7%; bottom: 14%;
  display: flex; align-items: center; gap: 10px;
  background: #FFFFFF; color: #0B1736; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 18px 36px rgba(0, 10, 40, 0.4); font-size: 0.82rem;
}
.apercu-puce .rond { width: 36px; height: 36px; border-radius: 50%; background: #DDF7F7; color: #007C7C; display: grid; place-items: center; font-size: 1.1rem; }
.apercu-puce strong { display: block; font-family: var(--titre); font-size: 1rem; }
.apercu-badge {
  position: absolute; right: 9%; top: 9%;
  background: #00C8C8; color: #001A4D; font-family: var(--titre); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
}

/* ---------- Chiffres ---------- */
.atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.atout { display: flex; gap: 14px; align-items: flex-start; }
.atout .pastille-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-clair); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.atout strong { display: block; font-family: var(--titre); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.atout span { color: var(--discret); font-size: 0.88rem; }

/* ---------- Cartes de cours ---------- */
.grille-cours { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 22px; }
.cours {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: var(--texte); position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cours:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.cours-visuel { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cours-visuel .couv { display: block; width: 100%; height: 100%; }
.cours-tag {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--titre); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #002E7A;
}
.cours-tag.dispo { background: #00C8C8; color: #001A4D; }
.cours-corps { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cours-cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turq-texte); margin: 0 0 6px; font-family: var(--titre); }
.cours h3 { font-size: 1.06rem; margin-bottom: 8px; }
.cours-desc { font-size: 0.9rem; color: var(--discret); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cours-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--discret); border-top: 1px solid var(--bordure); padding-top: 12px; margin-top: 4px; }
.cours-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cours-progres { margin-top: 12px; }

/* ---------- Parcours ---------- */
.domaines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.domaine {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--texte);
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 24px; min-width: 0;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.domaine:hover { box-shadow: var(--ombre); border-color: var(--accent); }
.domaine .pastille-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #002E7A; color: #FFFFFF; }
.domaine.lot-1 .pastille-ico { background: #00C8C8; color: #001A4D; }
.domaine.lot-3 .pastille-ico { background: #5F6772; }
.domaine p { color: var(--discret); font-size: 0.92rem; margin: 0; flex: 1; }
.domaine .compte { font-family: var(--titre); font-weight: 700; font-size: 0.85rem; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Étapes ---------- */
.etapes { list-style: none; counter-reset: e; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.etapes li { counter-increment: e; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 22px; min-width: 0; position: relative; }
.etapes .pastille-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-clair); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.etapes li::after { content: counter(e, decimal-leading-zero); position: absolute; right: 20px; top: 18px; font-family: var(--titre); font-weight: 800; font-size: 1.5rem; color: var(--bordure); }
.etapes p { color: var(--discret); font-size: 0.92rem; margin: 0; }

/* ---------- Bande Nexus ---------- */
.nexus { position: relative; overflow: hidden; background: linear-gradient(120deg, #002E7A 0%, #001A4D 100%); color: #FFFFFF; }
.nexus .rubans { position: absolute; right: 0; top: 0; height: 100%; width: 55%; }
.nexus .conteneur { position: relative; }
.nexus-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.nexus .surtitre { color: #00C8C8; }
.nexus h2 { color: #FFFFFF; font-weight: 600; }
.nexus h2 b { color: #00C8C8; }
.nexus p { color: #BCCBE8; }
.valeurs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.valeurs li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 16px 18px; }
.valeurs .pastille-ico { width: 40px; height: 40px; border-radius: 10px; background: #00C8C8; color: #001A4D; display: grid; place-items: center; flex: none; }
.valeurs strong { font-family: var(--titre); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.86rem; display: block; }
.valeurs span { font-size: 0.9rem; color: #BCCBE8; }

/* ---------- Continuer ---------- */
.continuer { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 16px; box-shadow: var(--ombre); }
.continuer .couv { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; display: block; }
.continuer > div { min-width: 0; }

/* ---------- Jauge ---------- */
.jauge { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.jauge span { display: block; height: 100%; background: var(--turquoise); border-radius: 999px; }
.jauge-texte { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--discret); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Catalogue ---------- */
.tete-page { background: var(--fond-2); padding-block: clamp(28px, 5vw, 48px); border-bottom: 1px solid var(--bordure); }
.tete-page .barre-recherche { margin-top: 18px; }
.catalogue { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.filtres-panneau { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: flex; flex-direction: column; gap: 22px; }
.filtres-panneau h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--discret); margin-bottom: 10px; }
.filtre-liste { display: flex; flex-direction: column; gap: 4px; }
.filtre {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  font: inherit; font-size: 0.92rem; text-align: left; padding: 9px 12px; border-radius: var(--r-petit);
  border: 1px solid transparent; background: transparent; color: var(--texte); cursor: pointer;
}
.filtre:hover { background: var(--surface-2); }
.filtre[aria-pressed="true"] { background: var(--accent-clair); color: var(--accent); font-weight: 700; border-color: var(--accent-clair); }
.filtre .n { font-size: 0.8rem; color: var(--discret); font-variant-numeric: tabular-nums; }
.resultats-tete { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--discret); font-size: 0.92rem; }

/* ---------- Fiche formation ---------- */
.formation-tete { position: relative; overflow: hidden; background: linear-gradient(120deg, #002E7A 0%, #001A4D 100%); color: #FFFFFF; padding-block: clamp(32px, 5vw, 56px); }
.formation-tete .rubans { position: absolute; right: 0; top: 0; height: 100%; width: 50%; opacity: 0.9; }
.formation-tete .conteneur { position: relative; }
.formation-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; }
.formation-tete h1 { color: #FFFFFF; }
.formation-tete .resume { color: #BCCBE8; font-size: 1.1rem; max-width: 60ch; }
.fil { font-size: 0.85rem; margin-bottom: 14px; color: var(--discret); }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.formation-tete .fil { color: #BCCBE8; }
.puces-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.puce-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.puce-cat { background: #00C8C8; color: #001A4D; border-color: #00C8C8; }

.carte-inscription {
  background: var(--surface); color: var(--texte); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--ombre-forte); border: 1px solid var(--bordure);
}
.carte-inscription .couv { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.carte-inscription .corps { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.carte-inscription h3 { font-size: 0.86rem; margin: 4px 0 0; }
.inclus { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.9rem; }
.inclus li { display: flex; gap: 10px; align-items: center; }
.inclus .ico { color: var(--turq-texte); }
.etat-dispo { font-size: 0.85rem; font-weight: 600; text-align: center; color: var(--discret); margin: 0; }

.formation-corps { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding-block: 40px 64px; }
.formation-corps > * { min-width: 0; }
.section-f { margin-bottom: 40px; }
.section-f > h2 { font-size: 1.45rem; margin-bottom: 16px; }
.apprendre { border: 1px solid var(--bordure); border-radius: var(--r); padding: 22px 24px; background: var(--surface); }
.apprendre ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.apprendre li { display: flex; gap: 10px; font-size: 0.95rem; }
.apprendre .ico { color: var(--turq-texte); margin-top: 3px; }

.programme { border: 1px solid var(--bordure); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.programme details { border-bottom: 1px solid var(--bordure); margin: 0; }
.programme details:last-child { border-bottom: 0; }
.programme summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; color: var(--texte); }
.programme summary::-webkit-details-marker { display: none; }
.programme summary:hover { background: var(--fond-2); }
.programme .num { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--discret); font-family: var(--titre); font-weight: 800; flex: none; font-variant-numeric: tabular-nums; }
.programme details.dispo .num { background: var(--accent); color: var(--sur-accent); }
.programme .sum-titre { flex: 1; min-width: 0; font-weight: 600; }
.programme .sum-meta { font-size: 0.82rem; color: var(--discret); white-space: nowrap; }
.programme .chevron { transition: transform 0.2s ease; color: var(--discret); }
.programme details[open] .chevron { transform: rotate(90deg); }
.programme .contenu { padding: 0 20px 16px 70px; }
.programme .contenu ul { list-style: none; padding: 0; margin: 0 0 12px; }
.programme .contenu li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 0.92rem; border-bottom: 1px dashed var(--bordure); }
.programme .contenu li:last-child { border-bottom: 0; }
.programme .contenu li .meta { margin-left: auto; font-size: 0.82rem; }

.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info { border: 1px solid var(--bordure); border-radius: var(--r); padding: 20px; background: var(--surface); min-width: 0; }
.info .pastille-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-clair); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.info p { margin: 0; font-size: 0.93rem; color: var(--discret); }
.note-rdc { display: flex; gap: 14px; background: var(--alerte-clair); color: var(--alerte); border-radius: var(--r); padding: 18px 20px; }
.note-rdc p { margin: 4px 0 0; font-size: 0.92rem; }
.note-rdc .ico { font-size: 1.4rem; margin-top: 2px; }

/* ---------- Lecteur de cours ---------- */
.lecteur { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: calc(100vh - 120px); }
.sommaire { background: var(--surface); border-right: 1px solid var(--bordure); padding: 20px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); align-self: start; max-height: calc(100vh - 80px); overflow-y: auto; }
.sommaire .retour { display: inline-flex; gap: 6px; align-items: center; font-size: 0.85rem; text-decoration: none; color: var(--discret); margin-bottom: 12px; }
.sommaire h2 { font-size: 1.02rem; margin-bottom: 12px; }
.sommaire-liste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.sommaire-liste a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--texte); font-size: 0.9rem; }
.sommaire-liste a:hover { background: var(--fond-2); }
.sommaire-liste a.courant { background: var(--accent-clair); color: var(--accent); font-weight: 700; }
.etat-rond { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bordure); display: grid; place-items: center; flex: none; font-size: 0.8rem; color: var(--discret); }
.etat-rond.fait { background: var(--turquoise); border-color: var(--turquoise); color: #001A4D; }
.sommaire-liste .lib { flex: 1; min-width: 0; }
.sommaire-liste .d { font-size: 0.78rem; color: var(--discret); }

.scene { padding: 28px clamp(16px, 4vw, 48px) 64px; min-width: 0; }
.scene-int { max-width: 860px; margin: 0 auto; }
.ecran-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(140deg, #002E7A 0%, #001A4D 100%); color: #FFFFFF;
  display: grid; place-items: center; text-align: center; margin-bottom: 24px;
}
.ecran-video .rubans { position: absolute; inset: 0; width: 100%; height: 100%; }
.ecran-video .contenu-video { position: relative; padding: 20px; }
.lecture-btn { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); border: 2px solid rgba(255, 255, 255, 0.5); display: grid; place-items: center; margin: 0 auto 14px; font-size: 2rem; }
.ecran-video p { margin: 0; color: #BCCBE8; font-size: 0.9rem; }
.ecran-video strong { display: block; font-family: var(--titre); font-size: 1.1rem; margin-bottom: 4px; color: #FFFFFF; }

.onglets { display: flex; gap: 4px; border-bottom: 1px solid var(--bordure); margin-bottom: 22px; overflow-x: auto; }
.onglet { font: inherit; font-family: var(--titre); font-weight: 700; font-size: 0.9rem; padding: 12px 16px; background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--discret); cursor: pointer; white-space: nowrap; }
.onglet[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--turquoise); }
.panneau-onglet h3 { margin-top: 24px; }
.panneau-onglet h3:first-child { margin-top: 0; }
.script { background: var(--fond-2); border-left: 4px solid var(--turquoise); padding: 18px 22px; border-radius: 0 var(--r-petit) var(--r-petit) 0; }
.script p:last-child { margin-bottom: 0; }
.etapes-ecran { list-style: none; counter-reset: a; padding: 0; margin: 0; display: grid; gap: 8px; }
.etapes-ecran li { counter-increment: a; display: flex; gap: 12px; align-items: flex-start; }
.etapes-ecran li::before { content: counter(a); width: 26px; height: 26px; border-radius: 50%; background: var(--accent-clair); color: var(--accent); font-family: var(--titre); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; flex: none; }
.situation { display: flex; gap: 14px; background: var(--turq-clair); border-radius: var(--r); padding: 18px 20px; }
.situation .ico { color: var(--turq-texte); font-size: 1.3rem; margin-top: 2px; }
.situation p { margin: 0; }
.retenir { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.retenir li { display: flex; gap: 10px; }
.retenir .ico { color: var(--turq-texte); margin-top: 3px; }
.question { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-petit); padding: 12px 16px; margin: 0 0 10px; }
.question summary { cursor: pointer; font-weight: 600; color: var(--texte); }
.question p { margin: 10px 0 0; color: var(--discret); }
.barre-fin { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--bordure); }
.case { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.case input { width: 20px; height: 20px; accent-color: var(--turquoise); }

.objectifs-carte { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 20px 22px; margin-bottom: 24px; }
.exercice { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 20px 22px; margin-bottom: 16px; }
.exercice-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; align-items: center; margin-bottom: 10px; }
.exercice-tete h3 { margin: 0; display: flex; gap: 10px; align-items: center; }
.exercice .depart { font-size: 0.9rem; background: var(--fond-2); border-radius: var(--r-petit); padding: 10px 14px; }
.exercice details summary { color: var(--accent); font-weight: 700; cursor: pointer; }
.ressource { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--bordure); border-radius: var(--r); padding: 14px 16px; background: var(--surface); }
.ressource .pastille-ico { width: 42px; height: 42px; border-radius: 10px; background: #1D6F42; color: #FFFFFF; display: grid; place-items: center; flex: none; }
.ressource p { margin: 0; }

.alerte { background: var(--alerte-clair); color: var(--alerte); border-radius: var(--r-petit); padding: 10px 14px; font-size: 0.9rem; }

/* ---------- Quiz ---------- */
.quiz-tete { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.question-quiz { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 18px 20px; margin: 0 0 14px; }
.question-quiz legend { font-weight: 700; font-family: var(--titre); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.question-quiz .choix { clear: both; display: grid; gap: 8px; }
.question-quiz label { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--bordure); border-radius: 10px; cursor: pointer; }
.question-quiz label:hover { border-color: var(--accent); }
.question-quiz input { accent-color: var(--accent); width: 18px; height: 18px; }
.question-quiz label:has(input:checked) { border-color: var(--accent); background: var(--accent-clair); }
.question-quiz.bonne { border-color: var(--ok); }
.question-quiz.fausse { border-color: var(--ko); }
.explication { font-size: 0.9rem; margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-petit); background: var(--fond-2); color: var(--discret); }
.resultat { display: flex; gap: 20px; align-items: center; border-radius: var(--r); padding: 22px; margin-bottom: 20px; }
.resultat.ok { background: var(--ok-clair); color: var(--ok); }
.resultat.ko { background: var(--ko-clair); color: var(--ko); }
.resultat p { margin: 0; }
.score-cercle { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--titre); font-weight: 800; font-size: 1.5rem; flex: none; font-variant-numeric: tabular-nums; }

/* ---------- Espace apprenant ---------- */
.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tuile { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 18px; display: flex; gap: 14px; align-items: center; min-width: 0; }
.tuile .pastille-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-clair); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.tuile strong { display: block; font-family: var(--titre); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tuile span { font-size: 0.84rem; color: var(--discret); }

/* ---------- Tableaux (admin) ---------- */
.defile { overflow-x: auto; max-width: 100%; border: 1px solid var(--bordure); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--bordure); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--fond-2); font-family: var(--titre); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--discret); }
td.nombre { font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--discret); }
.badge-publie { background: var(--ok-clair); color: var(--ok); }
.badge-brouillon { background: var(--alerte-clair); color: var(--alerte); }
.badge-relu, .badge-teste { background: var(--accent-clair); color: var(--accent); }
.controle { margin: 6px 0 0; padding-left: 18px; font-size: 0.84rem; }
.controle .err { color: var(--ko); }
.controle .warn { color: var(--alerte); }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 4px; font-size: 0.88em; }

/* ---------- Identité ---------- */
.panneaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.panneau { border-radius: var(--r); padding: 44px 24px; display: grid; place-items: center; min-height: 220px; border: 1px solid var(--bordure); min-width: 0; }
.panneau-clair { background: #FFFFFF; color: #002E7A; }
.panneau-marine { background: #002E7A; color: #FFFFFF; }
.logo-bloc { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.logo-bloc .mot { font-size: clamp(2.6rem, 8vw, 3.6rem); }
.logo-filet { display: flex; align-items: center; gap: 12px; font-family: var(--titre); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; }
.logo-filet i { display: block; width: 36px; height: 1.5px; background: #00C8C8; }
.legende { font-size: 0.88rem; color: var(--discret); margin-top: 10px; max-width: 75ch; }
.construction { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.construction .piece { background: var(--surface); border: 1px dashed var(--bordure); border-radius: var(--r-petit); padding: 12px 16px; text-align: center; }
.construction .piece .mot { font-size: 1.6rem; color: var(--marque); }
.construction .piece small { display: block; font-size: 0.75rem; color: var(--discret); margin-top: 6px; }
.construction .op { font-size: 1.3rem; color: var(--discret); }
.icones { display: flex; flex-wrap: wrap; gap: 22px; }
.icone-item { text-align: center; font-size: 0.82rem; color: var(--discret); }
.icone { width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 8px; }
.icone .x { width: 48px; height: 42px; }
.icone.app { background: #002E7A; color: #FFFFFF; border-radius: 20px; }
.icone.rond { background: #002E7A; color: #FFFFFF; border-radius: 50%; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1px var(--bordure); }
.icone.turq { background: #00C8C8; color: #002E7A; border-radius: 20px; }
.icone.contour { background: #FFFFFF; color: #002E7A; border-radius: 50%; border: 3px solid #002E7A; }
.nuancier { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.nuance { border: 1px solid var(--bordure); border-radius: var(--r); overflow: hidden; background: var(--surface); min-width: 0; }
.nuance .pastille { height: 92px; }
.nuance div:last-child { padding: 12px 14px; }
.nuance strong { display: block; font-family: var(--titre); font-size: 0.88rem; }
.nuance code { display: inline-block; margin: 4px 0; }
.nuance span { display: block; font-size: 0.82rem; color: var(--discret); }
.typos { display: grid; gap: 12px; }
.typo { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 16px 20px; }
.typo .aa { font-size: 2.6rem; line-height: 1; color: var(--marque); }
.typo strong { display: block; font-family: var(--titre); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; }
.typo p { margin: 4px 0 0; color: var(--discret); font-size: 0.9rem; }
.regles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.regles > div { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 20px 22px; min-width: 0; }
.regles .faire { border-top: 4px solid var(--ok); }
.regles .eviter { border-top: 4px solid var(--ko); }
.regles ul { padding-left: 18px; margin: 0; }
.regles li { padding: 4px 0; }
.attestation { position: relative; max-width: 560px; margin: 0 auto; background: #FFFFFF; color: #0B1736; border: 1px solid #D6DDEA; border-radius: 4px; padding: 48px 36px 34px; text-align: center; overflow: hidden; box-shadow: var(--ombre); }
.attestation::before, .attestation::after { content: ""; position: absolute; width: 120px; height: 120px; }
.attestation::before { top: 0; right: 0; background: #002E7A; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.attestation::after { bottom: 0; left: 0; clip-path: polygon(0 0, 0 100%, 100% 100%); background: linear-gradient(45deg, #002E7A 60%, #00C8C8 60%); }
.attestation .mot { font-size: 1.8rem; color: #002E7A; }
.att-titre { font-family: var(--titre); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; color: #002E7A; margin: 18px 0 6px; }
.att-nom { font-family: var(--titre); font-weight: 500; font-size: 1.4rem; margin: 10px 0; }
.att-petit { font-size: 0.82rem; color: #5F6772; margin: 4px 0; }
.att-numero { font-family: var(--titre); font-size: 0.75rem; letter-spacing: 0.12em; color: #5F6772; margin-top: 18px; }
.bloc-id { margin-bottom: 48px; }
.bloc-id > h2 { margin-bottom: 18px; }

/* ---------- Pied ---------- */
.pied { position: relative; overflow: hidden; background: #001A4D; color: #BCCBE8; }
.pied-int { max-width: var(--conteneur); margin: 0 auto; padding: 48px 20px 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; font-size: 0.9rem; position: relative; }
.pied .mot { font-size: 1.5rem; color: #FFFFFF; }
.pied h4 { color: #FFFFFF; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
.pied nav { display: flex; flex-direction: column; gap: 8px; }
.pied nav a { color: #BCCBE8; text-decoration: none; }
.pied nav a:hover { color: #FFFFFF; }
.pied-slogan { font-family: var(--titre); color: #FFFFFF; margin: 14px 0 6px; }
.pied-valeurs { font-family: var(--titre); text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.7rem; color: #00C8C8; }
.pied-bas { max-width: var(--conteneur); margin: 0 auto; padding: 16px 20px 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; position: relative; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1000px) {
  .hero-grille, .nexus-grille { grid-template-columns: minmax(0, 1fr); }
  .hero-visuel { max-width: 560px; }
  .atouts, .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domaines { grid-template-columns: minmax(0, 1fr); }
  .formation-grille, .formation-corps { grid-template-columns: minmax(0, 1fr); }
  .carte-inscription { max-width: 460px; }
  .catalogue { grid-template-columns: minmax(0, 1fr); }
  .filtres-panneau { position: static; flex-direction: row; flex-wrap: wrap; }
  .filtre-liste { flex-direction: row; flex-wrap: wrap; }
  .filtre { width: auto; border-color: var(--bordure); border-radius: 999px; }
  .lecteur { grid-template-columns: minmax(0, 1fr); }
  .sommaire { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--bordure); order: 2; }
  .scene { order: 1; }
  .pied-int { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .atouts, .tuiles, .etapes { grid-template-columns: minmax(0, 1fr); }
  .apprendre ul, .infos { grid-template-columns: minmax(0, 1fr); }
  .continuer { grid-template-columns: minmax(0, 1fr); }
  .entete nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .bouton-espace { margin-left: auto; }
  .programme .contenu { padding-left: 20px; }
  .programme .sum-meta { display: none; }
  .typo { grid-template-columns: 60px minmax(0, 1fr); }
  .apercu-puce { right: 4%; bottom: 6%; }
  .apercu-badge { display: none; }
  .resultat { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
 * Niveaux (Junior, Médian, Senior, Expert)
 * ===================================================================== */
.niv-1 { --niv: #00C8C8; --niv-fond: #00C8C8; --niv-texte: #001A4D; --niv-clair: #DDF7F7; --niv-encre: #007C7C; }
.niv-2 { --niv: #0A55C2; --niv-fond: #0A55C2; --niv-texte: #FFFFFF; --niv-clair: #E3EDFB; --niv-encre: #0A55C2; }
.niv-3 { --niv: #002E7A; --niv-fond: #002E7A; --niv-texte: #FFFFFF; --niv-clair: #E3EAF6; --niv-encre: #002E7A; }
.niv-4 { --niv: #00C8C8; --niv-fond: #000B26; --niv-texte: #FFFFFF; --niv-clair: #E6E9F0; --niv-encre: #0B1736; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .niv-1 { --niv-clair: #083B45; --niv-encre: #3FE0E0; }
  :root:not([data-theme="light"]) .niv-2 { --niv-clair: #1F2B3B; --niv-encre: #7FAEF2; }
  :root:not([data-theme="light"]) .niv-3 { --niv-clair: #22324E; --niv-encre: #A9C0EE; }
  :root:not([data-theme="light"]) .niv-4 { --niv-clair: #1F2E48; --niv-encre: #E8EDF7; }
}
:root[data-theme="dark"] .niv-1 { --niv-clair: #083B45; --niv-encre: #3FE0E0; }
:root[data-theme="dark"] .niv-2 { --niv-clair: #1F2B3B; --niv-encre: #7FAEF2; }
:root[data-theme="dark"] .niv-3 { --niv-clair: #22324E; --niv-encre: #A9C0EE; }
:root[data-theme="dark"] .niv-4 { --niv-clair: #1F2E48; --niv-encre: #E8EDF7; }

.marches { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.marches i { display: block; width: 5px; border-radius: 2px; background: currentColor; opacity: 0.28; }
.marches i:nth-child(1) { height: 30%; } .marches i:nth-child(2) { height: 55%; } .marches i:nth-child(3) { height: 78%; } .marches i:nth-child(4) { height: 100%; }
.marches i.on { opacity: 1; }
.puce-niveau { display: inline-flex; align-items: center; gap: 8px; font-family: var(--titre); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--niv-fond); color: var(--niv-texte); }
.niv-4 .puce-niveau, .puce-niveau.niv-4 { box-shadow: inset 0 0 0 1.5px #00C8C8; }

.accueil-niveaux { background: linear-gradient(160deg, #002E7A 0%, #001A4D 70%); color: #FFFFFF; position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.accueil-niveaux .rubans { position: absolute; right: 0; top: 0; height: 100%; width: 60%; opacity: 0.8; }
.accueil-niveaux .conteneur { position: relative; }
.accueil-niveaux h1 { color: #FFFFFF; max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.accueil-niveaux h1 em { font-style: normal; color: #00C8C8; }
.accueil-niveaux .sous-titre { color: #BCCBE8; }
.accueil-niveaux .surtitre { color: #00C8C8; }
.niveaux { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.niveau-carte {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  text-decoration: none; color: #0B1736; background: #FFFFFF; border-radius: 18px; padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(0, 8, 32, 0.35); transition: transform 0.18s ease, box-shadow 0.18s ease; overflow: hidden;
}
.niveau-carte:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(0, 8, 32, 0.5); }
.niveau-carte::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--niv-fond); }
.niveau-carte.niv-4 { background: #000B26; color: #FFFFFF; box-shadow: 0 0 0 1.5px #00C8C8, 0 18px 40px rgba(0, 8, 32, 0.5); }
.niveau-carte.niv-4::before { background: linear-gradient(90deg, #00C8C8, #0A55C2); }
.niveau-carte .marches { color: var(--niv-fond); }
.niveau-carte.niv-4 .marches { color: #00C8C8; }
.niveau-carte .niv-nom { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.niveau-carte .niv-accroche { font-family: var(--titre); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--niv-encre); }
.niveau-carte.niv-4 .niv-accroche { color: #00C8C8; }
.niveau-carte p { font-size: 0.9rem; color: #5F6772; margin: 0; flex: 1; }
.niveau-carte.niv-4 p { color: #BCCBE8; }
.niveau-carte .niv-eval { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; font-weight: 600; border-top: 1px solid #E1E7F0; padding-top: 12px; }
.niveau-carte.niv-4 .niv-eval { border-color: rgba(255, 255, 255, 0.14); }
.niveau-carte .niv-entrer { display: inline-flex; align-items: center; gap: 6px; font-family: var(--titre); font-weight: 800; font-size: 0.88rem; color: #002E7A; }
.niveau-carte.niv-4 .niv-entrer { color: #00C8C8; }
.niveau-carte .niv-compte { position: absolute; right: 18px; top: 20px; font-size: 0.75rem; font-weight: 700; color: #5F6772; }
.niveau-carte.niv-4 .niv-compte { color: #BCCBE8; }

/* Aperçus des formats d'évaluation */
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.format { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.format-visuel { height: 170px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; background: var(--fond-2); border-bottom: 1px solid var(--bordure); font-size: 0.78rem; overflow: hidden; }
.format-corps { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.format-corps p { margin: 0; font-size: 0.9rem; color: var(--discret); flex: 1; }
.mini-q { background: #FFFFFF; color: #0B1736; border-radius: 10px; padding: 10px 12px; box-shadow: var(--ombre); }
.mini-q b { display: block; font-family: var(--titre); margin-bottom: 6px; font-size: 0.78rem; }
.mini-q span { display: flex; gap: 6px; align-items: center; padding: 3px 0; }
.mini-q span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #C9D4EA; }
.mini-q span.ok { color: #1E7A4C; font-weight: 600; }
.mini-q span.ok::before { background: #1E7A4C; border-color: #1E7A4C; }
.mini-grille { background: #FFFFFF; color: #0B1736; border-radius: 8px; overflow: hidden; box-shadow: var(--ombre); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.7rem; }
.mini-grille .fb { display: flex; gap: 6px; padding: 5px 8px; background: #EDF1F8; color: #002E7A; white-space: nowrap; overflow: hidden; }
.mini-grille table { font-size: 0.7rem; }
.mini-grille td { border: 1px solid #E1E7F0; padding: 3px 6px; white-space: nowrap; }
.mini-grille td.c { background: #FFF6C9; font-weight: 700; }
.mini-grille td.v { color: #1E7A4C; }
.mini-memo { background: #FFFFFF; color: #0B1736; border-radius: 6px; padding: 10px 12px; box-shadow: var(--ombre); border-top: 4px solid #002E7A; }
.mini-memo b { font-family: var(--titre); font-size: 0.72rem; display: block; margin-bottom: 6px; }
.mini-memo i { display: block; height: 5px; border-radius: 3px; background: #DCE4F2; margin: 5px 0; }
.mini-memo .note { display: inline-block; margin-top: 6px; font-family: var(--titre); font-weight: 800; color: #002E7A; background: #E3EAF6; border-radius: 6px; padding: 2px 8px; }
.mini-mission { background: #000B26; color: #FFFFFF; border-radius: 10px; padding: 12px; box-shadow: 0 0 0 1px #00C8C8; font-family: var(--titre); }
.mini-mission .code { color: #00C8C8; font-size: 0.66rem; letter-spacing: 0.18em; }
.mini-mission .chrono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.04em; margin: 4px 0; }
.mini-mission .etat { font-size: 0.66rem; color: #BCCBE8; display: flex; gap: 6px; align-items: center; }
.mini-mission .etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #00C8C8; box-shadow: 0 0 8px #00C8C8; }

/* Page de niveau */
.tete-niveau { position: relative; overflow: hidden; background: var(--niv-fond); color: var(--niv-texte); padding-block: clamp(32px, 5vw, 56px); }
.tete-niveau.niv-4 { background: radial-gradient(120% 140% at 85% 10%, #0A2A6B 0%, #000B26 55%); }
.tete-niveau .rubans { position: absolute; right: 0; top: 0; height: 100%; width: 50%; opacity: 0.55; }
.tete-niveau .conteneur { position: relative; }
.tete-niveau h1 { color: inherit; font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 4px; }
.tete-niveau .niv-accroche { font-family: var(--titre); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; opacity: 0.85; }
.tete-niveau .profil { max-width: 62ch; font-size: 1.1rem; opacity: 0.92; margin-top: 12px; }
.tete-niveau .fil, .tete-niveau .fil a { color: inherit; opacity: 0.8; }
.tete-niveau .marches { color: inherit; height: 26px; }
.tete-niveau .marches i { width: 7px; }
.eval-niveau { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 26px; }
.eval-niveau > * { min-width: 0; }
.eval-niveau .format-visuel { border-radius: 12px; border: 0; height: auto; min-height: 190px; }
.autres-niveaux { display: flex; flex-wrap: wrap; gap: 10px; }
.autres-niveaux a { text-decoration: none; }

/* =====================================================================
 * Tableur en ligne
 * ===================================================================== */
.tableur { border: 1px solid var(--bordure); border-radius: 12px; overflow: hidden; background: #FFFFFF; color: #0B1736; box-shadow: var(--ombre); }
.barre-formule { display: flex; align-items: center; gap: 0; border-bottom: 1px solid #D6DDEA; background: #F3F6FB; }
.fb-ref { min-width: 64px; padding: 8px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; font-weight: 700; color: #002E7A; border-right: 1px solid #D6DDEA; text-align: center; }
.fx { padding: 0 10px; font-style: italic; font-family: Georgia, serif; color: #5F6772; border-right: 1px solid #D6DDEA; }
.fb-input { flex: 1; min-width: 0; border: 0; background: #FFFFFF; padding: 8px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88rem; color: #0B1736; }
.fb-input:focus { outline: 2px solid #00C8C8; outline-offset: -2px; }
.tableur-defile { overflow: auto; max-height: 560px; }
.grille { border-collapse: separate; border-spacing: 0; font-size: 0.85rem; font-variant-numeric: tabular-nums; background: #FFFFFF; width: max-content; min-width: 100%; }
.grille th { position: sticky; top: 0; background: #EDF1F8; color: #5F6772; font-family: var(--corps); font-weight: 600; font-size: 0.75rem; text-align: center; padding: 4px 6px; border-right: 1px solid #D6DDEA; border-bottom: 1px solid #D6DDEA; letter-spacing: 0; text-transform: none; z-index: 1; }
.grille th.ligne { position: sticky; left: 0; min-width: 38px; z-index: 2; }
.grille th.coin { left: 0; z-index: 3; }
.grille td { border-right: 1px solid #E8ECF3; border-bottom: 1px solid #E8ECF3; padding: 0; min-width: 96px; height: 30px; white-space: nowrap; vertical-align: middle; color: #0B1736; }
.grille td .val { display: block; padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.grille td.n .val, .grille td.n input { text-align: right; }
.grille td.gras { font-weight: 700; }
.grille td.titre-feuille .val { max-width: none; overflow: visible; font-family: var(--titre); color: #002E7A; }
.grille td.param { background: #E7F6EC; }
.grille td.edit { background: #FFFFFF; }
.grille td.cible { background: #FFF6C9; }
.grille td.err .val, .grille td.err input { color: #B03A2E; }
.grille td input { width: 100%; height: 30px; border: 0; padding: 4px 8px; font: inherit; color: #0B1736; background: transparent; }
.grille td input:focus { outline: 2px solid #00C8C8; outline-offset: -2px; background: #FFFFFF; text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82rem; }
.grille td.ok { box-shadow: inset 3px 0 0 #1E7A4C; }
.grille td.ko { box-shadow: inset 3px 0 0 #B03A2E; }
.legende-tableur { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: var(--discret); margin-top: 10px; }
.legende-tableur span { display: inline-flex; align-items: center; gap: 6px; }
.legende-tableur i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid #D6DDEA; display: inline-block; }

/* =====================================================================
 * Épreuves
 * ===================================================================== */
.ep-tete { padding-block: 28px 8px; }
.ep-tete h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 10px 0 8px; }
.ep-infos { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--discret); font-size: 0.9rem; }
.ep-infos span { display: inline-flex; align-items: center; gap: 6px; }

/* Atelier (Médian) */
.atelier { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-block: 16px 64px; }
.atelier > * { min-width: 0; }
.taches { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 2px; }
.tache { background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 14px 16px; }
.tache.ok { border-color: var(--ok); }
.tache.ko { border-color: var(--ko); }
.tache-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.tache-tete h3 { margin: 0; font-size: 0.98rem; }
.chip-cellule { font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--bordure); background: #FFF6C9; color: #0B1736; cursor: pointer; }
.tache p { font-size: 0.88rem; color: var(--discret); margin: 0 0 10px; }
.tache-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-petit { font: inherit; font-size: 0.82rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--sur-accent); cursor: pointer; }
.btn-petit.clair { background: transparent; color: var(--accent); border-color: var(--bordure); }
.retour-tache { font-size: 0.84rem; margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; }
.retour-tache.ok { background: var(--ok-clair); color: var(--ok); }
.retour-tache.ko { background: var(--ko-clair); color: var(--ko); }
.indice { font-size: 0.84rem; margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--alerte-clair); color: var(--alerte); }
.compteur { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 12px 16px; }
.compteur strong { font-family: var(--titre); font-size: 1.3rem; font-variant-numeric: tabular-nums; }

/* Étude de cas (Senior) */
.cas { padding-block: 8px 64px; }
.lettre { background: #FFFFFF; color: #0B1736; border: 1px solid #D6DDEA; border-radius: 4px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--ombre); position: relative; max-width: 820px; }
.lettre::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: linear-gradient(90deg, #002E7A 70%, #00C8C8 70%); }
.lettre-entete { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 12px; font-size: 0.88rem; border-bottom: 1px solid #E1E7F0; padding-bottom: 14px; margin-bottom: 18px; }
.lettre-entete dt { color: #5F6772; font-weight: 600; }
.lettre-entete dd { margin: 0; font-weight: 600; }
.lettre-corps p { font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.7; }
.livrable { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 20px 22px; margin-bottom: 18px; }
.livrable-tete { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.livrable textarea { width: 100%; min-height: 180px; resize: vertical; font: inherit; font-size: 0.95rem; line-height: 1.6; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); }
.livrable textarea:focus { outline: 2px solid var(--turquoise); outline-offset: 0; }
.mots { font-size: 0.8rem; color: var(--discret); text-align: right; margin-top: 6px; font-variant-numeric: tabular-nums; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 14px 0; }
.compare > div { border-radius: 10px; padding: 14px 16px; font-size: 0.92rem; white-space: pre-wrap; min-width: 0; }
.compare .vous { background: var(--fond-2); }
.compare .ref { background: var(--accent-clair); }
.compare h4 { margin: 0 0 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--discret); white-space: normal; }
.criteres { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.criteres label { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--bordure); border-radius: 8px; cursor: pointer; font-size: 0.92rem; }
.criteres input { width: 18px; height: 18px; accent-color: var(--turquoise); }
.criteres .pts { margin-left: auto; font-family: var(--titre); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.note-finale { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 18px 22px; }
.note-finale .score-cercle { width: 96px; height: 96px; font-size: 1.4rem; background: var(--accent-clair); color: var(--accent); }
.confirmer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--alerte-clair); color: var(--alerte); border-radius: 12px; padding: 14px 16px; }
.confirmer p { margin: 0; flex: 1 1 260px; }

/* Mission (Expert) : toujours sombre, comme une salle de commande */
.mission { background: #000B26; color: #E8EDF7; min-height: 80vh; }
.mission a { color: #00C8C8; }
.mission .meta { color: #8E9BB8; }
.mission h1, .mission h2, .mission h3 { color: #FFFFFF; }
.briefing { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px); }
.briefing .rubans { position: absolute; right: 0; top: 0; width: 55%; height: 100%; opacity: 0.45; }
.briefing .conteneur { position: relative; }
.code-mission { display: inline-flex; gap: 10px; align-items: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; letter-spacing: 0.22em; color: #00C8C8; text-transform: uppercase; }
.code-mission::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #00C8C8; box-shadow: 0 0 10px #00C8C8; }
.briefing h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 20ch; margin: 16px 0 10px; }
.briefing .ent { color: #8E9BB8; font-size: 1rem; }
.regles-mission { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 32px 0; }
.regle { border: 1px solid rgba(0, 200, 200, 0.28); background: rgba(255, 255, 255, 0.03); border-radius: 12px; padding: 16px; min-width: 0; }
.regle strong { display: block; font-family: var(--titre); color: #FFFFFF; margin-bottom: 4px; }
.regle span { font-size: 0.86rem; color: #8E9BB8; }
.regle .ico { color: #00C8C8; font-size: 1.3rem; margin-bottom: 8px; display: block; }
.chrono-grand { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 700; letter-spacing: 0.04em; color: #FFFFFF; line-height: 1; }
.bouton-mission { background: #00C8C8; color: #000B26; font-size: 1rem; padding: 16px 28px; box-shadow: 0 0 0 4px rgba(0, 200, 200, 0.18), 0 0 32px rgba(0, 200, 200, 0.35); }
.barre-mission { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 10; background: rgba(0, 11, 38, 0.96); border-bottom: 1px solid rgba(0, 200, 200, 0.25); backdrop-filter: blur(6px); }
.barre-mission-int { max-width: var(--conteneur); margin: 0 auto; padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.barre-mission .titre-m { font-family: var(--titre); font-weight: 700; flex: 1 1 260px; min-width: 0; color: #FFFFFF; }
.chrono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 700; color: #FFFFFF; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.chrono.urgent { color: #FFB020; }
.chrono.depasse { color: #FF6B5E; }
.etat-modele { font-size: 0.82rem; color: #8E9BB8; }
.mission .onglets { border-color: rgba(255, 255, 255, 0.12); }
.mission .onglet { color: #8E9BB8; }
.mission .onglet[aria-selected="true"] { color: #FFFFFF; border-bottom-color: #00C8C8; }
.mission-corps { padding-block: 24px 64px; }
.dossier-carte { background: #071A45; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: clamp(18px, 3vw, 28px); }
.dossier-carte .lettre-entete { border-color: rgba(255, 255, 255, 0.1); }
.dossier-carte .lettre-entete dt { color: #8E9BB8; }
.dossier-carte .lettre-entete dd { color: #FFFFFF; }
.dossier-carte .lettre-corps p { color: #DCE4F2; }
.cahier { list-style: none; counter-reset: c; padding: 0; margin: 0; display: grid; gap: 10px; }
.cahier li { counter-increment: c; display: flex; gap: 14px; align-items: flex-start; background: #071A45; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 14px 16px; color: #DCE4F2; }
.cahier li::before { content: counter(c, decimal-leading-zero); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: #00C8C8; }
.mission .tableur { box-shadow: 0 0 0 1px rgba(0, 200, 200, 0.35), 0 20px 50px rgba(0, 0, 0, 0.5); border: 0; }
.mission .legende-tableur { color: #8E9BB8; }
.mission textarea { width: 100%; min-height: 260px; resize: vertical; font: inherit; line-height: 1.6; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: #071A45; color: #FFFFFF; }
.mission textarea:focus { outline: 2px solid #00C8C8; }
.mission .confirmer { background: rgba(255, 176, 32, 0.12); color: #FFCF70; }
.debrief-score { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin: 24px 0 32px; }
.debrief-score .gros { font-family: var(--titre); font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.debrief-score .gros small { font-size: 0.4em; color: #8E9BB8; }
.verdict { font-family: var(--titre); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; padding: 8px 14px; border-radius: 999px; }
.verdict.ok { background: rgba(111, 207, 151, 0.15); color: #6FCF97; }
.verdict.ko { background: rgba(255, 107, 94, 0.15); color: #FF8A7E; }
.controles { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.controles li { display: flex; gap: 14px; align-items: center; background: #071A45; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 12px 16px; }
.controles .etat { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; }
.controles .etat.ok { background: rgba(111, 207, 151, 0.18); color: #6FCF97; }
.controles .etat.ko { background: rgba(255, 107, 94, 0.18); color: #FF8A7E; }
.controles .lib { flex: 1; min-width: 0; }
.controles .lib small { display: block; color: #8E9BB8; }
.controles .pts { font-family: var(--titre); font-weight: 800; font-variant-numeric: tabular-nums; color: #FFFFFF; white-space: nowrap; }
.mission .criteres label { border-color: rgba(255, 255, 255, 0.14); color: #DCE4F2; }
.mission .criteres .pts { color: #00C8C8; }
.mission .compare .vous { background: #071A45; color: #DCE4F2; }
.mission .compare .ref { background: #0A2A6B; color: #E8EDF7; }
.mission .compare h4 { color: #8E9BB8; }
.mission .bouton.secondaire { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.3); }
.solution-table td, .solution-table th { font-size: 0.82rem; }
.solution-table code { background: transparent; color: inherit; }
.mission .defile { background: #071A45; border-color: rgba(255, 255, 255, 0.12); }
.mission .defile th { background: #0A2A6B; color: #BCCBE8; }
.mission .defile td { border-color: rgba(255, 255, 255, 0.08); color: #DCE4F2; }

.logo-officiel { background: #FFFFFF; border: 1px solid var(--bordure); border-radius: var(--r); padding: 28px; display: grid; place-items: center; }
.logo-officiel img { max-width: min(420px, 100%); height: auto; display: block; }
.attente-logo { display: grid; place-items: center; gap: 10px; text-align: center; border: 2px dashed var(--bordure); border-radius: var(--r); padding: 36px 20px; color: var(--discret); }
.attente-logo .mot { font-size: 2.6rem; color: var(--marque); letter-spacing: 0.2em; }

@media (max-width: 1000px) {
  .niveaux, .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atelier { grid-template-columns: minmax(0, 1fr); }
  .taches { position: static; max-height: none; }
  .eval-niveau { grid-template-columns: minmax(0, 1fr); }
  .regles-mission { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .niveaux, .formats, .regles-mission { grid-template-columns: minmax(0, 1fr); }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .barre-mission { top: 0; }
}

/* Le titre de la feuille déborde sur les cellules voisines, comme dans Excel, sans élargir la colonne A */
.grille td.titre-feuille { position: relative; max-width: 96px; }
.grille td.titre-feuille .val { position: absolute; left: 0; top: 50%; transform: translateY(-50%); max-width: none; overflow: visible; z-index: 1; pointer-events: none; }
.mission { min-height: 0; }

/* Demande du 10/10 : aucun trait décoratif devant ou autour des surtitres et de la signature */
.surtitre::before,
.marque .signature::before, .marque .signature::after,
.hero-signature::before { content: none; display: none; }

/* =====================================================================
 * Présentation inspirée de Coursera : clair, aéré, orienté parcours
 * ===================================================================== */
.recherche-entete { display: flex; align-items: center; gap: 8px; flex: 0 1 340px; min-width: 0; background: var(--fond-2); border: 1px solid var(--bordure); border-radius: 999px; padding: 4px 6px 4px 14px; }
.recherche-entete input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 0.9rem; color: var(--texte); padding: 6px 2px; }
.recherche-entete input:focus { outline: none; }
.recherche-entete:focus-within { border-color: var(--accent); background: var(--surface); }
.recherche-entete button { border: 0; background: var(--accent); color: var(--sur-accent); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.surtitre { color: var(--accent); }

.c-hero { background: linear-gradient(180deg, #EAF1FB 0%, var(--fond) 100%); padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 48px); overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-hero { background: linear-gradient(180deg, #172338 0%, var(--fond) 100%); } }
:root[data-theme="dark"] .c-hero { background: linear-gradient(180deg, #172338 0%, var(--fond) 100%); }
.c-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.c-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.08; margin-bottom: 18px; }
.c-hero h1 span { color: var(--accent); }
.c-hero .sous-titre { font-size: 1.15rem; margin-bottom: 28px; }
.initiative { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--discret); font-size: 0.85rem; }
.initiative img { height: 44px; width: auto; display: block; background: #FFFFFF; border-radius: 8px; padding: 4px 8px; }

.collage { position: relative; aspect-ratio: 1 / 0.92; max-width: 560px; justify-self: end; width: 100%; }
.collage .tuile-cours { position: absolute; width: 58%; border-radius: 16px; overflow: hidden; background: #FFFFFF; box-shadow: 0 24px 50px rgba(0, 26, 77, 0.22); }
.collage .tuile-cours .couv { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.collage .tuile-cours div { padding: 10px 14px 12px; color: #0B1736; }
.collage .tuile-cours b { font-family: var(--titre); font-size: 0.88rem; display: block; }
.collage .tuile-cours small { color: #5F6772; font-size: 0.75rem; }
.collage .t1 { left: 0; top: 4%; transform: rotate(-4deg); z-index: 1; }
.collage .t2 { right: 0; top: 0; transform: rotate(3deg); z-index: 2; }
.collage .t3 { left: 18%; bottom: 0; z-index: 3; }
.collage .flottant { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: #FFFFFF; color: #0B1736; border-radius: 14px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(0, 26, 77, 0.25); font-size: 0.8rem; }
.collage .flottant strong { display: block; font-family: var(--titre); font-size: 0.92rem; }
.collage .flottant .rond { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #DDF7F7; color: #007C7C; font-size: 1.15rem; }
.collage .f1 { right: -2%; top: 46%; }
.collage .f2 { left: -2%; bottom: 30%; }
.collage .f2 .rond { background: #E3EAF6; color: #002E7A; }

.chiffres-c { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 28px; border-block: 1px solid var(--bordure); }
.chiffres-c div { text-align: center; }
.chiffres-c strong { display: block; font-family: var(--titre); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.chiffres-c span { color: var(--discret); font-size: 0.9rem; }

.onglets-niveaux { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.onglet-niveau { font: inherit; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--bordure); background: var(--surface); color: var(--texte); font-family: var(--titre); font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.onglet-niveau .marches { color: var(--niv-encre); }
.onglet-niveau[aria-selected="true"] { background: var(--niv-fond); border-color: var(--niv-fond); color: var(--niv-texte); }
.onglet-niveau[aria-selected="true"] .marches { color: inherit; }
.onglet-niveau.niv-4[aria-selected="true"] { box-shadow: 0 0 0 2px #00C8C8; }
.panneau-niveau { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.panneau-niveau > * { min-width: 0; }
.fiche-niveau { background: var(--surface); border: 1px solid var(--bordure); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.fiche-niveau::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--niv-fond); }
.fiche-niveau.niv-4 { background: #000B26; color: #FFFFFF; border-color: #00C8C8; }
.fiche-niveau.niv-4 p, .fiche-niveau.niv-4 .meta { color: #BCCBE8; }
.fiche-niveau h3 { font-size: 1.7rem; margin: 0; }
.fiche-niveau .acc { font-family: var(--titre); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--niv-encre); }
.fiche-niveau.niv-4 .acc { color: #00C8C8; }
.fiche-niveau p { margin: 0; color: var(--discret); }
.fiche-niveau .format-visuel { border-radius: 12px; border: 0; height: auto; min-height: 150px; }
.fiche-niveau.niv-4 .format-visuel { background: #071A45; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }
.rail-vide { border: 2px dashed var(--bordure); border-radius: var(--r); padding: 28px; color: var(--discret); display: grid; place-items: center; text-align: center; min-height: 200px; }

.cours-fournisseur { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--discret); margin-bottom: 8px; }
.cours-fournisseur img { height: 18px; width: auto; background: #FFFFFF; border-radius: 3px; padding: 1px 3px; }
.cours-type { font-size: 0.8rem; color: var(--discret); margin-top: 10px; }

.metiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.metier { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--bordure); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--texte); min-width: 0; transition: box-shadow 0.18s ease, transform 0.18s ease; }
.metier:hover { box-shadow: var(--ombre-forte); transform: translateY(-3px); }
.metier .pastille-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-clair); color: var(--accent); display: grid; place-items: center; font-size: 1.45rem; }
.metier h3 { font-size: 1.12rem; margin: 0; }
.metier p { color: var(--discret); font-size: 0.9rem; margin: 0; }
.metier ol { margin: 0; padding-left: 18px; font-size: 0.88rem; display: grid; gap: 4px; flex: 1; }
.metier .meta-m { font-size: 0.82rem; color: var(--discret); border-top: 1px solid var(--bordure); padding-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; }

.attest-bloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.attest-bloc ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.attest-bloc li { display: flex; gap: 12px; align-items: flex-start; }
.attest-bloc li .ico { color: var(--accent); margin-top: 3px; }
.attestation .mot { font-size: 1.8rem; color: #002E7A; letter-spacing: 0.2em; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--bordure); padding: 4px 0; margin: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; font-family: var(--titre); font-weight: 700; font-size: 1.02rem; color: var(--texte); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--discret); margin: 0 0 16px; max-width: 70ch; }

.appel { background: linear-gradient(120deg, #002E7A 0%, #001A4D 100%); color: #FFFFFF; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.appel .rubans { position: absolute; right: 0; top: 0; height: 100%; width: 45%; opacity: 0.7; }
.appel > * { position: relative; }
.appel h2 { color: #FFFFFF; margin: 0 0 8px; }
.appel p { color: #BCCBE8; margin: 0; }

/* Fiche formation : en-tête clair, à la manière de Coursera */
.formation-tete { background: linear-gradient(180deg, #EAF1FB 0%, var(--fond) 100%); color: var(--texte); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .formation-tete { background: linear-gradient(180deg, #172338 0%, var(--fond) 100%); } }
:root[data-theme="dark"] .formation-tete { background: linear-gradient(180deg, #172338 0%, var(--fond) 100%); }
.formation-tete .rubans { opacity: 0.18; }
.formation-tete h1 { color: var(--texte); }
.formation-tete .resume { color: var(--discret); }
.formation-tete .fil { color: var(--discret); }
.puce-meta { background: var(--surface); border-color: var(--bordure); color: var(--texte); }
.puce-cat { background: var(--accent-clair); border-color: var(--accent-clair); color: var(--accent); }

@media (max-width: 1000px) {
  .c-hero-grille, .attest-bloc { grid-template-columns: minmax(0, 1fr); }
  .collage { justify-self: center; max-width: 480px; }
  .panneau-niveau { grid-template-columns: minmax(0, 1fr); }
  .metiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres-c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recherche-entete { order: 4; flex-basis: 100%; }
  .appel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .metiers { grid-template-columns: minmax(0, 1fr); }
  .collage .flottant { font-size: 0.72rem; padding: 8px 10px; }
  .collage .f1 { right: 0; } .collage .f2 { left: 0; }
}

.rail { grid-auto-columns: minmax(260px, 320px); }
@media (max-width: 640px) {
  .collage { display: none; }
}


/* =====================================================================
 * Logo officiel NEXA (fourni par Nexus Académie le 10/10/2026)
 * L'en-tête et le pied reprennent le bleu nuit du logo, pour l'afficher tel quel.
 * ===================================================================== */
.logo-entete { height: 38px; width: auto; display: block; }
.marque { flex-direction: row; align-items: center; }
.pied { background: #00173C; }
.logo-pied { height: 72px; width: auto; display: block; }
.logo-panneau { background: #00173C; border-radius: var(--r); padding: 36px 28px; display: grid; place-items: center; min-height: 200px; }
.logo-panneau img { max-width: min(380px, 100%); height: auto; display: block; }
.logo-panneau.original { padding: 0; overflow: hidden; }
.logo-panneau.original img { max-width: 100%; width: 100%; }
.logo-panneau.petit img { max-width: 200px; }
.att-bandeau { background: #00173C; margin: -48px -36px 22px; padding: 22px; display: grid; place-items: center; }
.att-bandeau img { height: 58px; width: auto; display: block; }
@media (max-width: 640px) { .logo-entete { height: 32px; } }


/* Logo NEXA version claire (bleu sur fond blanc) : en-tête blanc, comme sur Coursera.
 * La version blanche reste réservée aux fonds bleu nuit (pied de page, thème sombre). */
.entete { background: var(--surface); border-bottom: 1px solid var(--bordure); }
.entete nav a { color: var(--texte); }
.entete nav a:hover { background: var(--surface-2); }
.entete nav a.actif { color: var(--accent); background: var(--accent-clair); }
.recherche-entete { background: var(--fond-2); border-color: var(--bordure); }
.recherche-entete input { color: var(--texte); }
.recherche-entete input::placeholder { color: var(--discret); }
.recherche-entete:focus-within { background: var(--surface); border-color: var(--accent); }
.recherche-entete button { background: var(--accent); color: var(--sur-accent); }
.bouton-espace { background: var(--accent); color: var(--sur-accent); }
.logo-sombre { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-clair { display: none; }
  :root:not([data-theme="light"]) .logo-sombre { display: block; }
}
:root[data-theme="dark"] .logo-clair { display: none; }
:root[data-theme="dark"] .logo-sombre { display: block; }
.att-bandeau { background: transparent; margin: -20px 0 10px; padding: 0; }
.att-bandeau img { height: 64px; }

/* Accueil : collage plus calme (cartes droites, une seule pastille) */
.collage .t1, .collage .t2 { transform: none; }
.collage .t2 { top: 10%; }
.collage .f2 { display: none; }

/* ================= Comptes, vérification, correction en ligne ================= */
.lien-connexion { font-family: var(--titre); font-weight: 600; font-size: .92rem; color: var(--accent); text-decoration: none; padding: 8px 10px; white-space: nowrap; }
.lien-connexion:hover { text-decoration: underline; }
.lien-connexion[hidden] { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(560px, calc(100vw - 32px)); background: #00173C; color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 23, 60, .28); font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-left: 4px solid #00C8C8; }
.carte-acces { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--bordure); border-radius: 14px; padding: 24px; box-shadow: 0 6px 24px rgba(0, 23, 60, .06); max-width: 760px; }
.carte-acces h2 { margin: 0 0 6px; font-size: 1.25rem; }
.carte-acces p { margin: 0 0 14px; }
.comptes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 8px; }
.carte-form { display: grid; gap: 14px; align-content: start; background: var(--surface); border: 1px solid var(--bordure); border-radius: 14px; padding: 24px; }
.carte-form h2 { margin: 0; font-size: 1.2rem; }
.carte-form label, .correction label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.carte-form input, .correction input, .correction textarea, .verif-form input { font: inherit; padding: 11px 12px; border: 1px solid var(--bordure); border-radius: 8px; background: var(--fond, #fff); color: inherit; }
.carte-form input:focus, .correction input:focus, .correction textarea:focus, .verif-form input:focus { outline: 2px solid #00C8C8; outline-offset: 1px; }
.carte-form .bouton { justify-self: start; }
.verif-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; max-width: 560px; }
.verif-form input { flex: 1 1 240px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; }
.verif-ok, .verif-ko { display: flex; gap: 16px; align-items: flex-start; border-radius: 14px; padding: 20px 22px; max-width: 760px; }
.verif-ok { background: #E6FAF5; color: #0B4F3C; border: 1px solid #A8E6D4; }
.verif-ko { background: var(--alerte-clair); color: var(--alerte); }
.verif-ok h2, .verif-ko h2 { margin: 0 0 6px; font-size: 1.2rem; color: inherit; }
.verif-ok p, .verif-ko p { margin: 0; }
.verif-ok .ico, .verif-ko .ico { width: 32px; height: 32px; flex: none; }
.carte-compte { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border: 1px solid var(--bordure); border-radius: 14px; padding: 16px 20px; background: var(--surface); }
.carte-compte > div { flex: 1 1 220px; display: grid; gap: 2px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #002E7A; color: #fff; display: grid; place-items: center; font-family: var(--titre); font-weight: 700; font-size: 1.15rem; }
.grille-att { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
details.copie { border: 1px solid var(--bordure); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; background: var(--surface); }
details.copie summary { cursor: pointer; }
details.copie[open] summary { margin-bottom: 12px; }
.correction { display: grid; gap: 12px; margin-top: 16px; max-width: 560px; }
.correction .bouton { justify-self: start; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .verif-ok { background: #0B3A30; color: #C9F5E8; border-color: #1C6B57; } }
:root[data-theme="dark"] .verif-ok { background: #0B3A30; color: #C9F5E8; border-color: #1C6B57; }
@media (max-width: 720px) { .lien-connexion { display: none; } }

/* =====================================================================
 * Mouvement : entrée des pages, accueil animé, apparition des sections
 * Tout est visible par défaut ; les animations ne font qu'accompagner.
 * ===================================================================== */
@keyframes nexa-entree { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes nexa-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes nexa-pose { from { opacity: 0; translate: 0 36px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes nexa-trait { from { background-size: 0 .16em; } to { background-size: 100% .16em; } }
@keyframes nexa-halo { 0%, 100% { opacity: .55; scale: 1; } 50% { opacity: .9; scale: 1.08; } }

#app.entree > * { animation: nexa-entree .42s cubic-bezier(.2, .7, .2, 1) both; }
#app.entree > *:nth-child(2) { animation-delay: .06s; }
#app.entree > *:nth-child(3) { animation-delay: .12s; }

.c-hero { position: relative; overflow: hidden; }
.c-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 200, .22), rgba(0, 200, 200, 0) 65%); animation: nexa-halo 9s ease-in-out infinite; pointer-events: none; }
.c-hero h1 span { background-image: linear-gradient(90deg, #00C8C8, #00C8C8); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .16em;
  animation: nexa-trait 1s .5s cubic-bezier(.2, .7, .2, 1) both; }
.collage .tuile-cours, .collage .flottant { animation: nexa-pose .8s cubic-bezier(.2, .7, .2, 1) both; }
.collage .t1 { animation-delay: .15s; }
.collage .t2 { animation-delay: .3s; }
.collage .t3 { animation-delay: .45s; }
.collage .f1 { animation: nexa-pose .7s .8s cubic-bezier(.2, .7, .2, 1) both, nexa-flotte 6s 1.6s ease-in-out infinite; }
.collage .f2 { animation: nexa-pose .7s 1s cubic-bezier(.2, .7, .2, 1) both, nexa-flotte 7s 1.8s ease-in-out infinite; }

/* Apparition au défilement : la classe n'est posée que si le navigateur sait la retirer */
.revele { transition: opacity .6s cubic-bezier(.2, .7, .2, 1), translate .6s cubic-bezier(.2, .7, .2, 1); }
.revele.attente { opacity: 0; translate: 0 26px; }
.chiffres-c strong { font-variant-numeric: tabular-nums; }

/* Cartes de cours plus vivantes */
.cours-visuel .couv { transition: scale .5s cubic-bezier(.2, .7, .2, 1); }
.cours:hover .cours-visuel .couv { scale: 1.06; }
.cours::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s; pointer-events: none; }
.cours:hover::after, .cours:focus-visible::after { box-shadow: inset 0 0 0 2px #00C8C8; }
.metier { transition: transform .25s, box-shadow .25s; }
.metier:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }

@media (prefers-reduced-motion: reduce) {
  .revele.attente { opacity: 1; translate: none; }
  .c-hero::before { display: none; }
}

/* ================= Communauté, entreprise, reprise ================= */
.forum-form { display: grid; gap: 10px; margin: 8px 0 18px; }
.forum-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--surface); color: inherit; resize: vertical; }
.forum-form textarea:focus { outline: 2px solid #00C8C8; outline-offset: 1px; }
.forum-form .bouton, .forum-form .btn-petit { justify-self: start; }
.fil-q { border: 1px solid var(--bordure); border-radius: 14px; padding: 16px 18px; margin-top: 14px; background: var(--surface); }
.fil-r { margin: 10px 0 0 18px; padding-left: 16px; border-left: 2px solid var(--bordure); }
.msg + .msg { margin-top: 12px; }
.msg-tete { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.msg-tete .btn-petit { margin-left: auto; }
.msg p { margin: 6px 0 0; white-space: pre-line; }
.msg.equipe .msg-tete b { color: var(--accent); }
.code-org { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .08em; background: var(--accent-clair); color: var(--accent); padding: 2px 8px; border-radius: 6px; }
.reprise { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 24px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--bordure); color: var(--texte); text-decoration: none; box-shadow: 0 8px 28px rgba(0, 23, 60, .07); transition: transform .2s, box-shadow .2s; }
.reprise:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.reprise .couv { width: 150px; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; display: block; }
.reprise > div { display: grid; gap: 4px; }
.reprise .surtitre { margin: 0; }
.reprise strong { font-family: var(--titre); font-size: 1.05rem; }
.reprise > .ico { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 640px) { .reprise { grid-template-columns: 1fr; } .reprise .couv { width: 100%; } .reprise > .ico { display: none; } }

.video-lecon { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000B26; }
.video-lecon iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================================================================
 * Catalogue v2 : secteurs, module en cinq étapes, vidéo de synthèse, certificats
 * ===================================================================== */
.puce-meta .picto { width: 16px; height: 16px; }
.picto { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carte-inscription .plein { width: 100%; justify-content: center; }
.inclus { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.inclus li { display: flex; gap: 10px; align-items: center; }
.inclus .ico { color: var(--turq-texte); }
.conditions { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.conditions li { display: flex; gap: 10px; }
.conditions .ico { color: var(--turq-texte); margin-top: 3px; flex: none; }
.info ul { margin: 0; padding-left: 18px; font-size: 0.92rem; color: var(--discret); }
.programme .num.fait { background: var(--turquoise); color: #001A4D; }
.programme .contenu p { margin: 0 0 8px; font-size: 0.93rem; }
.epreuve-ligne .num { background: #000B26 !important; color: #00C8C8 !important; }

.secteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.secteur-carte { display: grid; gap: 8px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--bordure); text-decoration: none; color: var(--texte); transition: transform .2s, box-shadow .2s, border-color .2s; }
.secteur-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); border-color: #00C8C8; }
.secteur-carte h3 { font-size: 1rem; margin: 0; }
.secteur-carte .picto { width: 22px; height: 22px; }
.etapes-module { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.etapes-module > div { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 18px; }
.etapes-module .picto { width: 34px; height: 34px; color: var(--accent); }
.etapes-module h3 { font-size: 1rem; margin: 10px 0 6px; }
.etapes-module p { margin: 0; font-size: 0.9rem; color: var(--discret); }
@media (max-width: 900px) { .etapes-module { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Certificat de réussite (identité Nexus Académie) */
.certificat { position: relative; background: #FFFFFF; color: #0B1736; border: 1px solid #D6DEEC; border-radius: 6px; padding: 34px 32px 26px; text-align: center; box-shadow: 0 18px 40px rgba(0, 26, 77, .14); overflow: hidden; max-width: 640px; margin-inline: auto; }
.certificat::before { content: ""; position: absolute; inset: 10px; border: 2px solid #002E7A; border-radius: 4px; pointer-events: none; }
.certificat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: #00C8C8; transform: rotate(45deg); opacity: .9; }
.cert-entete { display: grid; justify-items: center; gap: 6px; position: relative; z-index: 1; }
.cert-entete img { height: 64px; width: auto; }
.cert-nexa { font-size: .74rem; color: #5F6772; letter-spacing: .04em; }
.cert-titre { font-family: var(--titre); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #002E7A; font-size: 1.25rem; margin: 18px 0 8px; }
.cert-petit { font-size: .86rem; color: #5F6772; margin: 4px 0; }
.cert-nom { font-family: var(--titre); font-weight: 700; font-size: 1.6rem; margin: 6px 0; color: #0B1736; }
.cert-formation { font-family: var(--titre); font-weight: 700; color: #002E7A; font-size: 1.05rem; margin: 8px auto; max-width: 46ch; }
.cert-niveau { font-size: .84rem; color: #3B4F82; margin: 4px 0 18px; }
.cert-pied { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: .74rem; color: #5F6772; border-top: 1px solid #E1E7F0; padding-top: 14px; }
.cert-pied b { color: #0B1736; font-size: .82rem; font-family: ui-monospace, Menlo, monospace; }
.certificat.apercu > *:not(.cert-voile) { filter: blur(1.5px); opacity: .55; }
.cert-voile { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; z-index: 2; background: rgba(255, 255, 255, .55); color: #002E7A; padding: 20px; }
.cert-voile .ico { width: 34px; height: 34px; }
.cert-voile span { font-size: .85rem; max-width: 36ch; color: #3B4F82; }
.cert-apercu { margin-top: 24px; }
.certificat-page .certificat { max-width: 760px; }
.statut-cert { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border: 1px solid var(--bordure); border-radius: var(--r); padding: 16px 18px; background: var(--surface); }
.statut-cert > div { flex: 1 1 260px; display: grid; gap: 4px; }
.statut-cert > .ico { width: 28px; height: 28px; color: var(--discret); }
.statut-cert.attente { border-color: #F2C94C; background: #FFFBEA; }
.statut-cert.attente > .ico { color: #B7791F; }
.statut-cert.ok { border-color: #A8E6D4; background: #E6FAF5; }
.statut-cert.ok > .ico { color: #1E7A4C; }
:root[data-theme="dark"] .statut-cert.attente, :root[data-theme="dark"] .statut-cert.ok { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .statut-cert.attente, :root:not([data-theme="light"]) .statut-cert.ok { background: var(--surface); } }
@media print {
  body * { visibility: hidden; }
  .certificat-page, .certificat-page * { visibility: visible; }
  .certificat-page { position: absolute; inset: 0; }
  .certificat { box-shadow: none; }
}

/* Module */
.module-tete { padding: 24px 0 8px; }
.module-tete h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 6px 0 10px; }
.module-tete .surtitre { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.module-objectif { margin: 0 0 8px; max-width: 75ch; }
.module-tache { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-clair); color: var(--texte); border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; max-width: 80ch; }
.module-tache .ico { color: var(--accent); margin-top: 3px; flex: none; }
.lecteur-principal { padding: 0 clamp(16px, 4vw, 48px) 56px; min-width: 0; }
.onglets-module a.onglet { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.onglets-module a.onglet.fait .ico { color: var(--turq-texte); }
.module-suite { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--bordure); display: flex; justify-content: flex-end; }
.sommaire-liste .inactif { display: flex; gap: 12px; align-items: center; padding: 10px 12px; color: var(--discret); font-size: .88rem; }
.sommaire-liste small { display: block; font-size: .74rem; }
.sommaire .jauge-texte { font-size: .8rem; }

/* Vidéo de synthèse */
.lecteur-video { border-radius: 14px; overflow: hidden; background: #000B26; box-shadow: 0 16px 40px rgba(0, 11, 38, .3); }
.scene { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(130deg, #00173C 0%, #002E7A 60%, #0A55C2 100%); color: #FFFFFF; }
.scene-fond .rubans { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.scene-visuel { position: absolute; left: 6%; top: 12%; width: 34%; height: 70%; display: grid; place-items: center; }
.scene-visuel .visuel { width: 74%; aspect-ratio: 1; border-radius: 26%; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.scene-visuel .picto { width: 62%; height: 62%; color: #002E7A; stroke-width: 1.3; }
.legende-visuel { position: absolute; bottom: -2%; left: 0; right: 0; text-align: center; font-size: clamp(.6rem, 1.3vw, .8rem); color: #BCCBE8; }
.scene-textes { position: absolute; left: 46%; right: 6%; top: 16%; display: grid; gap: clamp(6px, 1.4vw, 14px); }
.scene-textes p { margin: 0; font-family: var(--titre); font-weight: 700; font-size: clamp(.9rem, 2.4vw, 1.6rem); line-height: 1.2; opacity: 0; }
.scene-textes p:first-child { font-size: clamp(1rem, 2.9vw, 2rem); color: #FFFFFF; }
.scene-mots { position: absolute; left: 46%; right: 6%; bottom: 14%; display: flex; flex-wrap: wrap; gap: 8px; }
.scene-mots span { background: #00C8C8; color: #001A4D; font-weight: 800; font-size: clamp(.62rem, 1.5vw, .9rem); padding: 5px 12px; border-radius: 999px; opacity: 0; text-transform: uppercase; letter-spacing: .06em; }
.scene.joue .scene-textes p { animation: nexa-ligne .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.scene.joue .scene-mots span { animation: nexa-pose .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.scene.joue .visuel { animation-name: nexa-zoom; animation-timing-function: ease-out; animation-fill-mode: both; }
.scene.joue .visuel.glisse { animation-name: nexa-glisse; }
.scene.joue .visuel.flotte { animation-name: nexa-flotte-v; }
@keyframes nexa-ligne { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes nexa-zoom { from { scale: .86; opacity: 0; } 12% { opacity: 1; } to { scale: 1.06; opacity: 1; } }
@keyframes nexa-glisse { from { translate: -18px 0; opacity: 0; } 12% { opacity: 1; } to { translate: 14px 0; opacity: 1; } }
@keyframes nexa-flotte-v { from { translate: 0 10px; opacity: 0; } 12% { opacity: 1; } to { translate: 0 -10px; opacity: 1; } }
.scene-ouverture, .scene-fin { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; background: linear-gradient(130deg, rgba(0, 23, 60, .92), rgba(0, 46, 122, .86)); z-index: 3; }
.scene-ouverture strong, .scene-fin strong { font-family: var(--titre); font-size: clamp(1.1rem, 3vw, 2rem); max-width: 28ch; }
.scene-type { color: #00C8C8; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }
.scene-duree { color: #BCCBE8; font-size: .85rem; }
.scene .lire { width: 76px; height: 76px; border-radius: 50%; border: 0; background: #00C8C8; color: #001A4D; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(0, 200, 200, .2); transition: transform .2s; }
.scene .lire:hover { transform: scale(1.06); }
.scene .lire .ico { width: 34px; height: 34px; }
.sous-titre-video { margin: 0; min-height: 3.2em; padding: 12px 16px; background: #000B26; color: #E6ECF7; font-size: .95rem; line-height: 1.45; }
.controles-video { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #00173C; color: #FFFFFF; flex-wrap: wrap; }
.controles-video button { background: rgba(255, 255, 255, .08); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; min-width: 40px; height: 36px; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; }
.controles-video button.principal { background: #00C8C8; color: #001A4D; border-color: #00C8C8; }
.controles-video .bascule { font-size: .8rem; padding: 0 10px; font-weight: 700; }
.controles-video .bascule[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }
.frise { flex: 1 1 140px; display: flex; gap: 4px; }
.frise i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.frise i.vu { background: #00C8C8; }
.frise i.en-cours { background: #FFFFFF; }
.compteur-seq { font-size: .8rem; color: #BCCBE8; font-variant-numeric: tabular-nums; }
.bloc-video .legende { margin-top: 12px; }
.script-video { margin-top: 14px; border: 1px solid var(--bordure); border-radius: 10px; padding: 12px 16px; background: var(--surface); }
.script-video summary { cursor: pointer; font-weight: 600; }
.script-video li { margin-bottom: 10px; }
.script-video li p { margin: 0 0 4px; }
.video-tournee { margin-bottom: 22px; }
.h-complement { font-size: 1.05rem; margin: 18px 0 10px; }
@media (max-width: 640px) {
  .scene-visuel { left: 4%; width: 36%; }
  .scene-textes { left: 44%; top: 10%; }
  .scene-mots { left: 44%; bottom: 8%; }
}
@media (prefers-reduced-motion: reduce) { .scene-textes p, .scene-mots span { opacity: 1; } }

/* Leçon, résumé, exercices */
.lecon { max-width: 78ch; }
.section-lecon.approfondi { border-left: 4px solid #19c3c0; padding-left: 18px; }
/* Sons et célébrations */
.bouton-son { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(11,23,54,.15); background: transparent; color: inherit; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .78rem; cursor: pointer; }
.bouton-son .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bouton-son.discret { border-color: transparent; opacity: .75; }
body.celeb-ouverte { overflow: hidden; }
.celeb { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(0,23,60,.72); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.celeb.visible { opacity: 1; }
.celeb-confettis { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.celeb-carte { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: #0B1736; border-radius: 22px; padding: 30px 24px 18px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(18px) scale(.97); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); }
.celeb.visible .celeb-carte { transform: none; }
.celeb.ok .celeb-carte { background: linear-gradient(180deg, #F2FBFF 0%, #fff 42%); }
.celeb-fermer { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: #5B6B85; cursor: pointer; }
.celeb-sur { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #5B6B85; font-weight: 600; }
.celeb-anneau { position: relative; width: 150px; height: 150px; margin: 14px auto 6px; }
.celeb-anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.celeb-anneau circle { fill: none; stroke-width: 10; }
.celeb-anneau .fond { stroke: #E6ECF5; }
.celeb-anneau .trait { stroke: url(#none); stroke: #0A55C2; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.3,.8,.3,1); }
.celeb.ok .celeb-anneau .trait { stroke: #12A150; }
.celeb.ko .celeb-anneau .trait { stroke: #F2B705; }
.celeb-valeur { position: absolute; inset: 0; display: grid; place-content: center; }
.celeb-valeur b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.celeb-valeur span { font-size: .85rem; color: #5B6B85; margin-top: 4px; }
.celeb-medaille { position: absolute; right: 2px; bottom: 6px; width: 40px; height: 40px; border-radius: 50%; background: #12A150; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(18,161,80,.4); animation: celeb-pop .5s .9s both cubic-bezier(.2,.9,.3,1.4); }
.celeb-medaille svg { width: 22px; height: 22px; }
@keyframes celeb-pop { from { transform: scale(0); } to { transform: scale(1); } }
.celeb h2 { margin: 10px 0 4px; font-size: 1.45rem; line-height: 1.25; }
.celeb-mention { display: inline-block; margin: 4px 0; padding: 3px 12px; border-radius: 999px; background: rgba(18,161,80,.12); color: #0E7A3E; font-weight: 700; font-size: .85rem; }
.celeb-titre { margin: 8px 0 0; color: #3D4B63; font-size: .92rem; }
.celeb-lignes { list-style: none; padding: 0; margin: 14px 0 0; text-align: left; display: grid; gap: 6px; font-size: .86rem; color: #3D4B63; }
.celeb-lignes li { padding: 8px 12px; background: #F4F7FB; border-radius: 10px; }
.celeb-actions { display: grid; gap: 8px; margin-top: 18px; }
.celeb-actions .bouton { width: 100%; justify-content: center; }
.celeb-pied { margin-top: 10px; }
.module-son { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .celeb, .celeb-carte, .celeb-anneau .trait { transition: none; } .celeb-medaille { animation: none; } }

.prix-unite { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: .86rem; color: var(--gris, #5B6B82); }
.prix-unite s { opacity: .75; }
.prix-unite b { color: var(--encre, #0B1F3A); font-weight: 700; }
.prix-unite em { font-style: normal; font-size: .74rem; font-weight: 600; color: #12805C; background: rgba(18,161,80,.1); border-radius: 999px; padding: 1px 7px; }
.cours-prix { margin-top: 10px; }
.bq-prix { margin-top: 6px; font-size: .8rem; }
.tf2-unite { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; font-size: .92rem; }
.prix-unite.grand { font-size: 1rem; justify-content: center; }
.prix-unite.grand b { font-size: 1.45rem; }
.achat-unite { margin: 14px 0 4px; padding: 14px; border: 1px solid rgba(11,31,58,.12); border-radius: 12px; text-align: center; }
.achat-unite .achat-titre { margin: 0 0 6px; font-weight: 600; font-size: .9rem; }
.achat-unite .achat-note { margin: 8px 0; font-size: .78rem; color: var(--gris, #5B6B82); line-height: 1.45; }
.achat-unite .bouton { margin-top: 4px; }
.badge-inter { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0A55C2; margin-bottom: 6px; }
.badge-inter .ico { width: 16px; height: 16px; }
.bandeau-inter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 16px; padding: 10px 14px; border: 1px solid var(--bordure); border-radius: var(--r); background: var(--fond); }
.bandeau-inter .bi-lib { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--texte-doux, #5b6475); }
.bandeau-inter .bi-lib .ico { width: 18px; height: 18px; color: var(--turquoise, #19c3c0); }
.bandeau-inter .bi-noms { display: flex; flex-wrap: wrap; gap: 6px; }
.bandeau-inter .bi-noms b { font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--bordure); }
.fiche-cours .fc-resultats { margin: 12px 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.fiche-cours .fc-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fiche-cours .fc-grille > div { text-align: left; border: 1px solid var(--bordure); border-radius: var(--r); padding: 12px 14px; }
.fiche-cours .fc-grille h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 6px; }
.fiche-cours .fc-titre { margin: 8px 0 0; font-size: 1.05rem; }
.fiche-cours .fc-lexique { margin: 12px 0; border: 1px solid var(--bordure); border-radius: var(--r); padding: 10px 14px; }
.fiche-cours .fc-lexique table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .92rem; }
.fiche-cours .fc-lexique td, .fiche-cours .fc-lexique th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--bordure); }
.cours-tag.inter { display: inline-flex; align-items: center; gap: 5px; background: #0b1f4d; color: #fff; }
.cours-tag.inter .ico { width: 14px; height: 14px; color: var(--turquoise, #19c3c0); }
.synthese-points { margin-top: 18px; border: 1px solid var(--bordure); border-radius: var(--r); padding: 14px 18px; }
.synthese-points ol { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.exos-complementaires { margin-top: 24px; border: 1px solid var(--bordure); border-radius: var(--r); padding: 10px 14px; }
.exos-complementaires .exo-comp { border-top: 1px solid var(--bordure); padding: 10px 0; }
.reperes-inter { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.reperes-inter li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--bordure); border-radius: var(--r); padding: 12px 14px; background: var(--fond); }
.reperes-inter li .ico { flex: none; width: 20px; height: 20px; color: var(--turquoise, #19c3c0); margin-top: 2px; }
.section-lecon { margin-bottom: 30px; }
.section-lecon h2 { font-size: 1.3rem; margin-bottom: 12px; }
.section-lecon p { line-height: 1.7; }
.section-lecon.intro p:first-child { font-size: 1.08rem; }
.objectifs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.objectifs li { display: flex; gap: 10px; }
.objectifs .ico { color: var(--turq-texte); flex: none; margin-top: 4px; }
.encadre-cle { border-left: 4px solid #00C8C8; background: var(--turq-clair); color: var(--texte); border-radius: 0 10px 10px 0; padding: 12px 16px; margin-top: 14px; }
.encadre-cle ul { margin: 6px 0 0; padding-left: 18px; }
.methode { background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.methode h3 { font-size: 1rem; margin: 0 0 8px; }
.methode ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.exemple, .situation { background: var(--fond-2); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.exemple h3, .situation h3 { font-size: 1rem; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.situation details { margin-top: 8px; }
.situation summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.deux-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.deux-col li { display: flex; gap: 10px; font-size: .95rem; }
.erreurs { background: var(--alerte-clair); border-radius: 12px; padding: 16px 18px; }
.erreurs .ico { color: var(--alerte); flex: none; margin-top: 3px; }
.pratiques { background: var(--ok-clair); border-radius: 12px; padding: 16px 18px; }
.pratiques .ico { color: var(--ok); flex: none; margin-top: 3px; }
.erreurs h2, .pratiques h2 { font-size: 1.05rem; }
@media (max-width: 760px) { .deux-col { grid-template-columns: minmax(0, 1fr); } }
.case-lu { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding: 14px 16px; border: 2px dashed var(--bordure); border-radius: 12px; font-weight: 600; cursor: pointer; }
.case-lu input { width: 20px; height: 20px; accent-color: #00A3A3; }
.resume-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.resume-bloc { background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 16px 18px; }
.resume-bloc.fort { border-color: #00C8C8; box-shadow: inset 4px 0 0 #00C8C8; }
.resume-bloc h3 { font-size: 1rem; display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.resume-bloc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .94rem; }
.exo { background: var(--surface); border: 1px solid var(--bordure); border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.exo.fait { border-color: #A8E6D4; }
.exo-tete { display: grid; gap: 6px; margin-bottom: 8px; }
.exo-tete h2 { font-size: 1.15rem; margin: 0; }
.exo h3 { font-size: .98rem; margin: 14px 0 6px; }
.exo details { margin-top: 12px; border-top: 1px solid var(--bordure); padding-top: 10px; }
.exo summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.corrige { background: var(--ok-clair); border-radius: 10px; padding: 12px 16px; margin-top: 10px; }
table.bareme { margin-top: 10px; }
table.donnees td, table.donnees th { font-size: .88rem; }
.eval-tete { margin-bottom: 18px; }
.eval-tete p { margin: 8px 0 0; }
.champ-nombre { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.champ-nombre input { font: inherit; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 8px; width: 200px; background: var(--fond); color: inherit; }
.unite { color: var(--discret); font-weight: 600; }
.probleme .enonce p { margin: 0 0 6px; }

/* Épreuves */
.objectifs-ep { margin: 18px 0; border: 1px solid var(--bordure); border-radius: 10px; padding: 12px 16px; background: var(--surface); }
.objectifs-ep summary { cursor: pointer; font-weight: 700; }
.mission .objectifs-ep { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #E6ECF7; }
.liste-etat { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.liste-etat li { display: flex; gap: 10px; align-items: center; }
.liste-etat li a { margin-left: auto; font-weight: 600; }
.liste-etat li.ok .ico { color: var(--turq-texte); }
.doc-texte, .doc-tableau { background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 16px 18px; margin: 14px 0; }
.doc-texte h3, .doc-tableau h3 { font-size: 1rem; margin: 0 0 8px; }
.note-finale.ok { border-color: #A8E6D4; }
.note-finale.ko { border-color: #F4C2C2; }

/* Espace étudiant */
.carte-suivi { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--bordure); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.cs-visuel .couv { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; display: block; }
.cs-corps h3 { margin: 2px 0 8px; font-size: 1.1rem; }
.cs-corps h3 a { color: var(--texte); text-decoration: none; }
.etiquette-statut { display: inline-block; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--discret); margin-bottom: 8px; }
.etiquette-statut.attente { background: #FFF3C4; color: #8A5A00; }
.etiquette-statut.ok { background: #DDF7EE; color: #0B4F3C; }
.mini-modules { list-style: none; padding: 0; margin: 10px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.mini-modules li { min-width: 46px; padding: 4px 6px; border-radius: 8px; background: var(--surface-2); display: flex; gap: 4px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--discret); }
.mini-modules li.ok { background: #00C8C8; color: #001A4D; }
.mini-modules li.encours { background: var(--accent-clair); color: var(--accent); }
.mini-modules .ico { width: 13px; height: 13px; }
@media (max-width: 700px) { .carte-suivi { grid-template-columns: minmax(0, 1fr); } }
.scene-ouverture[hidden], .scene-fin[hidden] { display: none; }
.scene-fin .bouton.secondaire { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }


/* ===== NEXA interactif (ajout 2026-10) : leçons participatives, exercices pratiques, lecteur vidéo, épreuves ===== */
.lecon-barre { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 5; background: var(--fond); border: 1px solid var(--bordure); border-radius: var(--r); padding: 12px 16px; margin: 0 0 22px; box-shadow: var(--ombre); }
.lecon-avance { display: grid; gap: 4px; flex: 1 1 260px; min-width: 0; }
.lecon-avance .surtitre { margin: 0; }
.barre-fine { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.barre-fine i { display: block; height: 100%; background: var(--turq-texte); border-radius: 999px; transition: width .4s ease; }
.lecon-suite { margin: 26px 0 10px; }
.lecon-attente { display: flex; gap: 8px; align-items: center; margin-top: 18px; }

.interaction { border: 2px solid var(--accent-clair); background: var(--surface); border-radius: var(--r); padding: 18px 20px; margin: 22px 0; scroll-margin-top: 130px; }
.interaction.terminee { border-color: var(--bordure); }
.it-tete { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.it-tete h3 { margin: 6px 0 0; font-size: 1.05rem; }
.it-formateur { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-clair); color: var(--accent); }
.it-formateur .ico { width: 20px; height: 20px; }
.it-contexte p:first-child { margin-top: 0; }
.it-support { margin: 12px 0; }
.it-question { font-weight: 700; margin: 12px 0 10px; }
.interaction .choix label, .exo-champ .choix label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--bordure); border-radius: 10px; cursor: pointer; background: var(--fond); }
.interaction .choix label:hover, .exo-champ .choix label:hover { border-color: var(--accent); }
.interaction .choix input, .exo-champ .choix input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent); }
.interaction .choix label.juste, .interaction .choix label.choisie.juste { border-color: var(--ok); background: var(--ok-clair); }
.interaction .choix label.acceptable, .interaction .choix label.choisie.acceptable { border-color: var(--alerte); background: var(--alerte-clair); }
.interaction .choix label.faux, .interaction .choix label.choisie.faux { border-color: var(--ko); background: var(--ko-clair); }
.interaction .choix label.oubliee { border-style: dashed; border-color: var(--ok); }
.interaction .choix label.attendue { border-color: var(--ok); }
.it-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.retour-it { margin-top: 14px; padding: 14px 16px; border-radius: 10px; border-left: 4px solid var(--discret); background: var(--surface-2); color: var(--texte); }
.retour-it > strong { display: block; margin-bottom: 4px; font-family: var(--titre); }
.retour-it p { margin: 6px 0; }
.retour-it.juste { border-left-color: var(--ok); background: var(--ok-clair); }
.retour-it.acceptable { border-left-color: var(--alerte); background: var(--alerte-clair); }
.retour-it.faux { border-left-color: var(--ko); background: var(--ko-clair); }
.retour-it ul, .retour-it ol { margin: 6px 0; padding-left: 20px; }
.retour-it li.ok { color: var(--ok); }
.retour-it li.ko { color: var(--ko); }
.retour-it details { margin-top: 8px; }
.retour-it summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.it-explication { font-style: italic; }
.it-rappel { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--fond); border: 1px dashed var(--bordure); }
.it-rappel b { display: block; }
.it-classement { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: it; }
.it-classement li { counter-increment: it; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--fond); }
.it-classement li > span:first-child::before { content: counter(it) ". "; font-weight: 800; color: var(--accent); }
.it-classement li.juste { border-color: var(--ok); background: var(--ok-clair); }
.it-classement li.faux { border-color: var(--ko); background: var(--ko-clair); }
.it-fleches { display: flex; gap: 6px; flex: 0 0 auto; }
.it-fleches button { font: inherit; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--bordure); background: var(--surface); color: var(--accent); cursor: pointer; }
.it-fleches button:disabled { opacity: .35; cursor: default; }
.it-assoc { display: grid; gap: 8px; }
.it-paire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--fond); }
.it-paire select { font: inherit; padding: 8px; border-radius: 8px; border: 1px solid var(--bordure); background: var(--surface); color: inherit; min-width: 0; width: 100%; }
.it-paire.juste { border-color: var(--ok); background: var(--ok-clair); }
.it-paire.faux { border-color: var(--ko); background: var(--ko-clair); }
@media (max-width: 560px) { .it-paire { grid-template-columns: 1fr; } }
.it-scenario { display: grid; gap: 12px; }
.it-noeud { padding: 12px 14px; border-radius: 10px; background: var(--fond); border: 1px solid var(--bordure); }
.it-noeud p:first-child { margin-top: 0; }
.it-choix-scen { display: grid; gap: 8px; margin-top: 10px; }
.it-choix-scen .btn-petit { text-align: left; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.it-trace { margin: 8px 0 0; }
.reflexion { min-height: 90px; margin: 8px 0; }
.bilan-lecon { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--alerte); border-radius: var(--r); padding: 18px 20px; background: var(--alerte-clair); }
.bilan-lecon.ok { border-color: var(--ok); background: var(--ok-clair); }
.bilan-lecon h2 { margin-top: 0; }

.espace-travail { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--bordure); }
.espace-travail > .surtitre { display: flex; gap: 6px; align-items: center; margin: 0 0 10px; }
.exo-champ { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: var(--fond); border: 1px solid var(--bordure); }
.exo-champ.ok { border-color: var(--ok); }
.exo-champ.ko { border-color: var(--ko); }
.exo-libelle { display: block; font-weight: 700; margin-bottom: 4px; }
.exo-champ.ok .exo-libelle { color: var(--ok); }
.exo-champ.ko .exo-libelle { color: var(--ko); }
.exo-champ textarea { min-height: 160px; margin-top: 6px; }
.exo-champ .mots { display: block; font-size: .8rem; color: var(--discret); margin-top: 4px; }
.exo-indice { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--alerte-clair); color: var(--texte); font-size: .92rem; }
.exo-indice.bloc ul { margin: 4px 0 0; padding-left: 18px; }
.exo-solution { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--ok-clair); font-size: .92rem; }
.exo-grille input { font: inherit; width: 100%; min-width: 80px; padding: 6px 8px; border: 1px solid var(--accent); border-radius: 6px; background: var(--fond); color: inherit; text-align: right; }
.exo-grille td.cellule-saisie { background: var(--accent-clair); }
.exo-grille td.cellule-saisie.ok input { border-color: var(--ok); background: var(--ok-clair); }
.exo-grille td.cellule-saisie.ko input { border-color: var(--ko); background: var(--ko-clair); }
.exo-grille td.cellule-saisie small { display: block; text-align: right; color: var(--ok); font-weight: 700; }
.exo-resolution { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); border: 2px solid var(--ok); background: var(--surface); }
.exo-resolution h3 { margin-top: 0; }
.exo-resolution .etapes-resolution { padding-left: 22px; }
.exo-resolution .etapes-resolution li { margin: 4px 0; }
.exo-tete { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.exo-tete h2 { flex: 1 1 260px; }
.etiquette-statut.consultee { background: var(--ko-clair); color: var(--ko); }

/* Lecteur vidéo */
.reglages-video { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 10px 12px; background: #00173C; color: #E6ECF7; border-top: 1px solid rgba(255, 255, 255, .12); }
.reglages-video label { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; }
.reglages-video select { font: inherit; font-size: .85rem; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: #0B2350; color: #FFFFFF; max-width: 260px; }
.reglages-video .btn-petit.clair { color: #E6ECF7; border-color: rgba(255, 255, 255, .3); }
.reglages-video .btn-petit.clair[aria-pressed="true"] { background: rgba(0, 200, 200, .25); border-color: #00C8C8; }
.info-voix { margin: 0; padding: 8px 12px; background: #00173C; color: #BCCBE8; }
.lecteur-video.sans-st .sous-titre-video { display: none; }
.video-quitter { display: none; position: absolute; top: 10px; right: 10px; z-index: 4; font: inherit; font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 11, 38, .7); color: #FFFFFF; cursor: pointer; }
.lecteur-video.agrandie .video-quitter, .lecteur-video:fullscreen .video-quitter { display: block; }
body.video-agrandie .lecteur { grid-template-columns: minmax(0, 1fr); }
body.video-agrandie .sommaire { display: none; }
.lecteur-video.agrandie { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 8px) 8px calc(env(safe-area-inset-bottom, 0px) + 8px) 8px; z-index: 50; overflow: auto; display: flex; flex-direction: column; }
.lecteur-video.agrandie .scene { flex: 1 1 auto; aspect-ratio: auto; min-height: 50vh; }
.lecteur-video:fullscreen { display: flex; flex-direction: column; background: #000B26; }
.lecteur-video:fullscreen .scene { flex: 1 1 auto; aspect-ratio: auto; }

/* Épreuves */
.composition-ep { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.composition-ep ul { margin: 6px 0 0; padding-left: 18px; }
.sauvegarde-ep { display: inline-flex; gap: 6px; align-items: center; color: var(--ok); }
.estimation-ep { margin: 6px 0 0; }
@media (prefers-reduced-motion: reduce) { .barre-fine i { transition: none; } }

/* Leçon vidéo interactive : la question du formateur s'affiche dans la vidéo */
.scene-question { display: none; }
.scene.en-question { aspect-ratio: auto; min-height: 0; overflow: visible; }
.scene.en-question .scene-visuel, .scene.en-question .scene-textes, .scene.en-question .scene-mots { display: none; }
.scene.en-question .scene-question { display: block; position: relative; z-index: 2; padding: clamp(12px, 3vw, 28px); }
.scene-question .interaction { margin: 0; background: var(--surface); color: var(--texte); border-color: #00C8C8; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.sq-bandeau { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 12px; font-size: .9rem; color: #E6ECF7; }
.sq-pause { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #00C8C8; color: #001A4D; font-weight: 800; font-size: .8rem; letter-spacing: .03em; }
.scene.detour .sq-bandeau::after { content: "Je reprends ce point avec vous"; padding: 4px 10px; border-radius: 999px; background: #FFB020; color: #1A1200; font-weight: 700; font-size: .8rem; }
.sq-suite { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.sq-suite .bouton.secondaire, .sf-actions .bouton.secondaire { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
.frise i.q { flex: 0 0 12px; height: 12px; margin-top: -3px; border-radius: 3px; transform: rotate(45deg); background: #FFB020; }
.frise i.q.vu { background: #00C8C8; }
.frise i.q.en-cours { background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 176, 32, .6); }
.scene-fin .sf-bilan { max-width: 52ch; margin: 0; color: #E6ECF7; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.scene-fin:not([hidden]) { overflow: auto; }
.fiche-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--accent-clair); margin-bottom: 14px; }
.fiche-note p { margin: 0; }
.fiche-cours > summary { cursor: pointer; font-weight: 700; color: var(--accent); padding: 10px 0; }
.fiche-cours .case-lu { display: none; }
@media (max-width: 560px) { .scene.en-question .scene-question { padding: 10px; } .scene-question .interaction { padding: 14px; } }
.lecteur-video.q-active .sous-titre-video { display: none; }
@media (max-width: 560px) { .frise { gap: 2px; } .frise i.q { flex-basis: 8px; height: 8px; margin-top: -1px; } }

/* Offres : abonnement et entreprises */
.offre-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.carte-offre { display: grid; gap: 14px; padding: 26px; border-radius: 16px; border: 1px solid var(--bordure); background: var(--surface); min-width: 0; }
.carte-offre.principale { border: 2px solid var(--accent); box-shadow: var(--ombre); }
.carte-offre h2, .carte-offre p { margin: 0; }
.prix-offre { display: flex; align-items: baseline; gap: 8px; }
.prix-offre b { font-family: var(--titre); font-size: clamp(2.6rem, 7vw, 3.6rem); line-height: 1; color: var(--accent); }
.prix-offre span { font-weight: 700; color: var(--discret); }
.liste-offre { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.liste-offre li { display: flex; gap: 10px; align-items: flex-start; }
.liste-offre .ico { color: var(--turq-texte); flex: 0 0 auto; margin-top: 2px; }
.etapes-ent { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.etapes-ent li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.etapes-ent b { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #FFFFFF; }
.tarifs-ent { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; margin-bottom: 28px; }
.tarifs-ent h2 { font-size: 1.05rem; }
.tarifs-ent table, .devis table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tarifs-ent th, .tarifs-ent td, .devis td { padding: 8px 10px; border-bottom: 1px solid var(--bordure); text-align: left; }
.tarifs-ent .nombre, .devis .nombre { text-align: right; white-space: nowrap; }
.ent-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.form-ent h2 { margin-top: 8px; }
.secteurs-ent { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.secteurs-ent legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form-ent label.case { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.deux-champs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.lignes-ent { display: grid; gap: 10px; }
.ligne-ent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(70px, .45fr) auto; gap: 10px; align-items: end; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.ligne-ent select { width: 100%; min-width: 0; }
.durees-ent { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.col-devis { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); }
.devis { padding: 20px; border-radius: 16px; border: 2px solid var(--accent); background: var(--surface); }
.devis .surtitre { margin: 0 0 8px; }
.devis tr.sous-total td { font-weight: 700; }
.devis tr.total td { font-weight: 800; font-size: 1.1rem; color: var(--accent); border-bottom: 0; }
.devis .economie { margin: 8px 0; padding: 8px 10px; border-radius: 8px; background: var(--ok-clair); color: var(--ok); font-weight: 700; }
.demandes-ent { margin-top: 32px; display: grid; gap: 14px; }
.carte-demande { display: grid; gap: 10px; padding: 18px; border-radius: 14px; border: 1px solid var(--bordure); background: var(--surface); }
.cd-tete { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; align-items: center; }
.cd-tete strong { display: block; }
@media (max-width: 900px) { .offre-grille, .tarifs-ent, .ent-grille { grid-template-columns: minmax(0, 1fr); } .col-devis { position: static; } .etapes-ent { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .etapes-ent, .deux-champs { grid-template-columns: minmax(0, 1fr); } .ligne-ent { grid-template-columns: minmax(0, 1fr); } }
.ligne-ent label { display: grid; gap: 6px; min-width: 0; font-weight: 600; font-size: .9rem; }
.ligne-ent input, .ligne-ent select { width: 100%; min-width: 0; box-sizing: border-box; }
.form-ent select, .form-ent textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--fond); color: inherit; }
.ligne-ent .btn-petit { align-self: end; }
.tarifs-ent th { white-space: normal; }
@media (max-width: 560px) { .tarifs-ent th, .tarifs-ent td { padding: 7px 6px; font-size: .88rem; } }
.tarifs-ent th.nombre { white-space: normal; }

/* Logo NEXA animé en continu : respiration douce et reflet qui passe */
.marque { position: relative; display: inline-block; overflow: hidden; border-radius: 6px; }
.marque .logo-entete { animation: nexa-respire 4.5s ease-in-out infinite; transform-origin: 30% 60%; }
.marque::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-18deg); animation: nexa-reflet 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes nexa-respire { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-1.5px) scale(1.035); } }
@keyframes nexa-reflet { 0%, 55% { transform: translateX(0) skewX(-18deg); } 85%, 100% { transform: translateX(475%) skewX(-18deg); } } /* transform au lieu de left (11 nov. 2026) : plus de recalcul de la page à chaque image */
@media (prefers-reduced-motion: reduce) { .marque .logo-entete { animation-duration: 9s; } .marque::after { animation: none; } }

/* Rédaction : zone pleine largeur qui s'agrandit avec le texte */
.exo-champ textarea, .espace-travail textarea { display: block; width: 100%; box-sizing: border-box; min-height: 320px; resize: vertical; font: inherit; font-size: 1rem; line-height: 1.65; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); overflow: hidden; }
.exo-champ textarea:focus { outline: 2px solid #00C8C8; outline-offset: 1px; }
.espace-travail .exo-champ:has(textarea) { padding: 14px; }

/* Bandeaux sous l'en-tête */
.bandeau-abo, .avis-mobile { padding: 10px 0; font-size: .92rem; }
.bandeau-abo { background: #FFF2D6; color: #3D2A00; border-bottom: 1px solid #F2C46B; }
.avis-mobile { background: var(--accent-clair); color: var(--texte); border-bottom: 1px solid var(--bordure); }
.bandeau-abo .conteneur, .avis-mobile .conteneur { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.bandeau-abo .conteneur > span, .avis-mobile p { flex: 1 1 260px; margin: 0; }
.avis-actions { display: flex; gap: 8px; }
.bandeau-prototype a { color: inherit; font-weight: 700; }

/* Résumé : téléchargements et récap */
.resume-tete { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.resume-tete .sous-titre { margin: 0; }
.resume-telech { display: flex; flex-wrap: wrap; gap: 10px; }
.lecteur-video.recap { max-width: 760px; margin: 0 auto 26px; border-radius: 14px; overflow: hidden; }
.lecteur-video.recap .controles-video .btn-petit { margin-left: auto; }

/* Accès réservé, application, aperçu */
.acces-requis { max-width: 760px; }
.acces-requis h1 { margin: 4px 0 10px; }
.reco-appareil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
.reco { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 14px; border: 1px solid var(--bordure); background: var(--surface); }
.reco.ok { border: 2px solid var(--turq-texte); }
.reco h2 { margin: 0 0 6px; font-size: 1.1rem; }
.reco p { margin: 0; }
.install-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.install { padding: 18px; border-radius: 14px; background: var(--surface-2); }
.install h3 { margin-top: 0; }
.apercu-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.apercu-grille label.case { display: flex; gap: 10px; align-items: center; font-weight: 400; }
@media (max-width: 760px) { .reco-appareil, .install-grille, .apercu-grille { grid-template-columns: minmax(0, 1fr); } }

/* Contrôle automatique du modèle : libellés lisibles sur fond sombre */
.controles li { color: #FFFFFF; }
.controles .lib { color: #FFFFFF; font-weight: 600; }

/* Tentatives d'épreuve : comparaison, historique, bulletins */
.tentatives-ep { margin-top: 16px; display: grid; gap: 10px; }
.tent-comp { margin: 0; padding: 12px 16px; border-radius: 10px; background: #F3F6FB; color: #0B1736; }
.tent-comp .plus { color: #147846; font-weight: 800; margin-left: 8px; }
.tent-comp .moins { color: #B4281E; font-weight: 800; margin-left: 8px; }
.tentatives-ep summary { cursor: pointer; font-weight: 700; }
.tent-liste { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.tent-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; border: 1px solid #DCE3EE; border-radius: 10px; }
.tent-liste li span { flex: 1 1 200px; min-width: 0; }
.tent-liste b.ok { color: #147846; } .tent-liste b.ko { color: #B4281E; }
.bouton.petit { padding: 6px 12px; font-size: .9rem; }
.attente-ep { display: flex; gap: 8px; align-items: flex-start; max-width: 60ch; }

/* Devis entreprise : secteur et poste sur la première rangée, formation et effectif sur la seconde ;
   « Autre poste » ouvre une rangée pleine pour l'intitulé libre. */
.ligne-ent { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(90px, .5fr) auto; }
.ligne-ent .l-secteur { grid-column: 1; }
.ligne-ent .l-poste { grid-column: 2 / -1; }
.ligne-ent .l-formation { grid-column: 1 / 3; }
.ligne-ent .l-nb { grid-column: 3; }
.ligne-ent .l-plein { grid-column: 1 / -1; }
.ligne-ent select:disabled { opacity: .6; cursor: not-allowed; }
.ligne-ent .ligne-note { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--discret); }
@media (max-width: 560px) {
  .ligne-ent { grid-template-columns: minmax(0, 1fr); }
  .ligne-ent .l-secteur, .ligne-ent .l-poste, .ligne-ent .l-formation, .ligne-ent .l-nb, .ligne-ent .l-plein { grid-column: 1; }
  .ligne-ent .btn-petit { justify-self: start; }
}

/* Tarifs : choix du canal pour joindre un conseiller (offre Entreprise) */
.conseiller-choix { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--bordure); }
.cc-titre { margin: 0 0 2px; font-weight: 700; font-size: .95rem; }
.cc-option { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; min-height: 52px; border-radius: 10px; background: var(--surface); border: 1px solid var(--bordure); color: var(--texte); text-decoration: none; }
a.cc-option:hover, a.cc-option:focus-visible { border-color: var(--accent); }
.cc-option svg { width: 22px; height: 22px; color: var(--accent); }
.cc-option span { display: grid; min-width: 0; }
.cc-option small { color: var(--discret); overflow-wrap: anywhere; }
.cc-option i { font-style: normal; font-weight: 700; color: var(--accent); }
.cc-option.indispo { opacity: .65; }
.cc-note { margin: 2px 0 0; font-size: .85rem; color: var(--discret); }
.conseiller-choix .btn-petit { justify-self: start; }

/* Espaces entreprise et coupons */
.esp-etapes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.esp-etapes li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.esp-etapes b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--sur-accent, #fff); font-size: .9rem; }
.esp-carte { max-width: 720px; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r, 14px); padding: 26px; display: grid; gap: 12px; }
.esp-carte h2 { margin: 0; }
.esp-carte.esp-ok { grid-template-columns: 36px minmax(0, 1fr); align-items: start; border-color: var(--ok); }
.esp-carte.esp-ok > svg { width: 32px; height: 32px; color: var(--ok); }
.coupon-form { display: grid; gap: 8px; }
.coupon-form label { font-weight: 700; }
.coupon-ligne { display: flex; flex-wrap: wrap; gap: 10px; }
.coupon-ligne input { flex: 1 1 220px; min-width: 0; font: 700 1.25rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; }
.esp-resp { margin-top: 28px; }
.gestion-esp { display: grid; gap: 20px; }
.gestion-esp h2 { margin: 12px 0 0; }
.g-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-chiffres div { background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 16px; display: grid; gap: 2px; }
.g-chiffres b { font-size: 1.6rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.g-chiffres span { color: var(--discret); font-size: .9rem; }
.g-partage { background: var(--surface-2); border-radius: 12px; padding: 18px 20px; display: grid; gap: 12px; }
.g-partage h2 { margin: 0; font-size: 1.1rem; }
.g-partage p { margin: 0; overflow-wrap: anywhere; }
.g-attente { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.cd-espace { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; margin-top: 14px; padding: 16px; border-radius: 12px; background: var(--ok-clair); }
.cd-espace > svg { width: 26px; height: 26px; color: var(--ok); }
.cd-espace p { margin: 6px 0; }
@media (max-width: 720px) { .g-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--surface); color: var(--texte); font: inherit; }

/* Console d'administration */
.adm-onglets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.adm-onglets a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); text-decoration: none; font-weight: 600; }
.adm-onglets a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--sur-accent, #fff); }
.adm-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #C2410C; color: #fff; font-size: .8rem; margin-left: 4px; }
.adm-chiffres { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.adm-chiffres a { background: var(--surface); border: 1px solid var(--accent); border-radius: 12px; padding: 16px; display: grid; gap: 2px; text-decoration: none; color: inherit; }
.adm-chiffres a b { font-size: 1.6rem; color: var(--accent); }
.adm-chiffres a span { color: var(--discret); font-size: .9rem; }
.filtres-adm { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-aide { background: var(--surface-2); border-radius: 12px; padding: 18px 22px; }
.adm-aide h2 { margin: 0 0 8px; font-size: 1.1rem; }
.adm-aide ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ----- Exercices un par un (octobre 2026) ----- */
.pas-exos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 18px; scroll-margin-top: 90px; }
.pas-exo { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--bordure); background: var(--fond); color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.pas-exo b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font-size: 13px; }
.pas-exo.courant { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.pas-exo.courant b { background: var(--accent); color: #FFFFFF; }
.pas-exo.fait b { background: var(--ok); color: #FFFFFF; }
.pas-exo.ferme { opacity: .45; cursor: not-allowed; }
.pas-exo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pas-compte { margin-left: auto; font-size: 14px; color: var(--texte-2, #5B6B82); }
.exo-suite { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 18px; }
.champs-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.champs-grille .exo-champ { margin: 8px 0; }
@media (max-width: 640px) { .champs-grille { grid-template-columns: minmax(0, 1fr); } .pas-exo span { display: none; } .pas-exo { padding: 4px; } }

/* ----- Une question à la fois et choix compacts (octobre 2026) ----- */
.q-nav { display: grid; gap: 12px; margin: 16px 0 8px; }
.q-boutons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.q-compte { font-weight: 700; font-size: 15px; }
.q-pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.q-pastilles button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--bordure); background: var(--fond); color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.q-pastilles button.ok { background: var(--accent-clair); border-color: var(--accent); }
.q-pastilles button.juste { background: var(--ok-clair); border-color: var(--ok); }
.q-pastilles button.faux { border-color: var(--ko); color: var(--ko); }
.q-pastilles button[aria-current="step"] { outline: 2px solid var(--accent); outline-offset: 1px; }
.q-pastilles button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.question-quiz .choix, .ex-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.question-quiz .choix label { padding: 8px 12px; margin: 0; }
@media (max-width: 640px) { .question-quiz .choix, .ex-options { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Vidéos de synthèse et récaps : photos de la formation en mouvement ---------- */
.scene-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.scene-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 23, 60, .55) 0%, rgba(0, 30, 80, .62) 38%, rgba(0, 23, 60, .9) 58%, rgba(0, 23, 60, .94) 100%), linear-gradient(0deg, rgba(0, 11, 38, .55), transparent 40%); z-index: 2; }
.scene-photo + .scene-fond .rubans { opacity: .28; }
.sp-calque { position: absolute; inset: 0; animation: sp-fondu 1s ease both; }
.sp-calque > img, .sp-lame img { position: absolute; top: 0; height: 100%; object-fit: cover; will-change: transform; }
.sp-calque > img { left: 0; width: 100%; }
.sp-calque.kb-zoom > img { animation: sp-zoom var(--d) ease-out both; }
.sp-calque.kb-recul > img { animation: sp-recul var(--d) ease-out both; }
.sp-calque.kb-gauche > img { animation: sp-gauche var(--d) linear both; }
.sp-calque.kb-droite > img { animation: sp-droite var(--d) linear both; }
.sp-lame { position: absolute; top: 0; bottom: 0; width: 25%; left: calc(var(--k) * 25%); overflow: hidden; animation: sp-lame .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--k) * .12s); }
.sp-lame img { width: 400%; animation: sp-zoom var(--d) ease-out both; transform-origin: center; }
.sp-lame + .sp-lame { box-shadow: -2px 0 0 rgba(0, 200, 200, .5); }
@keyframes sp-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes sp-zoom { from { transform: scale(1.04); } to { transform: scale(1.18); } }
@keyframes sp-recul { from { transform: scale(1.2); } to { transform: scale(1.04); } }
@keyframes sp-gauche { from { transform: scale(1.14) translateX(3%); } to { transform: scale(1.14) translateX(-3%); } }
@keyframes sp-droite { from { transform: scale(1.14) translateX(-3%); } to { transform: scale(1.14) translateX(3%); } }
@keyframes sp-lame { from { transform: translateY(var(--dir, 100%)); opacity: 0; } to { transform: none; opacity: 1; } }
.sp-lame:nth-child(even) { --dir: -100%; }
.scene-ouverture { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .sp-calque, .sp-calque img, .sp-lame { animation: none !important; } }
/* ---------- Question du formateur dans la vidéo : carte compacte et élégante (2026-10) ---------- */
.scene.en-question { aspect-ratio: 16 / 9; overflow: hidden; }
.scene.en-question::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 40%, rgba(0, 23, 60, .45), rgba(0, 8, 28, .82)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: sp-fondu .35s ease both; }
.scene.en-question .scene-question { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(600px, calc(100% - 32px)); max-height: calc(100% - 28px); overflow: auto; padding: 18px 20px 16px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(14, 32, 74, .92), rgba(6, 16, 42, .94)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #EAF0FA; font-size: .9rem; animation: sq-entre .45s cubic-bezier(.2, .8, .2, 1) both; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
@keyframes sq-entre { from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
/* Question du formateur (corrigé le 1er nov. 2026) : le cadre s'agrandit à la hauteur de la question au lieu de la couper ;
   plus de petite zone à faire défiler, le bouton « Valider » reste toujours visible sous les réponses. */
.scene.en-question { aspect-ratio: auto !important; min-height: 0; overflow: hidden; }
.scene.en-question .scene-question { position: relative; left: auto; top: auto; transform: none; animation-name: sq-entre2; margin: clamp(10px, 2.4vw, 22px) auto; max-height: none; overflow: visible; }
.scene.en-question .it-actions { position: sticky; bottom: 0; padding-top: 10px; }
@keyframes sq-entre2 { from { opacity: 0; translate: 0 18px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
.scene.en-question .sq-bandeau { justify-content: space-between; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; letter-spacing: .04em; color: #9FB3D4; text-transform: uppercase; font-weight: 600; }
.scene.en-question .sq-pause { background: rgba(0, 200, 200, .16); color: #5EEAD4; border: 1px solid rgba(0, 200, 200, .35); font-size: .7rem; padding: 3px 9px; }
.scene.en-question .scene-question .interaction { background: transparent; border: 0; box-shadow: none; padding: 0; color: inherit; margin: 0; }
.scene.en-question .it-tete { align-items: center; gap: 10px; margin-bottom: 4px; }
.scene.en-question .it-formateur { width: 30px; height: 30px; background: linear-gradient(135deg, #0A55C2, #00C8C8); color: #fff; }
.scene.en-question .it-formateur .ico { width: 16px; height: 16px; }
.scene.en-question .it-tete .badge { background: rgba(255, 255, 255, .1); color: #CFE0F5; border: 0; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.scene.en-question .it-tete h3 { color: #fff; font-size: 1.02rem; margin-top: 4px; }
.scene.en-question .it-contexte { color: #C8D5EA; font-size: .86rem; }
.scene.en-question .it-question { color: #fff; font-size: .95rem; margin: 10px 0 10px; }
.scene.en-question .choix { display: grid; gap: 7px; counter-reset: opt; }
.scene.en-question .interaction .choix label { counter-increment: opt; position: relative; align-items: center; gap: 10px; padding: 9px 12px 9px 44px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #E6EDF8; font-size: .88rem; line-height: 1.35; transition: background .15s, border-color .15s, transform .15s; }
.scene.en-question .interaction .choix label::before { content: counter(opt, upper-alpha); position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: rgba(255, 255, 255, .1); color: #CFE0F5; transition: background .15s, color .15s; }
.scene.en-question .interaction .choix label:hover { background: rgba(255, 255, 255, .08); border-color: rgba(0, 200, 200, .55); transform: translateX(2px); }
.scene.en-question .interaction .choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scene.en-question .interaction .choix label:has(input:checked) { background: rgba(0, 200, 200, .14); border-color: #00C8C8; }
.scene.en-question .interaction .choix label:has(input:checked)::before { background: #00C8C8; color: #001A4D; }
.scene.en-question .interaction .choix label:has(input:focus-visible) { outline: 2px solid #5EEAD4; outline-offset: 2px; }
.scene.en-question .interaction .choix label.juste, .scene.en-question .interaction .choix label.choisie.juste { background: rgba(34, 197, 94, .16); border-color: #22C55E; }
.scene.en-question .interaction .choix label.faux, .scene.en-question .interaction .choix label.choisie.faux { background: rgba(239, 68, 68, .16); border-color: #EF4444; }
.scene.en-question .interaction .choix label.acceptable, .scene.en-question .interaction .choix label.choisie.acceptable { background: rgba(245, 158, 11, .16); border-color: #F59E0B; }
.scene.en-question .it-classement li, .scene.en-question .it-assoc > * { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: #E6EDF8; font-size: .88rem; padding: 8px 10px; }
.scene.en-question .it-classement li > span:first-child::before { color: #5EEAD4; }
.scene.en-question .it-fleches button { width: 30px; height: 30px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #5EEAD4; }
.scene.en-question select, .scene.en-question input[type=text], .scene.en-question input[type=number], .scene.en-question textarea { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 9px; }
.scene.en-question .it-actions { margin-top: 12px; }
.scene.en-question .it-actions .bouton, .scene.en-question .sq-suite .bouton.turquoise { background: linear-gradient(90deg, #00C8C8, #0A9FD0); color: #001A4D; border: 0; border-radius: 10px; font-size: .78rem; padding: 10px 18px; box-shadow: 0 8px 24px rgba(0, 200, 200, .25); }
.scene.en-question .retour-it { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #DCE6F5; border-radius: 12px; font-size: .86rem; }
.scene.en-question .retour-it strong { color: #fff; }
.scene.en-question .retour-it details summary { color: #5EEAD4; }
.scene.en-question .it-rappel { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .18); }
.scene.en-question .sq-suite { margin-top: 12px; }
.scene.en-question .meta, .scene.en-question .it-consigne, .scene.en-question small { color: #9FB3D4; }
@media (max-width: 700px) {
  .scene.en-question { aspect-ratio: auto; min-height: 0; overflow: visible; }
  .scene.en-question .scene-question { position: relative; left: auto; top: auto; transform: none; width: auto; max-height: none; margin: 12px; animation: none; }
}
#app .scene.en-question .bouton:not(.secondaire) { background: linear-gradient(90deg, #00C8C8, #0A9FD0) !important; color: #001A4D !important; border: 0 !important; border-radius: 10px; font-size: .78rem; padding: 10px 18px; box-shadow: 0 8px 24px rgba(0, 200, 200, .25); }
#app .scene.en-question .bouton.secondaire { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .35) !important; border-radius: 10px; font-size: .78rem; }
/* Carte question : contraste garanti pour tous les types (scénario, association, calcul, documents) */
.scene.en-question .it-noeud { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #E6EDF8; }
.scene.en-question .it-noeud.fin { background: rgba(255, 255, 255, .03); }
.scene.en-question .it-trace, .scene.en-question .it-noeud .meta { color: #B9C7DD; }
#app .scene.en-question .it-choix-scen { display: grid; gap: 7px; margin-top: 10px; }
#app .scene.en-question .it-choix-scen .btn-petit, #app .scene.en-question .btn-petit { background: rgba(255, 255, 255, .06) !important; color: #EAF0FA !important; border: 1px solid rgba(0, 200, 200, .45) !important; border-radius: 10px; text-align: left; padding: 9px 12px; font-size: .86rem; line-height: 1.35; white-space: normal; height: auto; }
#app .scene.en-question .it-choix-scen .btn-petit:hover, #app .scene.en-question .btn-petit:hover { background: rgba(0, 200, 200, .16) !important; border-color: #00C8C8 !important; }
.scene.en-question .it-paire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 8px 10px; color: #E6EDF8; }
.scene.en-question .it-paire.juste { border-color: #22C55E; background: rgba(34, 197, 94, .12); }
.scene.en-question .it-paire.faux { border-color: #EF4444; background: rgba(239, 68, 68, .12); }
.scene.en-question select { background-color: #12244D !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, .25) !important; padding: 7px 10px; border-radius: 9px; width: 100%; }
.scene.en-question select option { background: #FFFFFF; color: #0B1736; }
.scene.en-question .it-calcul input { background: #12244D !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, .25) !important; }
.scene.en-question .it-calcul input::placeholder { color: #8FA3C4; }
.scene.en-question .it-calcul .unite { color: #CFE0F5; }
.scene.en-question .it-support { background: #FFFFFF; color: #0B1736; border-radius: 10px; padding: 10px 12px; }
.scene.en-question .it-support * { color: inherit; }
.scene.en-question table { color: #E6EDF8; }
.scene.en-question .it-support table { color: #0B1736; }
.scene.en-question th { background: rgba(255, 255, 255, .08); }
.scene.en-question .retour-it.juste { border-color: rgba(34, 197, 94, .6); }
.scene.en-question .retour-it.faux { border-color: rgba(239, 68, 68, .6); }
.scene.en-question .retour-it.acceptable { border-color: rgba(245, 158, 11, .6); }
.scene.en-question a { color: #5EEAD4; }
.scene.en-question li.ok, .scene.en-question li.ok b { color: #4ADE80 !important; }
.scene.en-question li.ko, .scene.en-question li.ko b { color: #FCA5A5 !important; }
.scene.en-question li.oubli, .scene.en-question li.oubli b, .scene.en-question li.manque, .scene.en-question li.manque b { color: #FCD34D !important; }

/* ===== Direction A · Institutionnel premium (ajout 2026-10) : titres en serif, bleu NEXA, cartes nettes ===== */
:root { --serif: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; --titre: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --accent: #0A55C2; --r: 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent: #6EA8FF; } }
:root[data-theme="dark"] { --accent: #6EA8FF; }
h1, h2, .tete-page h1, .tete-section h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h3, h4 { font-family: var(--titre); font-weight: 700; }
.bouton { border-radius: 8px; font-family: var(--titre); font-weight: 700; letter-spacing: 0; }
.bouton:not(.secondaire):not(.turquoise):not(.bouton-mission) { background: #0A55C2; border-color: #0A55C2; color: #FFFFFF; }
.bouton:not(.secondaire):not(.turquoise):not(.bouton-mission):hover { background: #0848A6; }
.bouton.secondaire { border-radius: 8px; }
.entete { background: var(--surface); border-bottom: 1px solid var(--bordure); box-shadow: none; }
.entete nav a { font-family: var(--titre); font-weight: 600; }
.surtitre { font-family: var(--titre); letter-spacing: .1em; }
.tete-page { background: linear-gradient(180deg, var(--fond-2), var(--fond)); }

/* Couvertures sobres (en attendant les photos) et photos */
.couv-sobre { position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ta), var(--tb)); color: #FFFFFF; overflow: hidden; }
.couv-sobre::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .16), transparent 45%); }
.couv-sobre .cs-picto { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 44%; aspect-ratio: 1; opacity: .2; }
.couv-sobre .cs-picto .picto { width: 100%; height: 100%; stroke: #FFFFFF; color: #FFFFFF; }
.couv-sobre .cs-texte { position: absolute; left: 7%; right: 40%; bottom: 10%; display: grid; gap: 4px; z-index: 1; }
.couv-sobre small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.couv-sobre b { font-family: var(--serif); font-weight: 600; font-size: clamp(.95rem, 2.2vw, 1.3rem); line-height: 1.15; }
.couv-photo { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cours { border-radius: 12px; border: 1px solid var(--bordure); box-shadow: none; transition: box-shadow .2s, transform .2s; }
.cours:hover { box-shadow: 0 14px 34px rgba(10, 30, 70, .12); transform: translateY(-2px); }
.cours-visuel { aspect-ratio: 16 / 9; overflow: hidden; }

/* Accueil */
.a-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); background: linear-gradient(180deg, var(--fond-2), var(--fond)); }
.a-hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.a-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.06; margin: 8px 0 16px; text-wrap: balance; color: var(--texte); }
.a-chapo { font-size: 1.08rem; line-height: 1.65; color: var(--discret); max-width: 58ch; margin: 0 0 22px; }
.a-prix { margin: 16px 0 0; font-size: .9rem; color: var(--discret); }
.a-hero-photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; box-shadow: var(--ombre-forte); }
.a-hero-produit { position: relative; padding: 18px 18px 46px; }
.ahp-ecran { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(5, 20, 50, .25); }
.ahp-ecran .couv { aspect-ratio: 16 / 10; }
.ahp-pause { position: absolute; left: 6%; right: 6%; bottom: 7%; background: #FFFFFF; color: #0B1736; border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: .85rem; }
.ahp-pause span { font-size: .7rem; font-weight: 800; color: #0A55C2; letter-spacing: .06em; text-transform: uppercase; }
.ahp-pause i { font-style: normal; padding: 6px 10px; border: 1px solid #E1E7F0; border-radius: 8px; }
.ahp-pause i.ok { border-color: #00A9B0; background: #E6FAF9; }
.ahp-carte { position: absolute; display: flex; gap: 10px; align-items: center; background: var(--surface); color: var(--texte); border: 1px solid var(--bordure); border-radius: 12px; padding: 10px 14px; box-shadow: var(--ombre); font-size: .82rem; }
.ahp-carte b { display: block; } .ahp-carte span { color: var(--discret); }
.ahp-carte .ico { color: #0A55C2; width: 22px; height: 22px; }
.ahp-carte.c1 { left: -4px; top: 0; } .ahp-carte.c2 { right: -4px; bottom: 0; }
.a-confiance { border-block: 1px solid var(--bordure); background: var(--fond-2); }
.a-confiance .conteneur { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding-block: 18px; }
.a-confiance b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--texte); font-weight: 600; }
.a-confiance span { color: var(--discret); font-size: .85rem; }
@media (max-width: 900px) { .a-hero-grille { grid-template-columns: minmax(0, 1fr); } .a-confiance .conteneur { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Épreuve finale : une question à la fois */
.ex-page { background: var(--fond-2); min-height: 70vh; padding-bottom: 48px; }
.ex-barre { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 6; background: var(--surface); border-bottom: 1px solid var(--bordure); }
.ex-barre .conteneur { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding-block: 12px; }
.ex-titre { display: grid; gap: 2px; min-width: 0; }
.ex-titre .surtitre { margin: 0; }
.ex-titre b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.ex-etat { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ex-etat .chrono { font-variant-numeric: tabular-nums; font-size: 1.05rem; background: var(--fond-2); padding: 6px 12px; border-radius: 8px; }
.ex-grille { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; padding-top: 24px; }
.ex-centre { min-width: 0; }
.ex-q { background: var(--surface); border: 1px solid var(--bordure); border-radius: 14px; padding: clamp(18px, 3vw, 34px); }
.ex-num { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0A55C2; }
.ex-q h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.3; margin: 10px 0 22px; text-wrap: balance; }
.ex-options { display: grid; gap: 10px; }
.ex-opt { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--bordure); border-radius: 10px; cursor: pointer; background: var(--fond); font-size: 1rem; }
.ex-opt:hover { border-color: #0A55C2; }
.ex-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ex-opt b { flex: 0 0 30px; height: 30px; border-radius: 50%; border: 1px solid var(--bordure); display: grid; place-items: center; font-size: .85rem; }
.ex-opt:has(input:checked) { border-color: #0A55C2; background: #EEF4FD; color: #0B1736; }
.ex-opt:has(input:checked) b { background: #0A55C2; border-color: #0A55C2; color: #FFFFFF; }
.ex-opt:has(input:focus-visible) { outline: 2px solid #00C8C8; outline-offset: 2px; }
.ex-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 24px; }
.ex-nav .btn-petit.actif { background: #FFF2D6; border-color: #F2B544; color: #5A3B00; }
.ex-palette { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 150px); background: var(--surface); border: 1px solid var(--bordure); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.ex-cases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ex-cases button { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.ex-cases button.ok { background: #0A55C2; border-color: #0A55C2; color: #FFFFFF; }
.ex-cases button.rev { background: #FFF2D6; border-color: #F2B544; color: #5A3B00; }
.ex-cases button.cur { outline: 2px solid var(--texte); outline-offset: 1px; }
.ex-partie { text-align: left; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--fond-2); color: var(--texte); font: inherit; cursor: pointer; }
.ex-partie span { font-size: .82rem; color: var(--discret); }
.ex-partie.cur { border-color: #0A55C2; }
.ex-legende { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; color: var(--discret); }
.ex-legende i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--bordure); margin-right: 5px; vertical-align: -1px; }
.ex-legende i.ok { background: #0A55C2; border-color: #0A55C2; } .ex-legende i.rev { background: #FFF2D6; border-color: #F2B544; }
.ex-remise .bouton { width: 100%; justify-content: center; }
@media (max-width: 900px) { .ex-grille { grid-template-columns: minmax(0, 1fr); } .ex-palette { position: static; order: -1; } }
.couv-sobre .cs-texte { left: 6%; right: 34%; bottom: 9%; }
.couv-sobre b { font-size: clamp(.85rem, 1.6vw, 1.05rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.couv-sobre.sans-texte .cs-texte { display: none; }
.ex-etat .chrono { color: var(--texte); }

/* Tarif */
.t-hero { text-align: center; padding: clamp(32px, 6vw, 64px) 0 28px; background: linear-gradient(180deg, var(--fond-2), var(--fond)); }
.t-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 8px 0 12px; text-wrap: balance; }
.t-hero .sous-titre { margin: 0 auto 22px; max-width: 60ch; }
.t-bascule { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--bordure); }
.t-bascule button { font: inherit; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--texte); cursor: pointer; }
.t-bascule button[aria-pressed="true"] { background: #0B1736; color: #FFFFFF; }
.t-bascule span { font-size: .78rem; color: var(--turq-texte); margin-left: 4px; }
.t-bascule button[aria-pressed="true"] span { color: #7FE3E3; }
.t-plans-bande { padding-top: 12px; }
.t-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.t-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border: 1px solid var(--bordure); border-radius: 16px; background: var(--surface); }
.t-plan.vedette { border: 2px solid #0A55C2; box-shadow: 0 24px 48px rgba(10, 85, 194, .14); }
.t-badge { position: absolute; top: -13px; left: 24px; background: #0A55C2; color: #FFFFFF; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.t-plan h2 { margin: 0; font-family: var(--titre); font-size: 1.15rem; font-weight: 800; }
.t-pour { margin: 0; color: var(--discret); font-size: .92rem; min-height: 2.6em; }
.t-montant { margin: 6px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.t-montant b { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 600; line-height: 1; color: var(--texte); }
.t-montant b.t-devis { font-size: 2.2rem; }
.t-montant small { color: var(--discret); font-weight: 700; }
.t-montant span { color: var(--discret); font-size: .88rem; font-weight: 600; }
.t-facture { margin: 0; font-size: .85rem; color: var(--discret); min-height: 1.3em; }
.t-plan .bouton { justify-content: center; }
.t-actif { display: inline-flex; gap: 6px; align-items: center; color: var(--ok); font-weight: 700; }
.t-plan ul { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px solid var(--bordure); display: grid; gap: 9px; font-size: .92rem; }
.t-plan li { display: flex; gap: 10px; }
.t-plan li::before { content: "✓"; color: var(--turq-texte); font-weight: 800; }
.t-statut { margin: 22px 0 0; }
.t-h2 { margin: 44px 0 14px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.t-compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
.t-compare th, .t-compare td { padding: 12px 14px; border-bottom: 1px solid var(--bordure); text-align: left; }
.t-compare th { font-family: var(--titre); font-weight: 800; }
.t-compare td.c, .t-compare th:not(:first-child) { text-align: center; }
.t-compare td.c { color: var(--turq-texte); font-weight: 700; }
@media (max-width: 900px) { .t-plans { grid-template-columns: minmax(0, 1fr); } }

/* Entreprise */
.e-hero { padding: clamp(32px, 6vw, 64px) 0; background: linear-gradient(180deg, var(--fond-2), var(--fond)); }
.e-hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.e-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; margin: 8px 0 16px; text-wrap: balance; }
.e-hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.e-hero-tableau { background: var(--surface); border: 1px solid var(--bordure); border-radius: 16px; padding: 20px; box-shadow: 0 30px 60px rgba(5, 20, 50, .14); display: grid; gap: 12px; }
.eht-tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--bordure); }
.eht-tete span { color: var(--discret); font-size: .85rem; }
.eht-ligne { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(60px, 1fr) auto; gap: 10px; align-items: center; font-size: .88rem; }
.eht-ligne span:nth-child(2) { color: var(--discret); }
.eht-ligne i { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.eht-ligne em { display: block; height: 100%; background: #0A55C2; border-radius: 999px; }
.eht-pied { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 10px; border-top: 1px solid var(--bordure); font-size: .85rem; color: var(--discret); }
.eht-pied span { display: inline-flex; gap: 6px; align-items: center; }
.e-atouts { border-block: 1px solid var(--bordure); background: var(--fond-2); }
.e-atouts .conteneur { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-block: 22px; }
.e-atouts div { display: grid; gap: 4px; }
.e-atouts .ico { color: #0A55C2; width: 24px; height: 24px; }
.e-atouts span { color: var(--discret); font-size: .88rem; }
.e-etapes { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.e-etapes button { font: inherit; font-size: .85rem; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px 7px 7px; border-radius: 999px; border: 1px solid var(--bordure); background: var(--fond); color: var(--discret); cursor: pointer; }
.e-etapes button:disabled { cursor: default; opacity: .7; }
.e-etapes b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .78rem; }
.e-etapes li.on button { background: #0B1736; color: #FFFFFF; border-color: #0B1736; }
.e-etapes li.on b { background: #FFFFFF; color: #0B1736; }
.e-etapes li.fait b { background: var(--ok); color: #FFFFFF; }
.form-ent > fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.form-ent h3 { margin: 6px 0 0; font-size: 1.05rem; }
.e-suite { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 6px; }
.e-suite .bouton:only-child { margin-left: auto; }
.e-durees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.e-duree { display: grid !important; gap: 2px; padding: 16px; border: 1px solid var(--bordure); border-radius: 12px; cursor: pointer; text-align: center; background: var(--fond); }
.e-duree input { position: absolute; opacity: 0; pointer-events: none; }
.e-duree b { font-size: 1.05rem; } .e-duree span { color: var(--turq-texte); font-weight: 700; font-size: .85rem; }
.e-duree:has(input:checked) { border: 2px solid #0A55C2; background: #EEF4FD; color: #0B1736; }
.e-recap { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: .92rem; }
.e-recap dt { font-weight: 700; color: var(--discret); } .e-recap dd { margin: 0; }
@media (max-width: 900px) { .e-hero-grille { grid-template-columns: minmax(0, 1fr); } .e-atouts .conteneur { grid-template-columns: repeat(2, minmax(0, 1fr)); } .e-durees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .e-atouts .conteneur { grid-template-columns: minmax(0, 1fr); } .e-recap { grid-template-columns: minmax(0, 1fr); } }
.apercu-ep { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 16px; padding: 16px 18px; border-radius: 12px; border: 2px dashed #F2B544; background: #FFF8E6; color: #3D2A00; }
.apercu-ep > div { flex: 1 1 240px; display: grid; gap: 2px; }
.apercu-ep span { font-size: .9rem; }
.apercu-ep .ico { width: 26px; height: 26px; color: #8A5A00; }
.tarifs-ent h3 { margin: 0 0 8px; font-size: 1rem; }
.form-ent select[name="province"] { width: 100%; }
.apercu-flottant { position: fixed; right: 18px; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 40; display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px 12px 14px; border-radius: 999px; background: #0B1736; color: #FFFFFF; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px rgba(5, 20, 50, .35); border: 2px solid #F2B544; }
.apercu-flottant small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #F2B544; }
.apercu-flottant .ico { width: 22px; height: 22px; color: #F2B544; }
.apercu-flottant:hover { background: #0A55C2; }

/* Paiement */
.paie-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.moyens { display: flex; flex-wrap: wrap; gap: 8px; }
.moyen { font: inherit; font-weight: 700; font-size: .9rem; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); cursor: pointer; }
.moyen[aria-selected="true"] { border: 2px solid #0A55C2; background: #EEF4FD; color: #0B1736; }
.moyen.mpesa[aria-selected="true"] { border-color: #E60000; } .moyen.orange[aria-selected="true"] { border-color: #FF7900; } .moyen.airtel[aria-selected="true"] { border-color: #ED1C24; }
.etapes-paie { margin: 0; padding-left: 20px; display: grid; gap: 10px; line-height: 1.6; }
.etapes-paie .ref { font-family: ui-monospace, Menlo, monospace; background: var(--surface-2); padding: 2px 8px; border-radius: 6px; letter-spacing: .04em; }
.coord { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 8px 0 0; font-size: .92rem; }
.coord dt { color: var(--discret); } .coord dd { margin: 0; font-weight: 700; }
.a-completer { display: inline-block; font-weight: 600; font-style: italic; color: #8A5A00; background: #FFF3D6; padding: 1px 8px; border-radius: 6px; }
.form-paie { display: grid; gap: 12px; padding-top: 10px; border-top: 1px solid var(--bordure); }
.etiquette-statut.ko { background: var(--ko-clair); color: var(--ko); }
@media (max-width: 900px) { .paie-grille { grid-template-columns: minmax(0, 1fr); } }

/* Contact, à propos, pages légales, aide */
.contact-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-carte { padding: 20px; border: 1px solid var(--bordure); border-radius: 14px; background: var(--surface); display: grid; gap: 6px; align-content: start; }
.contact-carte h2 { font-family: var(--titre); font-size: 1.05rem; margin: 4px 0 0; }
.contact-carte p { margin: 0; color: var(--discret); }
.contact-carte .ico { width: 26px; height: 26px; color: #0A55C2; }
.selectionnable { user-select: all; font-weight: 700; color: var(--texte); }
.apropos { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.apropos-texte { max-width: 68ch; line-height: 1.7; }
.apropos-texte ul { padding-left: 20px; display: grid; gap: 8px; }
.valeurs-nexa { display: flex; flex-wrap: wrap; gap: 10px; }
.valeurs-nexa span { padding: 8px 16px; border-radius: 999px; background: #0B1736; color: #7FE3E3; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.apropos-chiffres { display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: var(--fond-2); border: 1px solid var(--bordure); position: sticky; top: 90px; }
.apropos-chiffres b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.apropos-chiffres span { color: var(--discret); }
.texte-legal { max-width: 74ch; line-height: 1.7; }
.texte-legal h2 { font-size: 1.2rem; margin: 26px 0 6px; }
.projet-juridique { max-width: 74ch; margin-top: 14px; }
.bouton-aide { position: fixed; right: 18px; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 39; display: inline-flex; gap: 8px; align-items: center; padding: 11px 16px; border-radius: 999px; background: var(--surface); color: var(--texte); border: 1px solid var(--bordure); box-shadow: var(--ombre); font-weight: 700; text-decoration: none; font-size: .9rem; }
.bouton-aide .ico { width: 20px; height: 20px; color: #0A55C2; }
.bouton-aide:hover { border-color: #0A55C2; }
.bientot-f { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #FFF3D6; color: #3D2A00; font-size: .9rem; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .apropos { grid-template-columns: minmax(0, 1fr); } .apropos-chiffres { position: static; } }
@media (max-width: 560px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } .bouton-aide span { display: none; } .bouton-aide { padding: 12px; } }

/* Espace étudiant, positionnement, corrections */
.espace-blocs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.espace-bloc { padding: 20px; border: 1px solid var(--bordure); border-radius: 14px; background: var(--surface); display: grid; gap: 8px; align-content: start; min-width: 0; }
.espace-bloc h2 { font-size: 1.15rem; margin: 0; }
.espace-bloc.prochaine { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; background: linear-gradient(120deg, #0B1736, #0A55C2); color: #FFFFFF; border: 0; }
.espace-bloc.prochaine > div { display: grid; gap: 4px; flex: 1; }
.espace-bloc.prochaine .surtitre { color: #7FE3E3; margin: 0; }
.espace-bloc.prochaine .meta { color: #C9D4EA; }
.espace-bloc.prochaine .bouton { justify-self: start; background: #FFFFFF !important; color: #0B1736 !important; border-color: #FFFFFF !important; margin-top: 6px; }
.espace-bloc.prochaine > .ico { width: 30px; height: 30px; color: #7FE3E3; }
.renforcer { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.renforcer li { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--bordure); }
.renforcer li:last-child { border-bottom: 0; }
.espace-bloc label.case { display: flex; gap: 8px; align-items: center; }
.tel-rappel { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.tel-rappel input { font: inherit; padding: 9px 12px; border: 1px solid var(--bordure); border-radius: 8px; background: var(--fond); color: inherit; }
.a-pos { margin: 12px 0 0; } .a-pos a { font-weight: 700; color: #0A55C2; }
.pos { display: grid; gap: 18px; max-width: 860px; }
.pos-secteur { display: grid; gap: 6px; font-weight: 700; max-width: 420px; }
.pos-secteur select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--bordure); background: var(--fond); color: inherit; }
.pos-q { border: 1px solid var(--bordure); border-radius: 14px; padding: 16px 18px; background: var(--surface); margin: 0; min-width: 0; }
.pos-q legend { font-weight: 700; padding: 0 6px; }
.pos-ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.pos-resultat { padding: 24px; border-radius: 16px; border: 2px solid #0A55C2; background: var(--surface); display: grid; gap: 12px; }
.pos-resultat h2 { margin: 0; }
.copie { padding: 22px; border: 1px solid var(--bordure); border-radius: 16px; background: var(--surface); display: grid; gap: 14px; margin-bottom: 22px; }
.copie textarea { font: inherit; width: 100%; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--fond); color: inherit; }
@media (max-width: 760px) { .espace-blocs, .pos-ops { grid-template-columns: minmax(0, 1fr); } .espace-bloc.prochaine { flex-direction: column; align-items: flex-start; } }
.ex-etapes { display: grid; gap: 8px; }
.ex-partie.fait { border-color: var(--ok); }
.ex-partie.fait b::after { content: " ✓"; color: var(--ok); }
.ex-rappel-dossier { margin-top: 18px; border-top: 1px solid var(--bordure); padding-top: 12px; }
.ex-rappel-dossier summary { cursor: pointer; font-weight: 700; color: #0A55C2; }
.ex-q .livrable { border: 0; padding: 0; margin: 0; }
textarea.ex-redaction { display: block; width: 100%; box-sizing: border-box; min-height: 360px; resize: vertical; font: inherit; font-size: 1rem; line-height: 1.65; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); }

/* ----- Offres : Individuel et Équipe ; devis sur une seule page (octobre 2026) ----- */
.t-plans.t-plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
@media (max-width: 760px) { .t-plans.t-plans-2 { grid-template-columns: minmax(0, 1fr); } }
#offres-ent .t-plans-2 { margin-top: 8px; }
.e-prix { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 28px; }
.e-prix .tarifs-ent { margin-bottom: 0; }
.e-prix-indiv { border: 1px solid var(--bordure); border-radius: 12px; padding: 18px; background: var(--surface, #FFFFFF); display: grid; gap: 6px; }
.e-prix-indiv .t-montant { margin: 0; }
@media (max-width: 900px) { .e-prix { grid-template-columns: minmax(0, 1fr); } }
.form-ent > fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form-ent > fieldset + fieldset { border-top: 1px solid var(--bordure); padding-top: 20px; }
.form-ent h3 { display: flex; gap: 10px; align-items: center; }
.e-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent, #0B4FC0); color: #FFFFFF; font-size: 14px; }

/* ===== Page « Calculer mon devis » : présentation premium (octobre 2026) ===== */
.dv-hero { position: relative; overflow: hidden; background: #0B1736; color: #FFFFFF; padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 60px); }
.dv-hero::before { content: ""; position: absolute; right: -8%; top: -40%; width: 46%; height: 180%; background: linear-gradient(160deg, rgba(10, 85, 194, .55), rgba(10, 85, 194, 0)); transform: skewX(-24deg); pointer-events: none; }
.dv-hero::after { content: ""; position: absolute; right: 18%; top: -30%; width: 10px; height: 170%; background: #00C8C8; opacity: .55; transform: skewX(-24deg); pointer-events: none; }
.dv-hero .conteneur { position: relative; z-index: 1; }
.dv-fil { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #AFC2E4; margin-bottom: 18px; }
.dv-fil a { color: #FFFFFF; text-decoration: none; font-weight: 600; } .dv-fil a:hover { text-decoration: underline; }
.dv-hero-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.dv-surtitre { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #00C8C8; }
.dv-hero h1 { margin: 0 0 14px; color: #FFFFFF; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; text-wrap: balance; }
.dv-hero p { margin: 0; color: #C9D6EE; font-size: 1.08rem; line-height: 1.6; max-width: 52ch; }
.dv-garanties { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dv-garanties li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.dv-garanties .ico { flex: none; width: 24px; height: 24px; color: #00C8C8; margin-top: 2px; }
.dv-garanties span { display: grid; gap: 2px; color: #C9D6EE; font-size: .92rem; }
.dv-garanties b { color: #FFFFFF; font-size: 1rem; }
@media (max-width: 900px) { .dv-hero-grille { grid-template-columns: minmax(0, 1fr); } }

.dv-corps { padding-top: clamp(32px, 5vw, 56px); }
.dv-tete { max-width: 760px; margin-bottom: 22px; }
.dv-tete h2 { margin: 6px 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); text-wrap: balance; }
.dv-tete p { margin: 0; color: var(--discret); }
.dv-tete-form { margin-top: clamp(36px, 6vw, 64px); }
.dv-bloc { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--bordure); border-radius: 20px; background: var(--surface); }

.dv-echelle { display: grid; gap: 22px; }
.dv-paliers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.dv-palier { position: relative; display: grid; gap: 4px; padding: 14px 14px 16px; border: 1px solid var(--bordure); border-radius: 14px; background: var(--fond); transition: border-color .2s, box-shadow .2s, transform .2s; }
.dv-barre { display: block; height: 92px; display: flex; align-items: flex-end; margin-bottom: 8px; }
.dv-barre i { display: block; width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #8DB4F0, #0A55C2); opacity: .35; transition: opacity .2s; }
.dv-pal-nb { font-size: .9rem; font-weight: 700; color: var(--texte); } .dv-pal-nb small { font-weight: 500; color: var(--discret); }
.dv-pal-prix { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.1; color: var(--texte); font-variant-numeric: tabular-nums; }
.dv-pal-prix small { font-family: var(--titre); font-size: .8rem; font-weight: 600; color: var(--discret); }
.dv-pal-remise { justify-self: start; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--ok-clair); color: var(--ok); }
.dv-palier.base .dv-pal-remise { background: var(--fond-2); color: var(--discret); }
.dv-palier.actif { border: 2px solid #0A55C2; box-shadow: 0 16px 36px rgba(10, 85, 194, .18); transform: translateY(-4px); }
.dv-palier.actif .dv-barre i { opacity: 1; }
.dv-palier.actif::before { content: "Votre palier"; position: absolute; top: -11px; left: 12px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: #0A55C2; color: #FFFFFF; }
.dv-durees-info { display: grid; gap: 10px; padding-top: 18px; border-top: 1px dashed var(--bordure); }
.dv-mini-titre { margin: 0; font-weight: 800; font-size: .95rem; }
.dv-durees-info ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dv-durees-info li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--bordure); background: var(--fond); }
.dv-durees-info li span { font-weight: 800; font-size: .85rem; color: var(--turq-texte, #007F86); }
.dv-durees-info li.actif { border: 2px solid #0A55C2; }
.dv-formule { margin: 0; color: var(--discret); font-size: .92rem; }
@media (max-width: 900px) { .dv-durees-info ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .dv-paliers { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dv-palier { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 14px; }
  .dv-palier .dv-barre { display: none; }
  .dv-pal-nb { grid-column: 1; } .dv-pal-remise { grid-column: 1; }
  .dv-pal-prix { grid-column: 2; grid-row: 1 / span 2; }
  .dv-palier.actif { transform: none; margin-top: 8px; }
  .dv-durees-info li { flex-direction: column; align-items: flex-start; gap: 2px; }
}

.dv-grille { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(18px, 3vw, 32px); }
.dv-form { padding: clamp(18px, 3vw, 30px); border-radius: 20px; }
.dv-form > fieldset { position: relative; padding-left: 44px !important; }
.dv-form h3 { margin-left: -44px; }
.dv-form .e-num { width: 32px; height: 32px; background: #0B1736; flex: none; }
.dv-recap { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: #0B1736; color: #FFFFFF; box-shadow: 0 30px 60px rgba(5, 20, 50, .28); }
.dv-recap::after { content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 200, .35), transparent 70%); pointer-events: none; }
.dv-recap-titre { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #00C8C8; }
.dv-total { display: grid; gap: 2px; }
.dv-total span { color: #AFC2E4; font-size: .9rem; }
.dv-total b { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dv-unitaire { margin: 0; color: #C9D6EE; font-size: .95rem; } .dv-unitaire b { color: #FFFFFF; }
.dv-detail { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.dv-detail div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.dv-detail dt { color: #C9D6EE; display: grid; } .dv-detail dt small { color: #8FA4C8; font-size: .78rem; }
.dv-detail dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dv-detail .dv-mensuel dt, .dv-detail .dv-mensuel dd { color: #FFFFFF; font-weight: 800; }
.dv-economie { margin: 0; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(0, 200, 200, .14); color: #7FF0EC; font-weight: 700; font-size: .9rem; }
.dv-economie .ico { width: 18px; height: 18px; flex: none; }
.dv-recap .dv-cta { width: 100%; justify-content: center; background: #00C8C8 !important; border-color: #00C8C8 !important; color: #0B1736 !important; font-size: 1rem; padding-block: 14px; }
.dv-recap .dv-cta:hover { background: #2BD9D6 !important; }
.dv-inclus { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .86rem; color: #C9D6EE; }
.dv-inclus li { display: flex; gap: 8px; } .dv-inclus li::before { content: "✓"; color: #00C8C8; font-weight: 800; }
@media (max-width: 900px) { .dv-grille { grid-template-columns: minmax(0, 1fr); } .dv-form > fieldset { padding-left: 0 !important; } .dv-form h3 { margin-left: 0; } }
.dv-form [data-action="ent-ajouter"] { width: auto; background: transparent; color: #0A55C2; border: 1.5px dashed #0A55C2; padding: 10px 16px; }
.dv-form [data-action="ent-ajouter"]:hover { background: #EEF4FD; }

/* ===== Page de paiement : présentation de type « caisse » (octobre 2026) ===== */
.pc-page { background: linear-gradient(180deg, var(--fond-2), var(--fond) 320px); padding: clamp(18px, 3vw, 32px) 0 clamp(40px, 6vw, 72px); }
.pc-haut { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pc-retour { font-weight: 700; text-decoration: none; color: var(--accent); }
.pc-securite { display: inline-flex; gap: 8px; align-items: center; font-size: .86rem; font-weight: 600; color: var(--discret); }
.pc-securite .ico { width: 16px; height: 16px; color: var(--ok); }
.pc-progression { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.pc-progression li { position: relative; display: flex; gap: 10px; align-items: center; padding: 12px 14px; font-weight: 700; font-size: .92rem; color: var(--discret); border-bottom: 3px solid var(--bordure); }
.pc-progression li b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bordure); font-size: .85rem; flex: none; background: var(--surface); }
.pc-progression li.en-cours { color: var(--texte); border-bottom-color: #0A55C2; }
.pc-progression li.en-cours b { border-color: #0A55C2; background: #0A55C2; color: #FFFFFF; }
.pc-progression li.fait { color: var(--texte); border-bottom-color: var(--ok); }
.pc-progression li.fait b { border-color: var(--ok); background: var(--ok); color: #FFFFFF; }
.pc-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.pc-principal { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--surface); border: 1px solid var(--bordure); box-shadow: 0 18px 40px rgba(10, 30, 70, .06); }
.pc-titre { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.pc-etat { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid; }
.pc-etat .ico { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.pc-etat strong { display: block; font-size: 1.05rem; } .pc-etat p { margin: 4px 0 0; color: var(--discret); }
.pc-etat.attente { border-color: #F2B544; background: #FFF8E6; color: #3D2A00; } .pc-etat.attente .ico { color: #B07A00; } .pc-etat.attente p { color: #5C4510; }
.pc-etat.ok { border-color: var(--ok); background: var(--ok-clair); } .pc-etat.ok .ico { color: var(--ok); }
.pc-etat.ko { border-color: var(--ko); background: var(--ko-clair); } .pc-etat.ko .ico { color: var(--ko); }
.pc-moyens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .pc-moyens { grid-template-columns: minmax(0, 1fr); } }
.pc-moyen { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--bordure); background: var(--fond); color: var(--texte); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pc-moyen:hover { border-color: color-mix(in srgb, var(--teinte) 55%, var(--bordure)); }
.pc-moyen[aria-checked="true"] { border: 2px solid var(--teinte); box-shadow: 0 10px 24px color-mix(in srgb, var(--teinte) 18%, transparent); background: var(--surface); }
.pc-moyen:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-pastille { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teinte); color: #FFFFFF; font-weight: 800; font-size: 1.1rem; flex: none; }
.pc-pastille .ico { width: 20px; height: 20px; color: #FFFFFF; }
.pc-moyen-txt { display: grid; gap: 1px; min-width: 0; } .pc-moyen-txt small { color: var(--discret); font-size: .8rem; }
.pc-coche { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--bordure); flex: none; }
.pc-moyen[aria-checked="true"] .pc-coche { border-color: var(--teinte); background: radial-gradient(circle, var(--teinte) 0 5px, transparent 6px); }
.pc-bientot { margin: -6px 0 0; font-size: .82rem; color: var(--discret); }
.pc-instructions { padding: 18px 20px; border-radius: 16px; background: var(--fond-2); }
.pc-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: pc; }
.pc-etapes > li { position: relative; display: grid; gap: 6px; padding-left: 44px; counter-increment: pc; }
.pc-etapes > li::before { content: counter(pc); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0B1736; color: #FFFFFF; font-weight: 800; font-size: .85rem; }
.pc-etapes > li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: -14px; width: 2px; background: var(--bordure); }
.pc-etapes span { color: var(--discret); font-size: .92rem; }
.pc-valeur { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pc-valeur code, .pc-infos code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 1.15rem; font-weight: 700; color: var(--texte); background: var(--surface); border: 1px solid var(--bordure); border-radius: 8px; padding: 6px 10px; letter-spacing: .02em; }
.pc-infos code { font-size: .92rem; padding: 3px 7px; color: #FFFFFF; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.pc-copier { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--bordure); background: var(--surface); color: var(--accent); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.pc-copier .ico { width: 14px; height: 14px; }
.pc-infos .pc-copier { background: transparent; color: #7FF0EC; border-color: rgba(255, 255, 255, .2); padding: 3px 8px; }
.pc-coord { margin: 4px 0 0; display: grid; gap: 6px; }
.pc-coord div { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .pc-coord dt { min-width: 130px; color: var(--discret); font-size: .9rem; } .pc-coord dd { margin: 0; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.pc-form { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--bordure); }
.pc-form h2 { margin: 0; font-family: var(--titre); font-size: 1.1rem; font-weight: 800; }
.pc-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.pc-form input { min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--bordure); border-radius: 10px; background: var(--surface); color: var(--texte); font: inherit; }
.pc-form input:focus { outline: none; border-color: #0A55C2; box-shadow: 0 0 0 3px rgba(10, 85, 194, .15); }
.pc-cta { width: 100%; justify-content: center; padding-block: 15px; font-size: 1rem; }
.pc-rassure { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--discret); }
.pc-rassure .ico { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 2px; }
.pc-commande { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: #0B1736; color: #FFFFFF; box-shadow: 0 30px 60px rgba(5, 20, 50, .25); overflow: hidden; }
.pc-commande-titre { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #00C8C8; }
.pc-commande h2 { margin: 0; color: #FFFFFF; font-family: var(--titre); font-size: 1.15rem; font-weight: 800; line-height: 1.35; }
.pc-periode { margin: -8px 0 0; color: #AFC2E4; font-size: .9rem; }
.pc-lignes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; color: #C9D6EE; }
.pc-lignes li { display: flex; justify-content: space-between; gap: 10px; } .pc-lignes b { color: #FFFFFF; white-space: nowrap; }
.pc-montant { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pc-montant span { color: #C9D6EE; } .pc-montant b { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-infos { margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.pc-infos div { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc-infos dt { color: #AFC2E4; } .pc-infos dd { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.pc-statut { font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(242, 181, 68, .18); color: #FFD27A; }
.pc-statut.ok { background: rgba(0, 200, 120, .18); color: #7CF0B5; } .pc-statut.ko { background: rgba(255, 90, 90, .18); color: #FFB3B3; }
.pc-doc { display: inline-flex; gap: 8px; align-items: center; justify-content: center; width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }
.pc-doc:hover { background: rgba(255, 255, 255, .08); } .pc-doc .ico { width: 16px; height: 16px; }
.pc-aide { margin: 0; font-size: .84rem; color: #AFC2E4; } .pc-aide a { color: #7FF0EC; }
@media (max-width: 900px) { .pc-grille { grid-template-columns: minmax(0, 1fr); } .pc-commande { position: static; order: -1; } }
@media (max-width: 560px) { .pc-progression li span { display: none; } .pc-progression li { justify-content: center; } }
/* Preuve de paiement (capture d'écran) */
.pc-titulaire { color: var(--texte) !important; } .pc-titulaire b { letter-spacing: .01em; }
.pc-indispo { margin: 0; display: flex; gap: 12px; align-items: flex-start; } .pc-indispo .ico { width: 22px; height: 22px; color: #B07A00; flex: none; margin-top: 2px; }
.pc-moyen:has(small) small { white-space: nowrap; }
.pc-preuve { position: relative; display: grid !important; place-items: center; min-height: 150px; padding: 18px; border: 2px dashed color-mix(in srgb, #0A55C2 45%, var(--bordure)); border-radius: 16px; background: var(--fond-2); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.pc-preuve:hover, .pc-preuve:focus-within { border-color: #0A55C2; background: #EEF4FD; }
.pc-preuve input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.pc-preuve-vide { display: grid; gap: 6px; justify-items: center; color: var(--discret); pointer-events: none; }
.pc-preuve-vide .ico { width: 30px; height: 30px; color: #0A55C2; } .pc-preuve-vide b { color: var(--texte); font-size: 1rem; }
.pc-preuve.rempli .pc-preuve-vide { display: none; }
.pc-preuve-apercu { max-height: 280px; max-width: 100%; border-radius: 10px; box-shadow: 0 10px 24px rgba(10, 30, 70, .18); pointer-events: none; }
.pc-miniature { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; padding: 4px 8px 4px 4px; border-radius: 8px; border: 1px solid var(--bordure); background: var(--surface); color: var(--accent); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.pc-miniature img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }
.pc-visionneuse { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(5, 15, 35, .72); }
.pc-vis-boite { display: grid; gap: 12px; max-width: min(720px, 100%); max-height: 100%; overflow: auto; padding: 16px; border-radius: 16px; background: var(--surface); }
.pc-vis-tete { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; } .pc-vis-tete span { color: var(--discret); font-size: .88rem; } .pc-vis-tete button { margin-left: auto; }
.pc-vis-boite img { max-width: 100%; border-radius: 10px; }
.pc-docs { display: grid; gap: 8px; }
.pc-doc-note { margin: 0; font-size: .8rem; color: #8FA4C8; }
.pc-doc.pc-doc-payee { background: rgba(0, 200, 120, .16); border-color: rgba(124, 240, 181, .5); color: #7CF0B5; }
/* Tarif : offre individuelle seule ; Entreprises : offre Équipe seule */
.t-plans.t-plans-1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.eq-offre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--bordure); background: var(--surface); box-shadow: 0 30px 60px rgba(10, 30, 70, .10); }
.eq-prix { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(28px, 4vw, 44px); background: #0B1736; color: #FFFFFF; }
.eq-prix .t-badge { position: static; justify-self: start; background: #00C8C8; color: #0B1736; }
.eq-pour { margin: 0; color: #C9D6EE; font-size: 1.02rem; }
.eq-prix .t-montant b { color: #FFFFFF; font-size: clamp(3rem, 6vw, 4.2rem); }
.eq-prix .t-montant small, .eq-prix .t-montant span { color: #AFC2E4; }
.eq-plage { margin: 0; color: #AFC2E4; font-size: .92rem; }
.eq-prix .bouton { justify-self: start; background: #00C8C8 !important; border-color: #00C8C8 !important; color: #0B1736 !important; padding-inline: 26px; }
.eq-inclus { list-style: none; margin: 0; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; align-content: center; }
.eq-inclus li { display: grid; gap: 4px; padding-left: 30px; position: relative; }
.eq-inclus li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-clair); color: var(--ok); font-weight: 800; font-size: .8rem; }
.eq-inclus span { color: var(--discret); font-size: .9rem; }
@media (max-width: 900px) { .eq-offre { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .eq-inclus { grid-template-columns: minmax(0, 1fr); } }

/* ===== Espace administrateur : présentation « back-office » (octobre 2026) ===== */
.adm-hero { background: #0B1736; color: #FFFFFF; padding: clamp(24px, 4vw, 40px) 0 0; position: relative; overflow: hidden; }
.adm-hero::after { content: ""; position: absolute; right: 12%; top: -40%; width: 8px; height: 190%; background: #00C8C8; opacity: .4; transform: skewX(-24deg); pointer-events: none; }
.adm-hero .conteneur { position: relative; z-index: 1; }
.adm-hero-ligne { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.adm-hero h1 { margin: 0 0 8px; color: #FFFFFF; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.adm-hero p { margin: 0; color: #C9D6EE; max-width: 60ch; }
.adm-hero-alerte { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 14px; background: #FFB020; color: #2B1A00; font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.adm-hero-alerte b { font-size: 1.3rem; } .adm-hero-alerte .ico { width: 22px; height: 22px; }
.adm-hero-alerte.calme { background: rgba(0, 200, 120, .16); color: #7CF0B5; box-shadow: none; }
.adm-hero .adm-onglets { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; border: 0; }
.adm-hero .adm-onglets a { padding: 12px 18px; border-radius: 12px 12px 0 0; color: #C9D6EE; text-decoration: none; font-weight: 700; background: transparent; border: 0; }
.adm-hero .adm-onglets a:hover { color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.adm-hero .adm-onglets a[aria-current="page"] { background: var(--fond); color: var(--texte); }
.adm-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #FFB020; color: #2B1A00; font-size: .75rem; }
.adm-corps { padding-top: 28px; }
.adm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.adm-kpi { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); text-decoration: none; }
.adm-kpi .ico { grid-row: 1 / span 2; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #EEF4FD; color: #0A55C2; box-sizing: border-box; }
.adm-kpi b { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.adm-kpi span { color: var(--discret); font-size: .88rem; }
a.adm-kpi:hover { border-color: #0A55C2; }
.adm-kpi.alerte { border: 2px solid #FFB020; background: #FFF8E6; } .adm-kpi.alerte .ico { background: #FFB020; color: #2B1A00; } .adm-kpi.alerte b, .adm-kpi.alerte span { color: #3D2A00; }
@media (max-width: 900px) { .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .adm-kpis { grid-template-columns: minmax(0, 1fr); } }
.adm-verifs { display: grid; gap: 16px; }
.adm-verif { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 18px; border-radius: 18px; border: 1px solid var(--bordure); background: var(--surface); box-shadow: 0 14px 30px rgba(10, 30, 70, .06); }
.adm-preuve { position: relative; display: grid; place-items: center; height: 220px; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--bordure); background: var(--fond-2); cursor: zoom-in; }
.adm-preuve img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.adm-preuve span { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 23, 54, .85); color: #FFFFFF; font-size: .78rem; font-weight: 700; }
.adm-preuve i { color: var(--discret); font-style: normal; font-size: .85rem; } .adm-preuve:disabled { cursor: default; }
.adm-verif-corps { display: grid; gap: 10px; align-content: start; }
.adm-verif-tete { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-type { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #EEF4FD; color: #0A55C2; }
.adm-ref { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: .9rem; color: var(--discret); }
.adm-verif h3 { margin: 0; font-size: 1.15rem; } .adm-client { margin: -4px 0 0; color: var(--discret); }
.adm-faits { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.adm-faits div { padding: 10px 12px; border-radius: 10px; background: var(--fond-2); } .adm-faits dt { font-size: .76rem; color: var(--discret); } .adm-faits dd { margin: 2px 0 0; font-weight: 800; }
.adm-consigne { margin: 0; font-size: .88rem; color: var(--discret); }
.adm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-ok { background: #138A4E !important; border-color: #138A4E !important; color: #FFFFFF !important; } .adm-ok:hover { background: #0F7341 !important; }
.adm-ok .ico { width: 18px; height: 18px; }
.adm-vide { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--bordure); background: var(--surface); }
.adm-vide .ico { width: 28px; height: 28px; color: var(--ok); } .adm-vide div { display: grid; } .adm-vide span { color: var(--discret); }
@media (max-width: 700px) { .adm-verif { grid-template-columns: minmax(0, 1fr); } .adm-preuve { height: 200px; } .adm-faits { grid-template-columns: minmax(0, 1fr); } }

/* ===== Espace entreprise : connexion, accueil des agents, tableau de bord (octobre 2026) ===== */
.ee-hero { position: relative; overflow: hidden; background: #0B1736; color: #FFFFFF; padding: clamp(28px, 5vw, 56px) 0; }
.ee-hero::after { content: ""; position: absolute; right: 14%; top: -40%; width: 9px; height: 190%; background: #00C8C8; opacity: .45; transform: skewX(-24deg); pointer-events: none; }
.ee-hero .conteneur { position: relative; z-index: 1; }
.ee-hero h1 { margin: 0 0 10px; color: #FFFFFF; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; text-wrap: balance; }
.ee-hero p { margin: 0; color: #C9D6EE; max-width: 62ch; font-size: 1.05rem; line-height: 1.6; }
.ee-sortir { background: transparent !important; color: #FFFFFF !important; border-color: rgba(255, 255, 255, .4) !important; }
.ee-connexion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(24px, 5vw, 64px); align-items: center; }
.ee-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); border-radius: 20px; color: var(--texte); }
.ee-form h2 { margin: 0; font-family: var(--titre); font-size: 1.25rem; font-weight: 800; }
.ee-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.ee-form input, .ee-form select { min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--bordure); border-radius: 10px; background: var(--surface); color: var(--texte); font: inherit; }
.ee-form input[name="coupon"] { font-family: ui-monospace, Menlo, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ee-form .bouton { justify-content: center; padding-block: 14px; }
.ee-corps { padding-top: clamp(24px, 4vw, 40px); }
.ee-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.ee-formations { display: grid; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--bordure); background: var(--surface); }
.ee-formations h2 { margin: 0; font-size: 1.25rem; }
.ee-formations ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ee-formations li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--fond-2); }
.ee-formations li .ico { width: 22px; height: 22px; color: #0A55C2; flex: none; margin-top: 2px; }
.ee-formations li span { display: grid; gap: 2px; } .ee-formations li small { color: var(--discret); }
.ee-carte { display: flex; gap: 16px; padding: 24px; border-radius: 20px; border: 1px solid var(--bordure); background: var(--surface); }
.ee-carte.ee-ok { border: 2px solid var(--ok); } .ee-carte > .ico { width: 30px; height: 30px; color: var(--ok); flex: none; }
.ee-carte h2 { margin: 0 0 6px; }
.ee-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 28px; }
.ee-form-carte { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 16px; border: 1px solid var(--bordure); background: var(--surface); }
.ee-form-carte .adm-type { justify-self: start; } .ee-form-carte h3 { margin: 0; font-size: 1.05rem; } .ee-form-carte p { margin: 0; }
.ee-barre { height: 8px; border-radius: 999px; background: var(--fond-2); overflow: hidden; } .ee-barre i { display: block; height: 100%; background: linear-gradient(90deg, #0A55C2, #00C8C8); border-radius: 999px; }
.ee-inviter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; margin-bottom: 28px; border-radius: 18px; background: #EEF4FD; border: 1px solid #C9DBF6; color: #0B1736; }
.ee-inviter h2 { margin: 0 0 6px; color: #0B1736; } .ee-inviter p { margin: 0 0 8px; color: #33415C; }
.ee-inviter .actions { flex-direction: column; align-items: stretch; }
.ee-lien { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ee-lien span { font-family: ui-monospace, Menlo, monospace; font-size: .86rem; word-break: break-all; padding: 6px 10px; border-radius: 8px; background: #FFFFFF; }
.ee-deja { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 22px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--bordure); background: var(--surface); }
.ee-deja > .ico { width: 26px; height: 26px; color: #0A55C2; } .ee-deja div { display: grid; flex: 1 1 260px; } .ee-deja span { color: var(--discret); }
.ee-mdp { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--fond-2); }
.ee-mdp p { margin: 0; display: grid; gap: 2px; } .ee-mdp span { color: var(--discret); font-size: .88rem; }
@media (max-width: 900px) { .ee-connexion, .ee-grille, .ee-inviter { grid-template-columns: minmax(0, 1fr); } }
.apercu-espaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.apercu-espaces li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--fond-2); }
.apercu-espaces span { display: grid; min-width: 0; } .apercu-espaces small { color: var(--discret); overflow-wrap: anywhere; }

/* ===== Profils (espace entreprise, espace étudiant) façon réseau professionnel (octobre 2026) ===== */
.pf-tete { background: var(--surface); border-bottom: 1px solid var(--bordure); padding-bottom: 22px; }
.pf-couverture { height: clamp(130px, 18vw, 210px); background:
  linear-gradient(115deg, transparent 0 58%, rgba(0, 200, 200, .9) 58% 59.2%, transparent 59.2% 100%),
  linear-gradient(115deg, transparent 0 66%, rgba(10, 85, 194, .55) 66% 80%, transparent 80% 100%),
  radial-gradient(circle at 18% 30%, rgba(0, 200, 200, .25), transparent 40%),
  linear-gradient(135deg, #0B1736 0%, #102A5C 60%, #0A55C2 100%); }
.pf-ligne { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; margin-top: calc(-1 * clamp(48px, 6vw, 64px)); }
.pf-avatar { flex: none; display: grid; place-items: center; width: clamp(96px, 12vw, 132px); height: clamp(96px, 12vw, 132px); border-radius: 24px; border: 5px solid var(--surface); background: linear-gradient(135deg, #00C8C8, #0A55C2); color: #FFFFFF; font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 600; box-shadow: 0 14px 30px rgba(5, 20, 50, .25); }
.pf-avatar.rond { border-radius: 50%; }
.pf-ident { flex: 1 1 320px; min-width: 0; padding-bottom: 4px; }
.pf-ident h1 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.1; color: var(--texte); }
.pf-ident > p { margin: 4px 0 8px; color: var(--discret); }
.pf-puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--texte); font-size: .9rem; font-weight: 600; }
.pf-puces li { display: inline-flex; gap: 6px; align-items: center; } .pf-puces .ico { width: 16px; height: 16px; color: #0A55C2; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 6px; }
.pf-badge { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #EEF4FD; color: #0A55C2; font-weight: 700; font-size: .85rem; } .pf-badge .ico { width: 15px; height: 15px; }
.pf-corps { padding-top: 26px; background: var(--fond-2); }
.pf-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pf-colonne { display: grid; gap: 20px; }
.pf-carte { display: grid; gap: 12px; padding: clamp(20px, 3vw, 28px); border-radius: 18px; border: 1px solid var(--bordure); background: var(--surface); box-shadow: 0 10px 26px rgba(10, 30, 70, .05); }
.pf-carte h2 { margin: 0; font-family: var(--titre); font-size: 1.3rem; font-weight: 800; } .pf-carte > p { margin: 0; color: var(--discret); }
.pf-etiquette { margin: 0 !important; justify-self: start; font-size: .72rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #0A55C2 !important; }
.pf-carte label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.pf-carte input { min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--bordure); border-radius: 12px; background: var(--surface); color: var(--texte); font: inherit; }
.pf-carte input:focus { outline: none; border-color: #0A55C2; box-shadow: 0 0 0 3px rgba(10, 85, 194, .15); }
.pf-coupon { font-family: ui-monospace, Menlo, monospace !important; font-size: 1.25rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.pf-agent { border: 2px solid #0A55C2; }
.pf-agent .bouton { justify-content: center; padding-block: 14px; font-size: 1.02rem; }
.pf-resp .bouton { justify-content: center; }
.pf-ok { border-color: var(--ok); }
.pf-carte-tete { display: flex; gap: 14px; align-items: center; } .pf-carte-tete p { margin: 2px 0 0; color: var(--discret); }
.pf-formation { margin: 0; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--fond-2); } .pf-formation .ico { width: 20px; height: 20px; color: #0A55C2; }
.pf-mini-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #0A55C2, #00C8C8); color: #FFFFFF; font-weight: 800; }
.pf-formations { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-formations li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--fond-2); }
.pf-niv { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--turq-texte, #007F86); }
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.pf-stats div { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--bordure); }
.pf-stats b { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.05; } .pf-stats small { font-size: 1rem; color: var(--discret); } .pf-stats span { color: var(--discret); font-size: .88rem; }
.pf-section-tete { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 8px 0 14px; } .pf-section-tete h2 { margin: 0; }
.pf-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 30px; }
.pf-agent-carte { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--bordure); }
.pf-agent-info { display: grid; gap: 4px; min-width: 0; flex: 1; } .pf-agent-info h3 { margin: 0; font-size: 1.05rem; } .pf-agent-info p { margin: 0; color: var(--discret); font-size: .9rem; }
.pf-jauge { height: 8px; border-radius: 999px; background: var(--fond-2); overflow: hidden; margin: 6px 0 2px; } .pf-jauge i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0A55C2, #00C8C8); }
.pf-vide { display: flex; gap: 14px; align-items: center; padding: 20px; margin-bottom: 30px; border-radius: 16px; border: 1px dashed var(--bordure); background: var(--surface); }
.pf-vide .ico { width: 30px; height: 30px; color: #0A55C2; } .pf-vide div { display: grid; } .pf-vide span { color: var(--discret); }
.pf-partage { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 16px 18px; margin-bottom: 16px; border-radius: 14px; background: #EEF4FD; border: 1px solid #C9DBF6; color: #0B1736; }
.pf-partage > .ico { width: 22px; height: 22px; color: #0A55C2; } .pf-partage div { display: grid; gap: 2px; flex: 1 1 280px; min-width: 0; }
.pf-partage span { font-family: ui-monospace, Menlo, monospace; font-size: .84rem; overflow-wrap: anywhere; color: #33415C; }
.pf-coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pf-ticket { position: relative; display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--bordure); border-left: 5px solid #00C8C8; }
.pf-ticket.utilise { border-left-color: var(--ok); opacity: .85; }
.pf-ticket-haut { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--discret); } .pf-ticket-haut span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-statut { flex: none; font-weight: 800; color: var(--turq-texte, #007F86); } .pf-ticket.utilise .pf-statut { color: var(--ok); }
.pf-ticket code { font-family: ui-monospace, Menlo, monospace; font-size: 1.3rem; font-weight: 800; letter-spacing: .06em; color: var(--texte); }
.pf-ticket p { margin: 0; font-size: .86rem; color: var(--discret); } .pf-ticket .btn-petit { justify-self: start; }
@media (max-width: 900px) { .pf-grille { grid-template-columns: minmax(0, 1fr); } .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-ligne { align-items: flex-start; }
.pf-ident, .pf-ligne > .pf-actions { padding-top: calc(clamp(48px, 6vw, 64px) + 12px); }
.pf-ticket, .pf-ticket-haut { min-width: 0; }
.pf-ticket-haut span:first-child { min-width: 0; flex: 1 1 auto; }
.pf-ticket code { font-size: 1.12rem; overflow-wrap: anywhere; }
@media (max-width: 640px) { .pf-ident, .pf-ligne > .pf-actions { padding-top: 0; } .pf-ligne { align-items: flex-end; } .pf-ligne .pf-ident { flex-basis: 100%; } }
.pf-coupons-bloc { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; padding: 22px 24px; border-radius: 18px; background: #0B1736; color: #FFFFFF; }
.pf-coupons-bloc > .ico { width: 34px; height: 34px; color: #00C8C8; flex: none; }
.pf-coupons-bloc div { flex: 1 1 320px; } .pf-coupons-bloc h2 { margin: 0 0 4px; color: #FFFFFF; } .pf-coupons-bloc p { margin: 0; color: #C9D6EE; }
.pf-coupons-bloc .bouton { background: #00C8C8 !important; border-color: #00C8C8 !important; color: #0B1736 !important; }
.entete nav a, .lien-connexion { white-space: nowrap; }
@media (min-width: 1000px) { .entete-int > nav { flex-wrap: nowrap; } .recherche-entete { flex: 0 1 300px; min-width: 200px; } }

/* ===== Connexion et inscription, présentation épurée façon réseau social (octobre 2026) ===== */
.ac-page { min-height: calc(100vh - 140px); display: grid; align-items: center; background: #F0F2F5; padding: clamp(28px, 6vw, 80px) max(16px, env(safe-area-inset-left, 0px)) clamp(36px, 6vw, 80px) max(16px, env(safe-area-inset-right, 0px)); }
.ac-grille { width: min(980px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 396px); gap: clamp(28px, 6vw, 72px); align-items: center; }
.ac-marque { display: grid; gap: 14px; }
.ac-logo { width: min(300px, 70%); height: auto; }
.ac-marque p { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.3; color: #1C1E21; max-width: 30ch; }
.ac-boite { display: grid; gap: 18px; }
.ac-carte { display: grid; gap: 12px; padding: 18px 16px 24px; border-radius: 10px; background: #FFFFFF; box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1); }
.ac-carte input, .ac-inscription input { width: 100%; box-sizing: border-box; height: 52px; padding: 14px 16px; border: 1px solid #DDDFE2; border-radius: 6px; background: #FFFFFF; color: #1C1E21; font: inherit; font-size: 17px; }
.ac-carte input:focus, .ac-inscription input:focus { outline: none; border-color: #0A55C2; box-shadow: 0 0 0 2px #E7F0FD; }
.ac-bouton { height: 48px; border: 0; border-radius: 6px; background: #0A55C2; color: #FFFFFF; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.ac-bouton:hover { background: #0848A6; }
.ac-lien { justify-self: center; color: #0A55C2; font-size: 14px; text-decoration: none; } .ac-lien:hover { text-decoration: underline; }
.ac-carte hr { width: 100%; border: 0; border-top: 1px solid #DADDE1; margin: 8px 0; }
.ac-creer { justify-self: center; height: 48px; padding: 0 18px; background: #00A88F; font-size: 17px; } .ac-creer:hover { background: #00917C; }
.ac-note { margin: 0; text-align: center; font-size: 14px; color: #1C1E21; }
.ac-voile { position: fixed; inset: 0; z-index: 90; background: rgba(244, 244, 244, .8); }
.ac-modale { position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(432px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; border-radius: 8px; background: #FFFFFF; box-shadow: 0 12px 28px rgba(0, 0, 0, .2), 0 2px 4px rgba(0, 0, 0, .1); }
.ac-modale-tete { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid #DADDE1; }
.ac-modale-tete h2 { margin: 0; font-family: var(--titre); font-size: 32px; font-weight: 700; color: #1C1E21; } .ac-modale-tete p { margin: 2px 0 0; color: #606770; font-size: 15px; }
.ac-fermer { border: 0; background: transparent; font-size: 30px; line-height: 1; color: #606770; cursor: pointer; padding: 4px 8px; }
.ac-inscription { display: grid; gap: 10px; padding: 16px; }
.ac-inscription input { height: 42px; padding: 10px 12px; font-size: 15px; background: #F5F6F7; border-color: #CCD0D5; }
.ac-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-coupon-lib { margin-top: 4px; font-size: 12px; color: #606770; } .ac-coupon-lib span { color: #8A8D91; }
.ac-coupon { font-family: ui-monospace, Menlo, monospace !important; letter-spacing: .08em; text-transform: uppercase; }
.ac-petit { margin: 4px 0; font-size: 11px; color: #777; line-height: 1.4; } .ac-petit a { color: #385898; }
.ac-centre { width: 194px; justify-self: center; font-size: 18px; }
@media (max-width: 860px) { .ac-grille { grid-template-columns: minmax(0, 1fr); text-align: center; } .ac-marque { justify-items: center; } .ac-boite { width: min(396px, 100%); margin: 0 auto; } }
body.page-auth .entete, body.page-auth #bandeau, body.page-auth #bandeau-abo, body.page-auth #avis-mobile, body.page-auth .pied, body.page-auth #bouton-aide, body.page-auth .apercu-flottant { display: none !important; }
body.page-auth { background: #F0F2F5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.page-auth { background: var(--fond); } }
:root[data-theme="dark"] body.page-auth { background: var(--fond); }
body.page-auth .ac-page { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; }
.ac-retour { justify-self: center; font-size: 14px; color: #606770; text-decoration: none; } .ac-retour:hover { text-decoration: underline; }

/* ===== Tarif (octobre 2026) ===== */
.tf-bienvenue { background: #E8F7EF; border-bottom: 1px solid #BFE5CF; }
.tf-bienvenue .conteneur { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-block: 14px; }
.tf-bienvenue .ico { width: 24px; height: 24px; color: #138A4E; } .tf-bienvenue div { display: grid; flex: 1 1 320px; color: #10391F; } .tf-bienvenue span { color: #2E5A3E; }
.tf-page { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--fond-2), var(--fond) 360px); }
.tf-tete { text-align: center; max-width: 720px; margin: 0 auto clamp(24px, 4vw, 40px); }
.tf-tete h1 { margin: 6px 0 10px; font-size: clamp(2rem, 4.4vw, 3rem); text-wrap: balance; } .tf-tete p { margin: 0; color: var(--discret); font-size: 1.08rem; }
.tf-grille { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: stretch; max-width: 1040px; margin: 0 auto; }
.tf-offre { position: relative; overflow: hidden; display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 34px); border-radius: 22px; background: #0B1736; color: #FFFFFF; box-shadow: 0 30px 60px rgba(5, 20, 50, .25); }
.tf-offre::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 200, .35), transparent 70%); pointer-events: none; }
.tf-nom { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #00C8C8; }
.tf-bascule { display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.tf-bascule button { border: 0; background: transparent; color: #C9D6EE; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.tf-bascule button[aria-pressed="true"] { background: #FFFFFF; color: #0B1736; } .tf-bascule span { color: #00C8C8; font-size: .8rem; } .tf-bascule button[aria-pressed="true"] span { color: #138A4E; }
.tf-prix { margin: 0; display: flex; align-items: flex-end; gap: 10px; } .tf-prix b { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 4.8rem); font-weight: 600; line-height: .9; }
.tf-prix span { color: #AFC2E4; font-size: .95rem; line-height: 1.25; padding-bottom: 6px; }
.tf-facture { margin: 0; color: #C9D6EE; } .tf-facture b { color: #FFFFFF; }
.tf-cta { width: 100%; justify-content: center; padding-block: 15px; font-size: 1.05rem; background: #00C8C8 !important; border-color: #00C8C8 !important; color: #0B1736 !important; }
.tf-actif { margin: 0; display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(0, 200, 120, .16); color: #7CF0B5; font-weight: 700; } .tf-actif .ico { width: 18px; height: 18px; }
.tf-paiement { margin: 0; display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #8FA4C8; } .tf-paiement .ico { width: 14px; height: 14px; flex: none; }
.tf-plus-tard { justify-self: center; color: #C9D6EE; font-size: .9rem; } .tf-plus-tard:hover { color: #FFFFFF; }
.tf-inclus { padding: clamp(22px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--bordure); background: var(--surface); }
.tf-inclus h2 { margin: 0 0 18px; font-size: 1.4rem; }
.tf-inclus ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.tf-inclus li { display: flex; gap: 12px; align-items: flex-start; } .tf-inclus li .ico { flex: none; width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: #EEF4FD; color: #0A55C2; }
.tf-inclus li span { display: grid; gap: 2px; color: var(--discret); font-size: .9rem; } .tf-inclus li b { color: var(--texte); font-size: 1rem; }
@media (max-width: 860px) { .tf-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .tf-inclus ul { grid-template-columns: minmax(0, 1fr); } }
/* Mots de passe : afficher / masquer */
.mdp-champ { position: relative; display: block; width: 100%; }
.mdp-champ > input { width: 100%; padding-right: 48px !important; box-sizing: border-box; }
.mdp-oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: #606770; cursor: pointer; }
.mdp-oeil:hover { background: rgba(0, 0, 0, .05); color: #1C1E21; } .mdp-oeil:focus-visible { outline: 2px solid #0A55C2; }
/* Espace étudiant : en-tête réduit (logo, « Espace étudiant », compte) */
.etu-titre, .etu-liens { display: none; }
body.page-etudiant .entete-int > nav, body.page-etudiant .recherche-entete, body.page-etudiant .lien-connexion, body.page-etudiant .bouton-espace { display: none !important; }
body.page-etudiant .etu-titre { display: inline-flex; align-items: center; padding-left: 14px; margin-left: 2px; border-left: 2px solid var(--bordure); font-family: var(--titre); font-weight: 800; font-size: 1.05rem; color: var(--texte); }

/* Photo de profil */
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.pf-avatar-modif { position: relative; cursor: pointer; overflow: visible; padding: 0; }
.pf-avatar-modif img { border-radius: 50%; }
.pf-avatar-cam { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; color: #1C1E21; border: 1px solid var(--bordure); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.pf-avatar-modif:hover .pf-avatar-cam, .pf-avatar-modif:focus-within .pf-avatar-cam { background: #EEF4FD; color: #0A55C2; }
.pf-avatar-modif:focus-within { outline: 3px solid #0A55C2; outline-offset: 3px; }
.espace-blocs > .espace-bloc:last-child { grid-column: 1 / -1; }
.ac-retour { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid #0A55C2; color: #0A55C2 !important; background: #FFFFFF; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.ac-retour:hover { background: #EEF4FD; }
.ac-coupon-page { display: grid; gap: 20px; max-width: 640px; }

/* ---------- En-tête selon le compte ---------- */
.entete-int > .lien-connexion, .entete-int > .bouton-espace { display: none !important; }
.cpt-zone { display: flex; align-items: center; gap: 10px; margin-left: auto; position: relative; }
.cpt-connexion { font-family: var(--titre); font-weight: 700; font-size: .95rem; color: var(--texte) !important; text-decoration: none; padding: 9px 14px; border-radius: 8px; white-space: nowrap; }
.cpt-connexion:hover { background: #F0F3F8; }
.cpt-inscrire { font: inherit; font-family: var(--titre); font-weight: 700; font-size: .95rem; color: #fff; background: #0A55C2; border: 0; border-radius: 8px; padding: 10px 18px; cursor: pointer; white-space: nowrap; }
.cpt-inscrire:hover { background: #0846A0; }
.cpt-lien { font-family: var(--titre); font-weight: 700; font-size: .95rem; color: var(--texte) !important; text-decoration: none; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.cpt-lien:hover { background: #F0F3F8; }
.cpt-avatar, .cpt-mini { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; overflow: hidden; display: inline-grid; place-items: center; background: linear-gradient(135deg, #0BB5C4, #0A55C2); color: #fff; font-family: var(--titre); font-weight: 800; font-size: .95rem; flex: none; }
.cpt-avatar { cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #D5DCE6; }
.cpt-avatar:hover, .cpt-avatar[aria-expanded="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0A55C2; }
.cpt-avatar img, .cpt-mini img { width: 100%; height: 100%; object-fit: cover; }
.cpt-mini { width: 48px; height: 48px; font-size: 1.05rem; }
.cpt-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 290px; background: #fff; border: 1px solid #E1E6EE; border-radius: 12px; box-shadow: 0 18px 40px rgba(10,30,70,.16); padding: 8px; z-index: 60; display: grid; }
.cpt-menu[hidden] { display: none; }
.cpt-menu-tete { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid #EEF1F5; margin-bottom: 6px; min-width: 0; }
.cpt-menu-tete div { display: grid; min-width: 0; }
.cpt-menu-tete b { font-family: var(--titre); font-size: 1rem; color: var(--texte); }
.cpt-menu-tete small { color: #5B6678; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpt-menu a, .cpt-menu button { display: block; text-align: left; font: inherit; font-size: .95rem; font-weight: 600; color: var(--texte) !important; text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.cpt-menu a:hover, .cpt-menu button:hover { background: #F0F3F8; }
.cpt-menu hr { border: 0; border-top: 1px solid #EEF1F5; margin: 6px 0; }
.cpt-sortie { color: #B42318 !important; }
body.page-auth .cpt-zone { display: none; }
@media (max-width: 720px) {
  .cpt-zone { gap: 6px; }
  .cpt-connexion { padding: 8px 8px; font-size: .9rem; }
  .cpt-inscrire { padding: 9px 12px; font-size: .9rem; }
  .cpt-lien { display: none; }
  .cpt-menu { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; }
}
.cpt-menu .cpt-sortie { color: #B42318 !important; }
@media (max-width: 720px) {
  .entete-int > .marque { order: 0; }
  .entete-int > .etu-titre { order: 1; }
  .entete-int > .cpt-zone { order: 2; }
  .entete-int > nav { order: 3; }
  .entete-int > .recherche-entete { order: 4; }
}
@media (max-width: 720px) {
  .entete-int { column-gap: 10px; }
  .cpt-zone { gap: 4px; }
  .cpt-connexion { padding: 8px 6px; font-size: .86rem; }
  .cpt-inscrire { padding: 9px 11px; font-size: .86rem; }
}

/* ---------- Espace entreprise : tableau de bord ---------- */
a.ac-bouton { display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; color: #FFFFFF !important; }
.ac-surtitre { margin: 6px 0 -4px; font-family: var(--titre); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; color: #0A55C2 !important; text-transform: uppercase; }
.cpt-avatar-ent { background: linear-gradient(135deg, #0B1F45, #0A55C2) !important; border-radius: 10px !important; }
.pf-ligne > .pf-actions .bouton { display: inline-flex; align-items: center; gap: 8px; }
.eb-corps .conteneur { display: grid; gap: 22px; }
.eb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.eb-stats > div { background: #fff; border: 1px solid #E3E8EF; border-radius: 12px; padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.eb-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: #EAF1FC; color: #0A55C2; display: grid; place-items: center; }
.eb-ico .ico { width: 22px; height: 22px; }
.eb-stats b { font-family: var(--titre); font-size: 1.6rem; color: var(--texte); line-height: 1.1; }
.eb-stats b small { font-size: .95rem; color: #6B7689; font-weight: 600; }
.eb-stats span:last-child { color: #5B6678; font-size: .9rem; }
.eb-carte { background: #fff; border: 1px solid #E3E8EF; border-radius: 14px; overflow: hidden; }
.eb-carte-tete { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: flex-end; padding: 20px 22px 16px; border-bottom: 1px solid #EEF1F5; }
.eb-carte-tete h2 { margin: 0 0 4px; font-size: 1.25rem; }
.eb-carte-tete p { margin: 0; color: #5B6678; font-size: .93rem; }
.eb-filtres { display: flex; flex-wrap: wrap; gap: 6px; }
.eb-filtres button { font: inherit; font-size: .88rem; font-weight: 700; border: 1px solid #D9E0EA; background: #fff; color: #33405A; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.eb-filtres button span { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: #EEF1F5; font-size: .8rem; }
.eb-filtres button.actif { background: #0A55C2; border-color: #0A55C2; color: #fff; }
.eb-filtres button.actif span { background: rgba(255,255,255,.22); }
.eb-entete-col, .eb-ligne { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 18px; align-items: center; padding: 14px 22px; }
.eb-entete-col { background: #F7F9FC; color: #6B7689; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 10px; padding-bottom: 10px; }
.eb-ligne { border-top: 1px solid #EEF1F5; }
.eb-ligne:hover { background: #FAFBFD; }
.eb-ligne[hidden] { display: none; }
.eb-ligne small { display: block; color: #6B7689; font-size: .83rem; line-height: 1.4; overflow-wrap: anywhere; }
.eb-ligne b { color: var(--texte); font-size: .95rem; }
.eb-qui { display: flex; gap: 12px; align-items: center; min-width: 0; }
.eb-qui > div { min-width: 0; }
.eb-av { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #0BB5C4, #0A55C2); color: #fff; font-family: var(--titre); font-weight: 800; font-size: .9rem; }
.eb-av img { width: 100%; height: 100%; object-fit: cover; }
.eb-av-vide { background: #EEF1F5; color: #98A2B3; } .eb-av-vide .ico { width: 20px; height: 20px; }
.eb-ligne[data-statut="attente"] .eb-qui b { color: #6B7689; font-weight: 600; }
.eb-coupon { display: grid; gap: 6px; justify-items: start; }
.eb-coupon code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; font-weight: 700; background: #F2F5F9; border: 1px solid #E3E8EF; border-radius: 6px; padding: 3px 7px; color: #22304A; }
.eb-etat { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.eb-etat-ok { background: #E7F6EE; color: #127A45; }
.eb-etat-fini { background: #EAF1FC; color: #0A55C2; }
.eb-etat-attente { background: #FFF4E5; color: #A15C07; }
.eb-av-col { display: grid; gap: 6px; }
.eb-pc { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.eb-pc b { font-family: var(--titre); font-size: 1.05rem; }
.eb-jauge { height: 8px; background: #EEF1F5; border-radius: 999px; overflow: hidden; }
.eb-jauge i { display: block; height: 100%; background: linear-gradient(90deg, #0BB5C4, #0A55C2); border-radius: 999px; }
.eb-maj { color: #98A2B3 !important; }
.eb-vide { padding: 26px 22px; color: #6B7689; margin: 0; border-top: 1px solid #EEF1F5; }
.eb-titre { margin: 8px 0 -6px; font-size: 1.25rem; }
.eb-formations { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.eb-fcarte { background: #fff; border: 1px solid #E3E8EF; border-radius: 12px; padding: 18px; display: grid; gap: 10px; }
.eb-fcarte p { margin: 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #0A55C2; }
.eb-fcarte h3 { margin: 0; font-size: 1.05rem; }
.eb-fchiffres { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #5B6678; font-size: .88rem; }
.eb-fchiffres b { color: var(--texte); }
@media (max-width: 900px) {
  .eb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-entete-col { display: none; }
  .eb-ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px; }
  .eb-qui { grid-column: 1; } .eb-coupon { grid-column: 2; grid-row: 1; justify-items: end; }
  .eb-form, .eb-av-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .eb-stats > div { padding: 14px; } .eb-stats b { font-size: 1.3rem; } .eb-ico { width: 36px; height: 36px; } }
/* Suivi des agents : un tableau par formation */
.eb-carte-tete { align-items: center; }
.eb-carte-tete h2 { margin: 0; }
.eb-groupe + .eb-groupe { border-top: 8px solid #F3F5F9; }
.eb-groupe-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 16px 22px 12px; }
.eb-groupe-tete h3 { margin: 0; font-size: 1.08rem; }
.eb-groupe-tete p { margin: 2px 0 0; color: #6B7689; font-size: .86rem; }
.eb-groupe-chiffres { display: flex; gap: 16px; color: #5B6678; font-size: .88rem; }
.eb-groupe-chiffres b { color: var(--texte); }
.eb-table-zone { overflow-x: auto; }
.eb-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.eb-table[hidden] { display: none; }
.eb-table th { text-align: left; background: #F7F9FC; color: #6B7689; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 9px 22px; border-top: 1px solid #EEF1F5; border-bottom: 1px solid #EEF1F5; white-space: nowrap; }
.eb-table td { padding: 11px 22px; border-bottom: 1px solid #F0F2F6; vertical-align: middle; }
.eb-table tr:last-child td { border-bottom: 0; }
.eb-table tr.eb-ligne { display: table-row; border: 0; padding: 0; }
.eb-table tr.eb-ligne[hidden] { display: none; }
.eb-table tbody tr:hover { background: #FAFBFD; }
.eb-table td:first-child { width: 1%; white-space: nowrap; }
.eb-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; font-weight: 700; background: #F2F5F9; border: 1px solid #E3E8EF; border-radius: 6px; padding: 3px 7px; color: #22304A; }
.eb-nom b { display: block; font-size: .93rem; }
.eb-nom small, .eb-av-col small { display: block; color: #6B7689; font-size: .8rem; }
.eb-nom-vide, .eb-muet { color: #A0A9B8; }
.eb-table td:nth-child(3) { white-space: nowrap; }
.eb-table .eb-av-col { min-width: 190px; display: table-cell; }
.eb-table .eb-pc { display: flex; align-items: center; gap: 10px; }
.eb-table .eb-pc .eb-jauge { flex: 1; min-width: 80px; }
.eb-table .eb-pc b { font-size: .88rem; min-width: 40px; text-align: right; }
.eb-groupe .eb-vide { border-top: 1px solid #EEF1F5; padding: 14px 22px; font-size: .9rem; }
@media (max-width: 640px) {
  .eb-groupe-tete, .eb-carte-tete { padding-left: 16px; padding-right: 16px; }
  .eb-table th, .eb-table td { padding-left: 12px; padding-right: 12px; }
  .eb-table th:nth-child(3), .eb-table td:nth-child(3) { display: none; }
  .eb-table .eb-av-col { min-width: 120px; }
}
.eb-table { table-layout: fixed; }
.eb-table th:nth-child(1), .eb-table td:nth-child(1) { width: 170px; }
.eb-table th:nth-child(2), .eb-table td:nth-child(2) { width: 26%; }
.eb-table th:nth-child(3), .eb-table td:nth-child(3) { width: 210px; }
.eb-nom b, .eb-nom small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .eb-table th:nth-child(1), .eb-table td:nth-child(1) { width: 128px; }
  .eb-table th:nth-child(2), .eb-table td:nth-child(2) { width: auto; }
  .eb-table th:nth-child(4), .eb-table td:nth-child(4) { width: 34%; }
  .eb-table code { font-size: .76rem; padding: 2px 5px; }
}
.ac-entreprise { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1px solid #DCE3EC; border-radius: 10px; padding: 14px 16px; text-decoration: none !important; color: var(--texte) !important; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ac-entreprise:hover { border-color: #0A55C2; }
.ac-entreprise > span:first-child { width: 38px; height: 38px; border-radius: 9px; background: #0B1F45; color: #fff; display: grid; place-items: center; }
.ac-entreprise > span:first-child .ico { width: 18px; height: 18px; }
.ac-entreprise b { display: block; font-size: .95rem; }
.ac-entreprise small { display: block; color: #5B6678; font-size: .84rem; margin-top: 2px; }
.ac-entreprise > span:last-child { color: #0A55C2; font-weight: 800; font-size: 1.1rem; }
@media (max-width: 720px) {
  .a-hero-produit .ahp-carte { display: none; }
  .a-hero-produit { padding: 8px 0 0; }
}

/* ---------- Comptes entreprise ---------- */
.ac-grille-ent { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.ac-carte-ent { gap: 10px; }
.ac-titre { margin: 2px 0 4px; font-size: 1.25rem; text-align: center; }
.ac-carte select { width: 100%; box-sizing: border-box; height: 52px; padding: 0 14px; border: 1px solid #DDDFE2; border-radius: 6px; background: #FFFFFF; color: #1C1E21; font: inherit; font-size: 17px; }
.ac-carte select:focus { outline: none; border-color: #0A55C2; box-shadow: 0 0 0 2px #E7F0FD; }
.ac-carte-ent .ac-deux input { font-size: 15px; }
.ac-lien-ent { text-align: center; }
@media (max-width: 860px) { .ac-grille-ent .ac-boite { width: min(460px, 100%); } }
@media (max-width: 420px) { .ac-carte-ent .ac-deux { grid-template-columns: 1fr; } }
.eq-deja { margin: 10px 0 0; color: rgba(255,255,255,.8); font-size: .9rem; }
.eq-deja a { color: #5EEAD4 !important; font-weight: 700; }
.eo-cta { display: grid; gap: 12px; justify-items: start; align-content: center; }
.eo-cta .bouton { background: #0BC5C5 !important; color: #06213F !important; border-color: #0BC5C5 !important; font-size: 1.05rem; padding: 14px 26px; }
.eo-lien { color: #fff !important; font-weight: 700; text-decoration: underline; }
.eo-corps { display: grid; gap: 28px; }
.ent-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ent-etapes li { display: flex; gap: 14px; background: #fff; border: 1px solid #E3E8EF; border-radius: 12px; padding: 18px; }
.ent-etapes li > b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0A55C2; color: #fff; display: grid; place-items: center; font-family: var(--titre); }
.ent-etapes h3 { margin: 4px 0 6px; font-size: 1.02rem; }
.ent-etapes p { margin: 0; color: #5B6678; font-size: .92rem; }
.ent-actions-bas { margin-top: 22px; }
@media (max-width: 820px) { .ent-etapes { grid-template-columns: minmax(0, 1fr); } }
.eb-bienvenue { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid #E3E8EF; border-radius: 14px; padding: 26px; }
.eb-bienvenue > .ico { width: 34px; height: 34px; color: #0A55C2; flex: none; }
.eb-bienvenue h2 { margin: 0 0 8px; }
.eb-bienvenue p { margin: 0 0 16px; color: #5B6678; max-width: 64ch; }
.eb-demandes .eb-carte-tete { display: block; }
.eb-demandes .eb-carte-tete p { margin-top: 4px; }
.eb-dem { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px 22px; align-items: center; padding: 16px 22px; border-top: 1px solid #EEF1F5; }
.eb-dem-info b { display: block; }
.eb-dem-info small { display: block; color: #6B7689; font-size: .84rem; margin-top: 2px; }
.eb-dem-montant { display: grid; gap: 6px; justify-items: end; }
.eb-dem-montant b { font-family: var(--titre); font-size: 1.15rem; }
.eb-etat-ko { background: #FDECEC; color: #B42318; }
@media (max-width: 700px) { .eb-dem { grid-template-columns: minmax(0, 1fr); } .eb-dem-montant { justify-items: start; } }

/* ---------- Test de positionnement : une question par écran ---------- */
.tp-page { background: #F3F5F9; padding: clamp(24px, 5vw, 56px) 16px clamp(40px, 6vw, 80px); min-height: calc(100vh - 160px); }
.tp-cadre { width: min(760px, 100%); margin: 0 auto; display: grid; gap: 18px; }
.tp-haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tp-titre { display: grid; }
.tp-titre b { font-family: var(--titre); font-size: 1.05rem; color: var(--texte); }
.tp-titre span { color: #6B7689; font-size: .86rem; }
.tp-quitter { color: #5B6678 !important; font-weight: 700; font-size: .92rem; text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.tp-quitter:hover { background: #E7ECF3; }
.tp-barre { height: 6px; border-radius: 999px; background: #DDE3EC; overflow: hidden; }
.tp-barre i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0BB5C4, #0A55C2); transition: width .35s ease; }
.tp-carte { background: #fff; border: 1px solid #E3E8EF; border-radius: 18px; box-shadow: 0 10px 30px rgba(10, 30, 70, .06); padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; }
.tp-num { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0A55C2; }
.tp-question { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25; color: var(--texte); }
.tp-aide { margin: -4px 0 6px; color: #6B7689; font-size: .92rem; }
.tp-options { display: grid; gap: 10px; }
.tp-option, .tp-chip { font: inherit; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 14px; width: 100%; background: #fff; color: var(--texte); border: 1.5px solid #D9E0EA; border-radius: 12px; padding: 14px 16px; transition: border-color .15s, background .15s, box-shadow .15s; }
.tp-option:hover, .tp-chip:hover { border-color: #0A55C2; background: #F7FAFF; }
.tp-option:focus-visible, .tp-chip:focus-visible { outline: 3px solid #BFD6FA; outline-offset: 2px; }
.tp-option b { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid #C9D2DF; display: grid; place-items: center; font-family: var(--titre); font-size: .9rem; color: #33405A; background: #F7F9FC; }
.tp-option span, .tp-chip span { flex: 1; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.tp-option i, .tp-chip i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #0A55C2; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.tp-option i .ico, .tp-chip i .ico { width: 14px; height: 14px; }
.tp-option.choisi, .tp-chip.choisi { border-color: #0A55C2; background: #EEF4FD; box-shadow: 0 0 0 1px #0A55C2 inset; }
.tp-option.choisi b { background: #0A55C2; border-color: #0A55C2; color: #fff; }
.tp-option.choisi i, .tp-chip.choisi i { opacity: 1; transform: scale(1); }
.tp-secteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tp-chip { padding: 13px 14px; }
.tp-chip span { font-size: .95rem; }
.tp-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 18px; border-top: 1px solid #EEF1F5; }
.tp-prec { font: inherit; font-weight: 700; color: #33405A; background: none; border: 0; padding: 10px 6px; cursor: pointer; border-radius: 8px; }
.tp-prec:hover { color: #0A55C2; }
.tp-suiv { min-width: 170px; justify-content: center; }
.tp-suiv[disabled] { opacity: .45; cursor: not-allowed; }
.tp-clavier { margin: 0; color: #98A2B3; font-size: .8rem; text-align: right; }
.tp-resultat { background: #fff; border: 1px solid #E3E8EF; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 30, 70, .06); }
.tp-res-tete { display: flex; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); background: linear-gradient(120deg, #0B1F45, #0A55C2); color: #fff; }
.tp-res-marches { flex: none; width: 72px; height: 72px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.tp-res-marches svg, .tp-res-marches > * { transform: scale(1.6); }
.tp-res-sur { margin: 0 0 4px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7FE3EA; }
.tp-res-tete h1 { margin: 0 0 6px; color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.tp-res-tete p:last-child { margin: 0; color: rgba(255,255,255,.85); }
.tp-res-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px clamp(24px, 4vw, 40px); }
.tp-res-titre { margin: 18px 0 0; font-size: 1.25rem; }
.tp-res-vide { color: #5B6678; }
/* Test de positionnement : format plus compact, aucune animation au clic */
.tp-page { padding: clamp(16px, 3vw, 32px) 16px clamp(28px, 4vw, 48px) !important; min-height: 0 !important; overflow-anchor: none; }
.tp-cadre { width: min(1240px, 100%) !important; gap: 12px !important; }
@media (min-width: 900px) {
  .tp-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-secteurs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .tp-carte { padding: 24px 32px !important; }
}
@media (min-width: 1200px) { .tp-secteurs { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.tp-page, .tp-page * { animation: none !important; }
.tp-page .revele, .tp-page .revele.attente { opacity: 1 !important; translate: none !important; transition: none !important; }
.tp-carte { padding: clamp(16px, 3vw, 26px) !important; gap: 10px !important; border-radius: 14px !important; }
.tp-question { font-size: clamp(1.1rem, 2.2vw, 1.4rem) !important; }
.tp-aide { font-size: .84rem !important; margin: -2px 0 2px !important; }
.tp-options { gap: 7px !important; }
.tp-option, .tp-chip { padding: 9px 12px !important; gap: 10px !important; border-radius: 10px !important; transition: border-color .12s, background-color .12s !important; }
.tp-option b { width: 26px !important; height: 26px !important; font-size: .8rem !important; border-radius: 6px !important; }
.tp-option span, .tp-chip span { font-size: .9rem !important; }
.tp-option i, .tp-chip i { width: 20px !important; height: 20px !important; transition: none !important; }
.tp-secteurs { gap: 7px !important; }
.tp-nav { margin-top: 4px !important; padding-top: 12px !important; }
.tp-suiv { min-width: 140px !important; padding: 9px 16px !important; font-size: .82rem !important; }
.tp-prec { padding: 8px 4px !important; font-size: .9rem; }
.tp-titre b { font-size: .95rem !important; }
.tp-titre span, .tp-quitter { font-size: .8rem !important; }
@media (max-width: 560px) {
  .tp-secteurs { grid-template-columns: minmax(0, 1fr); }
  .tp-clavier { display: none; }
  .tp-suiv { min-width: 0; flex: 1; }
  .tp-res-tete { flex-direction: column; align-items: flex-start; }
}
/* ---------- Certificat : modèle officiel ---------- */
.cert-v2 { position: relative; margin: 0 auto; max-width: 860px; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 26, 77, .16); background: #fff; line-height: 0; }
.cert-v2 img { display: block; width: 100%; height: auto; aspect-ratio: 1491 / 1055; }
.cert-v2-badge { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: center; line-height: 1.3; background: rgba(11, 31, 69, .88); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
.cert-v2-badge .ico { width: 14px; height: 14px; flex: none; }
.cert-v2-badge { position: static; transform: none; display: flex; justify-content: center; width: 100%; max-width: none; border-radius: 0; padding: 9px 12px; white-space: normal; text-align: center; background: #0B1F45; }
/* ---------- Fenêtre d'alerte ---------- */
.popup-fond { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(11, 23, 54, .38); opacity: 0; transition: opacity .16s ease; }
.popup-fond.flou { background: rgba(11, 23, 54, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.popup-fond.ouvert { opacity: 1; }
.popup { width: min(460px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(5, 20, 50, .3); padding: 26px 26px 22px; display: grid; gap: 10px; justify-items: start; transform: translateY(10px) scale(.97); transition: transform .18s ease; }
.popup-fond.ouvert .popup { transform: none; }
.popup-ico { width: 44px; height: 44px; border-radius: 50%; background: #FFF1E0; color: #C2410C; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; font-family: var(--titre); }
.popup h2 { margin: 4px 0 0; font-size: 1.25rem; color: var(--texte); }
.popup p { margin: 0; color: #4A5A75; }
.popup ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.popup li { position: relative; padding-left: 22px; color: var(--texte); font-weight: 600; font-size: .95rem; }
.popup li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #E8590C; }
.popup-ok { justify-self: stretch; margin-top: 10px; justify-content: center; }
html { scrollbar-gutter: stable; }
/* ---------- Photos des pages ---------- */
.tete-photo, .hero-photo { position: relative; overflow: hidden; }
.tete-photo > .conteneur, .hero-photo > .conteneur { position: relative; z-index: 1; }
.tete-photo::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 46%; background: var(--photo) center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.tete-photo .conteneur > * { max-width: 56%; }
.hero-photo::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 50%; background: var(--photo) center / cover no-repeat; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.hero-photo .rubans, .hero-photo > svg { z-index: 0; }
.tf-tete.tf-photo { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(40px, 6vw, 72px) 24px; background: linear-gradient(rgba(6, 22, 52, .74), rgba(6, 22, 52, .8)), var(--photo) center 30% / cover no-repeat; }
.tf-tete.tf-photo h1, .tf-tete.tf-photo p { color: #fff !important; }
.tf-tete.tf-photo .surtitre { color: #7FE3EA !important; }
.pf-couverture.pf-photo { background: linear-gradient(115deg, rgba(0, 23, 60, .78) 0%, rgba(0, 23, 60, .35) 55%, rgba(10, 85, 194, .25) 100%), var(--photo) center / cover no-repeat !important; }
@media (max-width: 760px) {
  .tete-photo::after { width: 100%; opacity: .16; -webkit-mask-image: none; mask-image: none; }
  .tete-photo .conteneur > * { max-width: none; }
  .hero-photo::after { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
}
/* ---------- Photos fondues dans la page (sans cadre) ---------- */
.hero-fondu { position: relative; overflow: hidden; }
.hero-fondu .a-hero-photo, .hero-fondu .e-hero-photo { display: none; }
.hero-fondu .a-hero-grille, .hero-fondu .e-hero-grille { grid-template-columns: minmax(0, 1fr); position: relative; z-index: 1; }
.hero-fondu .a-hero-texte, .hero-fondu .e-hero-grille > div:first-child { max-width: 560px; }
.hero-fondu .a-hero-visuel:empty, .hero-fondu .a-hero-visuel:has(.a-hero-photo) { display: none; }
.hero-fondu::after, .tete-photo::after, .hero-photo::after {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 48%), linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 48%), linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%); mask-composite: intersect;
}
.hero-fondu::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 58%; background: var(--photo) center 30% / cover no-repeat; pointer-events: none; }
.tete-photo::after { width: 52%; }
/* Tarif : la photo se fond derrière le titre */
.tf-tete.tf-photo { background: none; border-radius: 0; padding: clamp(36px, 5vw, 60px) 24px; }
.tf-tete.tf-photo::before { content: ""; position: absolute; inset: -10% -20%; background: var(--photo) center 35% / cover no-repeat; opacity: .28; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%); }
.tf-tete.tf-photo > * { position: relative; z-index: 1; }
.tf-tete.tf-photo h1 { color: var(--texte) !important; }
.tf-tete.tf-photo p { color: #4A5A75 !important; }
.tf-tete.tf-photo .surtitre { color: #0A55C2 !important; }
@media (max-width: 900px) {
  .hero-fondu::after { width: 100%; opacity: .18; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
  .hero-fondu .a-hero-texte, .hero-fondu .e-hero-grille > div:first-child { max-width: none; }
}
.tf-tete.tf-photo { overflow: visible; }
.tf-tete.tf-photo::before { inset: -30% -35%; opacity: .22; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 15%, transparent 70%); }
.tf-page { overflow-x: clip; }
/* Fondu renforcé : la photo devient une ambiance, pas un cadre */
.hero-photo::after { opacity: .38; width: 60%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 25%, #000 65%), linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 25%, #000 65%), linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%); }
.hero-fondu::after, .tete-photo::after { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 22%, #000 60%), linear-gradient(180deg, transparent 0%, #000 20%, #000 75%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 22%, #000 60%), linear-gradient(180deg, transparent 0%, #000 20%, #000 75%, transparent 100%); }
.pf-couverture.pf-photo { position: relative; background: linear-gradient(115deg, #0B1F45 0%, #0A3F8F 45%, #0A55C2 100%) !important; overflow: hidden; }
.pf-couverture.pf-photo::after { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; opacity: .45; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%); mask-composite: intersect; }
/* ---------- Cartes secteur avec photo ---------- */
.secteur-carte.sc-photo { position: relative; overflow: hidden; padding-top: 128px; }
.secteur-carte.sc-photo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; background: var(--photo) center 30% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); transition: transform .4s ease; }
.secteur-carte.sc-photo:hover::before { transform: scale(1.05); }
.secteur-carte.sc-photo > * { position: relative; }
.secteur-carte.sc-photo .pastille-ico { box-shadow: 0 4px 12px rgba(0,0,0,.12); background: #fff; }
/* ---------- Pages de connexion : photo fondue à gauche ---------- */
.ac-page.ac-photo { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); padding-left: 0; align-items: stretch; }
.ac-photo .ac-visuel { background: var(--photo) center 25% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); margin: calc(-1 * clamp(28px, 6vw, 80px)) 0; }
.ac-photo .ac-grille { align-self: center; }
@media (max-width: 1000px) { .ac-page.ac-photo { grid-template-columns: minmax(0, 1fr); padding-left: max(16px, env(safe-area-inset-left, 0px)); } .ac-photo .ac-visuel { display: none; } }

/* ================= Style boutique ================= */
.bq-cadre { width: min(1160px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); box-sizing: border-box; }
.bq-sur { margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: inherit; opacity: .8; }
.bq-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; background: #0B1736; color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #0B1736; transition: background .2s, color .2s; }
.bq-btn:hover { background: #0A55C2; border-color: #0A55C2; }
.bq-btn-clair { background: transparent; border-color: rgba(255,255,255,.75); }
.bq-btn-clair:hover { background: #fff; color: #0B1736 !important; border-color: #fff; }
.bq-btn-blanc { background: #fff; color: #0B1736 !important; border-color: #fff; }
.bq-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; background: #0B1736 var(--photo) center 25% / cover no-repeat; color: #fff; }
.bq-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,14,34,.82) 0%, rgba(6,14,34,.5) 42%, rgba(6,14,34,0) 70%), linear-gradient(0deg, rgba(6,14,34,.55), transparent 45%); }
.bq-hero-txt { position: relative; width: min(1160px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) clamp(48px, 9vh, 96px); box-sizing: border-box; }
.bq-hero h1 { margin: 0 0 20px; color: #fff; font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.02em; }
.bq-chapo { max-width: 520px; margin: 0 0 30px; font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.bq-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bq-actions .bq-btn:first-child { background: #fff; color: #0B1736 !important; border-color: #fff; }
.bq-actions .bq-btn:first-child:hover { background: #0BC5C5; border-color: #0BC5C5; }
.bq-bande { background: #0B1736; color: #fff; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.08); }
.bq-defile { display: inline-flex; animation: bq-defile 95s linear infinite; }
.bq-bande:hover .bq-defile { animation-play-state: paused; }
.bq-defile span { padding: 14px 34px; font-size: .92rem; letter-spacing: .01em; text-transform: none; font-weight: 600; white-space: nowrap; }
.bq-defile span::after { content: "✦"; margin-left: 68px; color: #0BC5C5; position: relative; left: -34px; }
@keyframes bq-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bq-defile { animation: none; } }
.bq-section { padding: clamp(56px, 8vw, 104px) 0; background: #fff; }
.bq-gris { background: #F4F2EE; }
.bq-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.bq-tete h2, .bq-edito h2, .bq-cert h2, .bq-fin h2 { margin: 0; font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.01em; color: #0B1736; }
.bq-tete a, .bq-lien { color: #0B1736 !important; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.bq-collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bq-coll { position: relative; aspect-ratio: 3 / 4.2; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none !important; background: #22304A; color: #fff !important; }
.bq-coll::before { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bq-coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,14,34,.85) 0%, rgba(6,14,34,.15) 55%, transparent 100%); }
.bq-coll:hover::before { transform: scale(1.06); }
.bq-coll-txt { position: relative; z-index: 1; display: grid; gap: 4px; padding: 24px; }
.bq-coll-txt small { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.bq-coll-txt b { font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; font-size: 2rem; line-height: 1.1; }
.bq-coll-txt em { font-style: normal; opacity: .85; font-size: .95rem; }
.bq-coll-txt u { text-decoration: none; margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1.5px solid #0BC5C5; justify-self: start; padding-bottom: 2px; }
.bq-fleches { display: flex; gap: 8px; }
.bq-fleches button { width: 44px; height: 44px; border: 1px solid #0B1736; background: transparent; color: #0B1736; font-size: 1.1rem; cursor: pointer; }
.bq-fleches button:hover { background: #0B1736; color: #fff; }
.bq-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.bq-rail::-webkit-scrollbar { display: none; }
.bq-produit { scroll-snap-align: start; display: grid; gap: 6px; text-decoration: none !important; color: #0B1736 !important; }
.bq-produit-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #E7E4DE; margin-bottom: 8px; }
.bq-produit-img .couv { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bq-produit:hover .bq-produit-img .couv { transform: scale(1.05); }
.bq-niv { position: absolute; top: 12px; left: 12px; background: #fff; color: #0B1736; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.bq-produit-sec { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #6B7689; }
.bq-produit b { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.bq-produit-meta { font-size: .85rem; color: #6B7689; }
.bq-edito { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 560px; background: #0B1736; color: #fff; }
.bq-edito-img { background: #22304A var(--photo) center / cover no-repeat; min-height: 360px; }
.bq-edito-txt { padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bq-edito h2 { color: #fff; margin-bottom: 18px; }
.bq-edito-txt > p:not(.bq-sur) { color: rgba(255,255,255,.8); max-width: 440px; line-height: 1.7; margin: 0 0 30px; }
.bq-edito .bq-btn { background: #fff; color: #0B1736 !important; border-color: #fff; }
.bq-edito .bq-btn:hover { background: #0BC5C5; border-color: #0BC5C5; }
.bq-secteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.bq-sect { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none !important; color: #fff !important; background: #22304A; }
.bq-sect::before { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bq-sect::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,14,34,.8), transparent 60%); }
.bq-sect:hover::before { transform: scale(1.06); }
.bq-sect span { position: relative; z-index: 1; display: grid; gap: 2px; padding: 18px; }
.bq-sect b { font-size: 1.05rem; font-weight: 600; }
.bq-sect small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.bq-cert { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; color: #0B1736; }
.bq-cert p:not(.bq-sur) { color: #4A5A75; line-height: 1.7; margin: 16px 0 24px; max-width: 460px; }
.bq-fin { position: relative; padding: clamp(80px, 12vw, 150px) 16px; text-align: center; color: #fff; background: #0B1736 var(--photo) center / cover no-repeat; }
.bq-fin::before { content: ""; position: absolute; inset: 0; background: rgba(6,14,34,.7); }
.bq-fin > div { position: relative; max-width: 620px; margin: 0 auto; }
.bq-fin h2 { color: #fff; }
.bq-fin p { color: rgba(255,255,255,.85); margin: 14px 0 30px; }
/* ===== Accueil NEXA : sections animées (démo, NEXA c'est quoi, tout ce qu'il faut, Privilège, procédure, bande, pensé pour, FAQ, premiers, standards) ===== */
.nx { --nx-navy: #0B1736; --nx-bleu: #0A55C2; --nx-cyan: #00C8C8; --nx-fond: #F3F6FC; --nx-gris: #5A6885; color: var(--nx-navy); }
.nx-sec { padding: clamp(64px, 9vw, 120px) 20px; position: relative; overflow: hidden; }
.nx-sec.nx-pale { background: linear-gradient(180deg, #F6F8FD, #EEF3FB); }
.nx-cadre { max-width: 1064px; margin: 0 auto; position: relative; }
.nx-sur { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-bleu); }
.nx-sur::before { content: ""; width: 22px; height: 2px; background: var(--nx-cyan); border-radius: 2px; }
.nx h2.nx-h { margin: 0 0 16px; font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; letter-spacing: -.02em; color: var(--nx-navy); }
.nx-h em { font-style: italic; color: var(--nx-bleu); position: relative; white-space: nowrap; }
.nx-h em svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .32em; overflow: visible; }
.nx-h em svg path { fill: none; stroke: var(--nx-cyan); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.1s .35s cubic-bezier(.2,.7,.2,1); }
.nx-vu .nx-h em svg path, .nx-vu.nx-h em svg path { stroke-dashoffset: 0; }
.nx-chapo { margin: 0; max-width: 560px; color: var(--nx-gris); font-size: 1.06rem; line-height: 1.65; }
.nx-centre { text-align: center; } .nx-centre .nx-chapo { margin: 0 auto; }
/* apparition au défilement */
.nx-ap { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.nx-ap.nx-vu { opacity: 1; transform: none; }
/* écran de démonstration (fenêtre) */
.nx-fen { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 40px 90px -30px rgba(11,23,54,.35), 0 0 0 1px rgba(11,23,54,.06); overflow: hidden; }
.nx-fen-barre { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #F1F4FA; border-bottom: 1px solid #E3E8F2; }
.nx-fen-barre i { width: 11px; height: 11px; border-radius: 50%; background: #D5DBE7; }
.nx-fen-barre span { margin-left: 14px; flex: 1; max-width: 340px; height: 24px; border-radius: 12px; background: #fff; font: 500 12px/24px Inter, sans-serif; color: #6B7894; padding: 0 12px; }
.nx-incline { transform: perspective(1600px) rotateX(16deg) scale(.94); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.nx-vu .nx-incline, .nx-incline.nx-vu { transform: none; }
/* 1. démo d'une formation */
.nx-demo-grille { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; margin-top: 44px; align-items: start; }
.nx-etapes { display: flex; flex-direction: column; gap: 8px; }
.nx-etape { all: unset; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px 16px; border-radius: 16px; transition: background .3s; position: relative; overflow: hidden; }
.nx-etape b { font: 700 15.5px/1.3 Inter, sans-serif; color: var(--nx-navy); } .nx-etape small { grid-column: 2; color: var(--nx-gris); font-size: 13.5px; line-height: 1.45; display: none; }
.nx-etape .nx-num { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #EAF0FA; color: var(--nx-bleu); font: 800 15px Inter, sans-serif; transition: background .3s, color .3s; }
.nx-etape.on { background: #fff; box-shadow: 0 14px 34px -14px rgba(11,23,54,.25); } .nx-etape.on small { display: block; }
.nx-etape.on .nx-num { background: linear-gradient(135deg, var(--nx-bleu), var(--nx-cyan)); color: #fff; }
.nx-etape .nx-barre { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--nx-bleu), var(--nx-cyan)); }
.nx-etape.on .nx-barre { animation: nx-barre var(--nx-duree, 4.5s) linear forwards; }
@keyframes nx-barre { to { width: 100%; } }
.nx-ecran { position: relative; height: 470px; background: #0B1736; }
.nx-vue { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.nx-vue.on { opacity: 1; pointer-events: auto; }
.nx-video { position: absolute; inset: 0; background: #0B1736 var(--photo) center / cover; }
.nx-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,34,.15), rgba(6,14,34,.8)); }
.nx-video-txt { position: absolute; left: 28px; right: 28px; bottom: 74px; z-index: 2; color: #fff; }
.nx-video-txt small { font: 700 11px Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-cyan); }
.nx-video-txt p { margin: 8px 0 0; font: 600 clamp(15px, 1.7vw, 19px)/1.45 Inter, sans-serif; max-width: 560px; }
.nx-video-txt p span { opacity: .15; transition: opacity .25s; } .nx-video-txt p span.dit { opacity: 1; }
.nx-lecteur { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 14px; color: #fff; font: 600 12px Inter; }
.nx-lecteur .nx-pl { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.nx-lecteur .nx-piste { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.nx-lecteur .nx-piste i { display: block; height: 100%; width: 0; background: var(--nx-cyan); }
.nx-panneau { position: absolute; inset: 0; background: #F6F8FC; padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.nx-panneau h4 { margin: 0; font: 700 12px Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-bleu); }
.nx-panneau .nx-q { font: 700 clamp(17px, 2vw, 21px)/1.35 Inter, sans-serif; color: var(--nx-navy); margin: 0; }
.nx-choix { display: grid; gap: 10px; }
.nx-choix div { background: #fff; border: 2px solid #E1E7F1; border-radius: 14px; padding: 13px 16px; font: 500 15px Inter; color: #24324F; display: flex; align-items: center; gap: 12px; transition: border-color .3s, background .3s, transform .3s; }
.nx-choix div i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C5CFE0; flex: none; transition: all .3s; }
.nx-choix div.choisi { border-color: var(--nx-bleu); transform: translateX(4px); } .nx-choix div.choisi i { border: 7px solid var(--nx-bleu); }
.nx-choix div.juste { border-color: #16B37E; background: #EEFBF5; } .nx-choix div.juste i { border: 0; background: #16B37E; }
.nx-retour { border-radius: 14px; padding: 14px 16px; background: #EEFBF5; color: #0F6E4E; font: 600 14.5px/1.5 Inter; opacity: 0; transform: translateY(10px); transition: all .4s; }
.nx-retour.on { opacity: 1; transform: none; }
.nx-tab { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #DCE3EE; font: 500 14px Inter; }
.nx-tab div { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-top: 1px solid #EDF1F7; } .nx-tab div:first-child { border-top: 0; background: #EEF3FA; font-weight: 700; color: #3A4A6A; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.nx-tab span { padding: 11px 14px; border-left: 1px solid #EDF1F7; } .nx-tab span:first-child { border-left: 0; }
.nx-tab .nx-cel { position: relative; color: var(--nx-bleu); font-weight: 700; }
.nx-tab .nx-cel.vide::after { content: ""; display: inline-block; width: 2px; height: 16px; background: var(--nx-bleu); vertical-align: -3px; animation: nx-clign 1s steps(2) infinite; }
@keyframes nx-clign { 50% { opacity: 0; } }
.nx-score { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nx-anneau { width: 150px; height: 150px; position: relative; flex: none; } .nx-anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.nx-anneau b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 34px Inter; color: var(--nx-navy); } .nx-anneau b small { font-size: 16px; color: var(--nx-gris); margin-left: 2px; }
.nx-modules { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; flex: 1; min-width: 220px; }
.nx-modules i { height: 54px; border-radius: 12px; background: #E6ECF6; display: flex; align-items: center; justify-content: center; font: 700 13px Inter; color: #8695B2; font-style: normal; transition: all .35s; }
.nx-modules i.ok { background: linear-gradient(135deg, var(--nx-bleu), var(--nx-cyan)); color: #fff; transform: translateY(-3px); }
.nx-cert { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #13306E, #0B1736 70%); }
.nx-cert-carte { width: min(460px, 82%); background: #fff; border-radius: 16px; padding: 30px 30px 24px; text-align: center; position: relative; transform: scale(.85) rotate(-3deg); opacity: 0; transition: all .8s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.nx-vue.on .nx-cert-carte { transform: none; opacity: 1; }
.nx-cert-carte img { height: 30px; } .nx-cert-carte h5 { margin: 12px 0 4px; font: 500 30px "Fraunces", serif; letter-spacing: .08em; color: var(--nx-navy); }
.nx-cert-carte p { margin: 0; color: var(--nx-gris); font: 500 13px Inter; } .nx-cert-carte .nx-nom { margin: 14px 0 6px; font: italic 500 26px "Fraunces", serif; color: var(--nx-bleu); }
.nx-cert-carte .nx-sceau { position: absolute; right: 22px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #0A55C2, #00C8C8); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 22px Inter; transform: scale(0); transition: transform .5s .7s cubic-bezier(.3,1.6,.5,1); }
.nx-vue.on .nx-sceau { transform: scale(1); }
.nx-eclats { position: absolute; inset: 0; pointer-events: none; }
.nx-eclats i { position: absolute; width: 9px; height: 14px; border-radius: 2px; top: -20px; opacity: 0; }
.nx-vue.on .nx-eclats i { animation: nx-tombe 2.6s ease-in forwards; }
@keyframes nx-tombe { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(520px) rotate(540deg); } }
/* 2. NEXA, c'est quoi */
.nx-quoi { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.nx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(11,23,54,.25); overflow: hidden; }
.nx-compare > div { padding: 26px 24px; } .nx-compare > div + div { background: linear-gradient(160deg, #0B1736, #0A2E6E); color: #fff; }
.nx-compare h3 { margin: 0 0 16px; font: 700 13px Inter; letter-spacing: .1em; text-transform: uppercase; color: #8190AE; } .nx-compare > div + div h3 { color: var(--nx-cyan); }
.nx-compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.nx-compare li { display: flex; gap: 10px; font: 500 14.5px/1.45 Inter; color: #5A6885; opacity: 0; transform: translateX(-12px); transition: all .55s; }
.nx-compare > div + div li { color: #E8EEFA; transform: translateX(12px); }
.nx-vu .nx-compare li { opacity: 1; transform: none; }
.nx-compare li::before { content: "–"; color: #A9B4C9; flex: none; } .nx-compare > div + div li::before { content: "✓"; color: var(--nx-cyan); font-weight: 800; }
/* 3. Tout ce qu'il faut */
.nx-onglets { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px -14px rgba(11,23,54,.2); margin: 30px 0 34px; }
.nx-onglets button { all: unset; cursor: pointer; padding: 10px 16px; border-radius: 11px; font: 600 14px Inter; color: #4A5B78; transition: all .25s; }
.nx-onglets button.on { background: var(--nx-navy); color: #fff; }
.nx-tout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(26px, 5vw, 60px); align-items: center; min-height: 360px; }
.nx-tout-txt { transition: opacity .35s, transform .35s; } .nx-tout-txt.sort { opacity: 0; transform: translateY(10px); }
.nx-tout-txt h3 { margin: 0 0 12px; font: 700 clamp(1.6rem, 2.8vw, 2.2rem)/1.15 var(--titre); color: var(--nx-navy); }
.nx-tout-txt ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.nx-tout-txt li { display: flex; gap: 10px; font: 500 15px/1.5 Inter; color: #2E3C5A; } .nx-tout-txt li::before { content: "✓"; color: var(--nx-cyan); font-weight: 800; }
.nx-tout-demo { position: relative; height: 380px; }
.nx-tout-demo > .nx-fen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: opacity .5s, transform .5s, visibility 0s .5s; }
.nx-tout-demo > .nx-fen.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nx-tout-demo .nx-corps { position: absolute; inset: 40px 0 0; padding: 22px; background: #F7F9FD; overflow: hidden; }
.nx-pdf { display: flex; gap: 18px; align-items: flex-start; } .nx-pdf-page { width: 170px; height: 230px; flex: none; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px -12px rgba(11,23,54,.3); padding: 16px 14px; display: flex; flex-direction: column; gap: 7px; }
.nx-pdf-page i { display: block; height: 6px; border-radius: 3px; background: #E3E9F3; } .nx-pdf-page i.t { height: 12px; width: 70%; background: var(--nx-bleu); } .nx-pdf-page .ph { height: 64px; border-radius: 6px; background: var(--photo) center/cover, #DDE5F1; }
.nx-dl { display: inline-flex; align-items: center; gap: 10px; background: var(--nx-cyan); color: #fff; font: 700 14px Inter; padding: 12px 18px; border-radius: 12px; animation: nx-pouls 2s infinite; }
@keyframes nx-pouls { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.18, 1.5); opacity: 0; } }
.nx-dl { position: relative; animation: none !important; }
.nx-dl::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px rgba(0,200,200,.6); animation: nx-pouls 2s infinite; pointer-events: none; }
.nx-appareils { position: relative; height: 100%; }
.nx-appareils .ordi { position: absolute; left: 4%; top: 6%; width: 74%; aspect-ratio: 16/10; border-radius: 12px; border: 8px solid #0B1736; background: var(--photo) top/cover; box-shadow: 0 20px 40px -18px rgba(0,0,0,.4); }
.nx-appareils .tel { position: absolute; right: 6%; top: 18%; width: 25%; aspect-ratio: 9/19; border-radius: 22px; border: 6px solid #0B1736; background: var(--photo2) top/cover; box-shadow: 0 20px 40px -14px rgba(0,0,0,.45); animation: nx-flotte 4s ease-in-out infinite; }
@keyframes nx-flotte { 50% { transform: translateY(-10px); } }
/* 4. Privilège */
.nx-pv { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.nx-pv-points { margin: 28px 0 0; display: grid; gap: 20px; }
.nx-pv-points div b { display: block; font: 700 16px Inter; color: var(--nx-navy); margin-bottom: 4px; } .nx-pv-points div span { color: var(--nx-gris); font-size: 15px; line-height: 1.55; }
.nx-btn-pv { all: unset; cursor: pointer; margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border-radius: 40px; background: var(--nx-navy); color: #fff; font: 700 15px Inter; transition: transform .2s; }
.nx-btn-pv:hover { transform: translateY(-2px); } .nx-btn-pv img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; box-shadow: 0 0 0 2px #fff; }
.nx-chat { position: relative; border-radius: 26px; background: linear-gradient(160deg, #EAF1FC, #E3F7F7); padding: 18px; }
.nx-chat .nx-fen { border-radius: 20px; }
.nx-chat-tete { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #E8EDF5; }
.nx-chat-tete img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--nx-cyan); }
.nx-chat-tete b { display: block; font: 700 15px Inter; } .nx-chat-tete small { color: #16A06F; font: 600 12px Inter; }
.nx-fil { height: 360px; padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; background: #fff; }
.nx-m { max-width: 86%; font: 500 14.5px/1.5 Inter; padding: 12px 15px; border-radius: 18px; opacity: 0; transform: translateY(12px); transition: all .35s; }
.nx-m.on { opacity: 1; transform: none; }
.nx-m.moi { align-self: flex-end; background: var(--nx-bleu); color: #fff; border-bottom-right-radius: 6px; }
.nx-m.ia { align-self: flex-start; background: #F1F4FA; color: #1E2B47; border-top-left-radius: 6px; }
.nx-m.ia b { color: var(--nx-bleu); } .nx-m .nx-lien { display: inline-block; margin-top: 8px; background: #E1F7F7; color: #007A7A; font: 700 13px Inter; padding: 6px 12px; border-radius: 10px; }
.nx-m .nx-pts { letter-spacing: 4px; color: #8A98B4; }
.nx-saisie { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid #E8EDF5; background: #fff; }
.nx-saisie div { flex: 1; height: 42px; border-radius: 21px; background: #F1F4FA; padding: 0 16px; display: flex; align-items: center; font: 500 14px Inter; color: #1E2B47; white-space: nowrap; overflow: hidden; }
.nx-saisie div:empty::before { content: "Posez votre question à Privilège…"; color: #93A0B9; }
.nx-saisie i { width: 42px; height: 42px; border-radius: 50%; background: var(--nx-bleu); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-weight: 800; }
.nx-curs { display: inline-block; width: 2px; height: 16px; background: var(--nx-bleu); margin-left: 2px; vertical-align: -3px; animation: nx-clign 1s steps(2) infinite; }
/* 5. Procédure */
.nx-proc { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.nx-proc-ligne { position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 4px; border-radius: 2px; background: #DCE3EF; overflow: hidden; }
.nx-proc-ligne i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--nx-bleu), var(--nx-cyan)); transition: width 2.4s cubic-bezier(.4,0,.2,1) .3s; }
.nx-vu .nx-proc-ligne i { width: 100%; }
.nx-pas { text-align: center; position: relative; }
.nx-pas .nx-rond { width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 4px solid #DCE3EF; display: flex; align-items: center; justify-content: center; font: 800 16px Inter; color: #9AA7BF; position: relative; z-index: 1; transition: all .45s; }
.nx-vu .nx-pas .nx-rond { background: linear-gradient(135deg, var(--nx-bleu), var(--nx-cyan)); border-color: #fff; color: #fff; box-shadow: 0 0 0 6px rgba(0,200,200,.15); transform: scale(1.06); }
.nx-pas:nth-child(2) .nx-rond { transition-delay: .3s; } .nx-pas:nth-child(3) .nx-rond { transition-delay: 1s; } .nx-pas:nth-child(4) .nx-rond { transition-delay: 1.7s; } .nx-pas:nth-child(5) .nx-rond { transition-delay: 2.4s; }
.nx-pas small { display: block; font: 700 11.5px Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-cyan); margin-bottom: 6px; }
.nx-pas b { display: block; font: 700 17px Inter; color: var(--nx-navy); margin-bottom: 8px; } .nx-pas span { color: var(--nx-gris); font-size: 14.5px; line-height: 1.55; display: block; max-width: 250px; margin: 0 auto; }
.nx-pas a { display: inline-block; margin-top: 12px; font: 700 14px Inter; color: var(--nx-bleu); }
/* 6. Bande « NEXA vous prépare » */
.nx-bande { position: relative; overflow: hidden; background: linear-gradient(120deg, #06102A 0%, #0A2A6E 55%, #0A55C2 100%); color: #fff; padding: clamp(130px, 13vw, 170px) 20px clamp(40px, 6vw, 70px); }
.nx-bande > .nx-vague { top: 0 !important; height: clamp(80px, 9vw, 120px); }
.nx-vague { position: absolute; left: 0; width: 100%; height: 160px; pointer-events: none; }
.nx-vague path { fill: none; stroke: var(--nx-cyan); stroke-width: 3; opacity: .85; stroke-dasharray: 18 14; animation: nx-defile 2.4s linear infinite; }
.nx-vague path + path { stroke: #fff; opacity: .25; stroke-width: 1.5; stroke-dasharray: none; animation: none; }
@keyframes nx-defile { to { stroke-dashoffset: -64; } }
.nx-bande-grille { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.nx-bande h2 { margin: 0; font: 700 clamp(2.4rem, 5.6vw, 4.6rem)/1 var(--titre); letter-spacing: -.02em; color: #fff; }
.nx-bande h2 em { font-style: italic; color: var(--nx-cyan); }
.nx-bande p { margin: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.7; }
.nx-geant { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 70px); text-align: center; user-select: none; font: 800 clamp(5rem, 24vw, 21rem)/.82 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.05em;
  background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #fff 0%, #7EF3F3 22%, rgba(0,200,200,.55) 45%, rgba(255,255,255,.07) 70%) , rgba(255,255,255,.06);
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: --mx .1s; }
.nx-geant-txt { display: block; }
/* 7. Pensé pour */
.nx-pense { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.nx-carte { position: relative; padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid #E3E9F3; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.nx-carte::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 200px at var(--cx, -200px) var(--cy, -200px), rgba(0,200,200,.16), transparent 70%); pointer-events: none; }
.nx-carte:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(11,23,54,.3); }
.nx-carte .nx-ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #EAF0FA; font-size: 22px; margin-bottom: 18px; }
.nx-carte b { display: block; font: 700 17px Inter; color: var(--nx-navy); margin-bottom: 8px; } .nx-carte span { color: var(--nx-gris); font-size: 14.8px; line-height: 1.6; }
/* 8. FAQ */
.nx-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); background: #fff; border-radius: 30px; padding: clamp(28px, 5vw, 60px); box-shadow: 0 30px 80px -40px rgba(11,23,54,.25); }
.nx-faq-cta { margin-top: 26px; background: #F3F6FC; border-radius: 18px; padding: 22px; }
.nx-faq-cta b { display: block; font: 700 16px Inter; } .nx-faq-cta span { display: block; color: var(--nx-gris); margin: 4px 0 14px; font-size: 14.5px; }
.nx-faq details { border-bottom: 1px solid #E6EBF3; } .nx-faq details:first-child { border-top: 1px solid #E6EBF3; }
.nx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 2px; font: 600 16px/1.4 Inter; color: var(--nx-navy); }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #EEF3FA; color: var(--nx-bleu); display: flex; align-items: center; justify-content: center; font: 600 20px Inter; transition: transform .3s, background .3s; }
.nx-faq details[open] summary::after { transform: rotate(45deg); background: var(--nx-cyan); color: #fff; }
.nx-faq details p { margin: 0 0 20px; color: var(--nx-gris); line-height: 1.7; font-size: 15px; animation: nx-ouvre .35s ease; }
@keyframes nx-ouvre { from { opacity: 0; transform: translateY(-6px); } }
/* 9. Premiers */
.nx-premiers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.nx-form { display: grid; gap: 12px; }
.nx-form input { height: 54px; border-radius: 14px; border: 1.5px solid #D9E1EE; background: #fff; padding: 0 18px; font: 500 15.5px Inter; color: var(--nx-navy); outline: none; transition: border-color .2s, box-shadow .2s; }
.nx-form input:focus { border-color: var(--nx-bleu); box-shadow: 0 0 0 4px rgba(10,85,194,.12); }
.nx-form button { height: 56px; border: 0; border-radius: 14px; cursor: pointer; font: 700 16px Inter; color: #fff; background: linear-gradient(135deg, var(--nx-bleu), #0A3E9A); position: relative; overflow: hidden; }
.nx-form button::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: nx-reflet 3.2s infinite; }
@keyframes nx-reflet { 0% { transform: translateX(0) skewX(-20deg); } 60%, 100% { transform: translateX(475%) skewX(-20deg); } }
.nx-form small { color: var(--nx-gris); font-size: 13px; line-height: 1.5; }
.nx-premiers-vague { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; opacity: .6; }
/* 10. Standards */
.nx-standards { padding: 40px 0 70px; background: #fff; }
.nx-standards p { text-align: center; margin: 0 0 22px; font: 700 12px Inter; letter-spacing: .14em; text-transform: uppercase; color: #8A97B1; }
.nx-defile { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.nx-defile > div { display: flex; gap: 14px; width: max-content; animation: nx-marquee 38s linear infinite; }
.nx-defile:hover > div { animation-play-state: paused; }
.nx-defile span { padding: 14px 24px; border-radius: 14px; border: 1px solid #E3E9F3; font: 700 17px Inter; color: #42506F; white-space: nowrap; background: #FAFBFE; transition: color .2s, border-color .2s; }
.nx-defile span:hover { color: var(--nx-bleu); border-color: var(--nx-cyan); }
.nx-defile span small { display: block; font: 500 12px Inter; color: #8A97B1; margin-top: 2px; }
@keyframes nx-marquee { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .nx-demo-grille, .nx-quoi, .nx-tout, .nx-pv, .nx-bande-grille, .nx-faq, .nx-premiers { grid-template-columns: minmax(0, 1fr); }
  .nx-etapes { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; } .nx-etapes::-webkit-scrollbar { display: none; }
  .nx-etape { flex: none; grid-template-columns: 32px auto; padding: 10px 12px; } .nx-etape .nx-num { width: 32px; height: 32px; } .nx-etape.on small { display: none; }
  .nx-ecran { height: 420px; } .nx-pense { grid-template-columns: 1fr 1fr; }
  .nx-proc { grid-template-columns: minmax(0, 1fr); gap: 28px; } .nx-proc-ligne { left: 22px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .nx-proc-ligne i { width: 100%; height: 0; transition: height 2.4s cubic-bezier(.4,0,.2,1) .3s; } .nx-vu .nx-proc-ligne i { height: 100%; width: 100%; }
  .nx-pas { text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; } .nx-pas .nx-rond { grid-row: span 4; margin: 0; } .nx-pas span { margin: 0; }
  .nx-tout-demo { height: 320px; } .nx-onglets { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; max-width: 100%; } .nx-onglets button { flex: none; }
  .nx-compare > div { padding: 20px 16px; } .nx-compare li { font-size: 13.5px; }
}
@media (max-width: 560px) { .nx-pense { grid-template-columns: minmax(0, 1fr); } .nx-modules { grid-template-columns: repeat(3, 1fr); } .nx-ecran { height: 440px; } .nx-anneau { width: 110px; height: 110px; } .nx-compare { grid-template-columns: minmax(0, 1fr); } }
html[data-theme="dark"] .nx-etape.on { background: #13284F; }
html[data-theme="dark"] .nx-etape b { color: #fff; }
html[data-theme="dark"] .nx-etape small { color: #B7C4DE; }
html[data-theme="dark"] .nx-etape:not(.on) .nx-num { background: #1A3263; color: #8FB4F0; }
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) .nx-etape.on { background: #1F2E48; }
html:not([data-theme="light"]) .nx-etape b { color: #fff; }
html:not([data-theme="light"]) .nx-etape small { color: #B7C4DE; }
html:not([data-theme="light"]) .nx-etape:not(.on) .nx-num { background: #28385A; color: #8FB4F0; }
}
/* --- Accueil allégé (31 oct.) : tailles réduites, mouvement au survol --- */
.nx-sec { padding: clamp(40px, 5.5vw, 76px) clamp(20px, 4vw, 48px); }
.nx h2.nx-h { font-size: clamp(1.6rem, 2.8vw, 2.35rem); margin-bottom: 12px; }
.nx-chapo { font-size: .98rem; }
.nx-demo-grille { margin-top: 28px; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; }
.nx-ecran { height: 400px; }
.nx-etape { padding: 11px 14px; } .nx-etape b { font-size: 14.5px; } .nx-etape .nx-num { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.nx-etape { grid-template-columns: 34px 1fr; }
.nx-video-txt { bottom: 28px; }
.nx-video { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.nx-fen:hover .nx-video { transform: scale(1.06); }
/* inclinaison qui suit la souris */
.nx-tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, opacity .8s; will-change: transform; }
.nx-tilt.nx-vu.nx-vu { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.nx-tilt.nx-survol { --ty: -6px; box-shadow: 0 40px 80px -30px rgba(11,23,54,.4); }
.nx-ap.nx-tilt:not(.nx-vu) { transform: translateY(34px); }
.nx-incline.nx-tilt:not(.nx-vu) { transform: perspective(1600px) rotateX(16deg) scale(.94); }
.nx-tilt .nx-choix div, .nx-tilt .nx-tab, .nx-tilt .nx-cert-carte, .nx-tilt .nx-m { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nx-tilt.nx-survol .nx-tab, .nx-tilt.nx-survol .nx-cert-carte { transform: translateZ(0) translateY(-4px) scale(1.02); }
.nx-tilt.nx-survol .nx-choix div:nth-child(2) { transform: translateX(6px); }
.nx-appareils .ordi, .nx-appareils .tel { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.nx-tout-demo:hover .nx-appareils .ordi { transform: translate(-10px, -6px) rotate(-1.5deg); }
.nx-tout-demo:hover .nx-appareils .tel { animation: none; transform: translate(10px, -14px) rotate(4deg) scale(1.04); }
.nx-tout-demo:hover .nx-pdf-page { transform: rotate(-4deg) translateY(-6px); } .nx-pdf-page { transition: transform .4s; }
/* NEXA, c'est quoi : cartes qui se retournent */
.nx-quoi { grid-template-columns: .9fr 1.1fr; }
.nx-astuce { margin: 14px 0 0; font: 600 13px Inter, sans-serif; color: var(--nx-bleu); }
.nx-flips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nx-flip { perspective: 900px; height: 150px; cursor: pointer; outline: none; }
.nx-flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,1.25,.5,1); }
.nx-flip:hover .nx-flip-in, .nx-flip:focus-visible .nx-flip-in, .nx-flip.tourne .nx-flip-in { transform: rotateY(180deg); }
.nx-flip-av, .nx-flip-ar { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.nx-flip-av { background: #fff; border: 1px solid #E3E9F3; color: #5A6885; }
.nx-flip-ar { background: linear-gradient(150deg, #0B1736, #0A55C2); color: #fff; transform: rotateY(180deg); box-shadow: 0 20px 40px -18px rgba(10,85,194,.6); }
.nx-flip small { font: 700 10.5px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.nx-flip-ar small { color: var(--nx-cyan); opacity: 1; }
.nx-flip span { font-size: 24px; line-height: 1; margin-top: 4px; }
.nx-flip b { font: 600 15px/1.35 Inter, sans-serif; margin-top: auto; }
.nx-flip-av b { color: var(--nx-navy); text-decoration: line-through; text-decoration-color: rgba(229,72,77,.6); text-decoration-thickness: 2px; }
/* procédure : la ligne se remplit de l'inscription au certificat, chaque étape s'allume à son tour (demande du propriétaire, 1er nov.) */
.nx-proc { margin-top: 34px; }
.nx-proc-ligne { background: #DCE3EF; opacity: 1; }
.nx-proc-ligne i { transition-duration: 2.6s !important; transition-delay: .3s !important; }
.nx-pas .nx-rond { width: 42px; height: 42px; background: #fff; border: 4px solid #DCE3EF; color: #9AA7BF; transform: none; opacity: 1; box-shadow: none; transition: transform .3s; }
.nx-pas small { color: #9AA7BF; }
.nx-vu .nx-pas .nx-rond { animation: nx-allume .5s cubic-bezier(.3,1.6,.5,1) both; transition-delay: 0s; }
.nx-vu .nx-pas small { animation: nx-allume-txt .4s both; transition-delay: 0s; }
.nx-vu .nx-pas:nth-child(2) .nx-rond, .nx-vu .nx-pas:nth-child(2) small { animation-delay: .3s; } .nx-vu .nx-pas:nth-child(3) .nx-rond, .nx-vu .nx-pas:nth-child(3) small { animation-delay: 1.15s; }
.nx-vu .nx-pas:nth-child(4) .nx-rond, .nx-vu .nx-pas:nth-child(4) small { animation-delay: 2s; } .nx-vu .nx-pas:nth-child(5) .nx-rond, .nx-vu .nx-pas:nth-child(5) small { animation-delay: 2.85s; }
@keyframes nx-allume { 0% { background: #fff; border-color: #DCE3EF; color: #9AA7BF; box-shadow: none; transform: scale(1); } 60% { transform: scale(1.22); } 100% { background: linear-gradient(135deg, #0A55C2, #00C8C8); border-color: #fff; color: #fff; box-shadow: 0 0 0 6px rgba(0,200,200,.15); transform: scale(1.08); } }
@keyframes nx-allume-txt { from { color: #9AA7BF; } to { color: #00A3A3; } }
.nx-pas b { font-size: 16px; } .nx-pas span { font-size: 14px; }
/* bande plus basse */
.nx-bande { padding: clamp(84px, 9vw, 110px) clamp(20px, 4vw, 48px) clamp(24px, 3vw, 36px); }
.nx-bande > .nx-vague { height: clamp(60px, 6vw, 80px); }
.nx-bande h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.nx-bande p { font-size: .98rem; }
.nx-geant { margin-top: clamp(20px, 3vw, 34px); font-size: clamp(4rem, 13vw, 11rem); }
/* cartes, FAQ, premiers : plus compacts */
.nx-pense { margin-top: 26px; gap: 12px; } .nx-carte { padding: 20px; border-radius: 16px; } .nx-carte .nx-ico { width: 40px; height: 40px; font-size: 19px; margin-bottom: 12px; } .nx-carte b { font-size: 15.5px; } .nx-carte span { font-size: 14px; }
.nx-carte:hover { transform: translateY(-6px) rotate(-.6deg); } .nx-carte:hover .nx-ico { transform: scale(1.15) rotate(-8deg); } .nx-carte .nx-ico { transition: transform .35s; }
.nx-faq { padding: clamp(24px, 4vw, 44px); border-radius: 24px; } .nx-faq summary { padding: 15px 2px; font-size: 15px; }
.nx-standards { padding: 26px 0 50px; } .nx-defile span { padding: 10px 18px; font-size: 15px; }
.nx-btn-pv:hover img { transform: rotate(-10deg) scale(1.1); } .nx-btn-pv img { transition: transform .3s; }
/* sections du catalogue en version compacte (accueil seulement) */
.bq-compact.bq-section { padding: clamp(34px, 4.5vw, 60px) 0; }
.bq-compact .bq-tete { margin-bottom: 18px; } .bq-compact .bq-tete h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.bq-compact .bq-collections { gap: 12px; }
.bq-compact .bq-coll { aspect-ratio: 16 / 10; border-radius: 14px; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.bq-compact .bq-coll:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(11,23,54,.5); }
.bq-compact .bq-coll-txt { padding: 14px 16px !important; } .bq-compact .bq-coll-txt b { font-size: 1.35rem; } .bq-compact .bq-coll-txt em { font-size: .85rem; } .bq-compact .bq-coll-txt u { display: none; }
.bq-compact .bq-rail { grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; }
.bq-compact .bq-produit-img { aspect-ratio: 4 / 3; border-radius: 12px; margin-bottom: 4px; }
.bq-compact .bq-produit { gap: 3px; transition: transform .35s cubic-bezier(.2,.7,.2,1); } .bq-compact .bq-produit:hover { transform: translateY(-5px); }
.bq-compact .bq-produit b { font-size: .9rem; } .bq-compact .bq-produit-meta, .bq-compact .bq-produit-sec { font-size: .72rem; }
.bq-compact.bq-edito { min-height: 0; } .bq-compact.bq-edito .bq-edito-img { min-height: 260px; } .bq-compact .bq-edito-txt { padding: clamp(28px, 4vw, 52px); } .bq-compact.bq-edito h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.bq-compact .bq-cert h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); } .bq-compact .cert-flou { max-width: 420px; justify-self: center; transition: transform .5s; } .bq-compact .cert-flou:hover { transform: rotate(-2deg) scale(1.03); }
.bq-puces-sect { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .bq-compact .fil-grille.fil-accueil { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bq-puce { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 30px; background: #F3F6FC; border: 1px solid #E1E7F2; color: #0B1736 !important; text-decoration: none !important; font: 600 14.5px Inter, sans-serif; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.bq-puce small { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #fff; color: #0A55C2; font: 700 12px/24px Inter, sans-serif; text-align: center; }
.bq-puce:hover { transform: translateY(-3px); background: #0B1736; color: #fff !important; border-color: #0B1736; }
@media (max-width: 1000px) { .bq-compact .bq-rail { grid-auto-columns: calc((100% - 2 * 14px) / 3.2); } }
@media (max-width: 900px) { .nx-demo-grille { grid-template-columns: minmax(0, 1fr); } .nx-quoi { grid-template-columns: minmax(0, 1fr); } .nx-ecran { height: 380px; } }
@media (max-width: 560px) { .bq-compact .bq-rail { grid-auto-columns: 44%; } .nx-flip { height: 140px; } .nx-flip b { font-size: 13.5px; } .nx-flips { gap: 10px; } .nx-flip-av, .nx-flip-ar { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .nx-ap, .nx-incline, .nx-compare li { opacity: 1 !important; transform: none !important; transition: none !important; } .nx-defile > div, .nx-vague path, .nx-form button::after, .nx-appareils .tel { animation: none !important; } }


/* Partout (site, application installée, ordinateur et téléphone) : pas de barre de défilement de la page visible ; le défilement reste possible (molette, pavé tactile, doigt, clavier). Demande du propriétaire. */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Connexion sans mot de passe */
.cx-autres { display: grid; gap: 10px; margin-top: 14px; }
.cx-ou { display: flex; align-items: center; gap: 12px; margin: 2px 0; color: #8A97B1; font: 600 12.5px Inter, system-ui, sans-serif; }
.cx-ou::before, .cx-ou::after { content: ""; flex: 1; height: 1px; background: #E2E8F2; }
.cx-autre { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border-radius: 12px; border: 1.5px solid #D9E1EE; background: #fff; color: #0B1736 !important; font: 600 14.5px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none !important; transition: background .2s, border-color .2s, transform .2s; }
.cx-autre:hover { background: #F3F6FC; border-color: #0A55C2; transform: translateY(-1px); }
.cx-autre:disabled { opacity: .6; cursor: wait; }
.se-carte .ac-titre { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.se-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.se-liste li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border: 1px solid #E2E8F2; border-radius: 12px; }
.se-liste b { font: 600 14.5px Inter, system-ui, sans-serif; } .se-liste small { grid-column: 1; color: #6B7894; font-size: 12.5px; }
.se-suppr { grid-row: 1 / span 2; grid-column: 2; align-self: center; border: 0; background: none; color: #C0392B; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.se-vide { color: #5A6885; font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.ac-lien-bouton { font: 600 14.5px Inter, system-ui, sans-serif; color: #0A55C2 !important; }
#cle-propose { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); opacity: 0; transition: all .35s cubic-bezier(.2,.7,.2,1); z-index: 9000; display: flex; align-items: center; gap: 12px; width: min(520px, calc(100% - 24px)); padding: 12px 12px 12px 16px; border-radius: 16px; background: #0B1736; color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.35); font-family: Inter, system-ui, sans-serif; }
#cle-propose.on { transform: translate(-50%, 0); opacity: 1; }
#cle-propose .cp-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(0,200,200,.18); color: #00C8C8; display: flex; align-items: center; justify-content: center; flex: none; }
#cle-propose div { flex: 1; min-width: 0; } #cle-propose b { display: block; font-size: 14.5px; } #cle-propose small { display: block; font-size: 12.5px; opacity: .8; }
#cle-propose .cp-oui { border: 0; border-radius: 10px; background: #00C8C8; color: #062033; font: 700 14px Inter, system-ui, sans-serif; padding: 10px 14px; cursor: pointer; }
#cle-propose .cp-non { border: 0; background: none; color: #fff; opacity: .7; font-size: 16px; cursor: pointer; padding: 6px; }
/* Cartes de formation du catalogue : façon vitrine */
.grille-cours .cours { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; transform: none !important; }
.grille-cours .cours-visuel { aspect-ratio: 4 / 5 !important; border-radius: 0; background: #E7E4DE; }
.grille-cours .cours-visuel .couv { height: 100%; object-fit: cover; }
.grille-cours .cours-corps { padding: 14px 2px 6px !important; }
.grille-cours .cours-fournisseur { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6B7689; }
.grille-cours .cours-fournisseur img { display: none; }
.grille-cours .cours h3 { font-size: 1.02rem; font-weight: 600; }
@media (max-width: 1000px) { .bq-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bq-rail { grid-auto-columns: calc((100% - 18px) / 2.2); } .bq-edito, .bq-cert { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .bq-rail { grid-auto-columns: 72%; } .bq-collections { gap: 10px; } .bq-coll-txt { padding: 16px; } .bq-coll-txt b { font-size: 1.5rem; } .bq-hero { min-height: 82vh; } .bq-hero::before { background: linear-gradient(0deg, rgba(6,14,34,.9) 10%, rgba(6,14,34,.35) 70%); } .bq-tete { flex-wrap: wrap; } }
.bq-coll::before { background-position: 78% center; }
.bq-secteurs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bq-sect:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.bq-sect:first-child b { font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; font-size: 2rem; }
@media (max-width: 900px) { .bq-secteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bq-sect:first-child { grid-row: span 1; aspect-ratio: 2 / 1.2; } }
/* Défilement continu des formations */
.bq-flux-sec { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: #fff; }
.bq-flux { overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.bq-flux::-webkit-scrollbar { display: none; }
.bq-flux.tire { cursor: grabbing; user-select: none; }
.bq-flux.tire a { pointer-events: none; }
.bq-flux-piste { display: flex; gap: 18px; width: max-content; padding: 0 9px; }
.bq-flux .bq-produit { width: clamp(220px, 22vw, 290px); flex: none; }
.bq-flux img { -webkit-user-drag: none; user-select: none; }
.bq-flux-aide { text-align: center; color: #8A93A3; font-size: .82rem; letter-spacing: .04em; margin: 22px 16px 0; }
/* Collections : une teinte propre à chaque niveau pour les distinguer */
.bq-coll::after { mix-blend-mode: normal; }
.bq-coll.niv-1::after { background: linear-gradient(0deg, rgba(0,120,120,.92) 0%, rgba(0,160,160,.35) 55%, rgba(0,200,200,.12) 100%); }
.bq-coll.niv-2::after { background: linear-gradient(0deg, rgba(10,70,170,.92) 0%, rgba(10,85,194,.35) 55%, rgba(10,85,194,.12) 100%); }
.bq-coll.niv-3::after { background: linear-gradient(0deg, rgba(60,30,120,.92) 0%, rgba(80,50,150,.35) 55%, rgba(80,50,150,.12) 100%); }
.bq-coll.niv-4::after { background: linear-gradient(0deg, rgba(20,20,30,.95) 0%, rgba(120,90,30,.35) 55%, rgba(180,140,50,.15) 100%); }
.bq-coll::before { filter: grayscale(.35) contrast(1.05); }
.bq-coll.niv-1::before { background-position: 85% center; }
.bq-coll.niv-2::before { background-position: 30% center; }
.bq-coll.niv-3::before { background-position: 60% center; }
.bq-coll.niv-4::before { background-position: 20% center; }
.bq-coll.niv-2::before { background-position: 88% center; }

/* ================= Style boutique appliqué à tout le site ================= */
#app h1, #app h2, .pf-ident h1 { font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; letter-spacing: -.01em; }
#app h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.04; }
#app h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
#app .surtitre, #app .dv-surtitre, .pf-etiquette, .ac-surtitre { font-size: .72rem !important; font-weight: 700; letter-spacing: .22em !important; text-transform: uppercase; }
#app .bouton, .cpt-inscrire, .ac-bouton { border-radius: 0 !important; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; font-weight: 600; padding: 15px 28px; background: #0B1736; border-color: #0B1736; color: #fff !important; box-shadow: none !important; }
#app .bouton:hover, .cpt-inscrire:hover, .ac-bouton:hover { background: #0A55C2; border-color: #0A55C2; }
#app .bouton.secondaire { background: transparent; color: #0B1736 !important; border: 1px solid #0B1736; }
#app .bouton.secondaire:hover { background: #0B1736; color: #fff !important; }
#app .btn-petit { border-radius: 0; text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; }
.ac-creer { background: #0BC5C5 !important; border-color: #0BC5C5 !important; color: #06213F !important; }
/* sections */
#app .bande.douce, .tf-page, .eb-corps, .pf-corps { background: #F4F2EE; }
#app .tete-page:not(.tete-photo) { background: #F4F2EE; padding: clamp(48px, 7vw, 96px) 0; }
/* cartes plates, sans arrondi */
#app .carte, #app .pf-carte, #app .t-plan, #app .eq-offre, #app .contact-carte, #app .ent-etapes li, #app .eb-carte, #app .dv-bloc, #app .eb-stats > div, #app .eb-fcarte,
#app .carte-form, #app .dv-recap, #app .tp-carte, #app .tp-resultat, #app .e-atouts > .conteneur > div, #app .etapes-module > div, #app .faq details, #app .fiche-niveau,
#app .carte-acces, #app .espace-bloc, #app .module-carte, #app .pc-carte, #app .tf-carte, #app .tf-plan, .ac-carte, .popup, .cpt-menu, #app .eb-bienvenue { border-radius: 0 !important; box-shadow: none !important; }
#app .tp-option, #app .tp-chip, #app input, #app select, #app textarea, .ac-carte input, .ac-carte select { border-radius: 0 !important; }
/* en-têtes avec photo : photo plein cadre comme l'accueil */
.tete-photo, .hero-photo, .hero-fondu { min-height: clamp(380px, 56vh, 600px); display: flex; align-items: flex-end; background: #0B1736 !important; color: #fff; }
.tete-photo > .conteneur, .hero-photo > .conteneur, .hero-fondu > .conteneur { width: min(1320px, 100%); padding-bottom: clamp(36px, 6vh, 72px); }
.tete-photo::after, .hero-photo::after, .hero-fondu::after { content: ""; position: absolute; inset: 0 !important; width: auto !important; opacity: 1 !important; z-index: 0;
  background: linear-gradient(90deg, rgba(6,14,34,.88) 0%, rgba(6,14,34,.55) 45%, rgba(6,14,34,.08) 80%), linear-gradient(0deg, rgba(6,14,34,.5), transparent 40%), var(--photo) center 30% / cover no-repeat !important;
  -webkit-mask-image: none !important; mask-image: none !important; }
.tete-photo > *, .hero-photo > *, .hero-fondu > * { position: relative; z-index: 1; }
.tete-photo h1, .tete-photo h2, .tete-photo p, .tete-photo .surtitre, .tete-photo .sous-titre, .hero-photo h1, .hero-photo p, .hero-photo .surtitre, .hero-photo .dv-surtitre, .hero-photo .fil, .hero-photo .fil a, .hero-photo span, .hero-photo li, .hero-photo b,
.hero-fondu h1, .hero-fondu p, .hero-fondu .surtitre, .hero-fondu .a-chapo, .tete-photo .fil a { color: #fff !important; }
.hero-fondu .e-hero-tableau, .hero-fondu .a-hero-visuel, .hero-photo .rubans, .hero-photo > svg, .tete-niveau.hero-photo .rubans { display: none !important; }
.hero-fondu .bouton:not(.secondaire), .hero-photo .bouton:not(.secondaire), .tete-photo .bouton:not(.secondaire) { background: #fff !important; color: #0B1736 !important; border-color: #fff !important; }
.hero-fondu .bouton.secondaire, .hero-photo .bouton.secondaire { color: #fff !important; border-color: rgba(255,255,255,.75) !important; }
.hero-photo .dv-garanties li, .hero-photo .dv-garanties li span { color: #fff !important; }
/* Tarif : bandeau photo plein cadre */
.tf-tete.tf-photo { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: clamp(36px, 6vw, 64px) !important; margin-bottom: 32px;
  background: linear-gradient(90deg, rgba(6,14,34,.88), rgba(6,14,34,.35) 75%), var(--photo) center 30% / cover no-repeat !important; overflow: hidden; }
.tf-tete.tf-photo::before { display: none; }
.tf-tete.tf-photo h1, .tf-tete.tf-photo p { color: #fff !important; max-width: 640px; }
.tf-tete.tf-photo .surtitre { color: #7FE3EA !important; }
/* Profils : bandeau plus haut, comme une couverture */
.pf-couverture { height: clamp(180px, 26vw, 300px) !important; }
.pf-avatar { border-radius: 0 !important; }
/* niveaux : titre + photo */
.tete-niveau.hero-photo .marches, .tete-niveau.hero-photo svg.marches { filter: brightness(10); }
@media (max-width: 760px) {
  .tete-photo::after, .hero-photo::after, .hero-fondu::after { background: linear-gradient(0deg, rgba(6,14,34,.92) 15%, rgba(6,14,34,.45) 75%), var(--photo) center 30% / cover no-repeat !important; }
  .tete-photo .conteneur > * { max-width: none; }
}
.cpt-inscrire { text-transform: none !important; letter-spacing: 0 !important; padding: 10px 18px !important; font-size: .92rem !important; }
#app .hero-fondu .bouton:not(.secondaire), #app .hero-photo .bouton:not(.secondaire), #app .tete-photo .bouton:not(.secondaire) { background: #fff !important; color: #0B1736 !important; border-color: #fff !important; }
#app .hero-fondu .bouton.secondaire, #app .hero-photo .bouton.secondaire, #app .tete-photo .bouton.secondaire { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.75) !important; }
#app .hero-fondu .bouton.secondaire:hover, #app .hero-photo .bouton.secondaire:hover { background: #fff !important; color: #0B1736 !important; }
@media (max-width: 720px) { .cpt-inscrire { padding: 9px 11px !important; font-size: .84rem !important; } }
.tf-tete.tf-photo { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); box-sizing: border-box; padding-left: max(16px, calc(50vw - 660px + 40px)) !important; padding-right: max(16px, calc(50vw - 660px + 40px)) !important; min-height: clamp(380px, 56vh, 600px); }
.tf-tete.tf-photo { margin-top: calc(-1 * clamp(28px, 5vw, 56px)); padding-left: max(16px, calc(50vw - 640px)) !important; padding-right: max(16px, calc(50vw - 640px)) !important; }
.tf-page .conteneur > *:not(.tf-tete), .tf-page .conteneur > * * { border-radius: 0 !important; }
.tf-page [data-action="tarif-periode"] { border-radius: 0 !important; }
/* Offre Équipe et Entreprises : photo droite, ambiance plus dense, texte centré sur un voile flouté */
.hero-photo::after, .hero-fondu::after, .tete-photo::after { transform: none !important; }
.dv-hero.hero-photo::before { display: none !important; }
.dv-hero.hero-photo, .e-hero.hero-fondu { min-height: clamp(460px, 70vh, 700px); align-items: center; justify-content: center; }
.dv-hero.hero-photo::after, .e-hero.hero-fondu::after { background: linear-gradient(rgba(6,14,34,.55), rgba(6,14,34,.7)), var(--photo) center 35% / cover no-repeat !important; }
.dv-hero.hero-photo .dv-fil { display: none; }
.dv-hero.hero-photo .dv-hero-grille, .e-hero.hero-fondu .e-hero-grille { display: flex !important; justify-content: center; }
.dv-hero.hero-photo .dv-hero-grille > div:first-child, .e-hero.hero-fondu .e-hero-grille > div:first-child {
  max-width: 760px !important; text-align: center; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  background: rgba(11, 23, 54, .38); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); border: 1px solid rgba(255,255,255,.18); }
.dv-hero.hero-photo h1, .e-hero.hero-fondu h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem) !important; font-weight: 600 !important; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.dv-hero.hero-photo p, .e-hero.hero-fondu .a-chapo { margin-left: auto !important; margin-right: auto !important; }
.e-hero.hero-fondu .actions { justify-content: center; }
/* Tarif : même en-tête que l'Offre Équipe */
.tf-tete.tf-photo { min-height: clamp(460px, 70vh, 700px) !important; justify-content: center !important; align-items: center !important; text-align: center !important;
  background: linear-gradient(rgba(6,14,34,.55), rgba(6,14,34,.7)), var(--photo) center 35% / cover no-repeat !important; }
.tf-tete.tf-photo::after { content: ""; position: absolute; z-index: 0; width: min(760px, calc(100% - 32px)); height: var(--tf-h, 0); }
.tf-tete.tf-photo > * { max-width: 680px !important; margin-left: auto !important; margin-right: auto !important; position: relative; z-index: 1; }
.tf-tete.tf-photo { --pad: clamp(28px, 4vw, 48px); }
.tf-tete.tf-photo h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem) !important; font-weight: 600 !important; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.tf-voile { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); background: rgba(11,23,54,.38); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); border: 1px solid rgba(255,255,255,.18); }
.tf-voile h1, .tf-voile p { color: #fff !important; }
.tf-voile .surtitre { color: #fff !important; }
.tf-tete.tf-photo > .tf-voile { max-width: 820px !important; width: 100%; box-sizing: border-box; }
/* Textes posés sur une image : bande floutée en bas pour les faire ressortir */
.bq-sect span, .bq-coll-txt { width: 100%; box-sizing: border-box; background: rgba(6,14,34,.28); -webkit-backdrop-filter: blur(9px) saturate(1.1); backdrop-filter: blur(9px) saturate(1.1); border-top: 1px solid rgba(255,255,255,.14); }
.bq-sect::after { background: linear-gradient(0deg, rgba(6,14,34,.45), transparent 45%); }
.bq-sect b, .bq-coll-txt b { text-shadow: 0 1px 10px rgba(0,0,0,.35); }
/* Bande floutée fondue : pas de bord visible, flou léger */
.bq-sect span, .bq-coll-txt { background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-top: 0 !important; isolation: isolate; }
.bq-sect span { padding: 14px 16px !important; }
.bq-coll-txt { padding: 18px 20px !important; }
.bq-sect span::before, .bq-coll-txt::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: -38px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  background: linear-gradient(0deg, rgba(6,14,34,.35), rgba(6,14,34,0));
  -webkit-mask-image: linear-gradient(0deg, #000 45%, transparent 100%); mask-image: linear-gradient(0deg, #000 45%, transparent 100%); }
/* Panneaux centrés : flou fondu dans la photo, sans bord */
.dv-hero.hero-photo .dv-hero-grille > div:first-child, .e-hero.hero-fondu .e-hero-grille > div:first-child, .tf-voile {
  background: none !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; position: relative; isolation: isolate; }
.dv-hero.hero-photo .dv-hero-grille > div:first-child::before, .e-hero.hero-fondu .e-hero-grille > div:first-child::before, .tf-voile::before {
  content: ""; position: absolute; z-index: -1; inset: -70px -110px;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  background: radial-gradient(ellipse closest-side, rgba(6,14,34,.42), rgba(6,14,34,0));
  -webkit-mask-image: radial-gradient(ellipse closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 50%, transparent 100%); }
/* Profil : avatar rond, photo qui remplit le cercle ; couverture = photo légèrement floutée, sans teinte bleue */
.pf-avatar.rond, .pf-avatar-modif { border-radius: 50% !important; overflow: hidden; }
.pf-avatar.rond img, .pf-avatar-modif img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 50%; display: block; }
.pf-couverture.pf-photo { background: #1a1f2b !important; }
.pf-couverture.pf-photo::after { opacity: 1 !important; mix-blend-mode: normal !important; filter: blur(3px) brightness(.92); inset: -8px !important;
  -webkit-mask-image: none !important; mask-image: none !important; }
#app .espace-bloc.prochaine .bouton { background: #fff !important; color: #0B1736 !important; border-color: #fff !important; padding: 13px 26px; }
#app .espace-bloc.prochaine .bouton:hover { background: #0BC5C5 !important; border-color: #0BC5C5 !important; }
#app .espace-bloc.prochaine { background: #0B1736; padding: 28px 32px; }
#app .espace-bloc.prochaine b { font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; font-size: 1.6rem; }
/* Couverture de profil : photo nette, flou seulement en bas, fondu */
.pf-couverture.pf-photo { position: relative; overflow: hidden; }
.pf-couverture.pf-photo::after { filter: none !important; inset: 0 !important; z-index: 0; }
.pf-couverture.pf-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: linear-gradient(0deg, rgba(10,14,24,.25), transparent);
  -webkit-mask-image: linear-gradient(0deg, #000 35%, transparent 100%); mask-image: linear-gradient(0deg, #000 35%, transparent 100%); }
.pf-tete .pf-ligne { position: relative; z-index: 3; }
/* ================= Tableau de bord entreprise : graphiques + tableur ================= */
.tb-graphes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 14px; }
.tb-g { background: #fff; border: 1px solid #E3E8EF; padding: 20px; min-width: 0; }
.tb-g h3 { margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5B6678; }
.tb-donut { display: flex; align-items: center; gap: 16px; }
.tb-donut svg { width: 130px; height: 130px; flex: none; }
.tb-donut-n { font: 700 20px var(--titre, sans-serif); fill: #0B1736; }
.tb-donut-l { font: 600 10px sans-serif; fill: #6B7689; letter-spacing: .08em; text-transform: uppercase; }
.tb-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: #33405A; }
.tb-donut li { display: flex; align-items: center; gap: 8px; }
.tb-donut li i { width: 10px; height: 10px; flex: none; }
.tb-donut li b { margin-left: auto; padding-left: 10px; color: #0B1736; }
.tb-barres { display: grid; gap: 9px; }
.tb-br { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: .84rem; }
.tb-br-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #33405A; }
.tb-br-z { height: 10px; background: #EEF1F5; }
.tb-br-z i { display: block; height: 100%; min-width: 2px; }
.tb-br b { text-align: right; color: #0B1736; font-variant-numeric: tabular-nums; }
.tb-vide-g { color: #98A2B3; font-size: .9rem; margin: 0; }
/* Feuille de calcul */
.tb-feuille { background: #fff; border: 1px solid #C9D2DF; }
.tb-barre-outils { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #F3F5F8; border-bottom: 1px solid #C9D2DF; }
.tb-onglets { display: flex; flex-wrap: wrap; gap: 4px; }
.tb-onglets button { font: inherit; font-size: .84rem; font-weight: 600; padding: 7px 12px; border: 1px solid #C9D2DF; background: #fff; color: #33405A; cursor: pointer; }
.tb-onglets button span { color: #6B7689; font-weight: 700; margin-left: 4px; }
.tb-onglets button.actif { background: #0B1736; color: #fff; border-color: #0B1736; }
.tb-onglets button.actif span { color: #7FE3EA; }
.tb-outils { display: flex; gap: 8px; align-items: center; }
.tb-outils input { font: inherit; font-size: .86rem; padding: 7px 10px; border: 1px solid #C9D2DF; min-width: 240px; }
.tb-formule { display: flex; align-items: center; gap: 0; border-bottom: 1px solid #C9D2DF; font-size: .86rem; }
.tb-formule span { padding: 7px 12px; border-right: 1px solid #C9D2DF; font-style: italic; font-weight: 700; color: #6B7689; background: #F8F9FB; }
.tb-formule em { padding: 7px 12px; font-style: normal; color: #22304A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-zone { overflow: auto; max-height: 560px; }
.tb-table { border-collapse: collapse; font-size: .85rem; min-width: 1500px; width: 100%; font-variant-numeric: tabular-nums; }
.tb-table th, .tb-table td { border: 1px solid #E1E5EC; padding: 7px 10px; text-align: left; white-space: nowrap; vertical-align: middle; }
.tb-table thead th { position: sticky; background: #F3F5F8; color: #33405A; font-weight: 700; z-index: 2; }
.tb-table thead tr.tb-lettres th { top: 0; height: 22px; padding: 2px 10px; text-align: center; font-weight: 600; font-size: .72rem; color: #8A93A3; background: #EAEDF2; }
.tb-table thead tr:nth-child(2) th { top: 27px; }
.tb-table thead button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-weight: 700; }
.tb-table thead button:hover { color: #0A55C2; }
.tb-num { width: 1%; text-align: center !important; color: #8A93A3; background: #F3F5F8; font-size: .76rem; position: sticky; left: 0; z-index: 1; }
.tb-table thead .tb-num, .tb-table thead tr.tb-lettres th:first-child { z-index: 3; left: 0; position: sticky; }
.tb-table tbody tr:nth-child(even) td:not(.tb-num) { background: #FAFBFD; }
.tb-table tbody tr:hover td:not(.tb-num) { background: #EEF4FD; }
.tb-table tbody tr.sel td:not(.tb-num) { background: #E3EDFC; box-shadow: inset 0 0 0 1px #0A55C2; }
.tb-table tbody tr { cursor: pointer; }
.tb-table code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: #22304A; }
.tb-agent { display: flex; align-items: center; gap: 8px; }
.tb-agent i, .tb-agent img { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: .66rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0BB5C4, #0A55C2); object-fit: cover; }
.tb-agent span { display: grid; line-height: 1.2; }
.tb-agent small { color: #6B7689; font-size: .74rem; }
.tb-vide { color: #B6BDC9; }
.tb-etat { font-size: .74rem; font-weight: 700; padding: 3px 8px; }
.tb-attente { background: #FFF4E5; color: #A15C07; } .tb-active { background: #E7F0FD; color: #0A55C2; } .tb-fini { background: #E7F6EE; color: #127A45; }
.tb-mods { display: inline-flex; gap: 3px; align-items: flex-end; height: 22px; }
.tb-mods i { width: 9px; height: 22px; background: linear-gradient(0deg, #0BB5C4 var(--v), #EEF1F5 var(--v)); }
.tb-pc { display: inline-flex; align-items: center; gap: 8px; }
.tb-barre { width: 110px; height: 10px; background: #EEF1F5; display: inline-block; }
.tb-barre i { display: block; height: 100%; background: linear-gradient(90deg, #0BB5C4, #0A55C2); }
.tb-l-fini .tb-barre i { background: #12A150; }
.tb-et { display: block; color: #6B7689; font-size: .72rem; }
.tb-aucun { text-align: center !important; color: #8A93A3; padding: 22px !important; }
.tb-pied { margin: 0; padding: 8px 12px; font-size: .78rem; color: #6B7689; background: #F3F5F8; border-top: 1px solid #C9D2DF; }
@media (max-width: 1000px) { .tb-graphes { grid-template-columns: minmax(0, 1fr); } .tb-outils input { min-width: 0; width: 100%; } .tb-outils { flex: 1 1 100%; } }
.eb-corps .conteneur { grid-template-columns: minmax(0, 1fr); } .eb-corps .conteneur > * { min-width: 0; } .tb-feuille, .tb-zone { max-width: 100%; }
.tb-c-formation { max-width: 240px; overflow: hidden; text-overflow: ellipsis; } .tb-donut li { white-space: nowrap; } .tb-table { min-width: 1350px; }
.pied nav[aria-label="Espace équipe"] { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(6, auto); grid-auto-flow: column; column-gap: 40px; row-gap: 8px; }
@media (max-width: 420px) { .pied nav[aria-label="Espace équipe"] { column-gap: 24px; } }
/* ---------- Contact : boutons d'action et fenêtres ---------- */
.ct-carte-action { grid-template-rows: auto auto 1fr auto; }
.ct-carte-action > svg { width: 28px; height: 28px; color: #0A55C2; }
#app .ct-btn { justify-self: start; margin-top: 10px; }
.fen { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(5, 20, 50, .3); transform: translateY(10px) scale(.98); transition: transform .18s ease; }
.fen.large { width: min(720px, 100%); }
.popup-fond.ouvert .fen { transform: none; }
.fen-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #E6EBF2; position: sticky; top: 0; background: #fff; z-index: 1; }
.fen-tete h2 { margin: 0; font-size: 1.2rem; }
.fen-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F1F4F8; display: grid; place-items: center; cursor: pointer; color: #0B1736; }
.fen-x svg { width: 18px; height: 18px; }
.fen-corps { padding: 20px 22px 22px; display: grid; gap: 14px; }
.ct-adr { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 600; }
.ct-adr svg { width: 22px; height: 22px; flex: none; color: #0A55C2; }
.ct-carte { position: relative; border-radius: 12px; overflow: hidden; background: #E9EEF5; aspect-ratio: 16 / 9; }
.ct-carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ct-appel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.ct-appel p { margin: 0 0 10px; }
.ct-qr-zone { padding: 10px; border: 1px solid #E6EBF2; border-radius: 12px; background: #fff; line-height: 0; }
@media (max-width: 560px) { .ct-appel { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.ct-form { display: grid; gap: 12px; }
.ct-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.ct-form input, .ct-form select, .ct-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 10px; width: 100%; box-sizing: border-box; background: #fff; }
.ct-form textarea { resize: vertical; min-height: 120px; }
.ct-ligne2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .ct-ligne2 { grid-template-columns: minmax(0, 1fr); } }
.ct-champ-a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: #F3F6FA; border-radius: 10px; font-size: .9rem; }
.ct-champ-a span { color: #64748B; font-weight: 600; }
.ct-pj { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.ct-pj small { color: #64748B; }
.ct-form .ct-pj-btn { display: inline-flex; grid-auto-flow: column; align-items: center; gap: 8px; padding: 8px 14px; border: 1px dashed #94A3B8; border-radius: 10px; cursor: pointer; font-weight: 600; }
.ct-pj-btn svg { width: 18px; height: 18px; }
.ct-pj-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ct-pj-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; }
.ct-pj-liste li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #F3F6FA; border-radius: 8px; font-size: .88rem; }
.ct-pj-liste li svg { width: 16px; height: 16px; flex: none; }
.ct-pj-liste li span, .ct-pj-liste li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-pj-liste li button { border: 0; background: none; cursor: pointer; padding: 2px; color: #64748B; }
.ct-ok { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 10px 0; }
.ct-ok-ico { width: 56px; height: 56px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; }
.ct-ok h3 { margin: 4px 0 0; }
button.cc-option { font: inherit; width: 100%; text-align: left; cursor: pointer; background: inherit; }
.adm-msgs { display: grid; gap: 14px; }
.adm-msg { border: 1px solid #E6EBF2; border-radius: 12px; padding: 16px 18px; background: #fff; display: grid; gap: 8px; }
.adm-msg.traite { opacity: .6; }
.adm-msg-tete { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.adm-msg-tete small { color: #64748B; margin-left: auto; }
.adm-msg-objet { margin: 0; font-weight: 700; color: #0A55C2; }
.adm-msg-texte { margin: 0; white-space: pre-wrap; }
/* Contraste : texte foncé sur les boutons turquoise */
#app .ac-bouton.ac-creer, .ac-bouton.ac-creer { color: #001A4D !important; }
#app a.bouton[style*="00C8C8"], #app .bouton.turquoise { color: #001A4D !important; }
.tp-clavier { color: #5B6B85 !important; }
#app .t-plan.vedette .bouton, #app .t-plan .bouton[href="#/entreprise/compte"] { color: #001A4D !important; }
/* ---------- Inscription : téléphone et rappels ---------- */
.ac-inscription .ac-case { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #1C2B39; cursor: pointer; }
.ac-inscription .ac-case input, .ac-puce input { width: 18px; height: 18px; accent-color: #0A55C2; margin: 0; }
.ac-rappels { border: 1px solid #DDE3EA; border-radius: 10px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 8px; }
.ac-rappels legend { font-size: .85rem; font-weight: 700; color: #1C2B39; padding: 0 4px; }
.ac-rappels small { color: #5B6B85; font-size: .78rem; }
.ac-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-puce { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #CBD5E1; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #1C2B39; cursor: pointer; }
.ac-puce:has(input:checked) { background: #E8F1FD; border-color: #0A55C2; color: #0A55C2; }
/* ---------- Espace étudiant : rappels (discrets) ---------- */
.rappels-bloc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; grid-column: 1 / -1; margin: 4px 0 0; font-size: .78rem; color: #8494AE; }
.rp-titre { font-weight: 600; }
.rp-mini { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.rp-switch { appearance: none; -webkit-appearance: none; width: 24px; height: 14px; border-radius: 999px; background: #D5DCE6; position: relative; cursor: pointer; flex: none; transition: background .2s; margin: 0; }
.rp-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .2s; }
.rp-switch:checked { background: #6C93CF; }
.rp-switch:checked::after { transform: translateX(10px); }
.rp-switch:focus-visible { outline: 2px solid #0A55C2; outline-offset: 2px; }
.renf-groupe + .renf-groupe { margin-top: 14px; }
.renf-groupe h3 { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; margin: 0 0 6px; color: #0B1736; }
.renf-groupe h3 span { font-size: .75rem; font-weight: 700; color: #5B6B85; background: #EEF2F8; border-radius: 999px; padding: 1px 8px; }
/* ---------- Console : Site et contenus ---------- */
.sa-onglets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px; border-bottom: 1px solid #E2E8F0; }
.sa-onglets button { font: inherit; font-weight: 600; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; cursor: pointer; color: #475569; }
.sa-onglets button[aria-pressed="true"] { color: #0B1736; border-bottom-color: #0A55C2; }
.sa-form { display: grid; gap: 14px; background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 20px 22px; max-width: 900px; }
.sa-form h3, .sa-h { margin: 0; font-size: 1.15rem; } .sa-h { margin: 26px 0 10px; }
.sa-form form { display: grid; gap: 14px; }
.sa-champ { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; color: #0B1736; }
.sa-champ small { font-weight: 400; color: #64748B; font-size: .8rem; }
.sa-champ input, .sa-champ select, .sa-champ textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: #0B1736; width: 100%; box-sizing: border-box; }
.sa-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sa-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.sa-f { border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; background: #fff; display: grid; gap: 4px; padding-bottom: 10px; }
.sa-f b, .sa-f small, .sa-f-actions { margin: 0 12px; } .sa-f small { color: #64748B; font-size: .8rem; }
.sa-f-img { aspect-ratio: 16 / 10; background: #0B1736 center / cover no-repeat; position: relative; margin-bottom: 6px; }
.sa-tag { position: absolute; left: 8px; top: 8px; background: #00C8C8; color: #001A4D; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.sa-f-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px !important; }
.sa-fichier { position: relative; cursor: pointer; } .sa-fichier input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sa-etapes { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
/* Pied de page : vague en haut, grand « nexa » en bas qui s'illumine sous le doigt ou la souris */
.pied-vague { position: absolute; top: 0; left: 0; width: 100%; height: clamp(46px, 5vw, 70px); pointer-events: none; }
.pied-vague path { fill: none; stroke: #00C8C8; stroke-width: 3; opacity: .8; stroke-dasharray: 18 14; animation: nx-defile 2.4s linear infinite; }
.pied-vague path + path { stroke: #fff; opacity: .2; stroke-width: 1.5; stroke-dasharray: none; animation: none; }
.pied-int { padding-top: clamp(64px, 7vw, 92px); }
.pied-geant { position: relative; max-width: var(--conteneur); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); text-align: center; user-select: none; pointer-events: none;
  font: 800 clamp(4.6rem, 19vw, 17rem)/.78 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.05em; margin-top: -.12em; margin-bottom: -.06em;
  background: radial-gradient(circle 240px at var(--mx, -400px) var(--my, 50%), #fff 0%, #7EF3F3 22%, rgba(0,200,200,.55) 45%, rgba(255,255,255,.06) 72%), rgba(255,255,255,.06);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
body.page-auth .pied-geant, body.app-immersif .pied-geant { display: none; }
@media (prefers-reduced-motion: reduce) { .pied-vague path { animation: none; } }
.pied .reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pied .reseaux a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; }
.pied .reseaux a:hover { background: #00C8C8; border-color: #00C8C8; color: #001A4D; }
.pied .reseaux svg { width: 17px; height: 17px; }
@media (max-width: 640px) { .sa-deux { grid-template-columns: minmax(0, 1fr); } }

/* ===== Connexion et inscription : carte compacte à onglets (octobre 2026) ===== */
.ac-page.cx { background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F8 100%); font-family: Inter, system-ui, sans-serif; }
.cx-zone { width: min(430px, 100%); margin: 0 auto; display: grid; gap: 16px; justify-items: center; align-self: center; }
.cx-logo img { width: 128px; height: auto; display: block; }
.cx-carte { width: 100%; box-sizing: border-box; background: #fff; border: 1px solid #E3E8F1; border-radius: 18px; padding: 22px 24px 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.07); }
.cx-onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #EEF2F8; border-radius: 12px; margin-bottom: 20px; }
.cx-onglets button { height: 38px; border: 0; border-radius: 9px; background: transparent; color: #4A5B78; font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.cx-onglets button[aria-selected="true"] { background: #fff; color: #0B1736; box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.cx-form { display: grid; gap: 13px; }
.cx-titre { margin: 0; font: 700 21px/1.25 Inter, system-ui, sans-serif; letter-spacing: -.01em; color: #0B1736; }
.cx-sous { margin: -6px 0 4px; font-size: 14px; color: #5B6B85; }
.cx-champ { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #33415C; min-width: 0; }
.cx-champ > span i { font-style: normal; font-weight: 400; color: #8A97AD; }
.cx-lib-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cx-lib-ligne a { font-weight: 500; color: #0A55C2; text-decoration: none; font-size: 13px; } .cx-lib-ligne a:hover { text-decoration: underline; }
.cx-form input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; height: 44px !important; padding: 0 13px !important; border: 1px solid #D5DCE8 !important; border-radius: 10px !important; background: #fff !important; color: #0B1736; font: 400 16px/1 Inter, system-ui, sans-serif !important; transition: border-color .15s, box-shadow .15s; }
.cx-form input::placeholder { color: #9AA6BA; }
.cx-form input:not([type="checkbox"]):focus { outline: none; border-color: #0A55C2; box-shadow: 0 0 0 3px rgba(10,85,194,.14); }
.cx-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cx-mdp { position: relative; display: block; }
.cx-mdp input { padding-right: 44px !important; }
.cx-oeil { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: #6B7A93; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.cx-oeil:hover { background: #F2F5FA; color: #0B1736; }
.cx-case { display: flex; align-items: center; gap: 8px; margin-top: -4px; font-size: 13px; color: #4A5B78; cursor: pointer; }
.cx-case input { width: 16px; height: 16px; accent-color: #0A55C2; }
.cx-plus { border: 1px dashed #D5DCE8; border-radius: 10px; padding: 0 12px; }
.cx-plus summary { cursor: pointer; padding: 11px 0; font-size: 13.5px; font-weight: 600; color: #0A55C2; list-style: none; }
.cx-plus summary::-webkit-details-marker { display: none; }
.cx-plus summary::before { content: "+ "; }
.cx-plus[open] summary::before { content: "− "; }
.cx-plus[open] { padding-bottom: 12px; display: block; }
.cx-plus[open] > .cx-champ, .cx-plus[open] > .cx-deux { margin-top: 10px; }
.cx-bouton { height: 46px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #0A55C2, #0B3F94); color: #fff; font: 600 16px/1 Inter, system-ui, sans-serif; cursor: pointer; margin-top: 4px; box-shadow: 0 6px 16px rgba(10,85,194,.25); }
.cx-bouton:hover { filter: brightness(1.06); }
.cx-bouton:disabled { opacity: .6; cursor: wait; }
.cx-legal { margin: 0; font-size: 11.5px; line-height: 1.5; color: #7A879C; text-align: center; } .cx-legal a { color: #4A5B78; }
.cx-bas { margin: 4px 0 0; text-align: center; font-size: 14px; color: #5B6B85; }
.cx-lien { border: 0; background: none; padding: 0; color: #0A55C2; font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer; } .cx-lien:hover { text-decoration: underline; }
.cx-form .alerte { margin: 0; font-size: 13.5px; }
.cx-ent { width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 14px; background: #fff; border: 1px solid #E3E8F1; text-decoration: none; font-size: 14px; color: #4A5B78; }
.cx-ent b { color: #0A55C2; font-weight: 600; } .cx-ent:hover { border-color: #C9D4E8; }
.cx-retour { font-size: 13.5px; color: #6B7A93; text-decoration: none; } .cx-retour:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .ac-page.cx { padding: 18px 14px 28px !important; align-items: start; }
  .cx-zone { gap: 12px; }
  .cx-logo img { width: 104px; }
  .cx-carte { padding: 16px 16px 18px; border-radius: 16px; }
  .cx-onglets { margin-bottom: 16px; }
  .cx-form { gap: 11px; }
  .cx-titre { font-size: 19px; }
  .cx-ent { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; font-size: 13.5px; }
  .cx-deux { gap: 8px; }
}
/* Pages entreprise (connexion, création du compte) : mêmes proportions compactes que la carte élève */
.ac-carte { border-radius: 18px; padding: 22px 22px 24px; border: 1px solid #E3E8F1; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.07); font-family: Inter, system-ui, sans-serif; }
#app .ac-carte input, #app .ac-carte select { height: 44px !important; padding: 0 13px !important; font-size: 16px !important; border-radius: 10px !important; border-color: #D5DCE8 !important; }
.ac-bouton { height: 46px; border-radius: 10px; font-size: 16px; font-weight: 600; background: linear-gradient(135deg, #0A55C2, #0B3F94); }
.ac-creer { background: #fff; color: #0A55C2; border: 1px solid #C9D4E8; font-size: 15px; height: 44px; }
.ac-creer:hover { background: #F2F6FD; }
.ac-titre { font: 700 20px/1.25 Inter, system-ui, sans-serif; margin: 0 0 4px; color: #0B1736; }
.ac-marque p { font-size: clamp(1.05rem, 2vw, 1.35rem); }
@media (max-width: 520px) { .ac-page:not(.cx) { padding: 18px 14px 28px !important; } .ac-logo { width: 150px; } .ac-carte { padding: 16px; } }
@media (max-width: 860px) { .ac-grille, .ac-grille.ac-grille-ent { grid-template-columns: minmax(0, 1fr) !important; } .ac-boite { width: 100% !important; max-width: 430px; } .ac-marque { justify-items: center; text-align: center; } }
.ac-carte .ac-titre { font: 700 20px/1.25 Inter, system-ui, sans-serif !important; letter-spacing: -.01em; }
.ac-bouton { text-transform: none !important; letter-spacing: 0 !important; }
/* Téléphone : en-tête allégé (sans bandeau pilote ni encadré de conseil) */
@media (max-width: 760px) {
  #bandeau, #avis-mobile { display: none !important; }
  .entete .recherche-entete input { height: 40px !important; font-size: 15px !important; }
  .entete nav { gap: 4px !important; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap !important; }
  .entete nav::-webkit-scrollbar { display: none; }
  .entete nav a { padding: 7px 11px !important; font-size: .86rem !important; }
}

/* #accueil-groupe : photo de groupe, personnes à droite, texte sur l'espace libre à gauche */
.bq-hero-groupe { background-position: 70% 40%; }
@media (max-width: 760px) { .bq-hero-groupe { background-position: 78% 30%; } }

/* Application installée sur téléphone : l'apparence d'avant le 9 nov. 2026 est gardée (demande du propriétaire) :
   anciennes polices des titres et des vidéos ; le mode cinéma n'y est pas activé (voir pageModule). */
@media (max-width: 900px) {
  body.app-installee { --serif: "Fraunces", Georgia, "Times New Roman", serif; --titre: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
  body.app-installee .bq-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(2.8rem, 7vw, 5.8rem); letter-spacing: -.02em; }
  body.app-installee .bq-tete h2, body.app-installee .bq-edito h2, body.app-installee .bq-cert h2, body.app-installee .bq-fin h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.01em; }
  body.app-installee .bq-coll-txt b { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 2rem; }
  body.app-installee .nx h2.nx-h { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.02em; }
  body.app-installee .nx-tout-txt h3 { font: 500 clamp(1.6rem, 2.8vw, 2.2rem)/1.15 "Fraunces", serif; }
  body.app-installee .nx-bande h2 { font: 500 clamp(2.4rem, 5.6vw, 4.6rem)/1 "Fraunces", serif; letter-spacing: -.02em; }
  body.app-installee .bq-sect:first-child b { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 2rem; }
  body.app-installee #app h1, body.app-installee #app h2, body.app-installee .pf-ident h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
  body.app-installee #app .espace-bloc.prochaine b { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.6rem; }
  body.app-installee #app .lecteur-video[data-theme="sante"] { --v-police: "Montserrat", var(--titre); }
  body.app-installee #app .lecteur-video[data-theme="banque"] { --v-police: "Fraunces", Georgia, serif; }
  body.app-installee #app .lecteur-video[data-theme="mines"] { --v-police: "Montserrat", var(--titre); }
  body.app-installee #app .lecteur-video[data-theme="hydrocarbures"] { --v-police: "Montserrat", var(--titre); }
  body.app-installee #app .lecteur-video[data-theme="administration"] { --v-police: "Fraunces", Georgia, serif; }
  body.app-installee #app .lecteur-video[data-theme="rh"] { --v-police: "Montserrat", var(--titre); }
  body.app-installee #app .lecteur-video[data-theme="assurances"] { --v-police: "Montserrat", var(--titre); }
  body.app-installee #app .lecteur-video[data-theme="logistique"] { --v-police: "Montserrat", var(--titre); }
  body.app-installee #app .lecteur-video[data-theme="ong"] { --v-police: "Fraunces", Georgia, serif; }
  body.app-installee #app .lecteur-video[data-theme="juridique"] { --v-police: "Fraunces", Georgia, serif; }
}
/* Demande du propriétaire (10 nov. 2026) : plus aucun trait décoratif devant (ou autour) des petits titres. */
.surtitre::before, .nx-sur::before, .marque .signature::before, .marque .signature::after { content: none !important; display: none !important; }

/* Échange des tableurs avec Excel (11 nov. 2026) : boutons dans la barre de titre verte de la grille. */

/* ===== Vitrine « À la une » en haut de l'accueil (11 nov. 2026, option C choisie par le propriétaire) ===== */
.une { width: min(1240px, 100%); margin: 0 auto; padding: clamp(18px, 3vw, 34px) clamp(20px, 4vw, 48px) 10px; box-sizing: border-box; color: var(--texte); }
.une-cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.une-txt { min-height: 360px; display: flex; align-items: center; }
.une-anime > * { animation: une-monte .55s ease both; }
.une-anime > *:nth-child(2) { animation-delay: .06s; } .une-anime > *:nth-child(3) { animation-delay: .12s; } .une-anime > *:nth-child(4) { animation-delay: .18s; } .une-anime > *:nth-child(5) { animation-delay: .24s; }
@keyframes une-monte { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.une-sur { margin: 0 0 14px; color: var(--turq-texte, #007C7C); font-weight: 800; letter-spacing: .14em; font-size: .8rem; text-transform: uppercase; }
.une h1 { margin: 0 0 16px; font-family: var(--titre); font-weight: 800; font-size: clamp(1.8rem, 2.9vw, 2.45rem); line-height: 1.08; letter-spacing: -.01em; color: var(--texte); }
.une-acc { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.6; color: var(--discret); max-width: 560px; }
.une-meta { margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--discret); font-size: .9rem; font-weight: 600; }
.une-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.une-btn { display: inline-flex; align-items: center; gap: 10px; background: #002E7A; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 1rem; padding: 14px 22px; border-radius: 12px; transition: background .2s; }
.une-btn svg { width: 18px; height: 18px; }
.une-btn:hover { background: #0A55C2; }
.une-btn-clair { background: var(--accent-clair, #E7EEF9); color: #002E7A !important; }
.une-btn-clair:hover { background: #D7E3F6; }
.une-photo { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.1; background: #001A4D; box-shadow: 0 40px 70px -30px rgba(0, 26, 77, .45); }
.une-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.une-img.on { opacity: 1; animation: une-pano 4.5s ease-out forwards; }
@keyframes une-pano { from { transform: scale(1.03); } to { transform: scale(1.1) translate(-1%, .8%); } }
.une-num { position: absolute; left: 18px; top: 18px; background: rgba(255, 255, 255, .92); color: #001A4D; font-weight: 800; font-size: .8rem; padding: 7px 13px; border-radius: 999px; letter-spacing: .05em; }
.une-suite { margin-top: 30px; }
.une-suite h2 { margin: 0 0 12px; font-family: var(--titre); font-size: 1.1rem; font-weight: 800; color: var(--texte); }
.une-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.une-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--bordure); background: var(--surface); text-decoration: none !important; color: var(--texte) !important; animation: une-monte .5s ease both; transition: border-color .2s, transform .2s; }
.une-item:hover { border-color: #0A55C2; transform: translateY(-2px); }
.une-item img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex: 0 0 60px; }
.une-item b { display: block; font-size: .88rem; line-height: 1.3; }
.une-item small { color: var(--discret); font-size: .76rem; }
/* Le texte d'accueil passe sous la vitrine, sans photo */
.bq-hero.bq-hero-sobre { min-height: 0 !important; height: auto !important; background: var(--fond); color: var(--texte); padding-top: clamp(40px, 7vw, 80px); border-top: 1px solid var(--bordure); margin-top: clamp(28px, 4vw, 48px); }
.bq-hero.bq-hero-sobre::before { display: none; }
.bq-hero-sobre .bq-hero-txt { padding-bottom: clamp(40px, 7vw, 80px); }
.bq-hero-sobre h1 { color: var(--texte); }
.bq-hero-sobre .bq-chapo { color: var(--discret); max-width: 640px; }
.bq-hero-sobre .bq-actions .bq-btn:first-child { background: #0B1736; color: #fff !important; border-color: #0B1736; }
.bq-hero-sobre .bq-btn-clair { color: var(--texte) !important; border-color: var(--bordure); }
.bq-hero-sobre .bq-btn-clair:hover { background: var(--texte); color: var(--fond) !important; }
@media (max-width: 900px) {
  .une-cadre { grid-template-columns: 1fr; gap: 20px; }
  .une-photo { order: -1; aspect-ratio: 16 / 10; border-radius: 22px; }
  .une-txt { min-height: 330px; align-items: flex-start; }
  .une-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .une-liste { display: flex; overflow-x: auto; scrollbar-width: none; } .une-item { flex: 0 0 76%; } .une-txt { min-height: 380px; } }
@media (prefers-reduced-motion: reduce) { .une-img.on, .une-anime > *, .une-item { animation: none; } }
/* Avec la vitrine, l'en-tête de l'accueil redevient un en-tête normal (fond de page, texte foncé) au lieu de flotter sur une photo. */
body.page-accueil:has(#une) .entete { position: sticky !important; top: 0; background: var(--surface) !important; border-bottom: 1px solid var(--bordure) !important; }
body.page-accueil:has(#une) .entete::before { display: none !important; }
body.page-accueil:has(#une) .entete nav a, body.page-accueil:has(#une) .cpt-connexion { color: var(--texte) !important; }
body.page-accueil:has(#une) .entete nav a:hover, body.page-accueil:has(#une) .cpt-connexion:hover { background: var(--surface-2) !important; }
body.page-accueil:has(#une) .entete nav a.actif { background: var(--accent-clair) !important; color: var(--accent) !important; }
body.page-accueil:has(#une) .recherche-entete { background: var(--surface) !important; border-color: var(--bordure) !important; backdrop-filter: none; }
body.page-accueil:has(#une) .recherche-entete input { color: var(--texte) !important; }
body.page-accueil:has(#une) .recherche-entete input::placeholder { color: var(--discret); }
:root[data-theme="light"] body.page-accueil:has(#une) .entete .logo-clair { display: block !important; }
:root[data-theme="light"] body.page-accueil:has(#une) .entete .logo-sombre { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) body.page-accueil:has(#une) .entete .logo-clair { display: block !important; }
  :root:not([data-theme="dark"]) body.page-accueil:has(#une) .entete .logo-sombre { display: none !important; }
}
#une h1 { font-size: clamp(1.8rem, 2.9vw, 2.45rem) !important; line-height: 1.1 !important; margin: 0 0 16px !important; }
#une .une-suite h2 { font-size: 1.1rem !important; margin: 0 0 12px !important; letter-spacing: 0 !important; }

/* Bloc « Le métier que vous visez » : centré, nouveau dessin (demande du propriétaire, 11 nov. 2026, 20 h) */
.bq-hero.bq-hero-centre { position: relative; overflow: hidden; text-align: center; border-top: 0; background:
  radial-gradient(ellipse 60% 70% at 18% 20%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
  radial-gradient(ellipse 55% 65% at 85% 85%, color-mix(in srgb, #14B8A6 12%, transparent), transparent 70%),
  var(--fond) !important; }
.bq-hero-centre .bq-hero-txt { max-width: 860px; margin: 0 auto !important; padding-left: 20px; padding-right: 20px; display: flex; flex-direction: column; align-items: center; }
.bq-hero-centre .bq-sur { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--bordure); border-radius: 999px; background: var(--surface); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--discret) !important; box-shadow: 0 4px 18px rgba(11,23,54,.06); }
.bq-hero-centre .bq-sur span:first-child { color: var(--accent); font-weight: 800; }
.bq-hero-centre .bq-sur i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; }
.bq-hero-centre h1 { font-family: var(--titre); font-size: clamp(2.3rem, 5.4vw, 4.2rem) !important; line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 18px !important; }
.bq-hero-centre h1 em { font-style: normal; display: inline-block; background: linear-gradient(100deg, var(--accent), #14B8A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bq-hero-centre .bq-chapo { margin: 0 auto !important; max-width: 660px; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; }
.bq-hero-centre .bq-actions { justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.bq-hero-centre .bq-actions .bq-btn { border-radius: 999px; padding-left: 26px; padding-right: 26px; }
.bq-hero-centre .bq-chiffres { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 760px; border: 1px solid var(--bordure); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 34px rgba(11,23,54,.07); }
.bq-hero-centre .bq-chiffres li { padding: 18px 10px; display: flex; flex-direction: column; gap: 4px; }
.bq-hero-centre .bq-chiffres li + li { border-left: 1px solid var(--bordure); }
.bq-hero-centre .bq-chiffres b { font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1 var(--titre); color: var(--texte); }
.bq-hero-centre .bq-chiffres span { font-size: .82rem; color: var(--discret); }
:root[data-theme="dark"] .bq-hero-centre .bq-actions .bq-btn:first-child { background: #fff !important; color: #0B1736 !important; border-color: #fff !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bq-hero-centre .bq-actions .bq-btn:first-child { background: #fff !important; color: #0B1736 !important; border-color: #fff !important; } }
@media (max-width: 640px) {
  .bq-hero-centre .bq-chiffres { grid-template-columns: repeat(2, 1fr); }
  .bq-hero-centre .bq-chiffres li:nth-child(3) { border-left: 0; }
  .bq-hero-centre .bq-chiffres li:nth-child(n+3) { border-top: 1px solid var(--bordure); }
  .bq-hero-centre .bq-sur { font-size: .64rem; gap: 6px; padding: 6px 12px; white-space: nowrap; letter-spacing: .05em; }
}

/* Bouton jour / nuit, discret, coin bas gauche */
#bt-jour-nuit { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 8990; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; border: 1px solid var(--bordure); background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--discret); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0,0,0,.10); opacity: .75; transition: opacity .2s, color .2s, transform .2s; }
#bt-jour-nuit:hover, #bt-jour-nuit:focus-visible { opacity: 1; color: var(--accent); transform: scale(1.06); }
body.avec-barre-app #bt-jour-nuit { z-index: 40; width: 36px; height: 36px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body.cine #bt-jour-nuit, body.en-lecon #bt-jour-nuit { display: none; }
@media print { #bt-jour-nuit { display: none; } }

/* Bouton jour / nuit posé dans l'en-tête, à côté de la photo du compte (11 nov. 2026, 20 h 21) */
.entete .cpt-zone #bt-jour-nuit { position: static; opacity: .85; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; width: 36px; height: 36px; }
.entete .cpt-zone #bt-jour-nuit:hover { background: var(--surface-2); }
body.avec-barre-app .entete .cpt-zone #bt-jour-nuit { width: 34px; height: 34px; }

/* En-tête sur toute la largeur : logo et menu tout à gauche, compte tout à droite (11 nov. 2026, 20 h 21) */
@media (min-width: 900px) {
  .entete-int { max-width: none !important; padding-left: clamp(16px, 1.8vw, 28px) !important; padding-right: clamp(16px, 1.8vw, 28px) !important; }
}
/* Menu du compte au survol : un pont invisible comble l'espace entre la photo et le menu */
.cpt-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

/* Lumière qui suit le curseur et chiffres en grand (11 nov. 2026, 20 h 32) */
.bq-hero-centre::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle 420px at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.bq-hero-centre.bq-lum::after { opacity: 1; }
.bq-hero-centre .bq-hero-txt { position: relative; z-index: 1; }
.bq-hero-centre .bq-sur { position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; cursor: default; }
.bq-hero-centre .bq-sur::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle 120px at var(--cx, 50%) var(--cy, 50%), rgba(0,200,200,.28), transparent 70%); }
.bq-hero-centre .bq-sur:hover { transform: translateY(-2px); border-color: color-mix(in srgb, #14B8A6 55%, var(--bordure)); box-shadow: 0 10px 30px -10px rgba(0,160,170,.45); }
.bq-hero-centre .bq-sur:hover::before { opacity: 1; }
.bq-hero-centre .bq-sur span { position: relative; }
.bq-hero-centre .bq-sur i { position: relative; animation: bq-pouls 2.4s ease-in-out infinite; }
@keyframes bq-pouls { 50% { transform: scale(1.7); opacity: 1; } }

.bq-hero-centre .bq-chiffres { width: min(1180px, calc(100vw - 40px)); max-width: none; margin-top: 48px; border-radius: 24px; overflow: hidden; position: relative; }
.bq-hero-centre .bq-chiffres li { position: relative; padding: 30px 16px 32px; gap: 8px; transition: background .3s; cursor: default; }
.bq-hero-centre .bq-chiffres li::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle 200px at var(--cx, 50%) var(--cy, 50%), rgba(0,200,200,.26), transparent 70%); }
.bq-hero-centre .bq-chiffres li:hover::before { opacity: 1; }
.bq-hero-centre .bq-chiffres li > * { position: relative; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.bq-hero-centre .bq-chiffres li:hover b { transform: translateY(-4px) scale(1.08); }
.bq-hero-centre .bq-chiffres b { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -.03em; background: linear-gradient(100deg, var(--texte) 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bq-hero-centre .bq-chiffres span { font-size: .95rem; }
/* barre lumineuse qui glisse en bas des chiffres */
.bq-hero-centre .bq-chiffres::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 30%; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), #14B8A6, transparent); animation: bq-glisse 5s ease-in-out infinite; }
.bq-hero-centre .bq-chiffres li::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #14B8A6); transform: scaleX(0); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.bq-hero-centre .bq-chiffres li:hover::after { transform: scaleX(1); }
@keyframes bq-glisse { 0% { transform: translateX(-100%); } 50% { transform: translateX(333%); } 100% { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .bq-hero-centre .bq-chiffres::after, .bq-hero-centre .bq-sur i { animation: none; } }
@media (max-width: 640px) { .bq-hero-centre .bq-chiffres li { padding: 20px 10px 22px; } .bq-hero-centre .bq-chiffres span { font-size: .8rem; } }

/* Fiche du cours : les petites cartes (Méthode, Évaluation, Charge de travail) ne sont plus justifiées : trop étroites, le texte justifié laissait de grands blancs (12 nov. 2026) */
.fiche-cours .fc-grille p { text-align: left; }

/* ===== Mise en pratique avec Privilège (pratique.js, 12 nov. 2026 ; design refait le même jour, demande du propriétaire :
   « que le design soit beau à voir ») : en-tête, deux modes en onglets, brief, échange façon appel (scène avec l'interlocutrice
   dessinée, sous-titres, conversation, barre de saisie), bilan avec anneau de note et détail du barème. Clair et sombre. ===== */
.pratique-zone { --pr-a: var(--accent); --pr-a8: color-mix(in srgb, var(--accent) 8%, transparent); --pr-a14: color-mix(in srgb, var(--accent) 14%, transparent); --pr-a25: color-mix(in srgb, var(--accent) 25%, transparent); --pr-t: var(--turquoise, #00C8C8); --pr-rayon: 22px; display: grid; gap: 18px; }
.pratique-zone svg { flex: none; }
.pr-etiquette { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pr-a); }
.pr-etiquette svg { width: 15px; height: 15px; }
.pr-etiquette-ia { padding: 5px 11px; border-radius: 999px; background: var(--pr-a8); }
/* En-tête */
.pr-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pr-tete h2 { font-family: var(--titre); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; margin: 10px 0 6px; }
.pr-tete p { margin: 0; max-width: 64ch; color: var(--discret); line-height: 1.55; }
.pr-records { display: flex; gap: 10px; }
.pr-records > span { display: grid; padding: 10px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--bordure); min-width: 104px; }
.pr-records b { font: 800 1.5rem/1.1 var(--titre); color: var(--pr-a); } .pr-records b small { font-size: .8rem; color: var(--discret); font-weight: 700; }
.pr-records > span > small { font-size: .74rem; color: var(--discret); }
/* Deux modes */
.pr-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--bordure); }
.pr-modes button { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--texte); padding: 12px 14px; border-radius: 15px; border: 0; background: transparent; cursor: pointer; transition: background .2s, box-shadow .2s; }
.pr-modes button b { display: block; font-family: var(--titre); font-size: .98rem; } .pr-modes button small { display: block; font-size: .8rem; color: var(--discret); margin-top: 1px; }
.pr-modes button[aria-selected="true"] { background: var(--surface); box-shadow: 0 6px 18px rgba(0, 20, 60, .08), 0 0 0 1px var(--bordure); }
.pr-mode-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--pr-a8); color: var(--pr-a); flex: none; }
.pr-modes button[aria-selected="true"] .pr-mode-ico { background: var(--pr-a); color: var(--sur-accent, #fff); }
.pr-panneau { display: grid; gap: 16px; }
.pr-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-puce { font: inherit; font-size: .86rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); cursor: pointer; transition: border-color .2s, background .2s; }
.pr-puce:hover { border-color: var(--pr-a); }
.pr-puce[aria-pressed="true"] { border-color: var(--pr-a); background: var(--pr-a); color: var(--sur-accent, #fff); }
/* La scène de l'interlocutrice */
.pr-scene { position: relative; overflow: hidden; border-radius: var(--pr-rayon); display: grid; justify-items: center; align-content: end; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, var(--pr-a14), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--bordure); }
.pr-halo { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 35% at 25% 30%, color-mix(in srgb, var(--pr-t) 22%, transparent), transparent 70%), radial-gradient(35% 30% at 78% 65%, var(--pr-a14), transparent 70%); animation: pr-derive 14s ease-in-out infinite alternate; }
@keyframes pr-derive { from { transform: translate(0, 0) scale(1); } to { transform: translate(3%, -4%) scale(1.06); } }
.pr-avatar { width: 210px; height: 262px; margin-top: 18px; }
.pr-avatar svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 14px 22px rgba(0, 20, 60, .22)); }
.pr-avatar-vide { display: block; width: 100%; height: 100%; border-radius: 50% 50% 22px 22px; background: var(--surface); opacity: .6; }
.pr-carte-nom { position: relative; margin: -8px 0 18px; padding: 9px 18px; border-radius: 16px; text-align: center; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--bordure); box-shadow: 0 8px 20px rgba(0, 20, 60, .1); }
.pr-carte-nom b { display: block; font: 800 1.05rem/1.2 var(--titre); }
.pr-carte-nom > span { font-size: .8rem; color: var(--discret); }
/* Brief */
.pr-brief { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 0; border-radius: var(--pr-rayon); background: var(--surface); border: 1px solid var(--bordure); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 20, 60, .07); }
.pr-scene-brief { border: 0; border-radius: 0; min-height: 330px; }
.pr-brief-txt { padding: 26px 28px; display: grid; gap: 10px; align-content: start; }
.pr-brief-txt h4 { font: 800 1.35rem/1.25 var(--titre); margin: 0; letter-spacing: -.01em; }
.pr-brief-txt p { margin: 0; line-height: 1.6; }
.pr-objectif { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--pr-a8); border-left: 4px solid var(--pr-a); }
.pr-objectif b { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pr-a); } .pr-objectif span { font-weight: 700; }
.pr-etapes { list-style: none; counter-reset: e; margin: 4px 0; padding: 0; display: grid; gap: 8px; }
.pr-etapes li { counter-increment: e; display: flex; gap: 10px; align-items: baseline; font-size: .92rem; color: var(--discret); }
.pr-etapes li::before { content: counter(e); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 .74rem/1 var(--titre); background: var(--surface-2); color: var(--pr-a); border: 1px solid var(--bordure); transform: translateY(-1px); }
.pr-etapes b { color: var(--texte); }
.pr-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pr-actions .bouton { display: inline-flex; align-items: center; gap: 8px; }
.pr-appeler { padding-inline: 22px; }
.pr-son { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .84rem; font-weight: 700; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); cursor: pointer; }
.pr-son[aria-pressed="false"] { color: var(--discret); }
/* Échange */
.pr-appel { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.pr-scene-appel { min-height: 520px; align-content: center; padding-bottom: 76px; }
.pr-appel-haut { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pr-direct { display: inline-flex; align-items: center; gap: 7px; max-width: 60%; font-size: .78rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--bordure); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-direct i { width: 8px; height: 8px; border-radius: 50%; background: #1FA971; box-shadow: 0 0 0 0 rgba(31, 169, 113, .5); animation: pr-pouls 2s infinite; flex: none; }
@keyframes pr-pouls { 0% { box-shadow: 0 0 0 0 rgba(31, 169, 113, .45); } 70% { box-shadow: 0 0 0 8px rgba(31, 169, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 169, 113, 0); } }
.pr-compteur { display: flex; gap: 4px; } .pr-compteur i { width: 14px; height: 5px; border-radius: 3px; background: var(--pr-a14); } .pr-compteur i.fait { background: var(--pr-a); }
.pr-soustitre { width: calc(100% - 32px); margin: 0 16px; min-height: 2.6em; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.45; text-align: center; color: #fff; background: rgba(8, 18, 38, .72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; box-sizing: border-box; }
.pr-soustitre:empty { display: none; }
.pr-commandes { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; }
.pr-rond { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); cursor: pointer; transition: transform .15s, background .2s; flex: none; }
.pr-rond:hover:not(:disabled) { transform: translateY(-1px); }
.pr-rond:disabled, .pr-terminer:disabled { opacity: .45; cursor: not-allowed; }
.pr-terminer { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .86rem; font-weight: 700; padding: 0 18px; height: 44px; border-radius: 999px; border: 0; background: var(--pr-a); color: var(--sur-accent, #fff); cursor: pointer; box-shadow: 0 8px 18px var(--pr-a25); }
.pr-pastille { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--discret); }
.pr-pastille.parle { color: var(--pr-a); } .pr-pastille.ecoute { color: #1FA971; }
.pr-pt { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pr-ondes { display: inline-flex; gap: 2px; align-items: center; height: 12px; } .pr-ondes b { width: 3px; height: 100%; border-radius: 2px; background: currentColor; animation: pr-onde .9s ease-in-out infinite; }
.pr-ondes b:nth-child(2) { animation-delay: -.2s; } .pr-ondes b:nth-child(3) { animation-delay: -.45s; } .pr-ondes b:nth-child(4) { animation-delay: -.65s; }
@keyframes pr-onde { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.pr-points { display: inline-flex; gap: 3px; margin-left: 4px; } .pr-points b { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: pr-point 1.2s infinite ease-in-out; }
.pr-points b:nth-child(2) { animation-delay: .15s; } .pr-points b:nth-child(3) { animation-delay: .3s; }
@keyframes pr-point { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
/* Visage animé pendant la parole (mêmes formes de bouche que les vidéos) */
.pr-avatar .av-b > * { display: none; }
.pr-avatar svg[data-v="r"] .b-r, .pr-avatar svg[data-v="m"] .b-m, .pr-avatar svg[data-v="e"] .b-e, .pr-avatar svg[data-v="a"] .b-a, .pr-avatar svg[data-v="o"] .b-o { display: inline; }
.pr-avatar .av-bras-g { transform: rotate(10deg); transform-origin: 40px 98px; } .pr-avatar .av-bras-d { transform: rotate(-10deg); transform-origin: 80px 98px; }
.pr-avatar .av-bras, .pr-avatar .av-avant { transition: transform .45s cubic-bezier(.3, .9, .3, 1.15); }
.pr-avatar .av-tete { transform-origin: 60px 80px; animation: pr-souffle 4s ease-in-out infinite; }
.pr-avatar .av-corps { transform-origin: 60px 150px; animation: pr-souffle-corps 4s ease-in-out infinite; }
.pr-scene-appel.parle .av-tete { animation: pr-hoche 2.8s ease-in-out infinite; }
.pr-scene-appel.parle .av-bras-d { transform: rotate(-30deg); } .pr-scene-appel.parle .av-bras-d .av-avant { transform: rotate(-75deg); transform-origin: 80px 114px; }
.pr-scene-appel.parle .av-main { animation: pr-main .9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes pr-souffle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes pr-souffle-corps { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012, 1.02); } }
@keyframes pr-hoche { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2.5deg) translateY(-.8px); } 65% { transform: rotate(2deg); } }
@keyframes pr-main { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
/* Conversation */
.pr-conv { display: flex; flex-direction: column; min-height: 520px; max-height: 620px; border-radius: var(--pr-rayon); background: var(--surface); border: 1px solid var(--bordure); overflow: hidden; }
.pr-conv-tete { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--bordure); }
.pr-conv-tete b { font-family: var(--titre); }
.pr-fil { flex: 1; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; padding: 18px; scroll-behavior: smooth; }
.pr-msg { max-width: min(560px, 86%); padding: 11px 15px; border-radius: 18px; line-height: 1.5; font-size: .95rem; animation: pr-entre .35s ease-out; }
@keyframes pr-entre { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pr-msg small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; opacity: .7; margin-bottom: 3px; }
.pr-msg p { margin: 2px 0; }
.pr-msg.elle { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.pr-msg.moi { align-self: flex-end; background: var(--pr-a); color: var(--sur-accent, #fff); border-bottom-right-radius: 6px; }
.pr-msg.attente p { display: flex; gap: 5px; padding: 6px 0; }
.pr-msg.attente i { width: 7px; height: 7px; border-radius: 50%; background: var(--discret); animation: pr-point 1.2s infinite ease-in-out; }
.pr-msg.attente i:nth-child(2) { animation-delay: .15s; } .pr-msg.attente i:nth-child(3) { animation-delay: .3s; }
.pr-composer { display: flex; align-items: flex-end; gap: 8px; margin: 12px; padding: 6px 6px 6px 16px; border-radius: 26px; background: var(--surface-2); border: 1px solid var(--bordure); transition: border-color .2s, box-shadow .2s; }
.pr-composer:focus-within { border-color: var(--pr-a); box-shadow: 0 0 0 4px var(--pr-a8); }
.pr-composer textarea { flex: 1; min-width: 0; font: inherit; font-size: .95rem; line-height: 1.45; padding: 9px 0; border: 0; outline: 0; background: transparent; color: var(--texte); resize: none; max-height: 180px; }
.pr-envoyer { background: var(--pr-a); color: var(--sur-accent, #fff); border-color: transparent; }
.pr-micro.actif { background: #1FA971; color: #fff; border-color: transparent; animation: pr-pouls 1.6s infinite; }
.pr-erreur { color: var(--ko); background: var(--ko-clair); padding: 10px 14px; border-radius: 12px; margin: 0 12px; }
/* Réponse rédigée */
.pr-redac { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.pr-redac-main { display: grid; gap: 0; border-radius: var(--pr-rayon); background: var(--surface); border: 1px solid var(--bordure); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 20, 60, .06); }
.pr-sujet { padding: 20px 22px; display: grid; gap: 6px; background: linear-gradient(180deg, var(--pr-a8), transparent); }
.pr-sujet p { margin: 0; line-height: 1.6; } .pr-sujet-q { margin-top: 4px !important; }
.pr-sujet-court { border-radius: var(--pr-rayon); border: 1px solid var(--bordure); }
.pr-editeur { display: grid; border-top: 1px solid var(--bordure); }
.pr-editeur textarea { font: inherit; font-size: 1rem; line-height: 1.65; padding: 18px 22px; border: 0; outline: 0; resize: vertical; min-height: 220px; background: var(--surface); color: var(--texte); }
.pr-editeur-pied { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; border-top: 1px solid var(--bordure); background: var(--surface-2); }
.pr-editeur-pied .bouton { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.pr-editeur .pr-erreur { margin: 0 14px 14px; }
.pr-lien { font: inherit; font-size: .86rem; font-weight: 700; color: var(--pr-a); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.pr-bareme { display: grid; gap: 12px; padding: 18px; border-radius: var(--pr-rayon); background: var(--surface); border: 1px solid var(--bordure); position: sticky; top: 84px; }
.pr-bareme > b { font-family: var(--titre); }
.pr-bar-ligne { display: flex; gap: 12px; align-items: center; }
.pr-bar-ligne b { display: block; font-size: .9rem; } .pr-bar-ligne small { display: block; font-size: .78rem; color: var(--discret); line-height: 1.35; }
.pr-pts { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; text-align: center; background: var(--pr-a8); color: var(--pr-a); font: 800 1.05rem/1 var(--titre); }
.pr-pts small { font-size: .6rem; font-weight: 700; }
.pr-bareme .meta { margin: 0; font-size: .8rem; }
/* Bilan */
.pr-resultat { --pr-n: var(--pr-a); border-radius: var(--pr-rayon); background: var(--surface); border: 1px solid var(--bordure); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 20, 60, .07); animation: pr-entre .45s ease-out; }
.pr-resultat.pr-n-ok { --pr-n: #1FA971; } .pr-resultat.pr-n-moyen { --pr-n: var(--accent); } .pr-resultat.pr-n-ko { --pr-n: var(--ko); }
.pr-res-tete { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px); gap: 22px; align-items: center; padding: 24px; background: radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--pr-n) 12%, transparent), transparent 60%); border-bottom: 1px solid var(--bordure); }
.pr-anneau { position: relative; width: 120px; height: 120px; }
.pr-anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pr-anneau circle { fill: none; stroke-width: 10; }
.pr-anneau-fond { stroke: color-mix(in srgb, var(--pr-n) 15%, transparent); }
.pr-anneau-val { stroke: var(--pr-n); stroke-linecap: round; animation: pr-trace 1.1s cubic-bezier(.2, .8, .2, 1); }
@keyframes pr-trace { from { stroke-dasharray: 0 400; } }
.pr-anneau-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pr-anneau-txt b { font: 800 2.3rem/1 var(--titre); color: var(--pr-n); } .pr-anneau-txt span { font-size: .76rem; color: var(--discret); font-weight: 700; }
.pr-res-txt small { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--discret); }
.pr-res-txt h4 { font: 800 1.5rem/1.2 var(--titre); margin: 4px 0 6px; color: var(--pr-n); }
.pr-res-txt p { margin: 0; line-height: 1.55; }
.pr-criteres { display: grid; gap: 10px; }
.pr-crit-t { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; margin-bottom: 4px; } .pr-crit-t b small { color: var(--discret); font-weight: 600; }
.pr-barre { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .pr-barre i { display: block; height: 100%; border-radius: 4px; background: var(--pr-n); animation: pr-remplit 1s cubic-bezier(.2, .8, .2, 1); }
@keyframes pr-remplit { from { width: 0; } }
.pr-res-colonnes { display: grid; grid-template-columns: 1fr 1fr; }
.pr-res-col { padding: 20px 24px; } .pr-res-col + .pr-res-col { border-left: 1px solid var(--bordure); }
.pr-res-col h5 { display: flex; align-items: center; gap: 8px; font: 800 .95rem/1.2 var(--titre); margin: 0 0 10px; }
.pr-res-col h5 svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; box-sizing: border-box; }
.pr-col-ok h5 svg { background: color-mix(in srgb, #1FA971 14%, transparent); color: #1FA971; }
.pr-col-plus h5 svg { background: var(--pr-a8); color: var(--pr-a); }
.pr-res-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pr-res-col li { position: relative; padding-left: 16px; line-height: 1.45; font-size: .93rem; }
.pr-res-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.pr-conseil { display: flex; gap: 12px; margin: 0 24px 20px; padding: 14px 16px; border-radius: 16px; background: var(--pr-a8); }
.pr-conseil svg { color: var(--pr-a); margin-top: 2px; } .pr-conseil b { font-family: var(--titre); } .pr-conseil p { margin: 2px 0 0; line-height: 1.5; }
.pr-ref { margin: 0 24px 20px; } .pr-ref summary { cursor: pointer; font-weight: 700; color: var(--pr-a); }
.pr-ref > div { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); line-height: 1.55; } .pr-ref > div p { margin: 4px 0; }
.pr-transcription { margin: 0; padding: 14px 18px; border-radius: var(--pr-rayon); background: var(--surface); border: 1px solid var(--bordure); }
.pr-transcription .pr-fil { padding: 12px 0 0; max-height: 420px; }
@media (prefers-reduced-motion: reduce) { .pr-halo, .pr-avatar .av-tete, .pr-avatar .av-corps, .pr-scene-appel.parle .av-main, .pr-msg, .pr-resultat, .pr-anneau-val, .pr-barre i { animation: none; } }
@media (max-width: 960px) {
  .pr-appel, .pr-redac { grid-template-columns: 1fr; }
  .pr-res-tete { grid-template-columns: auto 1fr; } .pr-criteres { grid-column: 1 / -1; }
  .pr-scene-appel { min-height: 0; padding: 52px 0 66px; }
  .pr-scene-appel .pr-avatar { width: 150px; height: 188px; margin-top: 0; }
  .pr-conv { min-height: 0; max-height: none; } .pr-appel .pr-fil { max-height: 360px; }
  .pr-bareme { position: static; }
}
@media (max-width: 640px) {
  .pr-modes { grid-template-columns: 1fr 1fr; } .pr-modes button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; } .pr-modes button small { display: none; }
  .pr-brief { grid-template-columns: 1fr; } .pr-scene-brief { min-height: 0; } .pr-scene-brief .pr-avatar { width: 140px; height: 175px; }
  .pr-brief-txt { padding: 18px; }
  .pr-res-tete { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px; } .pr-criteres { width: 100%; text-align: left; }
  .pr-res-colonnes { grid-template-columns: 1fr; } .pr-res-col + .pr-res-col { border-left: 0; border-top: 1px solid var(--bordure); }
  .pr-res-col { padding: 16px 18px; } .pr-conseil, .pr-ref { margin-inline: 18px; }
  .pr-terminer span { font-size: .8rem; }
  .pr-records { width: 100%; } .pr-records > span { flex: 1; }
}

/* ===== Projet professionnel, profil de compétences, annuaire et compétences d'équipe (talents.js, 13 nov. 2026 ; design refait le
   même jour à la demande du propriétaire). Principe : un « dossier vérifié ». La carte d'identité bleu nuit avec son sceau tournant est
   l'élément marquant ; tout le reste est calme : texte sur fond de page, talons de certificat (note dans une bande), filets fins.
   Polices du site (--titre, --corps). Clair et sombre. ===== */
.tl-page { --tl-nuit: #002E7A; --tl-nuit2: #00174A; --tl-turq: #00C8C8; --tl-vert: #1FA971; max-width: 1180px; margin: 0 auto; padding: 28px 20px 90px; box-sizing: border-box; }
.tl-charge { padding: 70px 0; text-align: center; color: var(--discret); }
.tl-vide { max-width: 520px; margin: 40px auto; text-align: center; display: grid; gap: 10px; justify-items: center; padding: 36px 26px; border-radius: 20px; border: 1px dashed var(--bordure); }
.tl-vide > svg { width: 40px; height: 40px; color: var(--tl-nuit); } #app .tl-vide h2, #app .tl-vide h3 { font-family: var(--titre); font-size: 1.25rem; margin: 4px 0 0; } .tl-vide p { margin: 0; }
.tl-vide .pr-actions { justify-content: center; } .tl-vide.petit { grid-column: 1 / -1; margin: 10px auto; }
.tl-retour { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--discret); text-decoration: none; }
.tl-retour:hover { color: var(--accent); }
.tl-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 6px; }
#app .tl-tete h1 { font-family: var(--titre); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 10px; }
.tl-tete p { margin: 0; max-width: 64ch; color: var(--discret); line-height: 1.6; }
.tl-statut { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; border: 1px solid var(--bordure); color: var(--discret); }
.tl-statut.ok { background: color-mix(in srgb, var(--tl-vert) 12%, transparent); color: var(--tl-vert); border-color: transparent; }
.tl-statut.moyen { background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); border-color: transparent; }
.tl-note { flex: none; display: inline-flex; align-items: baseline; gap: 1px; padding: 5px 9px; border-radius: 10px; font: 800 .95rem/1 var(--titre); font-style: normal; background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); }
.tl-note small { font-size: .68rem; opacity: .7; }
.tl-note.pr-n-ok { background: color-mix(in srgb, var(--tl-vert) 12%, transparent); color: var(--tl-vert); } .tl-note.pr-n-ko { background: var(--ko-clair); color: var(--ko); }
.tl-switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.tl-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-switch > span { flex: none; position: relative; width: 42px; height: 24px; margin-top: 1px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--bordure); transition: background .2s; }
.tl-switch > span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
.tl-switch input:checked + span { background: var(--tl-vert); border-color: transparent; } .tl-switch input:checked + span::after { transform: translateX(18px); }
.tl-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tl-switch b { display: block; font-weight: 600; font-size: .94rem; } .tl-switch small { display: block; color: var(--discret); font-size: .82rem; margin-top: 1px; }
.tl-voile { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(0, 16, 46, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tl-voile-carte { width: min(380px, 100%); display: grid; gap: 10px; justify-items: center; text-align: center; padding: 28px; border-radius: 20px; background: var(--surface); color: var(--texte); }
.tl-voile-carte .pr-anneau-val { stroke: var(--accent); stroke-dasharray: 80 400 !important; animation: tl-tourne 1.1s linear infinite; transform-origin: 60px 60px; }
.tl-voile-carte .pr-anneau-fond { stroke: color-mix(in srgb, var(--accent) 14%, transparent); }
@keyframes tl-tourne { to { transform: rotate(360deg); } }
.tl-voile-carte b { font-family: var(--titre); font-size: 1.1rem; } .tl-voile-carte p { margin: 0; }

/* --- Le sceau --- */
.tl-sceau { display: inline-block; width: var(--s); height: var(--s); flex: none; }
.tl-sceau svg { width: 100%; height: 100%; overflow: visible; }
.tl-sceau-fond { fill: var(--tl-turq); } .tl-sceau-coeur { fill: var(--tl-nuit2); }
.tl-sceau-texte { transform-origin: 50px 50px; animation: tl-sceau 18s linear infinite; }
.tl-sceau-texte text { font: 800 7.6px/1 var(--titre); letter-spacing: 0; fill: var(--tl-nuit2); }
.tl-sceau-coche { fill: none; stroke: var(--tl-turq); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes tl-sceau { to { transform: rotate(360deg); } }

/* --- Carte d'identité professionnelle --- */
.tl-id { position: relative; overflow: hidden; border-radius: 24px; padding: 26px 24px 22px; color: #fff; background: var(--tl-nuit2); isolation: isolate; box-shadow: 0 24px 50px rgba(0, 23, 74, .28); }
.tl-id::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 60% at 100% 0%, rgba(0, 200, 200, .28), transparent 60%), linear-gradient(170deg, var(--tl-nuit) 0%, var(--tl-nuit2) 70%); }
.tl-id-haut { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.tl-id-photo { width: 112px; height: 132px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.tl-id-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-id .tl-ini { width: 100%; height: 100%; display: grid; place-items: center; font: 800 2.2rem/1 var(--titre); color: #fff; letter-spacing: -.02em; }
.tl-id .tl-sceau { margin: -4px -4px 0 0; }
#app .tl-id-nom { font-family: var(--titre); font-size: clamp(1.6rem, 2.6vw, 2.05rem); line-height: 1.08; letter-spacing: -.03em; margin: 0; color: #fff; }
.tl-id-titre { margin: 8px 0 0; font-size: 1.02rem; font-weight: 600; color: #8FF0F0; }
.tl-id-titre:empty { display: none; }
.tl-id-lieu { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .78); }
.tl-id-lieu span { display: inline-flex; align-items: center; gap: 6px; } .tl-id-lieu svg { width: 15px; height: 15px; }
.tl-id-dispo { color: #7EF0B9; font-weight: 700; } .tl-id-dispo i { width: 8px; height: 8px; border-radius: 50%; background: #3BE08F; box-shadow: 0 0 0 4px rgba(59, 224, 143, .2); }
.tl-id-dispo[hidden] { display: none !important; }
.tl-id-faits { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tl-id-faits > div { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tl-id-faits > div:nth-child(odd) { padding-right: 12px; } .tl-id-faits > div:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tl-id-faits dt { font-size: .76rem; color: rgba(255, 255, 255, .62); } .tl-id-faits dd { margin: 2px 0 0; font: 800 1.45rem/1.1 var(--titre); } .tl-id-faits dd small { font-size: .78rem; font-weight: 600; opacity: .65; }
.tl-id-faits dd.tl-id-date { font-size: 1rem; padding-top: 4px; text-transform: capitalize; }
.tl-id-actions { display: flex; gap: 8px; margin-top: 18px; }
.tl-id-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 14px; font: 700 .92rem/1 var(--corps, inherit); color: #fff !important; text-decoration: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); cursor: pointer; }
.tl-id-btn.principal { flex: 1; background: var(--tl-turq); color: var(--tl-nuit2) !important; border-color: transparent; }
.tl-id-btn:hover { filter: brightness(1.08); } .tl-id-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* --- Profil public : dossier --- */
.tl-alerte { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 18px; border-radius: 14px; background: var(--ko-clair); font-size: .92rem; } .tl-alerte.doux { background: color-mix(in srgb, var(--accent) 8%, transparent); } .tl-alerte a { color: var(--accent); font-weight: 700; }
.tl-dossier { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
.tl-dossier-id { position: sticky; top: 86px; }
.tl-dossier-doc { min-width: 0; padding-top: 6px; }
.tl-sec { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--bordure); }
.tl-sec:last-child { border-bottom: 0; margin-bottom: 0; }
#app .tl-sec h2 { font-family: var(--titre); font-size: 1.3rem; letter-spacing: -.01em; margin: 0 0 14px; }
.tl-sec-note { margin: -8px 0 16px; color: var(--discret); font-size: .92rem; }
.tl-resume p { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.65; max-width: 62ch; }
.tl-rien { color: var(--discret); margin: 0; }
.tl-talon { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; margin-bottom: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--bordure); overflow: hidden; }
.tl-talon-bande { display: grid; place-content: center; text-align: center; background: var(--tl-nuit); color: #fff; padding: 16px 8px; border-right: 2px dashed color-mix(in srgb, var(--surface) 70%, transparent); }
.tl-talon-bande b { font: 800 1.75rem/1 var(--titre); letter-spacing: -.02em; } .tl-talon-bande span { font-size: .72rem; opacity: .75; margin-top: 4px; }
.tl-talon-projet .tl-talon-bande { background: var(--tl-vert); }
.tl-talon-corps { padding: 16px 18px; min-width: 0; display: grid; gap: 4px; align-content: start; }
.tl-talon-type { margin: 0; font-size: .8rem; color: var(--discret); }
#app .tl-talon h3 { font-family: var(--titre); font-size: 1.05rem; line-height: 1.3; margin: 0; }
.tl-talon-meta { margin: 0; font-size: .88rem; color: var(--discret); }
.tl-verifier { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; width: max-content; font-size: .86rem; font-weight: 700; color: var(--accent); text-decoration: none; } .tl-verifier:hover { text-decoration: underline; } .tl-verifier svg { width: 16px; height: 16px; }
.tl-talon-img { width: 120px; height: 100%; object-fit: cover; }
.tl-lire summary { cursor: pointer; margin-top: 6px; width: max-content; font-weight: 700; font-size: .88rem; color: var(--accent); }
.tl-lire > div { margin-top: 12px; display: grid; gap: 16px; }
.tl-lire section { padding-left: 14px; border-left: 2px solid var(--bordure); }
#app .tl-lire h4 { display: flex; align-items: center; gap: 8px; font: 800 .96rem/1.3 var(--titre); margin: 0; } .tl-lire h4 > span { color: var(--discret); font-weight: 700; } .tl-lire h4 .tl-note { margin-left: auto; }
.tl-lire p { margin: 4px 0; line-height: 1.6; font-size: .94rem; }
.tl-competences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.tl-competences li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; } .tl-competences svg { flex: none; color: var(--tl-vert); margin-top: 2px; }
.tl-methode p { margin: 0 0 10px; color: var(--discret); line-height: 1.6; max-width: 66ch; }

/* --- Contact (fenêtre) --- */
.tl-modale-carte { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; border-radius: 22px; background: var(--surface); color: var(--texte); box-shadow: 0 30px 60px rgba(0, 16, 46, .35); }
#app .tl-modale-carte h2, .tl-modale-carte h2 { font-family: var(--titre); font-size: 1.35rem; margin: 0 40px 6px 0; } .tl-modale-carte > .meta { margin: 0 0 16px; }
.tl-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); cursor: pointer; }
.tl-merci { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 18px 8px; } .tl-merci > svg { width: 38px; height: 38px; color: var(--tl-vert); } .tl-merci b { font-family: var(--titre); font-size: 1.1rem; } .tl-merci p { margin: 0; }
.tl-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Formulaires (réglages, contact) --- */
.tl-form { display: grid; gap: 18px; }
.tl-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tl-form label:not(.tl-switch) { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--discret); }
.tl-form input:not([type="checkbox"]), .tl-form textarea, .tl-filtres select, .ce-outils select { font: inherit; font-size: .96rem; color: var(--texte); padding: 11px 13px; border-radius: 12px; border: 1px solid var(--bordure); background: var(--fond); box-sizing: border-box; width: 100%; }
.tl-form input:focus, .tl-form textarea:focus, .tl-filtres select:focus, .ce-outils select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.tl-large { grid-column: 1 / -1; }
.tl-contact .bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* --- Mon profil professionnel --- */
.tl-reglages { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 26px; }
.tl-bloc { display: grid; gap: 16px; padding: 0 0 24px; border-bottom: 1px solid var(--bordure); }
#app .tl-bloc h2 { font-family: var(--titre); font-size: 1.12rem; margin: 0; }
.tl-switch-grand { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.tl-switch-grand b { font-family: var(--titre); font-size: 1rem; }
.tl-form-pied { display: flex; gap: 10px; flex-wrap: wrap; } .tl-form-pied .bouton { display: inline-flex; align-items: center; gap: 8px; }
.tl-cote { position: sticky; top: 86px; display: grid; gap: 18px; min-width: 0; }
.tl-cote-titre { margin: 0 0 -8px; font-size: .84rem; font-weight: 700; color: var(--discret); }
.tl-cote .tl-bloc { border-bottom: 0; padding: 0; }
.tl-id-apercu { padding: 22px 20px 18px; } .tl-id-apercu .tl-id-photo { width: 92px; height: 108px; }
.tl-astuce { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); font-size: .88rem; line-height: 1.5; } .tl-astuce svg { flex: none; color: var(--accent); }
.tl-lien { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border-radius: 14px; border: 1px solid var(--bordure); background: var(--surface); }
.tl-lien span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
.tl-reseau { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .86rem; color: #fff !important; text-decoration: none; } .tl-reseau.in { background: #0A66C2; } .tl-reseau.wa { background: #1FA855; }
.tl-vues { display: flex; align-items: center; gap: 6px; margin: 0; }
.tl-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 380px; overflow: auto; }
.tl-msgs li { padding: 14px; border-radius: 14px; border: 1px solid var(--bordure); display: grid; gap: 6px; font-size: .9rem; }
.tl-msgs li > div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; } .tl-msgs li > div span { color: var(--discret); } .tl-msgs small { color: var(--discret); margin-left: auto; }
.tl-msgs p { margin: 0; line-height: 1.5; } .tl-msgs a { color: var(--accent); font-weight: 700; font-size: .86rem; }

/* --- Projet : cahier de travail --- */
.tl-tete-projet { margin-top: 14px; }
.tl-cahier { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 26px; }
.tl-cahier-nav { position: sticky; top: 86px; display: grid; gap: 18px; }
.tl-cahier-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.tl-cahier-nav ol::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--bordure); }
.tl-cahier-nav li button { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 4px; border: 0; border-radius: 12px; background: transparent; color: var(--texte); font: inherit; text-align: left; cursor: pointer; }
.tl-cahier-nav li button:hover { background: var(--surface-2); }
.tl-cahier-nav li button.courante { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.tl-pastille-etape { position: relative; z-index: 1; flex: none; width: 32px; height: 32px; margin-left: 0; border-radius: 50%; display: grid; place-items: center; font: 800 .85rem/1 var(--titre); background: var(--surface); border: 2px solid var(--bordure); color: var(--discret); }
.tl-pastille-etape svg { width: 15px; height: 15px; }
.tl-cahier-nav .encours .tl-pastille-etape { border-color: var(--accent); color: var(--accent); }
.tl-cahier-nav .ok .tl-pastille-etape { background: var(--tl-vert); border-color: var(--tl-vert); color: #fff; }
.tl-cahier-nav .courante .tl-pastille-etape { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); }
.tl-cahier-nav .courante.ok .tl-pastille-etape { box-shadow: 0 0 0 4px color-mix(in srgb, var(--tl-vert) 22%, transparent); }
.tl-etape-txt { min-width: 0; flex: 1; } .tl-etape-txt small { display: block; font-size: .74rem; color: var(--discret); } .tl-etape-txt b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tl-etape-note { flex: none; font: 800 .82rem/1 var(--titre); padding: 5px 7px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); } .tl-etape-note.pr-n-ok { background: color-mix(in srgb, var(--tl-vert) 12%, transparent); color: var(--tl-vert); } .tl-etape-note.pr-n-ko { background: var(--ko-clair); color: var(--ko); }
.tl-cahier-pied { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface-2); }
.tl-cahier-pied .meta { margin: 0; font-size: .84rem; } .tl-cahier-pied .tl-petit { font-size: .78rem; }
.tl-relire { width: 100%; justify-content: center; }
.tl-jauge { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 12%, transparent); overflow: hidden; } .tl-jauge i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--tl-vert); transition: width .4s; }
.tl-cahier-page { min-width: 0; }
.tl-feuille { display: grid; gap: 16px; padding: 34px 38px 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--bordure); box-shadow: 0 1px 0 var(--bordure), 0 22px 44px rgba(0, 23, 74, .06); }
.tl-surtitre { margin: 0; font-size: .86rem; font-weight: 600; color: var(--discret); }
#app .tl-feuille h2 { font-family: var(--titre); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.15; letter-spacing: -.02em; margin: -8px 0 0; }
.tl-intro { margin: 0; line-height: 1.65; max-width: 66ch; }
.tl-livrable { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 6%, transparent); border-left: 4px solid var(--tl-nuit); }
:root[data-theme="dark"] .tl-livrable { border-left-color: var(--tl-turq); }
.tl-livrable b { font-size: .84rem; color: var(--accent); } .tl-livrable span { font-weight: 600; line-height: 1.5; }
.tl-aide summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--accent); }
.tl-aide > div { margin-top: 10px; padding: 14px 18px; border-radius: 14px; background: var(--surface-2); font-size: .92rem; line-height: 1.55; } .tl-aide ol, .tl-aide ul { margin: 6px 0 12px; padding-left: 20px; } .tl-aide li { margin: 3px 0; }
.tl-papier { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.02rem; line-height: 1.75; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); resize: vertical; min-height: 140px; }
.tl-papier:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.tl-fil-progres { height: 4px; margin-top: -10px; border-radius: 2px; background: var(--surface-2); overflow: hidden; } .tl-fil-progres i { display: block; height: 100%; background: var(--accent); transition: width .25s; } .tl-fil-progres.ok i { background: var(--tl-vert); }
.tl-compte { margin: -8px 0 0; font-size: .82rem; }
.tl-pas { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; } .tl-pas .bouton { display: inline-flex; align-items: center; gap: 8px; }
.tl-retour-bloc { display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--bordure); background: var(--surface-2); }
.tl-retour-tete { display: flex; align-items: center; gap: 10px; } .tl-retour-tete b { font-family: var(--titre); }
.tl-retour-bloc > p { margin: 0; line-height: 1.55; }
.tl-retour-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tl-retour-cols h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: 700 .86rem/1.2 var(--titre); } .tl-retour-cols h5 svg { width: 16px; height: 16px; }
.tl-retour-cols > div:first-child h5 { color: var(--tl-vert); } .tl-retour-cols ul { margin: 0; padding-left: 18px; font-size: .9rem; line-height: 1.5; }
.tl-conseil { display: flex; gap: 8px; margin: 0; font-size: .9rem; line-height: 1.5; } .tl-conseil svg { flex: none; color: var(--accent); margin-top: 2px; }
.tl-bilan-tete { display: flex; gap: 24px; align-items: center; } .tl-bilan-tete .pr-anneau { flex: none; } .tl-bilan-tete h2 { margin: 2px 0 6px !important; }
.tl-bilan { --pr-n: var(--accent); } .tl-bilan.pr-n-ok { --pr-n: var(--tl-vert); } .tl-bilan.pr-n-ko { --pr-n: var(--ko); }
.tl-bilan .pr-anneau-fond { stroke: color-mix(in srgb, var(--pr-n) 15%, transparent); } .tl-bilan .pr-anneau-val { stroke: var(--pr-n); stroke-linecap: round; } .tl-bilan .pr-anneau-txt b { color: var(--pr-n); }
#app .tl-bilan h2 { color: var(--pr-n); }
.tl-bilan-parties { list-style: none; margin: 4px 0 0; padding: 0; display: grid; border-top: 1px solid var(--bordure); }
.tl-bilan-parties button { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) 140px auto; gap: 14px; align-items: center; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--bordure); background: transparent; color: var(--texte); font: inherit; text-align: left; cursor: pointer; }
.tl-bilan-parties button:hover { background: var(--surface-2); }
.tl-bp-n { font: 800 .9rem/1 var(--titre); color: var(--discret); } .tl-bp-t { font-weight: 600; line-height: 1.35; }
.tl-bp-barre { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; } .tl-bp-barre i { display: block; height: 100%; background: var(--accent); } .tl-bp-barre i.pr-n-ok { background: var(--tl-vert); } .tl-bp-barre i.pr-n-ko { background: var(--ko); }
.tl-public { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: color-mix(in srgb, var(--tl-vert) 9%, transparent); }

/* --- Annuaire --- */
.tl-filtres { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 26px 0 20px; }
.tl-recherche { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--bordure); background: var(--surface); color: var(--discret); }
.tl-recherche input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 12px 0; color: var(--texte); }
.tl-recherche:focus-within { border-color: var(--accent); }
.tl-filtres select { width: auto; max-width: 320px; }
.tl-annuaire { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.tl-fiche { display: grid; grid-template-rows: auto 1fr auto; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--bordure); color: var(--texte) !important; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.tl-fiche:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0, 23, 74, .14); }
.tl-fiche:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tl-fiche-haut { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(0, 200, 200, .3), transparent 60%), linear-gradient(170deg, var(--tl-nuit), var(--tl-nuit2)); }
.tl-fiche-photo { flex: none; width: 60px; height: 70px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.tl-fiche-photo img { width: 100%; height: 100%; object-fit: cover; } .tl-fiche-photo .tl-ini { width: 100%; height: 100%; display: grid; place-items: center; font: 800 1.2rem/1 var(--titre); color: #fff; }
.tl-fiche-haut b { display: block; font: 800 1.05rem/1.25 var(--titre); } .tl-fiche-haut div span { font-size: .85rem; color: #8FF0F0; }
.tl-fiche-dispo { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: #3BE08F; box-shadow: 0 0 0 4px rgba(59, 224, 143, .25); }
.tl-fiche-preuves { list-style: none; margin: 0; padding: 14px 18px 4px; display: grid; gap: 8px; }
.tl-fiche-preuves li { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; line-height: 1.35; } .tl-fiche-preuves svg { flex: none; width: 16px; height: 16px; color: var(--accent); margin-top: 1px; } .tl-fiche-preuves .pj svg { color: var(--tl-vert); }
.tl-fiche-pied { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 12px 18px 16px; font-size: .84rem; color: var(--discret); }
.tl-fiche-pied span { display: inline-flex; align-items: center; gap: 5px; } .tl-fiche-pied svg { width: 15px; height: 15px; } .tl-fiche-voir { font-weight: 700; color: var(--accent); }

/* --- Compétences de l'équipe (tableau de bord entreprise) --- */
.ce-place:empty { display: none; }
.ce { margin: 26px 0; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--bordure); display: grid; gap: 20px; }
.ce-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
#app .ce h2 { font-family: var(--titre); font-size: 1.3rem; margin: 0 0 6px; } .ce-tete .meta { margin: 0; max-width: 70ch; }
.ce-outils { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .ce-outils select { width: auto; } .ce-outils .bouton { display: inline-flex; align-items: center; gap: 8px; }
.ce-chiffres { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.ce-chiffres > div { padding: 14px 16px; display: grid; gap: 2px; } .ce-chiffres > div + div { border-left: 1px solid var(--bordure); }
.ce-chiffres b { font: 800 1.6rem/1.1 var(--titre); color: var(--accent); } .ce-chiffres b small { font-size: .85rem; color: var(--discret); } .ce-chiffres span { font-size: .8rem; color: var(--discret); }
.ce-chiffres > div:first-child b { color: var(--tl-vert, #1FA971); }
.ce-modules { display: grid; gap: 10px; }
.ce-mod { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(120px, 34%) 56px; gap: 12px; align-items: center; font-size: .92rem; }
.ce-mod-n { font: 800 .82rem/1 var(--titre); color: var(--discret); } .ce-mod-t { line-height: 1.35; }
.ce-mod-barre { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .ce-mod-barre i { display: block; height: 100%; border-radius: 4px; background: #1FA971; }
.ce-mod-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ce-zone { overflow-x: auto; border: 1px solid var(--bordure); border-radius: 14px; }
.ce-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ce-table th, .ce-table td { text-transform: none; letter-spacing: 0; padding: 10px 12px; border-bottom: 1px solid var(--bordure); text-align: center; white-space: nowrap; }
.ce-table thead th { font-weight: 700; color: var(--discret); background: var(--surface-2); font-size: .8rem; }
.ce-table tbody th { text-align: left; font-weight: 400; } .ce-table tbody th b { display: block; font-weight: 700; } .ce-table small { display: block; font-size: .76rem; color: var(--discret); }
.ce-table tbody tr:last-child th, .ce-table tbody tr:last-child td { border-bottom: 0; }
.ce-c { width: 46px; } .ce-c.ok { background: color-mix(in srgb, #1FA971 14%, transparent); color: #1FA971; } .ce-c.ok svg { width: 16px; height: 16px; vertical-align: middle; }
.ce-c.essai { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent); font-weight: 700; font-size: .8rem; }
.ce-ok { color: #1FA971; font-weight: 700; }
.ce-legende { display: flex; flex-wrap: wrap; gap: 16px; margin: -6px 0 0; font-size: .8rem; color: var(--discret); }
.ce-legende span { display: inline-flex; align-items: center; gap: 6px; } .ce-legende i { width: 20px; height: 16px; border-radius: 4px; display: inline-grid; place-items: center; font-style: normal; font-size: .66rem; font-weight: 700; border: 1px solid var(--bordure); }
.ce-legende i.ok { background: color-mix(in srgb, #1FA971 14%, transparent); color: #1FA971; border-color: transparent; } .ce-legende i.ok svg { width: 12px; height: 12px; } .ce-legende i.essai { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent); border-color: transparent; }

.apercu-ep.projet-f { margin-top: 12px; } .apercu-ep.talents-e { margin: 0; }
@media (prefers-reduced-motion: reduce) { .tl-sceau-texte, .tl-voile-carte .pr-anneau-val { animation: none; } .tl-fiche, .tl-fiche:hover { transform: none; transition: none; } }
@media (max-width: 1020px) {
  .tl-dossier { grid-template-columns: 1fr; gap: 28px; } .tl-dossier-id { position: static; max-width: 560px; }
  .tl-reglages { grid-template-columns: 1fr; } .tl-cote { position: static; }
  .tl-cahier { grid-template-columns: 1fr; gap: 16px; }
  .tl-cahier-nav { position: static; }
  .tl-cahier-nav ol { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .tl-cahier-nav ol::before { display: none; }
  .tl-cahier-nav li { flex: none; } .tl-cahier-nav li button { padding: 8px 12px 8px 8px; border: 1px solid var(--bordure); border-radius: 999px; }
  .tl-cahier-nav .tl-etape-txt b { display: none; } .tl-cahier-nav .tl-pastille-etape { width: 26px; height: 26px; }
  .tl-cahier-pied { order: 2; } .tl-cahier-page { order: 1; }
  .tl-cahier { display: flex; flex-direction: column; } .tl-cahier-nav { display: contents; } .tl-cahier-nav ol { order: 0; } .tl-cahier-pied { order: 3; }
  .ce-chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ce-chiffres > div:nth-child(4) { border-left: 0; } .ce-chiffres > div:nth-child(n+4) { border-top: 1px solid var(--bordure); }
}
@media (max-width: 640px) {
  .tl-page { padding: 18px 14px 80px; }
  .tl-feuille { padding: 22px 18px; } .tl-champs { grid-template-columns: 1fr; }
  .tl-talon { grid-template-columns: 78px minmax(0, 1fr); } .tl-talon-img { display: none; } .tl-talon-bande b { font-size: 1.4rem; }
  .tl-competences { grid-template-columns: 1fr; }
  .tl-retour-cols { grid-template-columns: 1fr; }
  .tl-bilan-tete { flex-direction: column; align-items: flex-start; }
  .tl-bilan-parties button { grid-template-columns: 22px minmax(0, 1fr) auto; } .tl-bp-barre { display: none; }
  .tl-id-photo { width: 96px; height: 112px; }
  .ce { padding: 18px; } .ce-chiffres { grid-template-columns: 1fr 1fr; } .ce-chiffres > div { border-left: 0 !important; border-top: 1px solid var(--bordure); } .ce-chiffres > div:nth-child(even) { border-left: 1px solid var(--bordure) !important; }
  .ce-mod { grid-template-columns: 30px minmax(0, 1fr) 48px; } .ce-mod-barre { grid-column: 2 / 4; grid-row: 2; }
}

/* =====================================================================
 * Tableur à l'image d'Excel (Microsoft 365) : barre de titre verte, accès rapide,
 * ruban Accueil avec ses groupes, zone Nom, barre de formule ✕ ✓ fx, en-têtes gris,
 * quadrillage fin, cellule active verte avec poignée de recopie, onglets et barre d'état.
 * (13 nov. 2026, demande du propriétaire : « que ces tableurs ressemblent exactement à Excel »)
 * ===================================================================== */
.tableur.xl { --xl-vert: #217346; --xl-vert-f: #185C37; --xl-actif: #107C41; --xl-quad: #E1E1E1; --xl-tete: #F5F5F5; --xl-tete-on: #D2D2D2;
  border: 1px solid #BDBDBD !important; border-radius: 8px; overflow: hidden; background: #FFFFFF; color: #000;
  font-family: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 32px rgba(15,27,45,.14) !important; container-type: inline-size; }
.tableur.xl svg { display: block; flex: none; }
/* Barre de titre */
.tableur.xl .xl-titre { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 10px; background: var(--xl-vert); color: #fff; font-size: 12px; }
.tableur.xl .xl-logo { display: grid; place-items: center; width: 24px; height: 24px; background: none; }
.tableur.xl .xl-acces { display: flex; gap: 8px; padding: 0 8px 0 2px; border-right: 1px solid rgba(255,255,255,.28); opacity: .95; }
.tableur.xl .xl-nom { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tableur.xl .xl-nom b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tableur.xl .xl-enreg { margin: 0; opacity: .8; font-size: 11.5px; }
.tableur.xl .xl-cherche { display: flex; align-items: center; gap: 6px; margin-left: auto; width: 210px; max-width: 26%; height: 24px; padding: 0 9px; border-radius: 4px; background: rgba(255,255,255,.2); color: rgba(255,255,255,.9); }
.tableur.xl .xl-echange { margin-left: 0; display: flex; gap: 6px; flex-wrap: nowrap; flex: none; }
.tableur.xl .xl-ech { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; background: transparent; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tableur.xl .xl-ech:first-child { background: #fff; color: var(--xl-vert-f); border-color: #fff; }
.tableur.xl .xl-ech:hover, .tableur.xl .xl-ech:focus-visible { background: rgba(255,255,255,.22); outline: none; }
.tableur.xl .xl-ech:first-child:hover, .tableur.xl .xl-ech:first-child:focus-visible { background: #E9F5EE; }
/* Ruban */
.tableur.xl .xl-ruban { background: #F3F3F3; border-bottom: 1px solid #D6D6D6; }
.tableur.xl .xl-onglets-ruban { display: flex; align-items: flex-end; gap: 0; padding: 2px 6px 0; overflow-x: auto; scrollbar-width: none; font-size: 12px; color: #262626; background: var(--xl-vert); }
.tableur.xl .xl-onglets-ruban span { padding: 6px 11px 7px; white-space: nowrap; color: #fff; opacity: .92; }
.tableur.xl .xl-onglets-ruban .on { background: #F3F3F3; color: var(--xl-vert-f); opacity: 1; font-weight: 600; border: 0; border-radius: 4px 4px 0 0; }
.tableur.xl .xl-onglets-ruban .xl-partage { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 4px auto; padding: 3px 10px; border-radius: 4px; background: rgba(255,255,255,.16); }
.tableur.xl .xl-outils { display: flex; align-items: stretch; gap: 0; padding: 6px 4px 3px; overflow-x: auto; scrollbar-width: none; background: #F3F3F3; border: 0; }
.tableur.xl .xl-outils::-webkit-scrollbar { display: none; }
.tableur.xl .xl-groupe { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 3px; padding: 0 9px; border-right: 1px solid #D6D6D6; flex: none; }
.tableur.xl .xl-groupe:last-child { border-right: 0; }
.tableur.xl .xl-groupe > small { color: #616161; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.tableur.xl .xl-pile { display: flex; align-items: flex-start; gap: 6px; }
.tableur.xl .xl-col { display: flex; flex-direction: column; gap: 3px; }
.tableur.xl .xl-ligne { display: flex; gap: 2px; align-items: center; font-size: 12px; color: #262626; }
.tableur.xl .xl-ic { position: relative; display: inline-flex; align-items: center; gap: 2px; min-width: 24px; height: 22px; justify-content: center; padding: 0 3px; border-radius: 3px; color: #2B2B2B; }
.tableur.xl .xl-ic b, .tableur.xl .xl-ic i, .tableur.xl .xl-ic u { font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 14px; color: #262626; }
.tableur.xl .xl-ic i { font-family: Georgia, "Times New Roman", serif; }
.tableur.xl .xl-a { font-size: 13px; font-weight: 600; }
.tableur.xl .xl-a sup { font-size: 6px; margin-left: 1px; }
.tableur.xl .xl-trait { position: absolute; left: 4px; right: 4px; bottom: 1px; height: 3px; border-radius: 1px; }
.tableur.xl .xl-ic:has(svg) .xl-trait { right: auto; width: 14px; }
.tableur.xl .xl-txt { font-size: 12px; font-weight: 600; letter-spacing: -.02em; }
.tableur.xl .xl-dec small { font-size: 9px; color: #1F5FBF; }
.tableur.xl .xl-sep { width: 1px; height: 16px; background: #D6D6D6; margin: 0 3px; }
.tableur.xl .xl-police, .tableur.xl .xl-taille, .tableur.xl .xl-format { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; height: 22px; padding: 0 5px; border: 1px solid #C7C7C7; border-radius: 2px; background: #fff; font-family: inherit; font-size: 12px; color: #262626; }
.tableur.xl .xl-police { min-width: 104px !important; text-align: left; }
.tableur.xl .xl-taille { min-width: 40px; }
.tableur.xl .xl-format { min-width: 118px; }
.tableur.xl .xl-grand { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px 4px; font-size: 12px; color: #262626; }
.tableur.xl .xl-grand span { display: inline-flex; align-items: center; gap: 3px; }
.tableur.xl .xl-styles > span { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 4px; white-space: nowrap; font-size: 12px; color: #262626; }
.tableur.xl .xl-lib { justify-content: flex-start; gap: 6px; font-size: 12px; white-space: nowrap; }
.tableur.xl .xl-bouton { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border: 1px solid transparent; border-radius: 3px; background: none; font: inherit; font-size: 12px; color: #262626; cursor: pointer; white-space: nowrap; }
.tableur.xl .xl-pile > .xl-bouton { flex-direction: column; height: auto; padding: 3px 8px; gap: 2px; }
.tableur.xl .xl-bouton svg { color: #262626; }
.tableur.xl .xl-bouton:hover:not(:disabled), .tableur.xl .xl-bouton:focus-visible { background: #E1EFE6; border-color: #A7CDB6; outline: none; }
.tableur.xl .xl-bouton:disabled { opacity: .45; cursor: default; }
/* Barre de formule */
.tableur.xl .barre-formule { display: flex; align-items: center; gap: 0; height: 30px; padding: 3px 6px; background: #fff; border-bottom: 1px solid #D6D6D6; }
.tableur.xl .fb-ref { min-width: 92px; height: 23px; padding: 0 8px; display: flex; align-items: center; border: 1px solid #C7C7C7; border-radius: 2px; background: #fff; text-align: left; font-family: inherit; font-size: 12px; font-weight: 400; color: #000; }
.tableur.xl .fb-sep { padding: 0 6px; color: #A0A0A0; font-size: 12px; }
.tableur.xl .fb-croix, .tableur.xl .fb-coche { padding: 0 6px; color: #9E9E9E; font-size: 12px; }
.tableur.xl .fx { padding: 0 9px 0 6px; border: 0; color: #5A5A5A; font-family: "Times New Roman", Georgia, serif; font-style: italic; font-size: 14px; }
.tableur.xl .fb-input { height: 23px; padding: 0 8px; border: 1px solid #C7C7C7; border-radius: 2px; background: #fff; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 14px; color: #000; }
.tableur.xl .fb-input:focus { outline: 0; border-color: var(--xl-actif); }
.tableur.xl .fb-input::placeholder { color: #9A9A9A; font-size: 12.5px; }
/* Grille */
.tableur.xl .tableur-defile { background: #fff; scrollbar-color: #C1C1C1 #F3F3F3; }
.tableur.xl .grille { border-collapse: separate; border-spacing: 0; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 14.5px; line-height: 1.2; background: #fff; }
.tableur.xl .grille thead th, .tableur.xl .grille th.ligne { background: var(--xl-tete) !important; color: #444 !important; font-family: "Segoe UI", system-ui, Roboto, Arial, sans-serif; font-size: 11.5px; font-weight: 400; padding: 0 4px; height: 21px;
  border: 0 !important; border-right: 1px solid #D4D4D4 !important; border-bottom: 1px solid #D4D4D4 !important; text-transform: none; letter-spacing: 0; vertical-align: middle; }
.tableur.xl .grille th.ligne { min-width: 34px; text-align: center; }
.tableur.xl .grille th.coin { background: var(--xl-tete) !important; position: sticky; left: 0; }
.tableur.xl .grille th.coin::after { content: ""; position: absolute; right: 3px; bottom: 3px; border: 5px solid transparent; border-right-color: #BDBDBD; border-bottom-color: #BDBDBD; }
.tableur.xl .grille th.xl-on { background: var(--xl-tete-on) !important; color: var(--xl-vert-f) !important; font-weight: 600; }
.tableur.xl .grille thead th.xl-on { box-shadow: inset 0 -2px 0 var(--xl-actif); }
.tableur.xl .grille th.ligne.xl-on { box-shadow: inset -2px 0 0 var(--xl-actif); }
.tableur.xl .grille td { height: 22px; min-width: 84px; padding: 0; border: 0 !important; border-right: 1px solid var(--xl-quad) !important; border-bottom: 1px solid var(--xl-quad) !important; color: #000; position: relative; }
.tableur.xl .grille td .val { padding: 1px 5px; line-height: 20px; }
.tableur.xl .grille td input { height: 21px; padding: 1px 5px; font-family: inherit; font-size: inherit; color: #000; }
.tableur.xl .grille td input:focus { outline: 0; background: #fff; font-family: inherit; font-size: inherit; text-align: left; }
.tableur.xl .grille td:focus-within { outline: 2px solid var(--xl-actif); outline-offset: -1px; z-index: 1; }
.tableur.xl .grille td:focus-within::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 6px; height: 6px; background: var(--xl-actif); border: 1px solid #fff; z-index: 2; pointer-events: none; }
.tableur.xl .grille td.param { background: #E2EFDA; }
.tableur.xl .grille td.cible { background: #FFF2CC; }
.tableur.xl .grille td.edit { background: #fff; }
.tableur.xl .grille td.gras { font-weight: 700; }
.tableur.xl .grille td.titre-feuille .val { font-family: inherit; font-size: 15px; color: #1F3864; }
.tableur.xl .grille td.err .val, .tableur.xl .grille td.err input { color: #000; }
.tableur.xl .grille td.ok { box-shadow: inset 3px 0 0 #00B050; }
.tableur.xl .grille td.ko { box-shadow: inset 3px 0 0 #C00000; }
/* Onglets de feuilles et barre d'état */
.tableur.xl .xl-feuilles { display: flex; align-items: stretch; gap: 0; min-height: 28px; padding: 0 6px; background: #F3F3F3; border-top: 1px solid #D6D6D6; font-size: 12px; }
.tableur.xl .xl-nav { display: flex; align-items: center; padding: 0 8px; color: #9E9E9E; letter-spacing: 8px; font-size: 15px; }
.tableur.xl .xl-feuille { display: flex; align-items: center; padding: 0 16px; margin-top: -1px; background: #fff; color: var(--xl-vert-f); font-weight: 600; border: 0; border-bottom: 2px solid var(--xl-actif); box-shadow: 1px 0 0 #D6D6D6, -1px 0 0 #D6D6D6; }
.tableur.xl .xl-plus { display: flex; align-items: center; padding: 0 10px; color: #6B6B6B; font-size: 15px; }
.tableur.xl .xl-statut { display: flex; align-items: center; gap: 16px; min-height: 24px; padding: 0 10px; background: #F3F3F3; color: #444; border-top: 1px solid #E3E3E3; font-size: 11.5px; }
.tableur.xl .xl-calc { margin-left: auto; color: #262626; }
.tableur.xl .xl-vues { display: flex; gap: 8px; }
.tableur.xl .xl-vues i { width: 13px; height: 10px; border: 1px solid #8A8A8A; border-radius: 1px; }
.tableur.xl .xl-vues i.on { background: #D2D2D2; }
.tableur.xl .xl-zoom { display: flex; align-items: center; gap: 6px; color: #444; }
.tableur.xl .xl-zoom b { font-weight: 400; min-width: 38px; text-align: right; }
.tableur.xl .xl-curseur { position: relative; width: 96px; height: 1px; background: #8A8A8A; }
.tableur.xl .xl-curseur i { position: absolute; left: 50%; top: -5px; width: 3px; height: 11px; margin-left: -1px; background: #444; border-radius: 1px; }
.legende-tableur i { border: 1px solid #C7C7C7; }
@container (max-width: 900px) { .tableur.xl .xl-cherche { display: none; } .tableur.xl .xl-echange { margin-left: auto; } }
@container (max-width: 700px) {
  .tableur.xl .xl-ech { height: 24px; padding: 0 8px; font-size: 11.5px; }
}
@container (max-width: 560px) {
  .tableur.xl .xl-cherche, .tableur.xl .xl-acces, .tableur.xl .xl-moyen, .tableur.xl .xl-vues, .tableur.xl .xl-curseur { display: none; }
  .tableur.xl .xl-titre { flex-wrap: wrap; }
  .tableur.xl .xl-echange { width: 100%; }
  .tableur.xl .fb-sep, .tableur.xl .fb-croix, .tableur.xl .fb-coche { display: none; }
  .tableur.xl .fb-ref { min-width: 54px; }
}
/* Mode sombre : comme Excel, la feuille reste blanche, le cadre passe en gris anthracite. */
[data-theme="dark"] .tableur.xl { border-color: #3A3A3A !important; }
[data-theme="dark"] .tableur.xl .xl-ruban, [data-theme="dark"] .tableur.xl .xl-outils, [data-theme="dark"] .tableur.xl .xl-onglets-ruban .on,
[data-theme="dark"] .tableur.xl .xl-feuilles, [data-theme="dark"] .tableur.xl .xl-statut, [data-theme="dark"] .tableur.xl .barre-formule { background: #292929; color: #E6E6E6; border-color: #3F3F3F; }
[data-theme="dark"] .tableur.xl .xl-onglets-ruban .on { color: #7FD1A2; }
[data-theme="dark"] .tableur.xl .xl-ligne, [data-theme="dark"] .tableur.xl .xl-ic, [data-theme="dark"] .tableur.xl .xl-ic b, [data-theme="dark"] .tableur.xl .xl-ic i, [data-theme="dark"] .tableur.xl .xl-ic u,
[data-theme="dark"] .tableur.xl .xl-grand, [data-theme="dark"] .tableur.xl .xl-styles > span, [data-theme="dark"] .tableur.xl .xl-bouton, [data-theme="dark"] .tableur.xl .xl-bouton svg, [data-theme="dark"] .tableur.xl .xl-groupe > small,
[data-theme="dark"] .tableur.xl .xl-calc, [data-theme="dark"] .tableur.xl .xl-zoom { color: #E6E6E6; }
[data-theme="dark"] .tableur.xl .xl-groupe { border-color: #444; }
[data-theme="dark"] .tableur.xl .xl-police, [data-theme="dark"] .tableur.xl .xl-taille, [data-theme="dark"] .tableur.xl .xl-format, [data-theme="dark"] .tableur.xl .fb-ref, [data-theme="dark"] .tableur.xl .fb-input { background: #1F1F1F; color: #F0F0F0; border-color: #555; }
[data-theme="dark"] .tableur.xl .xl-feuille { background: #1F1F1F; color: #7FD1A2; }
[data-theme="dark"] .tableur.xl .xl-bouton:hover:not(:disabled) { background: #36453C; border-color: #4F6B5A; }

/* ---------- Abonnement Premium : filière Sciences politiques et gouvernance (17 nov. 2026) ---------- */
.tf2-premium { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: center; margin: 22px 0 0; padding: 24px 26px; border-radius: 18px;
  background: linear-gradient(135deg, #0F1B2D 0%, #1E2A78 100%); color: #fff; box-shadow: 0 14px 34px rgba(15, 27, 45, .22); }
.tf2-premium .tf2-nom { color: #C9D2FF; }
.tf2-premium .tf2-txt { color: rgba(255, 255, 255, .86); }
.tf2-premium .tf2-prix b, .tf2-premium .tf2-prix span { color: #fff; }
.tf2-premium .tf-actif { color: #9FE3D4; }
.tf2p-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
#app .tf2-premium .bouton.secondaire { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .6) !important; box-shadow: none !important; }
#app .tf2-premium .bouton.tf2-cta { background: #fff !important; color: #1E2A78 !important; }
.achat-unite.achat-premium { border-color: #1E2A78; }
.achat-unite.achat-premium .achat-titre { color: #1E2A78; }
.carte-acces.acces-merci { border-color: #12A150; }
@media (max-width: 720px) { .tf2-premium { grid-template-columns: 1fr; } }
body.sombre .achat-unite.achat-premium .achat-titre { color: #C9D2FF; }
/* ---------- Trois formules : Simple, Expert, Premium (17 nov. 2026, 23 h) ---------- */
.tf2-trois .tf2p-actions .bouton { flex: 1 1 0; min-width: 0; text-align: center; }
#app .tf2-vedette .bouton.secondaire { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .6) !important; box-shadow: none !important; }
/* ---------- Paiement dans l'application : copie trait pour trait de la maquette du propriétaire (20 nov. 2026, 01 h 15) ----------
   Mesures prises sur la maquette (852 px de large = 390 px d'écran, facteur 2,185). Toujours sur fond blanc, comme la maquette. */
body:has(#app [data-pa2]) #barre-app, body:has(#app [data-pa2]) .pv-lanceur, body:has(#app [data-pa2]) .pv-salut, body:has(#app [data-pa2]) .ap-haut, body:has(#app [data-pa2]) #bouton-retour { display: none !important; }
body:has(#app [data-pa2]) { background: #FFFFFF !important; }
body #app section.pa2.pc-page { --n: #0E1B4D; --g: #4A5672; --b: #1A5FE0; --bd: #E1E7F2;
  display: block; max-width: 520px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 8px) 0 28px !important; background: #FFFFFF !important; color: var(--n);
  font-family: var(--titre, "Plus Jakarta Sans"), Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; box-sizing: border-box; }
.pa2 *, .pa2 *::before, .pa2 *::after { box-sizing: border-box; }
.pa2 .pa2-i { display: block; }
/* En-tête */
.pa2-haut { display: grid; grid-template-columns: 39px 1fr 37px; align-items: center; padding: 6px 16px 10px 15px; border-bottom: 1px solid #EEF1F6; }
.pa2-retour { width: 39px; height: 39px; border-radius: 50%; border: 0; background: #EEF2FB; color: var(--n); display: grid; place-items: center; cursor: pointer; padding: 0; }
.pa2-haut-titre { text-align: center; }
.pa2-haut-titre h1 { margin: 0; font: 800 20.5px/1.15 var(--titre, "Plus Jakarta Sans"), Inter, sans-serif !important; color: var(--n) !important; letter-spacing: -.01em; }
.pa2-prog { display: block; width: 110px; height: 3px; margin: 7px auto 0; border-radius: 3px; background: #E6ECF7; overflow: hidden; }
.pa2-prog i { display: block; height: 100%; border-radius: 3px; background: var(--b); }
.pa2-av { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0A55C2, #1590E0); color: #fff !important; font: 800 15px Inter, sans-serif; text-decoration: none; overflow: hidden; }
/* Commande */
.pa2-commande { display: grid; grid-template-columns: 61px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin: 5px 13px 0; min-height: 94px; padding: 0 12px 0 13px;
  border: 1.5px solid #DCE5F7; border-radius: 14px; background: linear-gradient(180deg, #F8FAFF, #EEF3FD); box-shadow: 0 2px 8px rgba(26, 95, 224, .06); }
.pa2-cmd-ic { width: 61px; height: 61px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #EDF2FD, #DDE7FA); }
.pa2-cmd-txt b { display: block; font-size: 13.8px; font-weight: 800; line-height: 1.25; color: var(--n); }
.pa2-cmd-txt span { display: block; margin-top: 4px; font-size: 11.3px; line-height: 1.3; color: var(--g); font-family: Inter, system-ui, sans-serif; }
.pa2-cmd-droite { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 14px 0 14px 15px; border-left: 1.5px solid #D2DCF0; margin: 0; }
.pa2-cmd-droite .pc-montant { padding: 0 0 6px; margin: 0 0 6px; border-bottom: 1px solid #CFDAF0; background: none; }
.pa2-cmd-droite .pc-montant b { display: block; font: 800 22px/1.1 var(--titre, "Plus Jakarta Sans"), Inter, sans-serif; color: var(--n); white-space: nowrap; }
.pa2-cmd-droite small { display: block; font-size: 11.3px; color: var(--g); padding-left: 2px; }
.pa2-ref { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pa2-ref code { font: 800 11.4px Inter, sans-serif; color: var(--n); background: none; padding: 0; word-break: normal !important; }
.pa2-ref .pa2-copier { width: 18px; height: 20px; border: 0; background: none; padding: 0; }
.pa2-ref .pa2-copier .pa2-i { width: 15px; height: auto; }
/* États (vérification, confirmé, refusé) */
.pa2-etat { margin: 14px 15px 0; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--bd); background: #F8FAFF; font-family: Inter, sans-serif; }
.pa2-etat b { display: block; font-size: 15px; color: var(--n); } .pa2-etat p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--g); }
.pa2-ok { border-color: #12A150; } .pa2-ko { border-color: #C62828; }
/* « Moyen de paiement » */
.pa2-titre { display: flex !important; align-items: center; gap: 0; margin: 22px 0 0 14px !important; padding: 0 !important; border: 0 !important; font: 800 18.4px/1.2 var(--titre, "Plus Jakarta Sans"), Inter, sans-serif !important; color: var(--n) !important; }
.pa2-titre .pa2-i { margin-right: 11px; }
.pa2-titre span { position: relative; padding-bottom: 9px; }
.pa2-titre span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 53px; height: 3px; border-radius: 3px; background: #19B6AE; }
.pa2-moyens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 9px; margin: 14px 14px 0; }
.pa2-moyen { position: relative; display: flex; align-items: center; height: 67px; padding: 0 6px 0 0; border: 1.5px solid var(--bd); border-radius: 12px; background: #FFFFFF; color: var(--n); text-align: left; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pa2-moyen[aria-checked="true"] { border: 2px solid var(--b); background: #F6F9FF; }
.pa2-moyen:focus-visible { outline: 3px solid #19B6AE; outline-offset: 2px; }
.pa2-logo { flex: none; width: 76px; display: flex; justify-content: center; }
.pa2-moyen-nom { min-width: 0; line-height: 1.22; }
.pa2-moyen-nom b { display: block; font-size: 13.6px; font-weight: 600; color: var(--n); }
.pa2-moyen-nom small { display: block; font-size: 13.6px; font-weight: 600; color: var(--n); }
.pa2-moyen-nom small.gris { font-size: 12.3px; font-weight: 500; color: var(--g); }
.pa2-m-carte .pa2-moyen-nom b { font-size: 12.2px; white-space: nowrap; }
.pa2-m-carte .pa2-moyen-nom small.gris { font-size: 10.8px; white-space: nowrap; }
.pa2-coche { position: absolute; top: -5px; right: -5px; width: 24px; height: 24px; border-radius: 50%; display: none; place-items: center; background: #fff; }
.pa2-coche .pa2-i { width: 20px; height: 20px; }
.pa2-moyen[aria-checked="true"] .pa2-coche { display: grid; }
/* « Instructions de paiement » */
.pa2-instr { margin: 15px 14px 0 16px; border: 1.5px solid var(--bd); border-radius: 14px; background: #FFFFFF; padding: 0 12px; }
.pa2-instr h3 { display: flex; align-items: center; gap: 0; height: 38px; margin: 0; border-bottom: 1px solid #E6EBF4; font: 800 14.2px var(--titre, "Plus Jakarta Sans"), Inter, sans-serif; color: var(--n); }
.pa2-instr h3 .pa2-i { width: 27px; height: auto; margin: 0 13px 0 -1px; }
.pa2-ligne { display: grid; grid-template-columns: 54px minmax(0, 1fr) 32px; align-items: center; min-height: 47px; padding: 4px 0; border-bottom: 1px solid #E6EBF4; }
.pa2-ligne:last-child { border-bottom: 0; }
.pa2-li-ic { position: relative; display: grid; place-items: center; height: 30px; }
.pa2-li-ic::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: #E6EBF4; }
.pa2-li-txt { padding-left: 13px; font-family: Inter, system-ui, sans-serif; }
.pa2-li-txt small { display: block; font-size: 12px; color: #1F2A44; line-height: 1.3; }
.pa2-li-txt b { display: block; font-size: 15.8px; font-weight: 800; color: var(--n); line-height: 1.25; overflow-wrap: anywhere; }
.pa2-indispo .pa2-li-txt b { font-size: 14.5px; } .pa2-indispo .pa2-li-txt small { margin-top: 2px; color: var(--g); }
.pa2-copier { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #D9E3F7; background: #EEF3FF; display: grid; place-items: center; padding: 0; cursor: pointer; }
.pa2-copier .pa2-i { width: 17px; height: auto; }
/* Preuve et bouton */
body #app .pa2 .pc-form.pa2-form { display: block; margin: 0; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body #app .pa2 .pa2-preuve { display: block !important; position: relative; min-height: 60px; margin: 18px 14px 0 15px; padding: 0 !important; border: 1.5px dashed #A9C1EE; border-radius: 14px; background: #F8FAFF; cursor: pointer; text-align: left; }
.pa2-preuve input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body #app .pa2 .pa2-preuve-vide { display: flex !important; align-items: center; height: 60px; padding: 0; color: inherit; }
.pa2-nuage { position: relative; width: 106px; height: 34px; display: grid; place-items: center; }
.pa2-nuage::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: #D5E0F4; }
.pa2-preuve-txt { padding-left: 17px; font-family: Inter, system-ui, sans-serif; }
.pa2-preuve-txt b { display: block; font-size: 13.3px; font-weight: 600; color: var(--n); }
.pa2-preuve-txt small { display: block; margin-top: 2px; font-size: 11.2px; color: var(--g); }
body #app .pa2 .pa2-preuve.rempli .pa2-preuve-vide { display: none !important; }
.pa2-preuve .pc-preuve-apercu { display: block; max-width: 100%; max-height: 220px; margin: 8px auto; border-radius: 10px; }
.pa2 .alerte { margin: 10px 15px 0; }
.pa2-cta { display: flex; align-items: center; justify-content: center; gap: 30px; height: 50px; margin: 16px 13px 0; border: 0; border-radius: 25px; width: calc(100% - 26px);
  background: linear-gradient(180deg, #13409A 0%, #0B2B6E 55%, #08245F 100%); color: #fff !important; font: 700 16px var(--titre, "Plus Jakarta Sans"), Inter, sans-serif; text-decoration: none; box-shadow: 0 8px 18px rgba(8, 36, 95, .25); cursor: pointer; }
.pa2-cta span { margin-left: 22px; color: #fff !important; }
.pa2-docs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 15px 0; }
.pa2-doc { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--bd); background: #fff; color: var(--n); font: 600 13.5px Inter, sans-serif; cursor: pointer; }
/* Priorité sur les règles générales de l'application (titres, boutons) */
body #app section.pa2 .pa2-haut-titre h1 { font-size: 20.5px !important; line-height: 1.15 !important; font-weight: 800 !important; margin: 0 !important; letter-spacing: -.01em !important; color: #0E1B4D !important; }
body #app section.pa2 h2.pa2-titre { font-size: 18.4px !important; line-height: 1.2 !important; font-weight: 800 !important; color: #0E1B4D !important; }
body #app section.pa2 .pa2-instr h3 { font-size: 14.2px !important; font-weight: 800 !important; color: #0E1B4D !important; }
body #app section.pa2 .pa2-cta, body #app section.pa2 .pa2-cta span { color: #FFFFFF !important; font-size: 16px !important; font-weight: 700 !important; }
body:has(#app [data-pa2]) #bouton-retour.bouton-retour { display: none !important; visibility: hidden !important; }
body:has(#app [data-tz-comp]) #bouton-retour.bouton-retour { display: none !important; }
body #app section.pa2.pc-page { padding-top: calc(env(safe-area-inset-top, 0px) + 2px) !important; }
body #app section.pa2 .pa2-haut { padding: 2px 16px 9px 15px; }
body #app section.pa2 .pa2-prog { margin-top: 6px; }
body #app section.pa2 .pa2-commande { padding: 0 11px 0 13px; column-gap: 11px; }
body #app section.pa2 .pa2-cmd-txt span { font-size: 11px; }
body #app section.pa2 .pa2-cmd-droite { padding-left: 13px; }
body #app section.pa2 .pa2-cmd-droite .pc-montant b { font-size: 21px; }
body #app section.pa2 .pa2-cmd-droite { padding-top: 10px; padding-bottom: 10px; }
body #app section.pa2 label.pa2-preuve { border: 1.5px dashed #A9C1EE !important; background: #F7F9FF !important; }
html:has(#app [data-pa2]) { background: #FFFFFF !important; }
body #app section.pa2.pc-page { min-height: 100vh; }
body #app section.pa2 .pa2-preuve-txt b, body #app section.pa2 .pa2-moyen-nom b, body #app section.pa2 .pa2-li-txt b, body #app section.pa2 .pa2-cmd-txt b { color: #0E1B4D !important; }
/* ---------- Ouverture de Tilt (20 nov. 2026) : vidéo 9:16 calée en haut, puis Tilt détaché qui avance et recule, bouton discret ---------- */
html.tilt-ouv-ouverte, html.tilt-ouv-ouverte body { background: #DDEBFC !important; overflow: hidden; }
#tilt-ouv { position: fixed; inset: 0; z-index: 99999; background: #DDEBFC; overflow: hidden; opacity: 1; transition: opacity .55s ease; }
#tilt-ouv.fin { opacity: 0; pointer-events: none; }
.tilt-scene { position: absolute; left: 50%; top: 0; width: max(100vw, 56.25vh); height: max(100vh, 177.78vw); transform: translateX(-50%); }
.tilt-scene > * { position: absolute; display: block; }
.tilt-fond, .tilt-scene video { left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; }
.tilt-fond, .tilt-perso { opacity: 0; }
/* Tilt découpé, à la place exacte où la vidéo le laisse (720 × 1280 : x 115, y 432, 490 × 653) */
.tilt-perso { left: 15.97%; top: 33.75%; width: 68.06%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 14px 18px rgba(11, 35, 80, .22)); }
#tilt-ouv.vivant .tilt-fond, #tilt-ouv.vivant .tilt-perso { opacity: 1; }
#tilt-ouv.vivant video { visibility: hidden; }
#tilt-ouv.vivant .tilt-perso { animation: tiltPersoVit 3.6s ease-in-out infinite; }
@keyframes tiltPersoVit { 0%, 100% { transform: scale(1) rotate(0); } 35% { transform: scale(1.055) rotate(-.8deg); } 70% { transform: scale(1.02) rotate(.8deg); } }
/* Bouton « Commencer » discret : verre clair, texte bleu nuit, qui respire à peine */
.tilt-ouv-go { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 30px); min-width: 200px; height: 48px; padding: 0 30px; border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #0B2350; font: 700 17px "Plus Jakarta Sans", Inter, system-ui, sans-serif; letter-spacing: .01em; box-shadow: 0 8px 22px rgba(11, 35, 80, .16); cursor: pointer;
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
#tilt-ouv.pret .tilt-ouv-go { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; animation: tiltOuvGo 2.4s ease-in-out .6s infinite; }
@keyframes tiltOuvGo { 0%, 100% { transform: translate(-50%, 0) scale(1); } 50% { transform: translate(-50%, 0) scale(1.03); } }
.tilt-ouv-go:focus-visible { outline: 3px solid #1E8FC8; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #tilt-ouv, .tilt-ouv-go { transition: none; } #tilt-ouv.vivant .tilt-perso, #tilt-ouv.pret .tilt-ouv-go { animation: none; } }
/* ---------- Tilt : la mascotte debout remplace Privilège sur le chemin, et couleurs de Tilt (bleu et turquoise mêlés) ----------
   Demande du propriétaire, 20 nov. 2026, 02 h : « pas trop du vert, un mélange du bleu, du vert ». */
body .my { --tz-teal: #1E8FC8; --tz-teal2: #22A7C4; --tz-tealc: #E0EFFB; --tz-grad: linear-gradient(120deg, #19B3A6 0%, #1E8FC8 55%, #0A55C2 100%); }
body .my .tz-chips button.on { background: var(--tz-grad); box-shadow: 0 4px 12px rgba(10, 85, 194, .28); }
body .my .tz-chips button.on::after { background: var(--tz-grad); }
body .my .tz-formation { background: var(--tz-grad); box-shadow: 0 4px 12px rgba(10, 85, 194, .22); }
body .my .tz-u-barre i { background: var(--tz-grad); }
body .my .tz-unite::before { background: var(--tz-grad) !important; }
body .my .tz-noeud.ici, body .my .tz-noeud.attente { background: radial-gradient(circle at 40% 30%, #2BC2B4 0%, #1E8FC8 55%, #0A55C2 100%); box-shadow: 0 0 0 6px #E6F1FC, 0 0 0 8.5px #9CCBEF, 0 14px 26px rgba(10, 85, 194, .32); }
body .my .tz-commencer { color: #1468C4; }
/* Tilt debout, qui respire et change de pose */
body .my .tz-mascotte.tz-m-tilt { top: -150px; width: 150px; }
.tz-tilt-pose { display: block; width: 118px; height: 150px; animation: tzTiltEntre .55s cubic-bezier(.2, .9, .3, 1.25) both; }
.tz-tilt-pose img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 14px rgba(11, 35, 80, .18)); transform-origin: 50% 100%; animation: tzTiltRespire 3.2s ease-in-out .6s infinite; }
@keyframes tzTiltEntre { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes tzTiltRespire { 0%, 100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-1.5deg) scale(1.015); } 70% { transform: rotate(1.5deg) scale(1.01); } }
body .my .tz-m-tilt .tz-dit { margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .tz-tilt-pose, .tz-tilt-pose img { animation: none; } }
body .my .tz-metier i { background: #E3EEFB; }
body .my .tz-mascotte.tz-m-tilt { top: -112px; }
/* ---------- Tilt omniprésent (20 nov. 2026, 02 h 08) : compagnon sur chaque onglet de Tilt, Tilt pose les questions des séances ---------- */
.tz-compagnon { position: fixed; right: 8px; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); z-index: 60; display: flex; align-items: flex-end; gap: 4px; pointer-events: none;
  animation: tzCompEntre .7s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes tzCompEntre { from { transform: translateX(120px); opacity: 0; } to { transform: none; opacity: 1; } }
.tz-comp-tilt { pointer-events: auto; border: 0; padding: 0; background: none; width: 86px; height: 110px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tz-comp-tilt img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform-origin: 50% 100%; filter: drop-shadow(0 8px 12px rgba(11, 35, 80, .22)); animation: tzCompPas .32s ease-in-out 2; }
.tz-compagnon.arrive .tz-comp-tilt img { animation: tzTiltRespire 3.2s ease-in-out infinite; }
@keyframes tzCompPas { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-2deg); } }
.tz-comp-bulle { pointer-events: none; max-width: 170px; margin-bottom: 70px; padding: 8px 11px; border-radius: 14px 14px 4px 14px; background: #fff; color: #0B2350;
  font: 700 12.5px/1.3 "Plus Jakarta Sans", Inter, sans-serif; box-shadow: 0 8px 20px rgba(11, 35, 80, .16); opacity: 0; transform: translateY(6px) scale(.96); }
.tz-compagnon.arrive .tz-comp-bulle, .tz-compagnon.parle .tz-comp-bulle { animation: tzCompDit 4.6s ease both; }
@keyframes tzCompDit { 0% { opacity: 0; transform: translateY(6px) scale(.96); } 10%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
:root[data-theme="dark"] .tz-comp-bulle { background: #1A2840; color: #fff; }
@media (prefers-reduced-motion: reduce) { .tz-compagnon, .tz-comp-tilt img, .tz-compagnon.arrive .tz-comp-tilt img { animation: none; } }
/* Dans la séance, c'est Tilt (et non plus Privilège) qui pose la question */
body .tq .my-dit.tz-dit-tilt img, body .my-dit.tz-dit-tilt img { object-fit: contain; object-position: center 20%; background: radial-gradient(circle at 50% 40%, #FFFFFF, #DCEBFF); }
/* Zone de l'heure de l'iPhone (20 nov. 2026) : bande opaque de la couleur du haut de la page, sous l'ouverture de Tilt. */
#bande-heure { position: fixed; left: 0; right: 0; top: 0; height: env(safe-area-inset-top, 0px); z-index: 9990; pointer-events: none; background: #FFFFFF; }
:root[data-theme="dark"] #bande-heure { background: #111C30; }
/* L'ouverture de Tilt couvre tout l'écran, zone de l'heure comprise : l'image monte jusqu'en haut. */
#tilt-ouv { top: 0; height: 100vh; height: 100lvh; }
.tilt-scene { height: max(100lvh, 177.78vw); width: max(100vw, 56.25lvh); }

/* ===== Bases du débutant et sigles expliqués (23 nov. 2026, demande du propriétaire) ===== */
.bd{margin-top:18px;padding-top:16px;border-top:1px solid #D9E6FA}
.bd-titre{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-family:var(--titre);font-size:1.15rem}
.bd-intro{margin:0 0 10px}
.bd-sous{margin:14px 0 8px;font-weight:800;font-family:var(--titre)}
.bd-mots{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;margin:0}
.bd-mots>div{background:#fff;border:1px solid #E4E8F0;border-left:4px solid var(--accent,#0A55C2);border-radius:12px;padding:12px 14px}
.bd-mots dt{font-weight:800;margin:0 0 4px}
.bd-mots dd{margin:0;line-height:1.5;font-size:.95rem}
.bd-sigles{margin-top:14px;background:#fff;border:1px solid #E4E8F0;border-radius:12px;padding:10px 14px}
.bd-sigles summary{cursor:pointer;font-weight:800;font-family:var(--titre)}
.bd-liste{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:6px 18px;margin:8px 0 4px}
.bd-liste>div{display:grid;grid-template-columns:86px 1fr;gap:8px;padding:6px 0;border-bottom:1px dashed #E4E8F0;font-size:.92rem}
.bd-liste dt{font-weight:800;color:var(--accent,#0A55C2)}
.bd-liste dd{margin:0}
abbr.sg{text-decoration:none;border-bottom:1.5px dotted currentColor;cursor:help}
abbr.sg:focus-visible{outline:2px solid var(--accent,#0A55C2);outline-offset:2px;border-radius:3px}
.sg-sens{color:var(--texte-doux,#4A5A75)}
.sg-bulle{position:absolute;z-index:9999;padding:10px 12px;border-radius:12px;background:#0B2350;color:#fff;font-size:.9rem;line-height:1.45;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.sg-bulle b{color:#7FE7E7;margin-right:4px}
:root[data-theme="dark"] .bd-mots>div,:root[data-theme="dark"] .bd-sigles{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .bd-mots>div,:root:not([data-theme="light"]) .bd-sigles{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12)}}
.bloc-bases{margin:22px 0;padding:clamp(16px,3vw,26px);border-radius:18px;background:linear-gradient(160deg,#F2F7FF,#FFFFFF 70%);border:1px solid #D9E6FA}
.bloc-bases .bd{margin:0;padding:0;border:0}
:root[data-theme="dark"] .bloc-bases{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.12)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .bloc-bases{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.12)}}
