/* Habillage OPÉRATEUR générique (lot demo-airtel, 18/11, tiré de habillage) — injecté par nginx (sub_filter) sur le domaine de démo UNIQUEMENT.
   Couleurs : variables --op-* ci-dessous = valeurs Airtel par défaut ; op.js les reprend de operateur.js (ZK_OP.couleurs). */
@import url("/airtel/fonts/montserrat.css?at=1");
:root{--op-p:#E40000;--op-sur-or:#FFFFFF;--op-pf:#B00000;--op-nuit:#1C1C1F;--op-nuit2:#28282D;--op-carte:#303036;--op-bord:#4A4A52;--op-or:#E40000;--op-orf:#A80000;--op-encre:#1C1C1F;--op-ciel:#F6F6F7;--op-d:#DCDCE0}

/* ---------- typographie ---------- */
html body,html body button,html body input,html body select,html body textarea,.ze,.ze-go{font-family:Montserrat,Nunito,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}

/* ---------- appli élève (zb-app/app.css) et espace prof (zb-classe.css) : clair par défaut, sombre sur demande ---------- */
:root{--j:var(--op-or)!important;--jt:var(--op-sur-or)!important;--jd:var(--op-orf)!important;--jbord:rgba(0,0,0,.35)!important;
  --f:#F7F7F8!important;--c:#FFFFFF!important;--c2:#F0F0F2!important;--b:#E3E3E7!important;--t:#1C1C1F!important;--s:#55555D!important;--d:#55555D!important;--h:#FFFFFF!important;--r:#C8401E!important;--v:#1E7B34!important}
:root[data-theme=sombre]{--f:#141416!important;--c:#29292E!important;--c2:#34343A!important;--b:#4A4A52!important;--t:#F7F7F8!important;--s:#CFCFD4!important;--d:#CFCFD4!important;--h:#1C1C1F!important}
/* en-têtes de l'appli et de l'espace prof : bandeau violet */
.pd-tete{background:var(--op-p)!important;color:#fff!important;border-bottom:0!important}
.pd-tete a,.pd-tete span,.pd-tete b{color:#fff!important}
.pd-tete .role-seg .on{background:var(--op-or)!important;color:var(--op-sur-or)!important}

/* ---------- site (site.css) et écran d'accueil (zb-entree.js .ze) : violet nuit ---------- */
body.op-site{--j:var(--op-or)!important;--jd:var(--op-orf)!important;--f:var(--op-nuit)!important;--f2:var(--op-nuit2)!important;--c:var(--op-carte)!important;--b:var(--op-bord)!important;--t:#FFFFFF!important;--d:var(--op-d)!important;--ok:#7BE09B!important;background:var(--op-nuit)!important}
.ze{--zj:var(--op-or)!important;--zjd:var(--op-orf)!important;--zf:var(--op-nuit)!important;--zc:var(--op-carte)!important;--zb:var(--op-bord)!important;--zt:#FFFFFF!important;--zd:var(--op-d)!important;background:radial-gradient(1200px 600px at 80% -10%,#4A1212 0%,var(--op-nuit) 60%)!important}
.ze-liens a.ze-pill{background:var(--op-carte)!important;border-color:var(--op-bord)!important;color:#fff!important}
.ze-liens a.ze-pill:hover{background:#3A3A41!important}
.ze-zaza{filter:drop-shadow(0 10px 24px rgba(228,0,0,.22))!important}
.ze-badge{background:rgba(228,0,0,.16)!important}
.ze-media video{border-color:var(--op-or)!important}
.ze-play{box-shadow:0 10px 30px rgba(0,0,0,.45),0 0 0 8px rgba(228,0,0,.28)!important}

/* ---------- marque : logo de l'opérateur en logo principal (logo blanc sur pastille violette) ---------- */
.op-marque{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;line-height:1;white-space:nowrap}
.op-wm{display:inline-flex;align-items:baseline;gap:5px;font-family:Montserrat,Nunito,sans-serif;font-weight:900;font-size:21px;letter-spacing:-.4px;color:#fff}
.op-pastille{display:inline-flex;align-items:center;background:var(--op-p);border-radius:10px;padding:5px 10px;box-shadow:0 1px 0 rgba(0,0,0,.12)}
.op-logo-img{height:28px;width:auto;display:block}
[data-op-logo],.ze-logo{display:inline-flex;align-items:center;gap:10px}
.pd-marque b .op-logo-img{height:22px}.pd-marque b .op-pastille{padding:3px 7px;border-radius:8px}
@media (min-width:900px){.haut [data-op-logo] .op-logo-img{height:36px}}
.op-zaza{font-weight:700;font-size:12.5px;color:#fff;opacity:.85;border-left:1px solid rgba(255,255,255,.5);padding-left:10px;white-space:nowrap}
.ze-logo .op-wm{font-size:19px}

/* ---------- bandeau DÉMO (bien visible, partout) ---------- */
#op-bandeau{position:relative;z-index:2147483000;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:6px 12px;background:var(--op-or);color:var(--op-sur-or);font:700 11.5px/1.35 Montserrat,Nunito,system-ui,sans-serif;text-align:center;box-shadow:0 2px 0 rgba(0,0,0,.18)}
#op-bandeau svg{flex:0 0 15px;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:900px){#op-bandeau{font-size:13px;padding:7px 20px}}
/* écrans plein écran de l'appli (position fixe) : sous le bandeau */
.ze.ze-app,.op-sous-bandeau{top:var(--op-b,0px)!important}

/* ---------- pied « propulsé par Airtel » (discret) ---------- */
#op-pied{margin:0;padding:14px 16px calc(14px + env(safe-area-inset-bottom));text-align:center;font:600 12px/1.4 Montserrat,Nunito,sans-serif;color:#6E6E77;background:transparent}
body.avec-nav #op-pied{padding-bottom:96px}

/* ---------- fenêtre « paiement » ---------- */
#op-modal{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,20,22,.66)}
#op-modal .op-boite{max-width:420px;width:100%;background:#fff;color:var(--op-encre);border-radius:20px;padding:26px 22px 20px;box-shadow:0 30px 80px rgba(0,0,0,.45);text-align:center;font-family:Montserrat,Nunito,sans-serif}
#op-modal .op-ico{min-width:64px;height:64px;margin:0 auto 12px;padding:0 16px;border-radius:999px;background:var(--op-p);display:inline-flex;align-items:center;justify-content:center}
#op-modal .op-ico img{height:28px;width:auto;display:block}
#op-modal .op-ico svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#op-modal h2{margin:0 0 8px;font-size:21px;font-weight:900;color:var(--op-p)}
#op-modal p{margin:0 0 18px;font-size:15px;line-height:1.5;color:#44444B}
#op-modal button{appearance:none;border:0;border-bottom:4px solid var(--op-orf);background:var(--op-or);color:var(--op-sur-or);font:900 17px Montserrat,Nunito,sans-serif;padding:14px 18px 12px;border-radius:14px;width:100%;cursor:pointer;min-height:52px}
#op-payer{width:100%;margin:0 0 12px;background:var(--op-p)!important;color:#fff!important;border-bottom-color:var(--op-pf)!important}
.pd-pa[aria-disabled=true]{display:none!important}

/* démo : un seul pays, pas de sélecteur pays/langue */
.ze-pays{display:none!important}
/* le logo dans l'en-tête des pages prof et /zb/v (pd-tete) ne doit pas hériter du rond 36 px de la tête de Zaza */
.pd-tete .op-logo-img{width:auto!important;height:22px!important;border-radius:0!important;object-fit:contain!important;background:none!important}
.pd-tete .op-pastille{background:transparent;box-shadow:none;padding:0}
/* bouton « Suivant » du quiz plein écran (bleu par défaut) : violet de l'opérateur */
.exo-next,.zx-page .exo-full .exo-next{background:var(--op-p)!important;border-bottom-color:var(--op-pf)!important;color:#fff!important}

/* espace prof (tableau de bord) : cartes claires lisibles, même en mode sombre du téléphone (repris de l habillage 18/11) */
html body .ix-k,html body .ix-c{background:#fff!important;background-image:none!important;border:1px solid #E3E3E7!important;box-shadow:0 4px 14px rgba(28,28,31,.06)!important;color:var(--op-encre)!important}
html body .ix-c.ix-une{background:linear-gradient(135deg,#FFF0F0,#fff)!important;border-color:#F5B5B5!important}
html body .pn-plus{background:var(--op-or)!important;color:var(--op-sur-or)!important}
/* espace prof : thème clair forcé (cartes, listes, menu), quel que soit le mode du téléphone */
html body .tc,html body .mc-l{background:#fff!important;background-image:none!important;border:1px solid #E3E3E7!important;box-shadow:0 4px 14px rgba(28,28,31,.06)!important;color:var(--op-encre)!important}
html body .tc *, html body .mc-l *, html body .ix-k *, html body .ix-c *{color:inherit}
html body .tc-code,html body .tc-mo{background:rgba(28,28,31,.05)!important;border-color:rgba(28,28,31,.18)!important}
html body .mc-s{background:#F0F0F2!important}
html body .pn{background:#fff!important;border-color:#E3E3E7!important}
html body .pn a{color:#55555D!important}
html body .pn a.on{color:var(--op-encre)!important}
@media (min-width:900px){html body .pn{padding-top:128px!important}}
html body #op-pied,html body p.propulse{color:#55555D!important}

/* petit logo à la place du nom écrit dans les en-têtes de l'appli */
.op-pastille.op-petit{padding:4px 8px;border-radius:8px}.op-pastille.op-petit .op-logo-img{height:20px}
.pd-tete .op-pastille.op-petit{background:transparent;padding:0}
html body .op-pastille.op-petit .op-logo-img{width:auto!important;height:20px!important;border-radius:0!important;object-fit:contain!important;max-width:none!important;background:none!important;box-shadow:none!important;border:0!important}

/* badge « lauréat » (accueil, Partenaires) : rosette or/orange sur violet */
.op-badge{display:inline-flex;align-items:center;gap:14px;margin:0 0 18px;padding:12px 18px 12px 12px;border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.03));border:1.5px solid rgba(255,130,130,.55);box-shadow:0 14px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.12);text-align:left;color:#fff;max-width:100%}
.op-rosette{flex:none;width:62px;height:auto;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35))}
.op-badge-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.op-badge-n{font-size:25px;line-height:1.05;font-weight:900;letter-spacing:-.4px;color:#FFB0B0}
.op-badge-n span{color:#fff;font-size:.72em;letter-spacing:-.2px}
.op-badge-niv{font-size:14px;font-weight:800;color:#fff}
.op-badge small{font-size:11.5px;font-weight:600;color:var(--op-d);line-height:1.35}
@media (min-width:900px){.op-badge{padding:14px 24px 14px 14px;gap:18px}.op-rosette{width:76px}.op-badge-n{font-size:32px}.op-badge-niv{font-size:16px}.op-badge small{font-size:12.5px}}
/* fin de quiz (score, « Mon bilan », « Revenir à Zaza ») : violet de l opérateur au lieu du bleu */
.exo-fin{--fc:var(--op-p)!important;--fd:var(--op-pf)!important}
.exo-fin .btn,.exo-acts .btn,.exo-fin a.btn{background:var(--op-p)!important;border-bottom-color:var(--op-pf)!important;color:#fff!important}

/* fiches (prof /zb/prof/voir et élève) : cartes claires même en mode sombre (repris de l habillage 18/11) */
html,html body,html body .pd{--carte:#fff!important}
html body .vl-s,html body .vl-c,html body .vl-q,html body .vl-x{background:#fff!important;background-image:none!important;border-color:#E3E3E7!important;color:var(--op-encre)!important}
html body .vl-s,html body .vl-n a{background:#fff!important;color:var(--op-encre)!important;border-color:#E3E3E7!important}
html body .vl-s *{color:inherit}html body .vl-s .pd-petit,html body .vl-s .vl-r{color:#44444B!important}
html body .vl-c li{background:#fff!important;border-color:#DCDCE1!important}html body .vl-c li.ok{background:#E7F5EC!important;border:2px solid #1E7E34!important}html body .vl-c li.ok b{color:#14692B!important}
html body .vl-p{border-top-color:#EEEEF0!important}
html body .pd-tag{color:#B00000!important}

/* accueil (sombre) : pied « propulsé par Airtel » sans bloc blanc */
html body:has(.tete) #op-pied{background:transparent!important;box-shadow:none!important;color:#DCDCE0!important}

/* aperçu d un cours (prof) : barre d onglets collante, thème clair même en sombre (repris de l habillage 18/11) */
html body .vl-bar{background:#F7F7F8!important;border-bottom-color:#E3E3E7!important}
html body .vl-bar .pl-seg i{background:#E3E3E7!important}html body .vl-bar .pl-seg i.ici{background:var(--op-or)!important}
html body .vl-pos{color:#44444B!important}
html body .vl-n a.ici{background:var(--op-or)!important;color:var(--op-sur-or)!important;border-color:var(--op-or)!important}
/* audit de lisibilité (WCAG) repris de l habillage 18/11 */
html body #op-pied{display:table!important;margin:10px auto 14px!important;padding:5px 12px!important;border-radius:999px;background:rgba(255,255,255,.94)!important;color:#44444B!important}
html body.avec-nav #op-pied{margin-bottom:96px!important;padding-bottom:5px!important}
html body .pn a.pn-plus,html body .pn a.pn-plus *{color:var(--op-sur-or)!important}
html body .pd-qui small{color:#F2F2F4!important;opacity:1!important}
html body .pd-mini.rouge{color:#A3301A!important}
html body .tc-code small,html body .ix-k small,html body .ix-l,html body .ix-n small,html body .tc-s,html body .mc-m{opacity:1!important;color:#44444B!important}
html body .tc-code b,html body .pd-court,html body .pd-gros{color:#A80000!important}
html body b[style*="#F0A04B"],html body span[style*="#F0A04B"]{color:#A04A00!important}
html body b[style*="#F06A6A"],html body span[style*="#F06A6A"]{color:#B42318!important}
html body b[style*="#48C774"],html body span[style*="#48C774"]{color:#1E7E34!important}
html body .mc-b.z{background:var(--op-or)!important;color:var(--op-sur-or)!important}
html body .mc-p a.on{color:var(--op-encre)!important;background:#FDE0E0!important;border-color:var(--op-or)!important}
html body:has(.tete) #op-pied{background:transparent!important;box-shadow:none!important;color:#DCDCE0!important}

/* A 18/11 : lecteur de quiz aux couleurs Airtel, lisible en clair ET en sombre (fondateur : « le player de quiz n est pas lisible ») */
html:root[data-theme="light"],html:root:not([data-theme]){--qp-fond:#F6F6F7;--paper:#F6F6F7;--qp-carte:#fff;--qp-bord:#DCDCE0;--qp-ombre:#DCDCE0;
  --qp-la:#E40000;--qp-lb:#E40000;--qp-lc:#E40000;--qp-ld:#E40000;--qp-lettre:#fff;--qp-sel:#E40000;--qp-sel-bg:#FFECEC;--qp-focus:#E40000;--qp-fonce:#1C1C1F;
  --qp-valider:#E40000;--qp-valider-ombre:#A80000;--qp-valider-txt:#fff;--qp-pts:#E40000;--qp-pts-txt:#1C1C1F;--qp-serie:#E40000;--qp-piste:#DCDCE0;--ink:#1C1C1F}
html:root[data-theme="dark"]{--qp-fond:#1C1C1F;--paper:#1C1C1F;--qp-carte:#28282D;--qp-bord:#4A4A52;--qp-ombre:#0E0E10;--card:#28282D;--line:#4A4A52;
  --qp-la:#E40000;--qp-lb:#E40000;--qp-lc:#E40000;--qp-ld:#E40000;--qp-lettre:#fff;--qp-sel:#E40000;--qp-sel-bg:#4A1414;--qp-focus:#E40000;--qp-fonce:#FFFFFF;
  --qp-valider:#E40000;--qp-valider-ombre:#A80000;--qp-valider-txt:#fff;--qp-pts:#E40000;--qp-pts-txt:#fff;--qp-serie:#E40000;--qp-piste:#303036;--ink:#fff;--q-bg:#28282D;--q-bord:#4A4A52}
@media (prefers-color-scheme:dark){html:root:not([data-theme="light"]){--qp-fond:#1C1C1F;--paper:#1C1C1F;--qp-carte:#28282D;--qp-bord:#4A4A52;--qp-ombre:#0E0E10;--card:#28282D;--line:#4A4A52;
  --qp-la:#E40000;--qp-lb:#E40000;--qp-lc:#E40000;--qp-ld:#E40000;--qp-lettre:#fff;--qp-sel:#E40000;--qp-sel-bg:#4A1414;--qp-focus:#E40000;--qp-fonce:#FFFFFF;
  --qp-valider:#E40000;--qp-valider-ombre:#A80000;--qp-valider-txt:#fff;--qp-pts:#E40000;--qp-pts-txt:#fff;--qp-serie:#E40000;--qp-piste:#303036;--ink:#fff;--q-bg:#28282D;--q-bord:#4A4A52}}
/* bouton « Valider » tant qu aucune réponse n est choisie : lisible, clairement en attente (plus de texte pâle sur fond pâle) */
.exo-valide:disabled,.exo-valide[disabled]{opacity:1!important;background:transparent!important;color:var(--qp-fonce)!important;border:2px dashed var(--qp-bord)!important;box-shadow:none!important}
.exo-valide:not(:disabled){background:#E40000!important;color:#fff!important;border-bottom-color:#A80000!important}

/* Airtel : rouge sur rouge évité (onglet actif de l en-tête rouge, sélection) ; texte blanc sur le rouge */
.pd-tete .role-seg .on{background:#fff!important;color:var(--op-p)!important}
/* bulle de la question (zb-quiz2.css : lavande / bleu nuit) : teintes Airtel, clair et sombre */
html:root[data-theme="light"],html:root:not([data-theme]){--zq-bulle:#FFF0F0;--zq-bulle-bord:#F5B5B5}
html:root[data-theme="dark"]{--zq-bulle:#3A2426;--zq-bulle-bord:#6E3A3E}
@media (prefers-color-scheme:dark){html:root:not([data-theme="light"]){--zq-bulle:#3A2426;--zq-bulle-bord:#6E3A3E}}
/* vitrine et écran d entrée (fond gris foncé) : texte blanc sur le rouge, rouge éclairci pour le texte sur fond sombre */
html body .ze-go{color:#fff!important}
html body .ze-badge{color:#FF7A7A!important;background:rgba(228,0,0,.18)!important}
/* pages de défi (zb-defi*.css : partage, salle, podium) : la règle « --carte:#fff » des fiches rendait les boutons blanc sur blanc en sombre */
html:has(link[href*="zb-defi"]),html:has(link[href*="zb-defi"]) body{--carte:#FFFFFF!important;--fond:#F6F6F7;--sel:#FFECEC}
@media (prefers-color-scheme:dark){html:has(link[href*="zb-defi"]),html:has(link[href*="zb-defi"]) body{--carte:#29292E!important;--fond:#141416!important;--ligne:#3E3E46!important;--sel:#4A1A1C!important;--doux:#C4C4CC!important}}
/* audit de contraste démo Airtel (18/11) */
/* pied « propulsé par » : texte clair seulement sur l accueil sombre (.principal), foncé ailleurs (Mon pass…) */
html body:has(.tete):not(:has(.principal)) #op-pied{color:#44444B!important;background:rgba(255,255,255,.94)!important}
/* initiales des élèves sur pastilles colorées (espace prof) : texte foncé lisible */
html body [style*="background:#F06A6A"],html body [style*="background:#F0A04B"],html body [style*="background:#48C774"],html body [style*="background: #F06A6A"],html body [style*="background: #F0A04B"],html body [style*="background: #48C774"]{color:#1C1C1F!important}
/* menu (ordinateur) : état du pass sur l onglet actif rouge */
.pass-m[aria-current] .etat-p,.pass-m[aria-current=page] .etat-p{color:#fff!important}
/* fin de quiz en sombre : titre en rouge éclairci */
:root[data-theme=sombre] .exo-fin{--fd:#FF7A7A!important}
@media (prefers-color-scheme:dark){html:root:not([data-theme=clair]):not([data-theme=light]) .exo-fin{--fd:#FF7A7A!important}}
