/* Anthese Paysage — lisibilité et hiérarchie typographique unifiées */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: 16px;
}

/* Le texte courant garde une taille confortable sur ordinateur comme sur mobile. */
body p:not(.home-rating-inline):not(.ap-stat-value):not(.ap-intro-lead):not(.footer-legal):not(.footer-desc) {
  font-size: clamp(0.96rem, calc(0.86rem + 0.3vw), 1.04rem) !important;
  line-height: 1.78 !important;
}
body li {
  font-size: clamp(0.96rem, calc(0.86rem + 0.3vw), 1.04rem) !important;
  line-height: 1.75 !important;
}
body .home-rating-inline {
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
}

/* Les H3 ne doivent plus être confondus avec le paragraphe qui les suit. */
body h3:not(.home-faq-question) {
  font-size: clamp(1.22rem, calc(1.12rem + 0.25vw), 1.4rem) !important;
  line-height: 1.28 !important;
  margin-bottom: 0.6rem;
}
/* Conserver les grandes titrailles déjà prévues par la direction artistique. */
body .home-service-card h3 {
  font-size: clamp(1.5rem, 1.8vw, 2rem) !important;
  line-height: 1.12 !important;
}
body .home-expertise-card h3 {
  font-size: 1.55rem !important;
  line-height: 1.2 !important;
}
body .home-project-content h3 {
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
}
body .home-faq-item summary .home-faq-question {
  font-size: inherit !important;
  line-height: inherit !important;
}
body .ap-person-copy h3 {
  font-size: clamp(1.65rem, 2.25vw, 2.35rem) !important;
  line-height: 1.1 !important;
}
body .ap-timeline-item h3 {
  font-size: 1.65rem !important;
  line-height: 1.15 !important;
}
body .ap-method-item h3 {
  font-size: 1.55rem !important;
  line-height: 1.2 !important;
}
body .ap-stat-card h3 {
  font-size: 1.3rem !important;
  line-height: 1.18 !important;
}
body .ap-engagement-card h3 {
  font-size: 1.55rem !important;
  line-height: 1.18 !important;
}
body .ap-authority-card h3 {
  font-size: clamp(1.5rem, 2.1vw, 2rem) !important;
  line-height: 1.2 !important;
}

/* Styles qui étaient particulièrement petits dans les pages locales et les articles. */
body .local-content-inner h3 {
  font-size: clamp(1.22rem, calc(1.12rem + 0.25vw), 1.4rem) !important;
  line-height: 1.35 !important;
  margin-top: 1.7rem;
  margin-bottom: 0.65rem;
}
body .local-content-inner h3 {
  color: var(--ink2);
}
body h4 {
  font-size: clamp(1.08rem, calc(1rem + 0.15vw), 1.18rem) !important;
  line-height: 1.35 !important;
}
.floating-btn {
  font-size: 0.78rem !important;
}
.floating-btn .f-label small {
  font-size: 0.72rem !important;
}
.btn-main,
.btn-ghost,
.btn-white,
.btn-arrow {
  font-size: max(0.8rem, 12.8px) !important;
}

/* Libellés, menus et liens secondaires : éviter les caractères minuscules ou trop pâles. */
.site-nav .nav-links a {
  font-size: 0.79rem !important;
  letter-spacing: 1.35px !important;
  line-height: 1.35 !important;
}
.site-nav .nav-devis {
  font-size: 0.78rem !important;
  letter-spacing: 1.25px !important;
}
.section-label,
.hero-label,
.sitemap-group h2,
.local-card-arrow,
.footer-legal,
.footer-legal a {
  font-size: max(0.74rem, 12px) !important;
}
.home-expertise-card p,
.home-faq-answer p {
  color: var(--ink3) !important;
}
.home-expertise-card p,
.home-faq-answer p {
  font-size: 0.96rem !important;
  line-height: 1.72 !important;
}

@media (max-width: 768px) {
  body p:not(.home-rating-inline):not(.ap-stat-value):not(.ap-intro-lead):not(.footer-legal):not(.footer-desc),
  body li {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }
  body h3:not(.home-faq-question) {
    font-size: 1.25rem !important;
    line-height: 1.28 !important;
  }
  body .home-service-card h3 {
    font-size: 1.45rem !important;
    line-height: 1.18 !important;
  }
  body .home-expertise-card h3 {
    font-size: 1.4rem !important;
  }
  body .home-project-content h3 {
    font-size: 1.25rem !important;
  }
  body .ap-person-copy h3 {
    font-size: 1.85rem !important;
  }
  body .ap-timeline-item h3,
  body .ap-method-item h3 {
    font-size: 1.45rem !important;
  }
  body .ap-stat-card h3 {
    font-size: 1.25rem !important;
  }
  body .ap-engagement-card h3 {
    font-size: 1.4rem !important;
  }
  body .ap-authority-card h3 {
    font-size: 1.4rem !important;
  }
  .site-nav .nav-links a {
    font-size: 0.76rem !important;
    letter-spacing: 1px !important;
  }
}
@media (max-width: 390px) {
  body h3:not(.home-faq-question) {
    font-size: 1.22rem !important;
  }
  body .home-service-card h3 {
    font-size: 1.35rem !important;
  }
  .site-nav .nav-links a {
    font-size: 0.74rem !important;
  }
}

/* Version 2.0 — application réellement globale à toutes les pages HTML */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: 16px;
}

/* Texte éditorial : mêmes repères de lecture sur accueil, pages services, pages locales et réalisations. */
html
  body
  p:not(.home-rating-inline):not(.ap-stat-value):not(.ap-intro-lead):not(.footer-legal):not(.footer-desc) {
  font-size: clamp(0.96rem, calc(0.92rem + 0.12vw), 1.03rem) !important;
  line-height: 1.72 !important;
}
html body li:not(.nav-links li):not(.mobile-secondary-nav li) {
  font-size: clamp(0.96rem, calc(0.92rem + 0.12vw), 1.03rem) !important;
  line-height: 1.7 !important;
}
/* Les paragraphes d'accroche gardent leur identité mais ne descendent plus sous une taille lisible. */
html body .ap-intro-lead {
  font-size: clamp(1.7rem, 2.9vw, 2.7rem) !important;
  line-height: 1.14 !important;
}
html body .ap-body-copy,
html body .ap-section-intro,
html body .ap-person-copy p:not(.ap-person-role),
html body .ap-timeline-item p:last-child,
html body .ap-method-item p,
html body .ap-stat-card > p:not(.ap-stat-value),
html body .ap-sap-section .ap-body-copy {
  font-size: clamp(0.96rem, calc(0.92rem + 0.12vw), 1.03rem) !important;
  line-height: 1.72 !important;
}
/* Libellés de catégories : secondaires, mais jamais minuscules. */
html body .ap-person-role,
html body .ap-timeline-date,
html body .ap-real-city,
html body .ap-image-note span:last-child,
html body .ap-text-link,
html body .ap-person-contact,
html body .ap-service-main small {
  font-size: max(0.78rem, 12.5px) !important;
  line-height: 1.5 !important;
}
html body .footer-desc,
html body .footer-col a,
html body .footer-col li {
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
}
html body .footer-legal,
html body .footer-legal a {
  font-size: max(0.74rem, 12px) !important;
  line-height: 1.55 !important;
}
html body .contact-entry-text .label,
html body .contact-entry-text .value {
  font-size: 0.96rem !important;
  line-height: 1.6 !important;
}

@media (max-width: 768px) {
  html
    body
    p:not(.home-rating-inline):not(.ap-stat-value):not(.ap-intro-lead):not(.footer-legal):not(.footer-desc),
  html body li:not(.nav-links li):not(.mobile-secondary-nav li) {
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
  }
  html body .ap-intro-lead {
    font-size: clamp(1.55rem, 6vw, 2rem) !important;
  }
  html body .mobile-secondary-nav a {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }
  html body .footer-desc,
  html body .footer-col a,
  html body .footer-col li {
    font-size: 0.86rem !important;
  }
}
