/* Lisibilité — Pascal Panafieu — 13 novembre 2026
 * Head of Lisibilité : 5 défauts durs, 17 avertissements de cible tactile.
 * Site à CUISSON : feuille et <link> posés dans `current` ET dans `served`,
 * sinon la prochaine sauvegarde régénère `served` et efface le correctif.
 */

/* 1. ÉCHELLE — H1 jusqu'à 72 px pour un corps de 17, soit 4,2× (seuil 3,2 → 54 px).
      Le corps est déjà bon partout, c'est le titre qu'on ramène. */
main h1 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  line-height: 1.14;
}

/* 2. CIBLES TACTILES — mesuré : .button à 42-43 px (deux pixels sous le seuil),
      .organic-link à 25 px, dix par page sur l'accueil. On ajoute de la hauteur de
      touche par du remplissage, sans toucher à la taille du texte. Le `display`
      d'origine est conservé : un inline-flex empêcherait un libellé long de
      s'enrouler et fabriquerait un débordement. */
main .button,
main .organic-link {
  min-height: 44px;
  padding-block: .55rem;
  box-sizing: border-box;
}

/* 4bis. ÉCHELLE DES TITRES — correction du 13/11 après contre-mesure.
         Un `main h1` (0,0,2) perdait contre les règles du moteur : `.hero h1` (0,1,1)
         chez Michaël, `.page-hero h1` chez Carole, et
         `html.route-editorial.atmosphere-natural .page-hero h1` (0,3,2) chez Pascal.
         Aucune de ces règles ne porte !important : le poser ici tranche sans avoir à
         deviner la spécificité, et normalise l`échelle sur tout le site.
         Cible : 46 px à 1440 px de large, soit 2,9× un corps de 16 (seuil 3,2). */
main h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem) !important;
  line-height: 1.14;
}


/* 4ter. Le héros de l'accueil résistait encore : un style en ligne pose
         `html.route-editorial.atmosphere-natural .organic-hero h1 { … !important }`,
         soit (0,3,2). La feuille du 23/10 avait déjà tenté (0,2,3) et perdu.
         On ajoute un élément à LEUR sélecteur pour atteindre (0,3,3). */
html.route-editorial.atmosphere-natural main .organic-hero h1,
html.route-editorial.atmosphere-natural main .organic-hero__copy h1,
html.route-editorial.atmosphere-natural main .page-hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem) !important;
}

/* 5bis. CIBLES TACTILES — suite. Le premier jet visait .button et .organic-link
         sans !important et perdait. Mesuré après coup : .button 42 px,
         .organic-identity__cta 37 px, .service-card__title-link 36 px en
         display:inline (min-height sans effet), et les liens tel:/mailto: à 20 px.
         Le lien du widget d'avis Google est laissé : composant tiers. */
main .service-card__title-link {
  display: inline-block;
}
main .button,
main .organic-button,
main .organic-link,
main .organic-identity__cta,
main .service-card__title-link,
main a[href^="tel:"],
main a[href^="mailto:"] {
  min-height: 44px !important;
  padding-block: .55rem;
  box-sizing: border-box;
}
