/* V20.211 — Garde-fous après les copies CSS normalisées.
   Cette feuille reste à 100 % : ne pas la faire passer dans le générateur.
   Portée : composants publics PALMER identifiés ; aucun style de barre WP,
   de calculatrice, de Leaflet ou du moteur de recherche interactif. */
@media screen and (min-width:1101px) {
  /* Base des textes sans taille explicite ; ne pas modifier la racine HTML.
     Les outils autonomes possèdent leurs propres tailles explicites. */
  body #contenu {
    font-size:.75rem;
  }

  /* Recherche immobilière de l'accueil : les champs étaient déjà à 44 px. */
  #recherche-biens-accueil .pi-home-search-grid > label {
    font-size:14px;
  }
  #recherche-biens-accueil .pi-home-search-grid :is(input,select) {
    height:44px;
    min-height:44px;
    font-size:14px;
  }
  #recherche-biens-accueil .pi-home-search-grid select {
    background-size:7.5px 4.5px;
  }
  #recherche-biens-accueil :is(.pi-home-search-reset,.pi-home-search-submit) {
    min-height:44px;
    font-size:14px;
  }

  /* Filtres du catalogue : quatre champs visibles et leurs deux actions. */
  #contenu.palmer-catalogue-v18 .v18-filters > select,
  #contenu.palmer-catalogue-v18 .v18-filters > button,
  #contenu.palmer-catalogue-v18 .v18-filters > .v18-reset {
    min-height:44px;
    font-size:14px;
    line-height:1.4;
  }
  #contenu.palmer-catalogue-v18 .v18-checks {
    font-size:14px;
  }

  /* Newsletter et recherche des articles : uniquement les vrais champs. */
  #newsletter-palmer .pn-fields > input[type="email"] {
    min-height:44px;
    font-size:16px;
  }
  #newsletter-palmer .pn-fields > button {
    min-height:44px;
    font-size:14px;
  }
  #newsletter-palmer .pn-consent {
    font-size:14px;
  }
  #contenu.pi-blog .pi-blog-filters input[type="search"],
  #contenu.pi-blog .pi-blog-filters > button {
    min-height:44px;
    font-size:14px;
  }

  /* Contact : 48 px laissent au champ au moins 44 px à l'intérieur
     des bordures. Ne pas imposer cette hauteur au message multiligne. */
  #contenu.palmer-contact-card .palmer-contact-field:not(.palmer-contact-message) {
    height:48px;
    min-height:48px;
  }
  #contenu.palmer-contact-card .palmer-contact-field :is(input,select,textarea) {
    font-size:16px;
  }
  #contenu.palmer-contact-card .palmer-contact-message textarea {
    min-height:100px;
  }
  #contenu.palmer-contact-card .palmer-contact-submit {
    min-height:44px;
    font-size:16px;
  }
  #contenu.palmer-contact-card .palmer-contact-consent {
    font-size:14px;
  }

  /* Cases réellement utilisées ; aucun input caché ni champ numérique. */
  #contenu.palmer-catalogue-v18 .v18-checks input[type="checkbox"],
  #newsletter-palmer .pn-consent > input[type="checkbox"],
  #contenu.palmer-contact-card .palmer-contact-consent > input[type="checkbox"] {
    width:18px;
    height:18px;
    min-width:18px;
    min-height:18px;
    flex-shrink:0;
  }

  /* Textes de lecture : tailles antérieures, sans agrandir les titres. */
  #contenu.pi-blog .pi-article-body {
    font-size:16px;
  }
  #contenu.inside.legal-content:not(.palmer-contact-card) :is(p,li) {
    font-size:15px;
  }

  /* Navigation commune : taille des zones de clic, indépendamment
     de la taille visuelle des icônes. Les états hidden restent intacts. */
  body .palmer-fixedbar.palmer-dynamic-header :is(.fixedbar-menubtn,.fixedbar-langbtn,.fixedbar-return) {
    min-width:44px;
    min-height:44px;
  }
  body .palmer-fixedbar.palmer-dynamic-header #language-choices > a {
    min-height:44px;
    font-size:14px;
  }
  body .palmer-fixedbar.palmer-dynamic-header .fixedbar-return {
    font-size:12px;
  }
  #palmer-nav .closemenu,
  #mijas-film-dialog .exclusive-film-close,
  #equipe-palmer :is(.pt-prev,.pt-next),
  #journal-v10 .pj-controls :is(.pj-prev,.pj-next),
  #contenu .pi-guide-arrows > button {
    min-width:44px;
    min-height:44px;
  }
  #palmer-nav .menu-group > a,
  #palmer-nav .menu-contact > a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    font-size:14px;
  }
  #biens-prestige .pl-browse,
  .palmer-idle-contact > a {
    min-height:44px;
  }
  #contenu.palmer-catalogue-v18 .v18-pages > a,
  #contenu.pi-blog .pi-pages > a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    min-height:44px;
    font-size:14px;
  }

  /* Guides détaillés : les liens navigation/téléchargement sont
     définis dans la feuille issue de guide-page-template.php. */
  #contenu.guide-page :is(.guide-back,.guide-download) {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    font-size:14px;
  }

  /* La barre WP n'est pas redimensionnée. Conserver sa mesure JS et
     son secours de 32 px, ainsi que les zones sûres du navigateur. */
  body .palmer-fixedbar.palmer-dynamic-header {
    top:var(--palmer-admin-offset, 0px) !important;
  }
  body.admin-bar .palmer-fixedbar.palmer-dynamic-header {
    top:var(--palmer-admin-offset, var(--wp-admin--admin-bar--height, 32px)) !important;
  }
  .palmer-idle-contact {
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    max-width:calc(100% - 24px);
    font-size:12px;
  }
  .palmer-legal-footer {
    padding-bottom:calc(90px + env(safe-area-inset-bottom, 0px));
  }
}
