/* ═══════════════════════════════════════════════════════════════════════════
   cheapserv.com — couche mobile « app » (≤ 760 px). Chargée après site.css.
   Le bureau reste strictement inchangé : tout vit dans la media query, sauf
   les trois éléments de gabarit réservés au mobile, masqués partout ailleurs.
   CSP stricte : aucun style inline ; les chevrons sont dessinés en CSS.
   ═══════════════════════════════════════════════════════════════════════════ */
.mtab, .nav__util, .nav__more, .obar--topup, .mspec, .mpick, .mbackdrop { display: none; }
/* Feuilles basses : au-dessus de 760 px, la liste reste en place (repli si la fenetre est redimensionnee). */
@media (min-width: 761px) { .msheet { display: block !important; } .msheet__h, .msheet__f { display: none; } }

@media (max-width: 760px) {
  /* ── Base ──────────────────────────────────────────────────────────────── */
  :root { --hdr-h: 56px; --mtab-h: 58px; --gutter: 16px; }
  html { scroll-padding-top: calc(var(--hdr-h) + 12px); }
  html:has(.subnav) { scroll-padding-top: calc(var(--hdr-h) + 58px); }
  body { padding-bottom: calc(var(--mtab-h) + env(safe-area-inset-bottom, 0px)); -webkit-tap-highlight-color: transparent; }
  body:has(.obar) { padding-bottom: 0; }
  a, button, label, summary, .btn, input, select { touch-action: manipulation; }
  .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

  /* Champs : 16 px (pas de zoom iOS), hauteur confortable. Cibles ≥ 44 px. */
  .input, .qd__sel, select, textarea, .bsearch__in, input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=url] { font-size: 16px; }
  .input, .qd__sel, select.input { height: 48px; border-radius: 10px; }
  .input--area { height: auto; min-height: 140px; }
  .input--code { height: 56px; font-size: 24px; }
  .btn { min-height: 44px; }
  .btn--sm { min-height: 40px; }
  .btn--lg { min-height: 50px; }
  .link { min-height: 40px; padding: 8px 0; }
  .sh .link { align-self: flex-start; }

  /* ── En-tête : barre compacte, barre utilitaire repliée dans le tiroir ──── */
  .util { display: none; }
  .bar__in { gap: 12px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo__mark { width: 26px; height: 26px; }
  .burger { width: 44px; height: 44px; margin-right: -8px; }

  /* ── Tiroir plein écran ────────────────────────────────────────────────── */
  .nav { position: fixed; left: 0; right: 0; top: var(--hdr-h); bottom: 0; max-height: none; padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); border: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .bar:has(#navtoggle:checked) .nav { animation: none; }
  .nav__acts { order: -1; margin: 14px 0 4px; padding: 0 0 14px; border-top: 0; border-bottom: 1px solid var(--navy-line); gap: 8px; }
  .nav__acts .btn, .nav__login { height: 46px; border-radius: 10px; font-size: 15px; }
  .nav__list { gap: 0; }
  .nav__item { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
  .nav__item.has-dd { grid-template-columns: minmax(0, 1fr) 48px; }
  .nav__link { grid-column: 1; min-height: 54px; padding: 12px 4px; font-size: 16px; }
  .nav__link[aria-current] { background: none; color: var(--blue-300); }
  .nav__from { font-size: 12.5px; }
  .nav__more { display: inline-flex; align-items: center; justify-content: center; grid-column: 2; width: 48px; height: 48px; border: 0; border-radius: var(--r-sm); background: none; color: var(--on-navy-2); cursor: pointer; }
  .nav__more .ic { width: 20px; height: 20px; transition: transform .2s var(--ease); }
  .nav__item.is-open .nav__more { color: #fff; }
  .nav__item.is-open .nav__more .ic { transform: rotate(180deg); }
  .nav .dd { grid-column: 1 / -1; position: static; padding: 0 0 12px; }
  .nav__item.is-open .dd, .nav__item.is-open:hover > .dd { display: block; }
  .nav .dd__panel { min-width: 0; padding: 4px; background: rgba(255, 255, 255, .04); border-color: var(--navy-line); box-shadow: none; animation: none; }
  .nav .dd__item { min-height: 50px; padding: 10px 10px; }
  .nav .dd__t { font-size: 14.5px; }
  .nav .dd__all { min-height: 46px; padding: 10px 10px 4px; }
  .nav__util { display: grid; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--navy-line); }
  .nav__util a { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 4px; color: var(--on-navy-2); font-size: 15px; font-weight: 500; }
  .nav__util a .ic { width: 20px; height: 20px; color: var(--on-navy-3); }
  .nav__util a .dot { margin: 0 6px; }
  .nav__util a:hover { color: #fff; text-decoration: none; }

  /* ── Barre d'onglets basse ─────────────────────────────────────────────── */
  .mtab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--mtab-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13, 27, 42, .06); }
  .mtab__a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-3); font: 500 10.5px/1 var(--font); letter-spacing: .01em; }
  .mtab__a:hover { text-decoration: none; }
  .mtab__a .ic { width: 22px; height: 22px; stroke-width: 1.6; }
  .mtab__a[aria-current] { color: var(--blue); }
  .mtab__a[aria-current] .ic { stroke-width: 2; }
  .mtab__ic { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 9px; }
  .mtab__a--go .mtab__ic { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(26, 86, 219, .35); }
  .mtab__a--go .mtab__ic .ic { width: 20px; height: 20px; stroke-width: 2; }
  .mtab__a--go[aria-current] .mtab__ic { background: var(--navy-800); box-shadow: none; }
  html.nav-open .mtab, body:has(.obar) .mtab { display: none; }

  /* ── Hero + configurateur ──────────────────────────────────────────────── */
  .hero__in { gap: 22px; padding-top: 30px; padding-bottom: 28px; }
  .hero h1 { font-size: 30px; margin-bottom: 12px; }
  .hero__lead { font-size: 15px; margin-bottom: 18px; }
  .hero__acts { gap: 8px; }
  .hero__acts .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
  .qd { max-width: none; padding: 14px; border-radius: 14px; animation: none; }
  .qd__head { margin-bottom: 10px; }
  .qd__title { font-size: 15px; }
  .qd__hint { font-size: 12px; }
  .qd__seg { gap: 3px; margin-bottom: 10px; }
  .qd__seg label { padding: 10px 2px; font-size: 13px; }
  .qd__field { margin-bottom: 8px; }
  .qd__sel { height: 46px; border-radius: 10px; }
  .dsel__btn { line-height: 44px; }
  .dsel__menu { max-height: 300px; }
  .dsel__opt { min-height: 46px; padding: 10px 10px; }
  .qd__foot { flex-direction: row; align-items: center; margin-top: 10px; padding-top: 10px; }
  .qd__foot .btn { width: auto; flex: 1 1 auto; min-height: 48px; }
  .qd__price { flex: 0 1 auto; }
  .qd__amount { font-size: 22px; }
  .qd__renew { font-size: 11.5px; }
  .qd__pay { margin-top: 10px; font-size: 12px; }

  /* ── Bandeau de confiance : rail horizontal de puces ───────────────────── */
  .trust__in { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter); contain: paint; }
  .trust__in::-webkit-scrollbar { display: none; }
  .trust li { flex: none; }
  .trust a { margin: 0; padding: 7px 12px 7px 9px; border: 1px solid var(--blue-100); border-radius: 999px; background: #fff; font-size: 13px; white-space: nowrap; }
  .trust .ic { width: 17px; height: 17px; }

  /* ── Sections ──────────────────────────────────────────────────────────── */
  .sec { padding: 34px 0; }
  .sec--tight { padding: 26px 0; }
  .sh { margin-bottom: 14px; gap: 6px; }
  .sh h2 { font-size: 21px; }
  .sh p { font-size: 14px; margin-top: 4px; }
  .eyebrow { font-size: 11px; margin-bottom: 6px; }
  .sh--mt { margin-top: 26px; }

  /* ── Tuiles produit ────────────────────────────────────────────────────── */
  .ptiles { gap: 8px; margin-bottom: 10px; }
  .ptile { padding: 10px; gap: 9px; border-radius: 10px; }
  .ptile__ic { width: 34px; height: 34px; border-radius: 8px; }
  .ptile__ic .ic { width: 18px; height: 18px; }
  .ptile__name { font-size: 14px; gap: 2px 6px; }
  .ptile__from { font-size: 11.5px; }
  .ptile__spec { display: none; }
  .ptiles--3 .ptile, .ptiles--5 .ptile { padding: 10px 12px; }
  .ptiles--3 .ptile__spec, .ptiles--5 .ptile__spec { display: block; font-size: 11.5px; }

  /* ── Plans : une ligne tapable par plan (nom, specs, prix, flèche) ──────── */
  .pricing { border: 0; background: none; box-shadow: none; overflow: visible; }
  html.js .plans tbody { gap: 8px; }
  html.js .plans tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; align-items: center; column-gap: 10px; row-gap: 0; padding: 11px 10px 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: border-color .15s; }
  html.js .plans tbody tr:active { border-color: var(--blue-200); }
  html.js .plans td { padding: 0; border: 0; white-space: normal; }
  html.js .plans td::before { display: none; }
  html.js .plans td:not(.name):not(.price):not(.act) { display: none; }
  html.js .plans td.name { display: grid; grid-column: 1; gap: 3px; padding: 0; border: 0; font-size: 15px; }
  html.js .plans .name__t { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; font-weight: 600; }
  html.js .plans .tag { margin-left: 0; }
  html.js .plans .mspec { display: block; font: 400 12.5px/1.4 var(--font); color: var(--ink-3); }
  html.js .plans td.name .stock { margin: 0; font-size: 11.5px; }
  html.js .plans td.price { grid-column: 2; font-size: 16px; text-align: right; white-space: nowrap; }
  html.js .plans td.price small { display: block; margin: 0; font-size: 11px; line-height: 1.2; }
  html.js .plans td.act { grid-column: 3; width: auto; padding: 0; }
  html.js .plans td.act .btn { width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%; font-size: 0; }
  html.js .plans td.act .btn::after { content: ""; width: 8px; height: 8px; margin-left: -3px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
  html.js .plans tr.is-out { grid-template-columns: minmax(0, 1fr) auto; background: var(--bg-2); box-shadow: none; cursor: default; }
  html.js .plans tr.is-out td.price { display: none; }
  html.js .plans tr.is-out td.act { grid-column: 2; }
  html.js .plans td.act .soldout { width: auto; height: 30px; padding: 0 10px; font-size: 10.5px; }
  .pricing__foot { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 12px 14px; font-size: 12.5px; }

  /* ── Comment ça marche ─────────────────────────────────────────────────── */
  .how { padding: 34px 0; }
  .how .sh { margin-bottom: 18px; }
  .how .sh h2 { font-size: 22px; }
  .step { padding: 0 0 22px 40px; gap: 10px; }
  .step::before { left: 12px; }
  .step__n { width: 26px; height: 26px; font-size: 10.5px; }
  .step h3 { font-size: 15.5px; }
  .step p { font-size: 13.5px; }
  .step .vis { padding: 12px; font-size: 12px; }
  .how__foot { margin-top: 22px; padding-top: 18px; gap: 12px; }
  .how__pay { gap: 8px; }
  .how__coins { gap: 6px; }
  .how__coins li { padding: 0; }
  .how__coins li:not(:has(a)) { padding: 6px 10px 6px 5px; min-height: 36px; }
  .how__coins li a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px 6px 5px; }
  .how__coins .coin { width: 20px; height: 20px; }
  .how__why { font-size: 13px; }
  .how__facts { margin-top: 26px; padding-top: 18px; }
  .how__facts .ph__facts { gap: 8px; }
  .how__facts .ph__facts li { padding: 12px 14px; }
  .how__facts .ph__facts li b { font-size: 19px; }

  /* ── Emplacements ──────────────────────────────────────────────────────── */
  .locs { gap: 12px; }
  .mapcard { padding: 12px 12px 8px; }
  .map__legend { gap: 14px; font-size: 12px; }
  .regions { gap: 12px 10px; padding: 12px; }
  .region h3 { font-size: 11px; }
  .region ul { font-size: 13.5px; gap: 6px; }
  .region li { min-height: 28px; }
  .region code { width: 30px; font-size: 11.5px; }
  .tag--gpu { font-size: 11px; }
  .loccard { padding: 16px; gap: 12px; }
  .loccard__head h3 { font-size: 16px; }
  .loccard__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .loccard__foot .btn { width: 100%; }
  .loccard__foot .link { justify-content: center; }
  .peer__row { padding: 12px 14px; }

  /* ── FAQ, CTA ──────────────────────────────────────────────────────────── */
  .faq summary { min-height: 52px; padding: 13px 16px; font-size: 14.5px; }
  .faq details p { padding: 0 16px 14px; font-size: 14px; }
  .cta__in { padding-top: 28px; padding-bottom: 28px; gap: 14px; }
  .cta h2 { font-size: 21px; }
  .cta p { font-size: 13.5px; }

  /* ── Pied de page en accordéons ────────────────────────────────────────── */
  .ftr { font-size: 14px; }
  .ftr__grid { display: block; padding: 22px 0 6px; }
  .ftr__brand { margin-bottom: 10px; }
  .ftr__brand p { margin: 10px 0 8px; max-width: none; font-size: 13.5px; }
  .ftr__col { border-top: 1px solid var(--navy-line); }
  .ftr h4 { display: flex; align-items: center; justify-content: space-between; margin: 0; min-height: 50px; font-size: 14.5px; }
  html.js .ftr h4 { cursor: pointer; user-select: none; }
  html.js .ftr h4::after { content: ""; width: 8px; height: 8px; margin: -4px 8px 0 0; border-right: 1.5px solid var(--on-navy-3); border-bottom: 1.5px solid var(--on-navy-3); transform: rotate(45deg); transition: transform .2s var(--ease); }
  html.js .ftr__col.is-open h4::after { transform: rotate(-135deg); margin-top: 4px; }
  html.js .ftr__col ul { display: none; padding: 0 0 10px; }
  html.js .ftr__col.is-open ul { display: grid; }
  .ftr ul { gap: 0; }
  .ftr__col a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 14.5px; }
  .ftr__bottom { gap: 10px; padding: 14px 0 16px; }
  .ftr__bottom .pop > summary { min-height: 44px; }

  /* ── En-tête de page secondaire ────────────────────────────────────────── */
  .ph__in { gap: 16px; padding-top: 24px; padding-bottom: 26px; }
  .ph h1 { font-size: 26px; gap: 10px; }
  .ph__lead { margin-top: 10px; font-size: 15px; }
  .ph__meta { font-size: 13px; }
  .ph .hero__acts { margin-top: 16px; gap: 8px; }
  .ph .hero__acts .btn { flex: 1 1 auto; }
  .ph__facts { gap: 8px; }
  .ph__facts li { padding: 10px 12px; }
  .ph__facts li b { font-size: 18px; }
  .crumbs { margin-bottom: 10px; font-size: 12.5px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .ph--slim .ph__in { padding-top: 20px; padding-bottom: 22px; }
  .ph--slim h1 { font-size: 24px; }
  .stepsbar { gap: 4px 14px; margin-top: 12px; }
  .subnav { position: sticky; top: var(--hdr-h); z-index: 40; }
  .subnav__in { flex-wrap: nowrap; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); contain: paint; }
  .subnav__in::-webkit-scrollbar { display: none; }
  .subnav__in a { padding: 13px 10px; font-size: 13.5px; white-space: nowrap; }

  /* ── Formulaires, comptes ──────────────────────────────────────────────── */
  .authwrap { padding: 26px 0 34px; }
  .auth { gap: 20px; }
  .auth__side h1 { font-size: 24px; }
  .auth__side > p { font-size: 14.5px; }
  .auth__facts { gap: 8px; margin-top: 14px; }
  .auth__facts li { font-size: 13.5px; }
  .authbox { max-width: none; gap: 12px; padding: 18px 16px 16px; border-radius: 14px; grid-template-columns: minmax(0, 1fr); }
  .turnstile { min-width: 0; max-width: 100%; overflow: hidden; }
  .authbox h2 { font-size: 18px; }
  .authbox__btn { min-height: 50px; }
  .field > span { font-size: 13.5px; }
  .frow { gap: 12px; }
  .formcard { gap: 12px; padding: 14px; }
  .formcard .btn--lg { justify-self: stretch; }
  .check { font-size: 14px; }
  .check input { width: 20px; height: 20px; }
  .alert { padding: 11px 12px; font-size: 13.5px; }

  /* ── Commande ──────────────────────────────────────────────────────────── */
  .order { gap: 12px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .wiz { display: flex; gap: 6px; }
  .wiz li { flex: 0 0 40px; justify-content: center; padding: 0; height: 40px; border-radius: 20px; }
  .wiz li.is-on { flex: 1 1 auto; padding: 0 12px 0 8px; justify-content: flex-start; font-size: 13px; white-space: nowrap; }
  .wiz li.is-done a { justify-content: center; }
  .wcard { padding: 14px 14px 16px; border-radius: 12px; }
  .wcard__h { margin-bottom: 12px; font-size: 17px; }
  .wcard__h small { font-size: 13px; }
  .ptile2 { padding: 12px; column-gap: 10px; }
  .ptile2__t b { font-size: 15px; }
  .planrow { padding: 11px 40px 11px 12px; }
  .planrow__name { font-size: 14px; }
  .planrow__spec { font-size: 12px; }
  .locgrid--big .locopt { padding: 11px 36px 11px 12px; }
  .locopt small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
  .locopt b { white-space: normal; }
  .wnav .btn { min-height: 46px; }
  .obar, .obar--topup { display: flex; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); }
  .obar .btn { flex: 1 1 auto; max-width: 58%; min-height: 46px; }
  .obar__total b { font-size: 19px; }
  .summary { padding: 14px; }
  .summary__total b { font-size: 20px; }
  .review { padding: 12px 14px; }

  /* ── Champs compacts + feuilles basses (commande : plan, emplacement, image) ── */
  .mpick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; margin: 0 0 4px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
  .mpick:active, .mpick[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
  .mpick__t { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
  .mpick__l { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .mpick__v { font-size: 15px; font-weight: 600; line-height: 1.3; }
  .mpick__s { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
  .mpick__s:empty { display: none; }
  .mpick::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4); transform: rotate(45deg); }
  .mbackdrop { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(8, 17, 31, .55); animation: fadein .2s ease; }
  .mbackdrop[hidden] { display: none; }
  .msheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-direction: column; max-height: 84vh; max-height: 84dvh; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 60px rgba(8, 17, 31, .35); animation: msheet .24s var(--ease); }
  .msheet[hidden] { display: none; }
  .msheet__h { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 20px 16px 12px; border-bottom: 1px solid var(--line); }
  .msheet__h::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 999px; background: var(--line-2); transform: translateX(-50%); }
  .msheet__h b { font-size: 16px; }
  .msheet__x { position: relative; width: 36px; height: 36px; margin-right: -8px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }
  .msheet__x::before, .msheet__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink-2); transform: translate(-50%, -50%) rotate(45deg); }
  .msheet__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
  .msheet__b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 12px 16px 16px; }
  .msheet__f { flex: none; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
  .msheet__f .btn { width: 100%; min-height: 48px; }
  .msheet .planlist, .msheet .locgrid, .msheet .ipick, .msheet .tiers, .msheet .coins { margin: 0; }
  html.msheet-open, html.msheet-open body { overflow: hidden; }
  html.msheet-open .obar { visibility: hidden; }
  @keyframes msheet { from { transform: translateY(40px); opacity: .6; } }
  @keyframes fadein { from { opacity: 0; } }

  /* Liste deroulante des emplacements (configurateur) : feuille basse, pas un menu sous le champ. */
  .hero:has(.dsel[open]) { z-index: 70; }
  .dsel[open]::before { content: ""; position: fixed; inset: 0; z-index: 69; background: rgba(8, 17, 31, .55); animation: fadein .2s ease; }
  .dsel[open] .dsel__menu { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 70; max-height: 76vh; max-height: 76dvh; padding: 22px 12px calc(14px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 60px rgba(8, 17, 31, .35); animation: msheet .24s var(--ease); }
  .dsel[open] .dsel__menu::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 999px; background: var(--line-2); transform: translateX(-50%); }
  body:has(.dsel[open]) .mtab { display: none; }
  html:has(.dsel[open]) { overflow: hidden; }

  /* ── Espace client ─────────────────────────────────────────────────────── */
  .dash__in { gap: 12px; padding-top: 0; padding-bottom: 32px; }
  .dash:has(.obar--topup) .dash__in { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .pnav { display: contents; }
  .pnav__acct { margin-top: 12px; }
  .pnav__id { padding: 9px 12px; }
  .pnav__bal { padding: 9px 12px 10px; }
  .pnav__bv { font-size: 19px; }
  .pnav__topup { height: 38px; min-height: 0; padding: 0 12px; font-size: 13px; }
  .dash:has(.balcard) .pnav__bal { display: none; }
  .pnav__list { position: sticky; top: var(--hdr-h); z-index: 30; display: flex; flex-wrap: nowrap; gap: 4px; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter); overflow-x: auto; scrollbar-width: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(246, 248, 251, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); contain: paint; }
  .pnav__list::-webkit-scrollbar { display: none; }
  .pnav__list a { flex: none; flex-direction: row; gap: 7px; min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; text-align: left; }
  .pnav__list a .ic { width: 16px; height: 16px; }
  .pnav__list a[aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
  .pnav__list a[aria-current="page"] .ic { color: #fff; }
  .phead { gap: 10px; }
  .phead h1 { font-size: 21px; }
  .phead p { font-size: 13.5px; }
  .phead__acts { width: 100%; }
  .phead__acts .btn { flex: 1 1 auto; min-height: 42px; }
  .kpis, .kpis--top { gap: 8px; }
  .kpis > div, .kpis > a { padding: 10px 12px; }
  .kpis b { font-size: 18px; }
  .pcard { padding: 14px 14px 16px; border-radius: 12px; }
  .pcard__head { margin-bottom: 10px; }
  .pcard__head h2 { font-size: 15.5px; }
  .list tr { gap: 4px 10px; padding: 10px 0; }
  .list td { font-size: 14px; }
  .list td:first-child a { display: inline-flex; align-items: center; min-height: 28px; }
  .list td.r ~ td.r { grid-row: 2; font-weight: 400; color: var(--ink-3); }
  .cmd { contain: paint; }
  .stabs { flex-wrap: nowrap; gap: 2px; padding: 4px; overflow-x: auto; scrollbar-width: none; contain: paint; }
  .stabs::-webkit-scrollbar { display: none; }
  .stabs a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  .actrow { flex-direction: column; gap: 8px; }
  .actrow form { display: block; }
  .actrow .btn { width: 100%; }
  .quick a { min-height: 56px; }
  .prow { min-height: 52px; }
  .kvl > div { padding: 9px 0; }
  .evlist li { padding: 9px 0; }
  .chips li { padding: 8px 11px; }
  .chip { min-height: 38px; padding: 6px 12px; }
  .chips--sm .chip { min-height: 34px; }
  .ocard { padding: 14px 12px; }
  .tiers { gap: 8px; }
  .tier { min-height: 60px; padding: 12px 34px 11px 12px; }
  .tier b { font-size: 16px; }
  .locgrid { gap: 6px; }
  .locopt { min-height: 52px; }
  .totp { justify-items: center; }
  .totp__qr { width: 200px; height: 200px; }
  .msg__b { padding: 12px 14px; font-size: 14px; }
  .thread { gap: 10px; }
  .awaitrow__acts .btn { flex: 1 1 auto; }
  .lockcard { gap: 10px 12px; }
  .lockcard__acts .btn { flex: 1 1 auto; }

  /* ── Dépôt (page de paiement) ──────────────────────────────────────────── */
  .pay { gap: 12px; }
  .pstate { padding: 14px; }
  .pqr__img { width: 200px; height: 200px; }
  .pfield__v { padding: 10px 12px; }
  .pfield__v code { font-size: 13px; }
  .cpy { min-height: 36px; }
  .pacts .btn { flex: 1 1 auto; }

  /* ── Docs, articles, blog ──────────────────────────────────────────────── */
  .prose { font-size: 15.5px; }
  .prose a { padding-block: 6px; }
  .prose h2 { margin-top: 28px; }
  .prose pre { padding: 12px 14px; font-size: 12.5px; contain: paint; }
  .tblwrap { contain: paint; }
  .tbl { font-size: 13.5px; }
  .tbl th, .tbl td { padding: 8px 10px; }
  .docnav__m > summary { min-height: 48px; }
  .docnav__list a { min-height: 42px; padding: 10px; font-size: 14px; }
  .doccard { padding: 14px; }
  .docfoot__nav { min-height: 52px; }
  .docfoot__help { font-size: 13px; }
  .bsearch { padding: 5px 5px 5px 12px; }
  .bsearch__in { min-height: 40px; font-size: 16px; }
  .bsearch .btn { min-height: 40px; }
  .bnav { margin-bottom: 14px; }
  .chips--scroll { contain: paint; }
  .bcard__body { padding: 12px 14px 14px; }
  .bcard__t { font-size: 16px; }
  .bhero__body { padding: 14px; }
  .bhero__t { font-size: 19px; }
  .bmini { grid-template-columns: 100px minmax(0, 1fr); padding: 8px; }
  .pager__btn { min-height: 44px; }
  .pmeta { gap: 8px 12px; margin-top: 14px; }
  .toc--m summary { min-height: 46px; }
  .share__btn { min-height: 40px; }
  .postnav__a { min-height: 60px; }
  .tldr { padding: 12px 14px; }
  .btag { font-size: 11px; }
  .catnav { flex-wrap: nowrap; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; contain: paint; }
  .catnav::-webkit-scrollbar { display: none; }
  .catnav a { flex: none; min-height: 36px; }

  /* ── Page d'état ───────────────────────────────────────────────────────── */
  .hero__acts--tight .btn { flex: 1 1 40%; }
  .cgroup > summary { min-height: 52px; padding: 12px 14px; }
  .crow { padding: 10px 14px; }
  .years a { display: inline-flex; align-items: center; min-height: 38px; }
  .hrow { min-height: 56px; }
  .mrow { padding: 12px 14px; }
  .inc { padding: 14px 16px; }
  .uptime__row { padding: 10px 14px; }

  /* ── Comparatifs : tableau → cartes (data-l posés par mobile.js) ───────── */
  .cmptbl.is-cards { display: block; border: 0; border-radius: 0; }
  .cmptbl.is-cards thead { display: none; }
  .cmptbl.is-cards tbody { display: grid; gap: 8px; }
  .cmptbl.is-cards tr { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .cmptbl.is-cards th[scope=row] { display: block; padding: 0 0 6px; border: 0; background: none; }
  .cmptbl.is-cards td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 5px 0; border: 0; font-size: 13.5px; background: none; }
  .cmptbl.is-cards td::before { content: attr(data-l); font: 600 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .cmptbl.is-cards td:last-child { color: var(--ink); }
  .cmptbl.is-cards td:last-child::before { color: var(--blue); }

  /* ── Divers ────────────────────────────────────────────────────────────── */
  .tools { gap: 10px; }
  .tool { padding: 14px; }
  .lg { padding: 14px; }
  .lg__row .btn { min-height: 46px; }
  .term__out { font-size: 12px; }
  .err { padding-top: 12px; }
  .err h1 { font-size: 28px; }
  .err__acts .btn { flex: 1 1 auto; }
  .pop__list a { min-height: 44px; }
  .vals, .tl { gap: 10px; }
  .val, .tl__item { padding: 14px; }
  .two { gap: 22px; }
  .two h2 { font-size: 21px; }
  .lgrid { gap: 22px; }
  .sidebox { padding: 14px 16px; }
  .steps3 li { padding: 12px; }
  .hsteps li { padding: 12px 14px; }
  .cmp__cell { padding: 9px 14px; font-size: 13px; }
  .cmp__head { padding: 14px; }
  .cmp__act { padding: 12px 14px; }
  .cmp__act .btn { width: 100%; }
  .specgrid { gap: 8px; }
  .spec { padding: 12px 14px; }
  .imgs { gap: 16px; padding: 14px; }
  .oslist li { min-height: 44px; }
  .morepost__item { min-height: 56px; }
  .docfoot { margin-top: 28px; }
  .empty { padding: 14px 16px; }
  .feat li { padding: 12px 14px; }
}

@media (max-width: 359px) {
  .qd__foot { flex-direction: column; align-items: stretch; }
  .qd__foot .btn { width: 100%; }
  .mtab__a { font-size: 10px; }
  .turnstile { height: 58px; }
  .turnstile > * { transform: scale(.85); transform-origin: 0 0; }
  .hero h1 { font-size: 27px; }
  .ph h1 { font-size: 23px; }
}

@media (max-width: 760px) {
  /* Tableaux de la doc : les codes ne se coupent pas au milieu d'un mot, le conteneur défile. */
  .tblwrap .tbl code { white-space: nowrap; overflow-wrap: normal; }
}
