/* ═══════════════════════════════════════════════════════════════════
   assets/syn-maintenance.css — page de maintenance (lot 22)

   Dessinée par assets/maintenance-rendu.js : /maintenance.php, pages de
   index.php fermées, aperçu du coffre. Tout est sous .mtPage ; l'accent
   choisi arrive par --mtA (fond teinté --mtF, pastilles --mtT).
   ═══════════════════════════════════════════════════════════════════ */
.mtPage { --mtA: #6d28d9; --mtF: #f6f2ff; --mtT: #ede7fb; box-sizing: border-box; min-height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--mtF); color: #12161c; font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
.mtPage *, .mtPage *::before, .mtPage *::after { box-sizing: border-box; }
.mtPage .mtCorps { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mtPage .mtLogo { display: flex; align-items: center; gap: 10px; }
.mtPage .mtLogo b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.mtPage .mtMarque { width: 38px; height: 38px; border-radius: 11px; background: var(--mtA); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.mtPage .mtIllu { width: 170px; height: 110px; }
.mtPage .mtPageNom { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mtA); margin-bottom: -8px; }
.mtPage .mtTitre { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; overflow-wrap: anywhere; }
.mtPage .mtTexte { margin: 0; font-size: 15px; color: #4b5563; line-height: 1.6; max-width: 480px; overflow-wrap: anywhere; }
.mtPage .mtTexte p { margin: 0 0 8px; }
.mtPage .mtTexte a { color: var(--mtA); font-weight: 700; }
.mtPage .mtRebours { display: flex; gap: 8px; color: var(--mtA); }
.mtPage .mtRebours span { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 10px 8px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.mtPage .mtRebours b { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mtPage .mtRebours small { font-size: 11px; font-weight: 700; }
.mtPage .mtRebours.mtGrand span { min-width: 96px; padding: 16px 10px; }
.mtPage .mtRebours.mtGrand b { font-size: 44px; }
.mtPage .mtBarre { width: 100%; max-width: 380px; }
.mtPage .mtRail { height: 10px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.mtPage .mtPlein { height: 100%; border-radius: 999px; background: var(--mtA); transition: width .6s ease; }
.mtPage .mtLegende { font-size: 12px; font-weight: 700; color: #6b7280; margin-top: 6px; }
.mtPage .mtQuand { margin: 0; font-size: 13px; font-weight: 700; color: #6b7280; }
.mtPage .mtQuand:empty { display: none; }
.mtPage .mtActions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mtPage .mtBouton { min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--mtA); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 800; text-decoration: none; }
.mtPage .mtBouton:focus-visible, .mtPage .mtLien:focus-visible { outline: 3px solid var(--mtT); outline-offset: 2px; }
.mtPage .mtLien { font-size: 14px; font-weight: 700; color: var(--mtA); }
.mtPage.mtBloquee .mtMarque { background: #12161c; }
@media (max-width: 560px) {
  .mtPage { padding: 28px 22px; }
  .mtPage .mtTitre { font-size: 27px; }
  .mtPage .mtIllu { width: 150px; height: 100px; }
  .mtPage .mtRebours span { min-width: 0; flex: 1; }
  .mtPage .mtRebours.mtGrand b { font-size: 34px; }
  .mtPage .mtActions, .mtPage .mtBouton { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .mtPage .mtPlein { transition: none; } }

/* Une page de index.php fermée : l'écran remplace son contenu. */
.pagePanel.accesFerme > :not(.accesEcran):not(.accesBandeau) { display: none !important; }
.pagePanel .accesEcran { min-height: calc(100vh - 140px); display: flex; border-radius: 18px; overflow: hidden; }
.pagePanel .accesEcran > .mtPage { min-height: 100%; }
.accesBandeau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #fff7ed; color: #7c2d12; border: 1px solid #fdba74; font: 600 13px/1.45 Manrope, system-ui, sans-serif; }
.accesBandeau b { font-weight: 800; }
.accesBandeau a { margin-left: auto; color: #7c2d12; font-weight: 800; }
