/* Tutoriels Zongotik — format vertical 1080×1920 (Reels, TikTok, Shorts, Statut WhatsApp).
   Tout est rangé sous .video : le même lecteur s'intègre au site sans toucher à sa page. */

.video {
  --nuit: #0f2530; --nuit-2: #173342; --indigo: #1f4152; --indigo-3: #2a4b5b;
  --violet: #0b6b80; --lilas: #9ed9e6; --brume: #b4c6cd; --ambre: #f5a524; --menthe: #3dd39b;
  --papier: #eff3f4; --encre: #0f2530; --gris: #5a6e77; --trait: #dce3e6;
  --display: 'Archivo', system-ui, sans-serif;
  --texte: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-family: var(--texte); -webkit-font-smoothing: antialiased; text-align: left; line-height: normal;
}

.video, .video * { box-sizing: border-box; margin: 0; padding: 0; }
a.v-appel { text-decoration: none; }

.video {
  position: relative; width: 1080px; height: 1920px; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 600px at 92% -4%, rgba(245, 165, 36, .26), transparent 62%),
    radial-gradient(800px 640px at -12% 104%, rgba(61, 211, 155, .2), transparent 60%),
    linear-gradient(162deg, var(--nuit-2) 0%, var(--indigo) 50%, var(--indigo-3) 100%);
}
.video::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1.6px, transparent 1.6px); background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 60%);
}

/* ------------------------------------------------------------------ bandeau */

.v-haut { position: absolute; left: 56px; right: 56px; top: 54px; display: grid; gap: 22px; z-index: 5; }
.v-haut__ligne { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.v-marque { display: flex; align-items: center; gap: 16px; height: 54px; }
.v-marque .z-mot { height: 34px; width: auto; }
.v-marque i { width: 54px; height: 54px; display: block; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35)); }
.v-marque i svg { width: 54px; height: 54px; display: block; }
.v-serie { font-size: 24px; font-weight: 700; color: var(--brume); padding: 9px 18px; border-radius: 99px; background: rgba(255, 255, 255, .09); border: 1.5px solid rgba(255, 255, 255, .15); white-space: nowrap; }
.v-progres { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.v-progres span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--ambre), #fbd38a); }

/* ------------------------------------------------------------------ intro & fin */

.v-carte { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center; padding: 0 90px; gap: 34px; z-index: 4; }
.v-numero { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ambre); padding: 12px 26px; border-radius: 99px; border: 2px solid rgba(245, 165, 36, .45); }
.v-titre { font-family: var(--display); font-weight: 800; font-size: 104px; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.v-titre em { font-style: normal; color: var(--ambre); }
.v-sous { font-size: 38px; line-height: 1.35; color: var(--brume); font-weight: 500; text-wrap: balance; }
.v-duree { display: inline-flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 700; color: var(--brume); }
.v-duree svg { width: 34px; height: 34px; }
.v-appel { display: inline-flex; align-items: center; gap: 16px; padding: 30px 50px; border-radius: 28px; background: var(--ambre); color: #0f2530; font-size: 44px; font-weight: 800; box-shadow: 0 30px 50px -20px rgba(245, 165, 36, .85); }
.v-adresse { font-family: var(--mono); font-size: 32px; color: var(--brume); }
.v-qr { width: 300px; height: 300px; padding: 20px; border-radius: 28px; background: #fff; }
.v-qr svg { width: 100%; height: 100%; display: block; }

/* ------------------------------------------------------------------ étapes */

.v-etape { position: absolute; inset: 0; z-index: 3; }
.v-appareil { position: absolute; left: 50%; top: 214px; width: 430px; height: 880px; transform-origin: top center; transform: translateX(-50%) scale(1.46); }
.v-telephone { position: relative; width: 430px; height: 880px; border-radius: 64px; padding: 16px; background: linear-gradient(160deg, #2a4b5b, #0a171e); box-shadow: 0 60px 100px -50px rgba(4, 14, 19, .95), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.v-telephone::before { content: ''; position: absolute; top: 30px; left: 50%; width: 118px; height: 32px; border-radius: 20px; transform: translateX(-50%); background: #081319; z-index: 30; }
.v-ecran { position: relative; width: 100%; height: 100%; border-radius: 50px; overflow: hidden; background: var(--papier); color: var(--encre); font-size: 15px; }

.v-poste { position: absolute; left: 50%; top: 300px; width: 960px; transform: translateX(-50%); }

.v-legende {
  position: absolute; left: 56px; right: 56px; bottom: 70px; min-height: 260px; z-index: 6;
  padding: 36px 42px; border-radius: 40px; display: grid; gap: 14px; align-content: center;
  background: rgba(8, 22, 30, .82); border: 2px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); backdrop-filter: blur(10px);
}
.v-legende small { font-size: 26px; font-weight: 800; color: var(--ambre); letter-spacing: .02em; }
.v-legende p { font-family: var(--display); font-size: 50px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }

/* ------------------------------------------------------------------ doigt & effets */

.v-doigt { position: absolute; left: 0; top: 0; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; z-index: 40; pointer-events: none;
  background: rgba(255, 255, 255, .35); border: 4px solid #fff; box-shadow: 0 10px 30px rgba(4, 14, 19, .45), inset 0 0 0 6px rgba(245, 165, 36, .35); opacity: 0; }
.v-onde { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 6px solid var(--ambre); z-index: 39; pointer-events: none; opacity: 0; }
.v-anneau { position: absolute; z-index: 38; pointer-events: none; border-radius: 22px; border: 6px solid var(--ambre); box-shadow: 0 0 0 10px rgba(245, 165, 36, .25); opacity: 0; }

.caret::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: currentColor; }

/* ==========================================================================
   Écrans du panneau Zongotik (mobile)
   ========================================================================== */

.zp { position: absolute; inset: 0; background: #eff3f4; color: #33464f; font-size: 15px; }
.zp__nav { height: 104px; padding: 56px 16px 0; display: flex; align-items: center; gap: 12px; background: #fff; border-bottom: 1px solid var(--trait); }
.zp__nav b { font-family: var(--display); font-size: 21px; color: #0f2530; letter-spacing: -.02em; flex: 1; }
.zp__burger { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #eff3f4; color: #0f2530; }
.zp__burger svg, .zp__avatar svg { width: 20px; height: 20px; }
.zp__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f5a524; color: #0f2530; font-weight: 800; }
.zp__corps { padding: 16px; display: grid; gap: 12px; align-content: start; }
.zp__titre { font-family: var(--display); font-weight: 800; font-size: 25px; color: #0f2530; letter-spacing: -.02em; }
.zp__aide { font-size: 13px; color: #5a6e77; }
.zp-carte { background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.zp-carte h4 { font-size: 15px; color: #0f2530; }
.zp-solde { display: flex; align-items: center; gap: 12px; }
.zp-solde i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }
.zp-solde b { display: block; font-family: var(--display); font-size: 27px; color: #0f2530; letter-spacing: -.02em; line-height: 1.1; }
.zp-solde small { font-size: 12.5px; color: #5a6e77; }
.zp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 11px; background: #f5a524; color: #0f2530; font-weight: 800; font-size: 15px; box-shadow: 0 10px 18px -10px rgba(15, 37, 48, .8); }
.zp-btn--ligne { background: #fff; color: #0f2530; border: 1.5px solid #c5d1d6; box-shadow: none; }
.zp-btn--gris { background: #fff; color: #33464f; border: 1px solid #c5d1d6; box-shadow: none; }
.zp-btn svg { width: 17px; height: 17px; }
.zp-champ { display: grid; gap: 5px; }
.zp-champ label { font-size: 13px; font-weight: 600; color: #0f2530; }
.zp-input { min-height: 42px; padding: 11px 12px; border-radius: 10px; border: 1px solid #c5d1d6; background: #fff; color: #0f2530; font-size: 15px; display: flex; align-items: center; }
.zp-input:empty::before, .hs-input:empty::before { content: attr(data-ph); color: #8fa6b0; }
.zp-input.focus, .hs-input.focus { border-color: #e8940c; box-shadow: 0 0 0 3px rgba(245, 165, 36, .35); }
.zp-select { justify-content: space-between; }
.zp-select::after { content: '⌄'; color: #5a6e77; font-size: 18px; margin-top: -8px; }
.zp-groupe { display: flex; } .zp-groupe .zp-input { flex: 1; border-radius: 10px 0 0 10px; } .zp-groupe span { display: flex; align-items: center; padding: 0 10px; border: 1px solid #c5d1d6; border-left: 0; border-radius: 0 10px 10px 0; background: #eff3f4; font-size: 13px; color: #5a6e77; }
.zp-bienvenue { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fdf1da; color: #6b4000; font-size: 13.5px; }
.zp-bienvenue b { font-family: var(--display); font-size: 30px; color: #8a5300; letter-spacing: -.03em; line-height: 1; }
.zp-modal-fond { position: absolute; inset: 0; background: rgba(15, 37, 48, .5); z-index: 10; }
.zp-modal { position: absolute; left: 10px; right: 10px; top: 116px; z-index: 11; background: #fff; border-radius: 18px; padding: 16px; display: grid; gap: 12px; box-shadow: 0 30px 60px -20px rgba(6, 19, 26, .5); }
.zp-modal h3 { font-family: var(--display); font-size: 20px; color: #0f2530; letter-spacing: -.02em; display: flex; justify-content: space-between; }
.zp-modal h3::after { content: '×'; color: #5a6e77; font-weight: 400; }
.zp-etapes { display: flex; gap: 8px; font-size: 12.5px; font-weight: 700; color: #5a6e77; }
.zp-etapes span { display: inline-flex; align-items: center; gap: 6px; }
.zp-etapes span::before { content: attr(data-n); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #dce3e6; color: #5a6e77; font-size: 11px; }
.zp-etapes span.actif { color: #0f2530; } .zp-etapes span.actif::before { background: #f5a524; color: #0f2530; }
.zp-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zp-choix div { border: 1.5px solid #c5d1d6; border-radius: 12px; padding: 10px; display: grid; gap: 3px; }
.zp-choix div b { color: #0f2530; font-size: 14px; } .zp-choix div small { font-size: 11.5px; color: #5a6e77; line-height: 1.3; }
.zp-choix div.actif, .zp-paliers span.actif { border-color: #f5a524; background: #fdf1da; box-shadow: 0 0 0 3px rgba(245, 165, 36, .15); }
.zp-paliers { display: flex; flex-wrap: wrap; gap: 6px; }
.zp-paliers span { padding: 6px 10px; border-radius: 8px; border: 1.5px solid #c5d1d6; font-weight: 700; font-size: 13px; color: #0f2530; }
.zp-script { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: #d6e2e6; background: #0b1a21; border-radius: 12px; padding: 12px; word-break: break-all; }
.zp-alerte { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.zp-alerte--info { background: #e6effb; color: #2f6fce; } .zp-alerte--ok { background: #ddf3ea; color: #147a55; }
.zp-rond { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; flex: none; }
.zp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: #ddf3ea; color: #147a55; }
.zp-badge--gris { background: #e9eef0; color: #5a6e77; }
.zp-ligne { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.zp-menu { position: absolute; top: 0; bottom: 0; left: 0; width: 290px; z-index: 12; background: #0f2530; padding: 60px 14px 14px; display: grid; gap: 4px; align-content: start; box-shadow: 20px 0 50px rgba(6, 19, 26, .25); }
.zp-menu b { font-family: var(--display); font-size: 22px; color: #0f2530; padding: 8px 10px 16px; }
.zp-menu span { padding: 11px 12px; border-radius: 10px; font-weight: 600; color: #b4c6cd; font-size: 15px; }
.zp-menu span.actif { background: rgba(245, 165, 36, .14); color: #fff; box-shadow: inset 3px 0 0 #f5a524; }
.zp-menu span.actif svg { color: #f5a524; }
.zp-toast { position: absolute; left: 14px; right: 14px; top: 116px; z-index: 20; padding: 12px 14px; border-radius: 14px; background: #147a55; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .4); }

/* Winbox : le terminal du routeur */
.wb { position: absolute; inset: 0; background: #1a1a1a; color: #d7d7d7; font-family: var(--mono); font-size: 12px; }
.wb__barre { height: 104px; padding: 58px 14px 0; background: #2d2d30; color: #eee; font-family: var(--texte); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.wb__corps { padding: 12px 12px; display: grid; gap: 6px; line-height: 1.55; }
.wb__corps .p { color: #6fd08a; }
.wb__corps .ok { color: #8fe0a8; }

/* ==========================================================================
   Écrans de Mikhmon Lite / Pro (mobile)
   ========================================================================== */

.mk { position: absolute; inset: 0; background: #eff3f4; color: #0f2530; font-size: 15px; }
.mk__nav { height: 104px; padding: 56px 16px 0; display: flex; align-items: center; gap: 10px; background: rgba(246, 246, 243, .95); border-bottom: 1px solid #dce3e6; }
.mk__nav b { flex: 1; font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
.mk__corps { padding: 14px 14px 90px; display: grid; gap: 12px; align-content: start; }
.mk__titre { font-size: 22px; font-weight: 650; letter-spacing: -.012em; }
.mk__aide { font-size: 13px; color: #33464f; }
.mk-carte { background: #fff; border: 1px solid #dce3e6; border-radius: 14px; padding: 13px; display: grid; gap: 7px; }
.mk-carte h4 { font-size: 14.5px; font-weight: 650; }
.mk-stat small { font-size: 12.5px; color: #33464f; font-weight: 500; } .mk-stat b { font-size: 24px; font-weight: 650; letter-spacing: -.025em; } .mk-stat span { font-size: 12px; color: #5a6e77; }
.mk-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-btn { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; border-radius: 9px; border: 1px solid #dce3e6; background: #fff; font-weight: 550; font-size: 14px; }
.mk-btn--primaire { background: #f5a524; border-color: #f5a524; color: #0f2530; }
.mk-btn--wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.mk-btn svg { width: 16px; height: 16px; }
.hs-input { min-height: 40px; padding: 10px 12px; border-radius: 9px; border: 1px solid #c5d1d6; background: #fff; font-size: 14.5px; display: flex; align-items: center; }
.mk-label { font-size: 13px; font-weight: 550; }
.mk-champ { display: grid; gap: 5px; }
.mk-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-choix div { border: 1px solid #c5d1d6; border-radius: 11px; padding: 10px; display: grid; gap: 2px; background: #fff; }
.mk-choix div b { font-size: 14px; } .mk-choix div strong { font-size: 17px; letter-spacing: -.02em; } .mk-choix div small { font-size: 12px; color: #33464f; }
.mk-choix div.actif, .mk-seg span.actif { border-color: #f5a524; background: #fdf1da; box-shadow: 0 0 0 3px rgba(245, 165, 36, .16); }
.mk-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: #e9eef0; border: 1px solid #dce3e6; }
.mk-seg span { padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 550; color: #33464f; border: 1px solid transparent; }
.mk-seg span.blanc { background: #fff; color: #0f2530; }
.mk-barre { height: 8px; border-radius: 99px; background: #e9eef0; overflow: hidden; } .mk-barre span { display: block; height: 100%; width: 0; background: #f5a524; border-radius: 99px; }
.mk-tab { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; padding: 8px 6px 18px; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .95); border-top: 1px solid #dce3e6; z-index: 5; }
.mk-tab span { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 550; color: #5a6e77; }
.mk-tab span svg { width: 20px; height: 20px; } .mk-tab span.actif { color: #8a5300; }
.mk-tiroir { position: absolute; left: 0; right: 0; bottom: 0; top: 150px; z-index: 11; background: #fff; border-radius: 22px 22px 0 0; padding: 16px; display: grid; gap: 11px; align-content: start; box-shadow: 0 -20px 50px rgba(6, 19, 26, .25); }
.mk-tiroir h3 { font-size: 17px; font-weight: 650; }
.mk-voile { position: absolute; inset: 0; z-index: 10; background: rgba(15, 14, 20, .38); }
.mk-toast { position: absolute; left: 14px; right: 14px; bottom: 90px; z-index: 20; padding: 12px 14px; border-radius: 12px; background: #0f2530; color: #eff3f4; font-size: 14px; font-weight: 600; }
.mk-interrupteur { width: 34px; height: 20px; border-radius: 99px; background: #c5d1d6; position: relative; flex: none; }
.mk-interrupteur::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.mk-interrupteur.actif { background: #f5a524; } .mk-interrupteur.actif::after { left: 16px; }
.mk-ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; padding: 9px 0; border-top: 1px solid #e9eef0; }
.mk-ligne:first-child { border-top: 0; }
.mk-code { font-family: var(--mono); font-size: 13px; background: #e9eef0; padding: 2px 7px; border-radius: 6px; }
.mk-badge { display: inline-flex; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 550; background: #ddf3ea; color: #147a55; }
.mk-badge--violet { background: #fdf1da; color: #8a5300; }
.mk-barres { display: flex; align-items: flex-end; gap: 5px; height: 90px; }
.mk-barres i { flex: 1; border-radius: 4px 4px 2px 2px; background: #f5a524; }

/* Charte « Zango » : la voix élargie d'Archivo pour les titres. */
.video .v-titre, .video .v-legende p, .video .v-numero, .video .zp__titre, .video .zp-modal h3, .video .v-appel { font-stretch: 112%; }
