/* planetoscope : affichage téléphone et tablette (20/11/2026). Ne change rien au-delà de 1040 px. */
@media (max-width: 1040px) {
  html, body { overflow-x: hidden; }
  body { -webkit-text-size-adjust: 100%; }
  #container { width: auto !important; max-width: 100%; padding: 0 12px; box-sizing: border-box; }
  #container div, #container table, #container img, #container iframe, #container ins, #container object, #container embed { max-width: 100%; }
  #container img { height: auto; }
  #principal, #accessoire { float: none !important; width: auto !important; margin: 0 0 16px 0; }
  #accessoire { overflow: visible; }
  #header_haut { height: 72px; background-size: cover; background-position: left center; }
  #header_haut #logo_planeto img { max-height: 64px; width: auto; }
  #cadre-recherche { display: none; }
  #publicite, #publicite_bas { width: auto !important; height: auto; }
  div.stat-group div.intro-section h1, div.stat-group div.intro-section h2 { padding-left: 0 !important; }
  .intro-section iframe { position: static !important; margin-top: 6px; }
  .nouveau { display: inline-block; margin: 2px 8px 2px 0; }
  .habillage_top, .habillage_g, .habillage_d { display: none !important; }
  #footer_links, #appendix { width: auto !important; }
  .stat-chiffre .valeur { font-size: 26px; word-break: break-all; }
  table { table-layout: auto; }
  .stat-group, .stat-group > .stat { float: none !important; width: auto !important; }
  div.stat-group div.intro-section { height: auto !important; }
  div.stat-group div.intro-section h1 { float: none !important; width: auto !important; height: auto !important; }
  .stat-group > .stat { display: flex; flex-direction: column; }
  .stat-titre { order: 1; }
  .stat-chiffre { order: 2; }
  .stat-background { order: 3; }
  .conteneur_mini_liens { order: 4; }
  .stat-titre, .stat-background, .stat-chiffre { float: none !important; width: auto !important; min-height: 0 !important; height: auto !important; box-sizing: border-box; }
  .stat-chiffre { display: flex; gap: 8px; }
  .stat-chiffre .item { flex: 1; }
  .add_websit { display: none; }
  ul#navigation { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; height: auto !important; }
  ul#navigation > li { float: none !important; flex: 0 0 auto; }
}
@media (max-width: 600px) {
  .stat-chiffre .item { float: none !important; width: auto !important; margin-bottom: 8px; }
  .add_websit { display: none; }
}
/* le titre de page devient un h1 : même rendu que l'ancien h2 */
div.stat-group div.intro-section h1 { font-size: 18px; padding-left: 200px; margin: 0; }
@media (max-width: 1040px) { div.stat-group div.intro-section h1 { padding-left: 0; } }
