/* Tutoriel d'installation animé (tuto.js) : il s'ouvre dès le clic sur un téléchargement Mac ou Windows et montre,
   sur un faux écran, les gestes qui autorisent Syllo à s'ouvrir. Thème sombre imposé : c'est une alerte, pas une page. */

.tuto {
  --t-bg: #0b0b0e; --t-card: #141418; --t-line: rgb(255 255 255 / 0.09); --t-text: #f4f4f5; --t-muted: #a1a1aa;
  --t-warn: #ffb020; --t-warn-ink: #1a1200; --t-ok: #34d399; --t-blue: #0a84ff; --t-ring: #ffd166;
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px;
  background: rgb(5 5 8 / 0.82); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
  color: var(--t-text); font-family: var(--font, "Inter Variable", -apple-system, "Segoe UI", system-ui, sans-serif);
  animation: tuto-in 0.35s var(--ease, ease) both;
}
.tuto[hidden] { display: none; }
@keyframes tuto-in { from { opacity: 0; } }
.tuto-card {
  width: min(1180px, 100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 20px; background: var(--t-card);
  box-shadow: 0 0 0 1px var(--t-line), 0 50px 120px -30px rgb(0 0 0 / 0.8), 0 0 0 6px rgb(255 176 32 / 0.08);
  display: flex; flex-direction: column; animation: tuto-pop 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.05) both;
}
@keyframes tuto-pop { from { transform: translateY(18px) scale(0.98); opacity: 0; } }

.tuto-head { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px 16px; border-bottom: 1px solid var(--t-line); }
.tuto-alert {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--t-warn-ink);
  background: var(--t-warn); box-shadow: 0 0 0 0 rgb(255 176 32 / 0.6); animation: tuto-pulse 1.8s ease-out infinite;
}
@keyframes tuto-pulse { 70% { box-shadow: 0 0 0 16px rgb(255 176 32 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 176 32 / 0); } }
.tuto-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-warn); }
.tuto-title { margin: 0; font-size: clamp(19px, 2.4vw, 25px); line-height: 1.2; font-weight: 720; letter-spacing: -0.01em; text-wrap: balance; }
.tuto-lead { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--t-muted); max-width: 70ch; }
.tuto-lead strong { color: var(--t-text); }
.tuto-dl { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px;
  font-size: 12.5px; color: var(--t-muted); background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px var(--t-line); white-space: nowrap; }
.tuto-dl i { width: 8px; height: 8px; border-radius: 50%; background: var(--t-ok); animation: tuto-blink 1.2s ease-in-out infinite; }
@keyframes tuto-blink { 50% { opacity: 0.25; } }

.tuto-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; }
.tuto-screen { position: relative; padding: 18px; background: radial-gradient(120% 90% at 50% 0%, #1d1d24 0%, #0e0e12 70%); border-right: 1px solid var(--t-line); }
/* Le faux écran rapetisse sur un écran bas pour que tout tienne sans défiler (titre, écran, légende, bouton). */
.tuto-frame { position: relative; width: min(100%, calc((100vh - 400px) * 1.6)); min-width: min(100%, 420px); margin: 0 auto; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 30px 60px -20px rgb(0 0 0 / 0.9); }
.tuto-stage { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform-origin: 0 0; overflow: hidden; user-select: none; }
.tuto-caption {
  display: flex; align-items: center; gap: 12px; width: min(100%, calc((100vh - 400px) * 1.6)); min-width: min(100%, 420px); margin: 12px auto 0; min-height: 52px; padding: 10px 16px 10px 12px; box-sizing: border-box; border-radius: 14px;
  font-size: 16px; font-weight: 650; line-height: 1.3; color: #fff; background: rgb(255 176 32 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 176 32 / 0.4);
  transition: opacity 0.2s, transform 0.3s var(--ease, ease);
}
.tuto-caption b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 13px; color: var(--t-warn-ink); background: var(--t-warn); }
.tuto-caption.swap { opacity: 0; transform: translateY(6px); }

.tuto-side { display: flex; flex-direction: column; padding: 16px 16px 14px; gap: 6px; }
.tuto-tabs { display: flex; gap: 4px; padding: 3px; margin-bottom: 8px; border-radius: 10px; background: rgb(255 255 255 / 0.05); }
.tuto-tabs button { flex: 1; height: 30px; border: 0; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; color: var(--t-muted); background: transparent; cursor: pointer; }
.tuto-tabs button[aria-pressed="true"] { color: var(--t-text); background: rgb(255 255 255 / 0.1); }
.tuto-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tuto-step { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 12px; cursor: pointer;
  color: var(--t-muted); transition: background 0.2s, color 0.2s; overflow: hidden; }
.tuto-step:hover { background: rgb(255 255 255 / 0.04); }
.tuto-step .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 12.5px; font-weight: 700; background: rgb(255 255 255 / 0.07); color: var(--t-muted); }
.tuto-step .t { font-size: 13.5px; line-height: 1.35; padding-top: 4px; }
.tuto-step .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--t-warn); }
.tuto-step.seen .n { background: rgb(52 211 153 / 0.16); color: var(--t-ok); }
.tuto-step.now { color: var(--t-text); background: rgb(255 176 32 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 176 32 / 0.35); }
.tuto-step.now .n { background: var(--t-warn); color: var(--t-warn-ink); }
.tuto-ctrl { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; }
.tuto-ctrl button { height: 32px; min-width: 36px; padding: 0 10px; border: 0; border-radius: 9px; font: inherit; font-size: 13px; color: var(--t-text);
  background: rgb(255 255 255 / 0.07); cursor: pointer; }
.tuto-ctrl button:hover { background: rgb(255 255 255 / 0.12); }

.tuto-foot { display: flex; align-items: center; gap: 14px; padding: 14px 26px 18px; border-top: 1px solid var(--t-line); }
.tuto-foot p { margin: 0; font-size: 13px; color: var(--t-muted); line-height: 1.45; }
.tuto-done { margin-left: auto; flex: none; height: 44px; padding: 0 20px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer;
  color: #0b0b0d; background: linear-gradient(180deg, #ffffff 0%, #d5d8de 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6); transition: opacity 0.2s, transform 0.15s; }
.tuto-done:disabled { cursor: not-allowed; opacity: 0.45; }
.tuto-done:not(:disabled):hover { transform: translateY(-1px); }
.tuto-done:not(:disabled) { animation: tuto-ready 0.5s ease both; }
@keyframes tuto-ready { from { transform: scale(0.96); } }

.tuto-again { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border: 0; border-radius: 99px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--t-warn-ink, #1a1200); background: #ffb020; cursor: pointer; box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.4); }
.tuto-again[hidden] { display: none; }

@media (max-width: 860px) {
  .tuto-body { grid-template-columns: 1fr; }
  .tuto-screen { border-right: 0; border-bottom: 1px solid var(--t-line); padding: 10px; }
  .tuto-dl { display: none; }
  .tuto-foot { flex-wrap: wrap; }
  .tuto-done { width: 100%; }
}

/* ===================== Faux écran : éléments communs ===================== */
.tuto-stage .x { position: absolute; opacity: 0; transform: scale(0.96); pointer-events: none; transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1.05); }
.tuto-stage .x.on { opacity: 1; transform: none; }
.tuto-stage .pressed { filter: brightness(0.85); transform: scale(0.97) !important; }
.tuto-stage .glow { animation: tuto-glow 1.1s ease-in-out infinite; }
@keyframes tuto-glow { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 209 102 / 0.9), 0 0 0 0 rgb(255 209 102 / 0); } 50% { box-shadow: 0 0 0 4px rgb(255 209 102 / 0.95), 0 0 24px 6px rgb(255 209 102 / 0.45); } }
.tuto-cursor { position: absolute; left: 0; top: 0; z-index: 40; width: 22px; height: 30px; pointer-events: none; transition-property: transform; transition-timing-function: cubic-bezier(0.45, 0, 0.2, 1); filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.45)); }
.tuto-ripple { position: absolute; z-index: 39; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none;
  border: 3px solid rgb(255 209 102 / 0.95); animation: tuto-ripple 0.6s ease-out forwards; }
@keyframes tuto-ripple { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
/* Bouton à éviter : grisé, avec une petite croix rouge. Pas de cadre (un cadre attire le clic). */
.tuto-stage i.tuto-no[hidden] { display: none; }
.tuto-stage i.tuto-no { display: grid; place-items: center; position: absolute; right: -8px; top: -8px; width: 20px; height: 20px; border-radius: 50%; pointer-events: none;
  background: #ff453a; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgb(0 0 0 / 0.35); z-index: 3; }
.tuto-stage i.tuto-no::after { content: "✕"; color: #fff; font: 800 11px/1 system-ui, sans-serif; font-style: normal; }
.tuto-stage :is(button, span):has(> i.tuto-no:not([hidden])) { opacity: 0.45; filter: grayscale(0.6); }
/* Endroit où cliquer : cadre vert qui pulse, avec « Clique ici ». */
.tuto-target { position: absolute; z-index: 38; pointer-events: none; border: 3px solid #30d158; border-radius: 10px; opacity: 0;
  box-shadow: 0 0 0 4px rgb(48 209 88 / 0.22), 0 0 22px rgb(48 209 88 / 0.55); transition: opacity 0.2s, left 0.25s, top 0.25s, width 0.25s, height 0.25s; }
.tuto-target.on { opacity: 1; animation: tuto-target 1.1s ease-in-out infinite; }
@keyframes tuto-target { 50% { box-shadow: 0 0 0 7px rgb(48 209 88 / 0.3), 0 0 30px rgb(48 209 88 / 0.7); } }
/* L'étiquette se place à DROITE du cadre : au-dessus, elle tomberait sur le bouton voisin, souvent celui à éviter. */
.tuto-target::after { content: "◀ " attr(data-label); position: absolute; left: 100%; top: 50%; transform: translate(10px, -50%); padding: 3px 9px; border-radius: 7px;
  font: 800 12px/1.2 system-ui, sans-serif; color: #052e14; background: #30d158; white-space: nowrap; box-shadow: 0 4px 10px rgb(0 0 0 / 0.3); }
.tuto-target[data-side="below"]::after { content: "▲ " attr(data-label); left: 50%; top: 100%; transform: translate(-50%, 8px); }
.tuto-target[data-side="above"]::after { content: "▼ " attr(data-label); left: 50%; top: auto; bottom: 100%; transform: translate(-50%, -8px); }

/* ===================== macOS (relevé sur macOS 15, captures du 22 novembre 2026) ===================== */
.mac { position: absolute; inset: 0; font-family: -apple-system, "SF Pro Text", "Inter Variable", "Helvetica Neue", sans-serif; color: #1d1d1f; font-size: 13px;
  background: radial-gradient(90% 80% at 15% 20%, #4f6fd8 0%, transparent 60%), radial-gradient(80% 70% at 85% 25%, #c45ac8 0%, transparent 55%),
    radial-gradient(90% 80% at 60% 95%, #f08a5d 0%, transparent 60%), linear-gradient(160deg, #1f2a6b, #4a1d5a 55%, #7a2b3a); }
.mac-bar { position: absolute; left: 0; right: 0; top: 0; height: 24px; display: flex; align-items: center; gap: 15px; padding: 0 12px; font-size: 13px; color: #fff;
  background: rgb(30 30 40 / 0.35); backdrop-filter: blur(20px); z-index: 20; }
.mac-bar .apple { width: 14px; height: 16px; fill: #fff; border-radius: 4px; padding: 1px 4px; box-sizing: content-box; }
.mac-bar .apple.open { background: rgb(255 255 255 / 0.25); }
.mac-bar b { font-weight: 700; }
.mac-bar .r { margin-left: auto; opacity: 0.95; }
.mac-menu { left: 6px; top: 26px; width: 250px; padding: 5px; border-radius: 10px; z-index: 25; background: rgb(236 236 240 / 0.88); backdrop-filter: blur(30px);
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.25), 0 12px 32px rgb(0 0 0 / 0.35); transform-origin: top left; font-size: 12.5px; }
.mac-menu div { display: flex; padding: 3px 10px; border-radius: 5px; }
.mac-menu .k { margin-left: auto; color: #8a8a90; font-size: 11px; }
.mac-menu hr { border: 0; height: 1px; margin: 4px 8px; background: rgb(0 0 0 / 0.1); }
.mac-menu .hl { background: #0a6cff; color: #fff; }
.mac-dock { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 8px; padding: 7px 9px; border-radius: 20px; z-index: 18;
  background: rgb(255 255 255 / 0.22); backdrop-filter: blur(24px); box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.4), 0 10px 30px rgb(0 0 0 / 0.25); }
.mac-dock > span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; box-shadow: 0 2px 6px rgb(0 0 0 / 0.25); }
.mac-dock .sep { width: 1px; height: 46px; border-radius: 0; background: rgb(255 255 255 / 0.4); box-shadow: none; }
.dk-finder { background: linear-gradient(90deg, #6ec6ff 50%, #2f8bff 50%); }
.dk-safari { background: radial-gradient(circle, #fff 30%, #3aa0ff 31%, #1f6fe0); }
.dk-set { background: radial-gradient(circle, #bfc4cc 35%, #6e737b 70%); }
.dk-dl { background: linear-gradient(180deg, #74b9ff, #2f80ed); color: #fff; font-weight: 700; }
.mac-dock .dk-syllo { background: transparent; box-shadow: none; }
.mac-dock .dk-syllo .mac-appicon { width: 50px; height: 50px; }
.mac-badge { position: absolute; right: -4px; top: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: #ff3b30; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; font-style: normal; }
.mac-stack { left: 520px; top: 340px; width: 260px; padding: 10px; border-radius: 14px; z-index: 19; background: rgb(240 240 244 / 0.9); backdrop-filter: blur(30px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.35); transform-origin: bottom center; }
.mac-stack .item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; }
.mac-dmgicon { width: 34px; height: 40px; border-radius: 5px; background: linear-gradient(180deg, #e8e8ec, #c9c9d0); display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #555; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1); }
.mac-win { border-radius: 12px; overflow: hidden; background: #f5f5f7; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.3), 0 22px 60px rgb(0 0 0 / 0.45); z-index: 10; }
.mac-title { height: 30px; display: flex; align-items: center; padding: 0 12px; gap: 7px; font-weight: 600; font-size: 12.5px; color: #3a3a3c; background: #e9e9ec; border-bottom: 1px solid rgb(0 0 0 / 0.08); }
.mac-title i, .mac-side .tl i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mac-title i:nth-child(2), .mac-side .tl i:nth-child(2) { background: #febc2e; } .mac-title i:nth-child(3), .mac-side .tl i:nth-child(3) { background: #28c840; }
.mac-title span { flex: 1; text-align: center; margin-right: 50px; }
.mac-dmg { left: 230px; top: 92px; width: 500px; height: 300px; }
.mac-dmg .in { position: relative; height: 270px; display: flex; align-items: center; justify-content: space-around; background: linear-gradient(180deg, #fdfdfd, #eef0f4); }
.mac-app { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; transition: transform 1.1s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s; }
img.mac-appicon { display: block; width: 92px; height: 92px; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.3)); }
.mac-folder { width: 96px; height: 78px; border-radius: 10px; position: relative; background: linear-gradient(180deg, #7cc4ff, #3d9cf0); box-shadow: inset 0 -6px 0 rgb(0 0 0 / 0.08), 0 6px 14px rgb(0 0 0 / 0.2); display: grid; place-items: center; color: #fff; font-size: 26px; }
.mac-folder::before { content: ""; position: absolute; left: 6px; top: -9px; width: 38px; height: 14px; border-radius: 6px 6px 0 0; background: #6bb8f7; }
.mac-folder.drop { box-shadow: 0 0 0 4px #ffd166, 0 6px 14px rgb(0 0 0 / 0.2); }
.mac-arrow { font-size: 40px; color: #9a9aa2; }
.mac-copy { left: 330px; top: 410px; width: 300px; padding: 12px 14px; border-radius: 12px; z-index: 12; background: rgb(245 245 247 / 0.96); box-shadow: 0 14px 40px rgb(0 0 0 / 0.35); font-size: 12px; }
.mac-copy .p { height: 6px; margin-top: 8px; border-radius: 3px; background: #d8d8de; overflow: hidden; }
.mac-copy .p i { display: block; height: 100%; width: 0; background: #0a84ff; transition: width 1.6s linear; }
.mac-copy.go .p i { width: 100%; }

/* Alertes : icône grise de sécurité, bouton bleu par défaut… qui est la corbeille. */
.mac-alert { width: 262px; padding: 18px 16px 14px; border-radius: 16px; text-align: center; z-index: 30; background: rgb(232 230 232 / 0.97); backdrop-filter: blur(30px);
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.25), 0 30px 70px rgb(0 0 0 / 0.5); }
.mac-alert .q { position: absolute; right: 12px; top: 12px; }
.mac-alert .ic { width: 60px; height: 60px; margin: 0 auto 8px; }
.mac-alert .gk { width: 60px; height: 60px; }
.mac-alert h4 { margin: 0 0 7px; font-size: 13.5px; font-weight: 700; }
.mac-alert p { margin: 0 0 10px; font-size: 11px; line-height: 1.38; color: #2c2c2e; }
.q { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #555; background: #fff; box-shadow: 0 0.5px 1px rgb(0 0 0 / 0.25); }
.mac-btn { position: relative; display: block; width: 100%; height: 26px; margin-top: 6px; border-radius: 7px; border: 0; font: inherit; font-size: 12.5px; font-weight: 500; color: #1d1d1f;
  background: #dedde1; box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.08); transition: transform 0.12s, filter 0.12s; }
.mac-btn.def { color: #fff; background: linear-gradient(180deg, #3d95ff, #0a6cff); }
.mac-btn.small { display: inline-block; width: auto; height: 22px; margin: 0 0 0 auto; padding: 0 10px; font-size: 12px; background: #fff; box-shadow: 0 0.5px 1px rgb(0 0 0 / 0.2), inset 0 0 0 0.5px rgb(0 0 0 / 0.12); }
.mac-gk { left: 349px; top: 130px; }
.mac-confirm { left: 500px; top: 120px; }
.mac-pass { left: 500px; top: 110px; text-align: center; }
.mac-pass p { margin-bottom: 8px; }
.mac-field { position: relative; height: 24px; margin: 6px 0; border-radius: 6px; text-align: left; padding: 0 8px; display: flex; align-items: center; background: #f6f6f8; box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.2); font-size: 12px; }
.mac-field.focus { box-shadow: 0 0 0 3px rgb(10 132 255 / 0.45), inset 0 0 0 1px #0a84ff; letter-spacing: 2px; }
.mac-field .ph { position: absolute; left: 10px; color: #a0a0a6; letter-spacing: 0; }
.mac-field .caret { width: 1px; height: 14px; background: #1d1d1f; margin-left: 1px; animation: tuto-blink 1s step-end infinite; }
.mac-pass .row { display: flex; gap: 8px; margin-top: 10px; } .mac-pass .row .mac-btn { margin: 0; }

/* Réglages Système : colonne de gauche qui défile, page « Général » puis « Confidentialité et sécurité ». */
.mac-set { left: 120px; top: 44px; width: 720px; height: 460px; background: #f2f2f4; }
.mac-set .cols { display: grid; grid-template-columns: 220px 1fr; height: 100%; }
.mac-side { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 10px 8px 0; background: rgb(232 232 236 / 0.92); border-right: 1px solid rgb(0 0 0 / 0.07); }
.mac-side .tl { display: flex; gap: 7px; padding: 2px 4px 10px; }
.mac-side .search { height: 24px; margin: 0 2px 8px; border-radius: 7px; padding: 0 8px; display: flex; align-items: center; color: #9a9aa0; font-size: 12px; background: rgb(0 0 0 / 0.06); }
.mac-side-clip { flex: 1; min-height: 0; overflow: hidden; }
.mac-side-scroll { transition: transform 1.1s cubic-bezier(0.45, 0, 0.2, 1); }
.mac-side-scroll > div { display: flex; align-items: center; gap: 8px; padding: 3.5px 8px; border-radius: 6px; font-size: 12px; }
.mac-side-scroll > div > i { width: 17px; height: 17px; border-radius: 5px; flex: none; }
.mac-side-scroll hr { border: 0; height: 6px; margin: 0; }
.mac-side-scroll .sel { background: #0a6cff; color: #fff; }
.mac-side-scroll .acct { padding: 6px 8px 8px; }
.mac-side-scroll .acct > i { width: 28px; height: 28px; border-radius: 50%; background: #c7c7cc; }
.mac-side-scroll .acct span { display: flex; flex-direction: column; line-height: 1.2; }
.mac-side-scroll .acct small { font-size: 10.5px; color: #6e6e73; }
.mac-pane { position: relative; overflow: hidden; background: #f2f2f4; }
.mac-tool { position: relative; z-index: 2; height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 13px; color: #8a8a90; background: #f2f2f4; }
.mac-tool b { color: #1d1d1f; font-size: 13.5px; }
.mac-general { padding: 4px 22px; text-align: center; }
.mac-general .gear { width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 13px; display: grid; place-items: center; font-size: 34px; color: #fff; background: linear-gradient(180deg, #a3a3aa, #6e6e75); }
.mac-general h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.mac-general p { margin: 0 0 14px; font-size: 11.5px; line-height: 1.4; color: #4a4a4f; }
.mac-general .mac-group { text-align: left; }
.mac-scroll { padding: 2px 18px 20px; transition: transform 1.4s cubic-bezier(0.45, 0, 0.2, 1); }
.mac-group { margin-bottom: 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.08); }
.mac-group > div { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-top: 1px solid rgb(0 0 0 / 0.06); font-size: 12px; }
.mac-group > div:first-child { border-top: 0; }
.mac-group > div > i { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.mac-group > div > span:not(.chev):not(.pop) { display: flex; flex-direction: column; line-height: 1.25; }
.mac-group small { font-size: 10.5px; color: #8a8a90; }
.mac-group .chev, .mac-group .pop { margin-left: auto; color: #8a8a90; white-space: nowrap; }
.mac-group .pop { color: #1d1d1f; }
.mac-group .privacy-head small { color: #4a4a4f; }
.mac-sec-title { margin: 14px 0 8px; font-size: 13px; font-weight: 700; }
.mac-group .mac-blocked { display: block; }
.mac-blocked .line { display: flex; align-items: center; gap: 10px; }
.mac-blocked small { display: block; margin-top: 5px; line-height: 1.35; }
.mac-adv { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 12px; }
.mac-adv span:first-child { padding: 3px 10px; border-radius: 6px; background: #fff; box-shadow: 0 0.5px 1px rgb(0 0 0 / 0.2); }

.mac-kc { left: 330px; top: 150px; width: 440px; display: flex; gap: 14px; padding: 18px 18px 14px; border-radius: 12px; z-index: 30; text-align: left;
  background: rgb(232 230 232 / 0.97); backdrop-filter: blur(30px); box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.25), 0 30px 70px rgb(0 0 0 / 0.5); }
.mac-kc .kc-ic { position: relative; flex: none; width: 60px; height: 60px; }
.mac-kc .kc-badge { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; }
.mac-kc b { display: block; font-size: 12.5px; line-height: 1.35; }
.mac-kc p { margin: 8px 0 10px; font-size: 11.5px; color: #2c2c2e; }
.mac-kc .kc-pw { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mac-kc .kc-pw .mac-field { flex: 1; margin: 0; }
.mac-kc .kc-btns { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.mac-kc .kc-btns .q { margin-right: auto; }
.mac-kc .kc-btns .mac-btn { width: auto; margin: 0; padding: 0 12px; }
/* Fenêtre de Syllo telle qu'elle s'ouvre (thème sombre) : documents à gauche, page du PDF au milieu. */
.mac-syllo { left: 130px; top: 50px; width: 700px; height: 430px; z-index: 10; display: grid; grid-template-columns: 170px 1fr; border-radius: 12px; overflow: hidden;
  background: #0b0b0d; color: #e4e4e7; box-shadow: 0 0 0 0.5px rgb(255 255 255 / 0.15), 0 22px 60px rgb(0 0 0 / 0.55); }
.sy-side { padding: 10px 10px; background: #111114; border-right: 1px solid rgb(255 255 255 / 0.06); font-size: 11px; }
.sy-side .tl { display: flex; gap: 6px; margin-bottom: 10px; } .sy-side .tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.sy-side .tl i:nth-child(2) { background: #febc2e; } .sy-side .tl i:nth-child(3) { background: #28c840; }
.sy-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; } .sy-brand img.mac-appicon { width: 22px; height: 22px; filter: none; }
.sy-brand em { font: italic 600 16px Georgia, serif; color: #fff; }
.sy-open { padding: 6px 8px; margin-bottom: 12px; border-radius: 7px; background: rgb(255 255 255 / 0.06); }
.sy-h { margin: 0 0 6px 4px; font-size: 10px; color: #8a8a93; }
.sy-doc { padding: 5px 8px; border-radius: 6px; color: #b4b4bc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sy-doc.on { background: rgb(255 255 255 / 0.08); color: #fff; }
.sy-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.sy-top { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 11.5px; color: #e4e4e7; border-bottom: 1px solid rgb(255 255 255 / 0.06); }
.sy-top span { color: #8a8a93; }
.sy-page { flex: 1; margin: 14px 40px 0; padding: 24px 28px; background: #18181b; display: flex; flex-direction: column; gap: 9px; }
.sy-page i { display: block; height: 6px; border-radius: 3px; background: #d4d4d8; opacity: 0.75; }
.sy-page i.s { width: 62%; } .sy-page b { display: block; width: 46%; height: 10px; margin: 6px auto; border-radius: 3px; background: #a1a1aa; }
.sy-ok { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
.mac-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 12px; border-radius: 99px; color: #0a7a4b; background: #d8f5e7; font-weight: 650; font-size: 12.5px; }

/* ===================== Windows 11 ===================== */
.win { position: absolute; inset: 0; font-family: "Segoe UI Variable", "Segoe UI", "Inter Variable", system-ui, sans-serif; color: #1b1b1b; font-size: 13px;
  background: radial-gradient(60% 70% at 50% 60%, #9ec5ff 0%, transparent 60%), radial-gradient(45% 55% at 50% 55%, #2d6ff0 0%, transparent 70%), linear-gradient(180deg, #0b2a6b, #11307c 55%, #0a1d4a); }
.win-task { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; justify-content: center; align-items: center; gap: 6px; z-index: 18;
  background: rgb(32 32 40 / 0.72); backdrop-filter: blur(24px); }
.win-task span { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; font-size: 17px; }
.win-task .act { background: rgb(255 255 255 / 0.12); }
.win-task .time { position: absolute; right: 22px; white-space: nowrap; font-size: 11px; color: #fff; text-align: right; line-height: 1.3; }
.win-logo { display: grid; grid-template-columns: 8px 8px; gap: 2px; } .win-logo i { width: 8px; height: 8px; background: #4cc2ff; }
.win-br { left: 70px; top: 40px; width: 820px; height: 470px; border-radius: 8px; overflow: hidden; z-index: 10; background: #f3f3f3; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.2), 0 24px 60px rgb(0 0 0 / 0.5); }
.win-br .tabs { height: 34px; display: flex; align-items: flex-end; padding: 0 10px; gap: 6px; background: #dfe3ea; }
.win-br .tab { height: 28px; width: 220px; border-radius: 8px 8px 0 0; background: #f3f3f3; padding: 0 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.win-br .url { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #e3e3e3; }
.win-br .url .bar { flex: 1; height: 26px; border-radius: 13px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: #444; box-shadow: inset 0 0 0 1px #d6d6d6; }
.win-br .url .dlb { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font-size: 15px; }
.win-br .url .dlb.hot { background: #dbe7ff; }
.win-br .page { padding: 40px; color: #888; }
.win-br .page h6 { margin: 0 0 10px; font-size: 26px; color: #222; font-weight: 700; }
.win-fly { left: 530px; top: 116px; width: 340px; padding: 12px; border-radius: 8px; z-index: 14; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12), 0 16px 40px rgb(0 0 0 / 0.3); }
.win-fly h6 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.win-fly .file { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 6px; background: #f6f6f6; }
.win-fly .exe { width: 30px; height: 30px; flex: none; } .win-fly .exe img.mac-appicon { width: 30px; height: 30px; filter: none; }
.win-br .tab img.mac-appicon { width: 16px; height: 16px; filter: none; }
.win-fly .nm { font-weight: 600; font-size: 12.5px; }
.win-fly .warn { font-size: 11.5px; color: #8a5a00; line-height: 1.35; margin-top: 3px; }
.win-fly .acts { display: flex; gap: 8px; margin-top: 8px; }
.win-fly .acts span { position: relative; padding: 4px 10px; border-radius: 5px; font-size: 12px; background: #fff; box-shadow: inset 0 0 0 1px #d1d1d1; }
.win-fly .open { color: #0067c0; font-size: 12px; margin-top: 4px; }
.win-ss { left: 250px; top: 70px; width: 460px; min-height: 360px; padding: 26px 28px; z-index: 30; color: #fff; background: #0063b1; box-shadow: 0 30px 70px rgb(0 0 0 / 0.55); }
.win-ss h4 { margin: 0 0 18px; font-size: 26px; font-weight: 300; line-height: 1.2; }
.win-ss p { margin: 0 0 14px; font-size: 13px; line-height: 1.45; }
.win-ss .more { position: relative; display: inline-block; text-decoration: underline; font-size: 13px; }
.win-ss .det { display: none; margin-top: 10px; font-size: 13px; line-height: 1.7; }
.win-ss.det-on .det { display: block; }
.win-ss .btns { position: absolute; right: 28px; bottom: 24px; display: flex; gap: 8px; }
.win-ss .btns span { position: relative; padding: 7px 18px; font-size: 13px; background: rgb(255 255 255 / 0.12); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.6); }
.win-ss .run { display: none; }
.win-ss.det-on .run { display: inline-block; }
.win-inst { left: 290px; top: 130px; width: 380px; padding: 20px; border-radius: 8px; z-index: 28; background: #fff; box-shadow: 0 24px 60px rgb(0 0 0 / 0.5); }
.win-inst .p { height: 6px; margin-top: 14px; border-radius: 3px; background: #e5e5e5; overflow: hidden; }
.win-inst .p i { display: block; height: 100%; width: 0; background: #0067c0; transition: width 2s linear; }
.win-inst.go .p i { width: 100%; }
.win-syllo { left: 200px; top: 60px; width: 560px; height: 380px; border-radius: 8px; overflow: hidden; z-index: 26; background: #fcfcfc; box-shadow: 0 24px 60px rgb(0 0 0 / 0.5); }
.win-syllo .tb { height: 30px; display: flex; justify-content: flex-end; gap: 14px; padding: 0 12px; align-items: center; font-size: 12px; color: #555; background: #f3f3f3; }
.win-syllo .in { height: 350px; display: grid; place-items: center; text-align: center; }
.win-syllo h5 { margin: 12px 0 4px; font-size: 22px; font-weight: 750; }

@media (prefers-reduced-motion: reduce) {
  .tuto, .tuto-card, .tuto-alert, .tuto-dl i, .tuto-stage .glow { animation: none !important; }
  .tuto-cursor, .tuto-stage .x, .mac-scroll, .mac-app { transition-duration: 0.01s !important; }
}
.win-syllo img.mac-appicon { margin: 0 auto; width: 84px; height: 84px; }
