/* Version téléphone des pages publiques : on fait des choix.
 *
 * Sur un écran de téléphone, chaque page ne garde que l'essentiel (le produit, le prix, une action).
 * Le reste (sections secondaires, descriptions longues, illustrations) est retiré ou condensé.
 * Rien ne change au-dessus de 640 px de large.
 *
 *   .m-hide   retiré sur téléphone
 *   .m-only   affiché seulement sur téléphone
 *
 * Chargée en dernier (après site-light.css) pour primer sur les styles des pages.
 */
.m-only{display:none!important}

@media(max-width:640px){
  .m-hide{display:none!important}
  .m-only{display:block!important}
  a.m-only.btn,.m-only.m-flex{display:flex!important}

  /* ── Rythme vertical commun ── */
  /* html devant .section : la page d'accueil charge encore un bloc de styles après cette feuille */
  html .section{padding:44px 0!important}

  /* ══ Accueil ══ */
  /* Haut de page : un titre, une phrase, une action, quatre chiffres sur une ligne */
  .hero-section.hero-centered{padding:116px 0 40px!important}
  .hero-centered .hero-trust{margin-top:18px;gap:4px 16px;font-size:12px}
  .hero-centered .hero-tsep{display:none!important}
  .hero-centered .hero-dash-wrap{margin-top:28px!important}
  /* Article à la une : une vignette et le titre, sur une ligne */
  .hero-centered .hf{display:grid!important;grid-template-columns:108px 1fr;align-items:stretch;border-radius:18px;box-shadow:none}
  .hero-centered .hf-img{height:auto!important;min-height:108px}
  .hero-centered .hf::after{display:none}
  .hero-centered .hf-body{padding:12px 14px!important;gap:6px;justify-content:center}
  .hero-centered .hf.loading{min-height:108px}
  .hero-centered .hf.loading .hf-body{grid-column:2}
  .hero-centered .hf-sk{height:15px;margin:4px 0}
  .hero-centered .hf-eyebrow{font-size:11.5px}
  .hero-centered .hf-title{font-size:15px!important;line-height:1.3;letter-spacing:-.01em;-webkit-line-clamp:3;text-shadow:none}
  .hero-centered .hf-ex,.hero-centered .hf-cta,.hero-centered .hf-date{display:none!important}
  .hero-centered .hf-ctrl{margin-top:10px!important}
  .hero-centered .stats-wrap{margin-top:28px!important}
  .hero-centered .stats-grid{grid-template-columns:repeat(4,1fr)!important}
  .hero-centered .apple-stats .stat-cell{padding:12px 4px!important;border:0!important}
  .hero-centered .apple-stats .stat-cell>div:first-child{font-size:16px!important}
  .hero-centered .apple-stats .stat-cell>div:last-child{font-size:10px!important;line-height:1.25}

  /* Jeux : le carrousel et son filtre par genre, en-tête resserré */
  #jeux .jx-head{margin-bottom:18px!important}
  #gcDots{margin-top:10px!important}

  /* Atouts : six tuiles (icône et titre), sans les descriptions */
  .feat-head{margin-bottom:22px!important}
  .feat-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .feat-grid .ft-card{padding:16px 14px!important}
  .feat-grid .ft-ic{width:36px;height:36px;margin-bottom:10px}
  .feat-grid .ft-t{font-size:13.5px;line-height:1.3;margin-bottom:0}
  .feat-grid .ft-d{display:none}

  /* Discord : l'idée et le bouton, sans le pas à pas */
  .dsb-left .dsb-steps,.dsb-left .dsb-feats,.dsb-left .dsb-btn-ghost{display:none!important}
  .dsb-left .dsb-cta{margin-top:20px!important}

  /* Formules : quatre tuiles sur deux colonnes (nom, prix, ressources, bouton) */
  .gprice-head{margin-bottom:26px!important}
  .gprice-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .gprice-grid .gp-card,.gprice-grid .gp-perf-in{padding:16px 12px 12px!important}
  .gprice-grid .gp-perf-top{padding:16px 12px 0!important}
  .gprice-grid .gp-perf-in{padding-top:0!important}
  .gprice-grid .gp-top,.gprice-grid .gp-perf-top{flex-direction:column;align-items:flex-start!important;gap:6px;margin-bottom:10px!important}
  .gprice-grid .gp-perf-in>div:first-child{margin:0!important}
  .gprice-grid>div{border-radius:22px!important}
  .gprice-grid .gp-desc,.gprice-grid .gp-feats,.gprice-grid .gp-perf-feats{display:none!important}
  .gprice-grid .gp-price{font-size:21px!important}
  .gprice-grid .gp-mo{font-size:11px!important}
  .gprice-grid .gp-specs,.gprice-grid .gp-perf-specs{display:flex!important;flex-wrap:wrap;gap:5px!important;background:none!important;border:0!important;border-radius:0!important;margin:10px 0 12px!important;flex:1;align-content:flex-start}
  .gprice-grid .gp-specs>div,.gprice-grid .gp-perf-specs>div{padding:4px 8px!important;border-radius:6px;background:rgba(255,255,255,.05)!important}
  /* Basic : le stockage sans son libellé ferait deux valeurs en Go, les quatre tuiles montrent cœurs, mémoire, réseau */
  .gprice-grid .gp-specs:not(.gp-specs-3)>div:nth-child(3){display:none}
  .gprice-grid .gp-sl{display:none}
  .gprice-grid .gp-sv{font-size:11.5px!important;white-space:nowrap}
  .gprice-grid .gp-btn{padding:10px 6px!important;font-size:12.5px!important}
  html:root[data-theme=light] #offres .gp-specs,html:root[data-theme=light] #offres .gp-perf-specs{background:none!important}
  html:root[data-theme=light] #offres .gp-specs>div,html:root[data-theme=light] #offres .gp-perf-specs>div{background:rgba(0,0,0,.05)!important}

  /* Fonctionnement : trois étapes en texte, sans les maquettes */
  #comment .cm-head{margin-bottom:22px!important}
  #comment .steps-grid{gap:10px!important}
  #comment .ft-card{padding:16px!important;display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:start}
  #comment .cm-num{margin-bottom:0!important;grid-row:1/span 2}
  #comment .cm-num>div:last-child{display:none}
  #comment .ft-card h3{margin-bottom:4px!important}

  /* Témoignages : les avis seulement */
  .testi-head{margin-bottom:22px!important}
  .testi-grid .testi-invite{display:none!important}

  /* Questions : les cinq premières, le reste sur la page dédiée */
  #faq{padding:44px 0!important}
  #faq h2{margin-bottom:20px!important}
  #faq details:nth-of-type(n+6){display:none}
  #faq .faq-more{margin-top:18px;justify-content:center}

  /* Appel final */
  .cta-final{padding:8px 0 56px!important}
  .cta-final .cta-box{padding:36px 18px!important}
  .cta-final .cta-p{margin-bottom:22px!important}
  .cta-final .cta-box h2{margin-bottom:20px}

  /* Très petits écrans : le bandeau d'essai passe sur deux lignes, les hauts de page lui laissent la place */
  @media(max-width:380px){.hero-section.hero-centered,.games-hero,.ghero{padding-top:130px!important}}

  /* ══ Liste des jeux ══ */
  /* Haut de page court, puis le catalogue en liste : vignette, nom, prix */
  .games-hero{padding:116px 0 28px!important}
  .games-hero .gh-statsbar{grid-template-columns:repeat(4,1fr)!important;margin-top:26px!important;border-radius:16px!important}
  .games-hero .gh-stat{padding:12px 4px!important;border:0!important}
  .games-hero .gh-stat-n{font-size:16px!important}
  .games-hero .gh-stat-l{font-size:10px!important;line-height:1.25}
  #catalogue{padding:20px 0 44px!important}
  #catalogue .catalog-header{margin-bottom:14px!important;gap:8px}
  .games-grid{gap:8px!important}
  /* display sans !important : le filtre par genre masque les cartes avec un style en ligne */
  .games-grid .gc{display:grid;position:relative;grid-template-columns:116px 1fr;align-items:stretch;border-radius:16px!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .games-grid .gc-img-wrap{height:auto!important;min-height:78px;margin:0!important;border-radius:0!important}
  .games-grid .gc-img{position:absolute;inset:0}
  .games-grid .gc-badge{display:none}
  .games-grid .gc-body{padding:10px 12px!important;justify-content:center;gap:4px;min-width:0}
  .games-grid .gc-meta{margin-bottom:0!important}
  .games-grid .gc-name{font-size:15px!important}
  .games-grid .gc-desc,.games-grid .gc-specs{display:none!important}
  .games-grid .gc-footer .btn{position:absolute!important;inset:0;z-index:2;opacity:0;padding:0!important;border-radius:0!important}
  .games-grid .gc-footer{border-top:0!important;padding-top:0!important}
  .games-grid .gc-footer>div{display:flex;align-items:baseline;gap:6px}
  .games-grid .gc-from-label{margin:0}
  .games-grid .gc-price{font-size:14px!important}
  #catalogue .ask-box{margin-top:18px}

  /* ══ Fiche d'un jeu ══ */
  .section[style*="padding-top:0"],.section[style*="padding-top: 0"]{padding-top:0!important}
  .ghero{padding:116px 0 32px!important}
  .ghero .gh-facts{margin-top:22px}
  .ghero .gh-facts>div{padding:10px 14px!important}
  .ghero .gh-facts b{font-size:15px!important}
  .split{gap:0!important}
  /* Atouts : six tuiles sans description */
  .feat-grid{margin-top:22px!important}
  .feat-grid .feat-card{padding:16px 14px!important;border-radius:18px!important}
  .feat-grid .feat-ico{margin-bottom:10px!important}
  .feat-grid .feat-card h3{font-size:13.5px!important;line-height:1.3;margin:0!important}
  .feat-grid .feat-card p{display:none}
  /* Formules : nom et prix sur une ligne, les ressources, puis le bouton */
  #tarifs .price-grid{grid-template-columns:1fr!important;gap:10px!important;margin-top:22px!important}
  #tarifs .price-card{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px!important;padding:16px!important;border-radius:20px!important}
  #tarifs .price-top{flex-direction:row;align-items:baseline;justify-content:space-between;gap:10px}
  #tarifs .price-amount{font-size:22px!important}
  #tarifs .price-amount span+span{font-size:12px!important}
  #tarifs .price-card .btn{padding:10px 14px!important;font-size:13px!important}
  #tarifs .price-specs{grid-template-columns:repeat(4,minmax(0,1fr))!important;border-radius:12px!important}
  #tarifs .price-card>p{margin:0}
  #tarifs .ps-cell{padding:8px 8px!important}
  #tarifs .ps-val{font-size:12.5px!important;white-space:nowrap}
  #tarifs .price-note{margin-top:14px!important}
  #tarifs .price-reco-badge{top:-11px!important;right:auto!important;left:16px}
  /* Guides : trois lignes (vignette, titre), le lien mène à la suite */
  #gameGuides .gg-head{margin-bottom:16px!important;gap:8px}
  #gameGuides .gg-grid{grid-template-columns:1fr!important;gap:8px!important}
  #gameGuides .gg-grid>*:nth-child(n+4){display:none!important}
  #gameGuides .gg-card{display:grid!important;grid-template-columns:96px 1fr;border-radius:16px!important}
  #gameGuides .gg-img{height:auto!important;min-height:76px}
  #gameGuides .gg-body{padding:10px 12px!important;min-width:0}
  #gameGuides .gg-tag{font-size:11.5px;margin-bottom:4px}
  #gameGuides .gg-card h3{font-size:14px!important;margin:0!important}
  #gameGuides .gg-card p{display:none!important}
  /* Questions du jeu : lignes plus serrées */
  .seo-faq{padding:0 0 44px!important}
  .seo-faq h2{margin-bottom:16px!important}
  .seo-faq-list{gap:8px!important}
  .seo-faq details{padding:0 16px!important;border-radius:14px!important}
  .seo-faq summary{font-size:14.5px!important;padding:13px 0!important;line-height:1.35}
  .seo-faq details p{font-size:14px!important;padding-bottom:14px!important}

  /* ══ Conteneur Pro (et le bloc Conteneur Pro de la page Infrastructure) ══ */
  .pro-hero{padding:100px 0 32px!important}
  .pro-hero .hero-cols{gap:0!important}
  .pro-hero .pro-facts{margin-top:24px!important}
  .pro-sec{padding:40px 0!important}
  .pro-head{margin-bottom:20px!important}
  .pro-head .ap-lead{display:none}
  /* Modèles : une ligne par modèle (icône, nom, formules) */
  .pt-cats{margin-bottom:14px!important;justify-content:flex-start!important}
  .pt-cats>div{flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;scrollbar-width:none}
  .pt-cats>div::-webkit-scrollbar{display:none}
  .pt-cat{white-space:nowrap;padding:8px 13px!important}
  .pt-grid{grid-template-columns:1fr!important;gap:8px!important}
  .pt-card{display:grid!important;grid-template-columns:auto 1fr;column-gap:12px;row-gap:4px!important;align-items:center;padding:12px 14px!important;border-radius:16px!important}
  .pt-ic{grid-row:1/span 3;width:38px!important;height:38px!important;border-radius:12px!important;margin:0!important}
  .pt-name{font-size:15px!important}
  .pt-tag{grid-column:2;margin:0!important;font-size:12.5px!important}
  .pt-desc{display:none}
  .pt-foot{margin:0!important;grid-column:2}
  .pt-foot span.lb{display:none}
  /* Étapes et atouts : les titres seulement */
  .ap-pro .use-grid{gap:8px!important}
  .ap-pro .use-card{display:flex!important;align-items:center;gap:12px;padding:12px 14px!important;border-radius:16px!important}
  .ap-pro .use-icon{width:34px!important;height:34px!important;margin:0!important;flex-shrink:0}
  .ap-pro .use-card h3{margin:0!important;font-size:15px!important}
  .ap-pro .use-card p{display:none}
  .tf-list{gap:0!important;margin-top:18px}
  .tf-row{padding:9px 0!important;align-items:center;gap:12px!important}
  .tf-row p{display:none}
  /* Formules : prix, ressources, bouton */
  .pp-grid{gap:10px!important}
  .pp-card{border-radius:20px!important}
  .pp-art,.pp-desc{display:none!important}
  /* un seul atout par formule : ce qui la distingue (réplicas, répartiteur) */
  .pp-feats{margin:0 0 12px!important}
  .pp-feats li:nth-child(n+2){display:none}
  .pp-body{padding:16px!important}
  .pp-head{margin-bottom:6px!important}
  .pp-price b{font-size:26px!important}
  .pp-ttc{margin-bottom:12px!important}
  .pp-specs{grid-template-columns:repeat(4,1fr)!important;margin-bottom:14px!important;border-radius:12px!important}
  .pp-specs div{padding:8px 8px!important;border-bottom:0!important;border-right:1px solid rgba(255,255,255,.08)}
  .pp-specs div:last-child{border-right:0}
  .pp-specs span{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pp-specs b{font-size:12.5px!important;white-space:nowrap}
  @media(max-width:345px){.pp-specs div{padding:8px 4px!important}}
  .pp-flag{top:12px!important;right:12px!important}
  .pp-card.feat .pp-badge{display:none}
  .pp-note{margin-top:14px!important}
  /* Questions : les cinq premières */
  .ap-pro details.faq-item{padding:0 16px!important;border-radius:14px!important;margin-bottom:8px!important}
  .ap-pro details.faq-item:nth-of-type(n+6){display:none}
  .ap-pro details summary{font-size:14.5px!important;padding:14px 0!important}
  .ap-pro .cta-box{padding:36px 18px!important}

  /* ══ Infrastructure ══ */
  .pg-infra .hero{padding:100px 0 28px!important}
  .pg-infra .hero .hero-tsep{display:none}
  .pg-infra .hero .hero-trust{gap:4px 16px}
  .pg-infra .stat-strip{grid-template-columns:repeat(4,1fr)!important;border-radius:16px!important}
  .pg-infra .stat-cell{padding:12px 6px!important;text-align:center;border-bottom:0!important}
  .pg-infra .stat-cell:nth-child(4){display:none}
  .pg-infra .stat-n{font-size:15px!important}
  .pg-infra .stat-l{font-size:10.5px!important}
  .pg-infra section.fade[style*="padding:56px"],.pg-infra section.fade[style*="padding: 56px"]{padding:24px 0!important}
  .pg-infra .in-head{margin-bottom:20px!important}
  .pg-infra .two-col{gap:16px!important}
  .pg-infra #datacenter h2{margin-bottom:16px!important}
  .pg-infra #datacenter .card-sm{padding:12px 14px!important}
  /* Matériel et architecture : les titres, sans les paragraphes */
  .pg-infra .hw-block{padding:11px 0!important;align-items:center}
  .pg-infra .hw-block h3{margin:0!important}
  .pg-infra .hw-block p{display:none}
  .pg-infra .arch-cols{display:block!important}
  .pg-infra .arch-cols>div:first-child>p{display:none}
  /* DDoS : les deux niveaux en bref, l'encadré de transparence en entier */
  .pg-infra .ddos-grid{gap:10px!important}
  .pg-infra .ddos-grid>div{padding:16px!important;gap:8px!important}
  .pg-infra .ddos-grid>div:not(:last-child) p{display:none}
  /* Conteneur Pro : le renvoi vers la page dédiée suffit */
  .pg-infra .in-pro{margin-bottom:0!important;gap:14px!important}
  /* Garanties : trois chiffres côte à côte */
  .pg-infra .sla-grid{grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
  .pg-infra .sla-grid>div{padding:14px 6px!important}
  .pg-infra .sla-grid>div>div:first-child{font-size:19px!important;margin-bottom:6px!important}
  .pg-infra .sla-grid>div>div:nth-child(2){font-size:11.5px!important;margin:0!important}
  .pg-infra .sla-grid>div>div:last-child{display:none}

  /* ══ À propos ══ */
  .ap-about .ab-sec{padding:34px 0!important}
  .ap-about .ab-head{margin-bottom:18px!important}
  .ap-about .ab-stat{padding:14px!important}
  /* Plateforme : six tuiles sans description */
  .ap-about .ab-feats{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .ap-about .ab-feat{padding:14px!important;border-radius:16px!important}
  .ap-about .ab-feat b{font-size:13.5px!important;line-height:1.3}
  .ap-about .ab-feat span{display:none}
  .ap-about .ab-principles{gap:10px!important}
  .ap-about .ab-pr{padding:16px!important;border-radius:18px!important}
  .ap-about .ab-pr-n{margin-bottom:8px!important}
  .ap-about .ab-pr b{font-size:15.5px!important;margin-bottom:6px!important}
  .ap-about .ab-pr p{font-size:14px!important}
  /* Ressources : trois liens d'une ligne */
  .ap-about .ab-links{gap:8px!important}
  .ap-about .ab-link{flex-direction:row!important;align-items:center;justify-content:space-between;padding:14px 16px!important;border-radius:16px!important}
  .ap-about .ab-link span{display:none}
  .ap-about .ab-link i{margin:0!important;white-space:nowrap}

  /* ══ FAQ ══ */
  .ap-faq .fq-hero{padding-bottom:20px!important}

  /* ══ Partenariat ══ */
  .pg-partner .section h2{margin-bottom:0}
  /* Avantages et plateformes : tuiles sans description */
  .pg-partner .perks-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:22px!important}
  .pg-partner .perk-card{padding:14px!important;border-radius:16px!important}
  .pg-partner .perk-ic{margin-bottom:10px!important}
  .pg-partner .perk-card h3{font-size:13.5px!important;line-height:1.3;margin:0!important}
  .pg-partner .perk-card p{display:none}
  .pg-partner .steps-grid{gap:10px!important;margin-top:22px!important}
  .pg-partner .step-card{padding:16px!important}
  .pg-partner .step-icon{display:none}
  .pg-partner .tiers-grid{gap:10px!important;margin-top:22px!important}
  .pg-partner .tier-card{padding:18px 16px!important}
  .pg-partner .tier-desc{display:none}
  .pg-partner .platforms-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:22px!important}
  .pg-partner .plat-card{padding:14px!important;border-radius:16px!important}
  .pg-partner .plat-head{margin-bottom:8px!important}
  .pg-partner .plat-desc,.pg-partner .plat-url{display:none}
  .pg-partner .plat-com{font-size:11.5px!important}
}
