/* Anciennes pages : correctifs mobile génériques (injectés par inc/legacy-mobile.php). */
.ppl-bar{display:none}
@media (max-width: 900px){
  html,body{min-width:0!important;width:auto!important;max-width:100%!important;overflow-x:hidden!important;margin:0!important}
  body{font-size:16px!important;line-height:1.5!important;-webkit-text-size-adjust:100%}
  body *{max-width:100%!important;box-sizing:border-box!important}
  img,iframe,video,embed,object,canvas{max-width:100%!important;height:auto!important}
  iframe[src*="map"],iframe[src*="google"]{width:100%!important;min-height:260px}
  [width]:not(img):not(svg):not(canvas){width:auto!important}
  [style*="width"]:not(img):not(svg){width:auto!important;min-width:0!important}
  [style*="float"],[align="left"],[align="right"]{float:none!important}
  [style*="position: absolute"],[style*="position:absolute"]{position:static!important}
  [style*="height"]:not(img):not(iframe){height:auto!important}
  /* Tableaux de mise en page : cellules empilées les unes sous les autres */
  table,thead,tbody,tfoot,tr,th,td{display:block!important;width:100%!important;height:auto!important}
  td,th{padding:6px 10px!important}
  /* Tableaux imbriqués (horaires, tarifs…) : gardés en tableau, défilables si trop larges */
  td table,th table{display:table!important;width:100%!important;table-layout:auto}
  td table tr{display:table-row!important}
  td table td,td table th{display:table-cell!important;width:auto!important;padding:6px 8px!important}
  td table tbody,td table thead{display:table-row-group!important}
  /* Formulaires utilisables au doigt */
  input,select,textarea,button{max-width:100%!important;font-size:16px!important}
  input[type=text],input[type=email],input[type=tel],input[type=search],select,textarea{width:100%!important;min-height:44px}
  button,input[type=submit],input[type=button]{min-height:44px;padding:8px 16px!important}
  a{word-break:break-word}
  h1{font-size:1.6rem!important;line-height:1.2!important}
  h2{font-size:1.3rem!important}
  /* Barre de navigation du nouveau site */
  .ppl-bar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:9999;
    background:#fffdfb;border-bottom:1px solid #f0e4d9;padding:10px 14px!important;font:700 16px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
  .ppl-logo{color:#2a211a!important;text-decoration:none!important;font-size:1.15rem;font-weight:800}
  .ppl-logo b{color:#f07a1a}
  .ppl-btn{background:#b9520a;color:#fff!important;text-decoration:none!important;border-radius:999px;padding:9px 14px!important;font-size:.9rem;white-space:nowrap}
}
