/* V1.5.40 — measured readability and touch refinements.
   Loaded after navigation-v1539.css. No viewport/body overflow suppression,
   no hero or photograph override, no change to the two-step form structure. */

/* The shared signature stays inside the existing header band. Its desktop
   text-column width remains controlled by navigation-v1539.css. */
body header.header .brand .brandtext small {
  font-size:12px;
  letter-spacing:0;
  line-height:1.25;
}
@media (max-width:1090px) {
  body .topbar .topbar-identity strong,
  body .topbar .topbar-location,
  body .topbar .topbar-location-detail {font-size:12px;letter-spacing:0;line-height:1.4}
}
@media (max-width:640px) {
  body header.header .brand .brandtext small {max-width:15ch}
  body .topbar .topbar-location {max-width:55%;font-size:12px}
  body .topbar .topbar-location-detail {font-size:12px}
  body header.header nav.nav .nav-mega-collapse {font-size:12px}
}

/* Useful home labels: measured at 10–11.5px in the V1.5.39 phone view.
   The validated hero, panorama, sections and form layout are not restyled. */
#devis .quote-aside .eyebrow,
#devis .quote-proof-copy>small,
#devis .quote-proof-copy>span,
#devis .quote-proof-copy a,
#devis .step-label,
#devis .form-phase,
#devis .quote-group-number,
#devis .form-meta,
#devis .form-meta a {font-size:12px}
#devis .quote-proof-copy>small,
#devis .quote-proof-copy>span,
#devis .quote-proof-copy a {line-height:1.6}
#devis .form-phase {color:#526659}
#cabinet .cabinet-v13-territory-eyebrow,
#cabinet .cabinet-v13-department,
#cabinet .cabinet-v13-territory-label,
#cabinet .territory-v150 .territory-v150-route,
#cabinet .territory-v150 .territory-v150-route>span,
#cabinet .territory-v150 .territory-v150-facts span {font-size:12px;line-height:1.5;letter-spacing:.025em}
#cabinet .territory-v150 .territory-v150-route {flex-wrap:wrap}
#cabinet .territory-v150 .territory-v150-facts span {color:#506750}
#prestations .sectionhead>.eyebrow,
#prestations .service-card-head>span,
#prestations .service-use-v151,
#prestations .diagnostics-ledger-intro>.eyebrow,
#prestations .diagnostics-ledger-v151 .diagnostics-ledger-group h4,
#prestations .diagnostics-ledger-v151 .diagnostics-ledger-group h4>span,
#prestations .diagnostics-ledger-v151 .diagnostics-ledger-group>a small {font-size:12px;line-height:1.5}
#prestations .service-use-v151,
#prestations .diagnostics-ledger-v151 .diagnostics-ledger-group>a small {color:#506854}
.energy-kicker,.energy-index,.energy-reading-item b,.energy-reading-item small,
.energy-type>span,.energy-fact-label {font-size:12px;line-height:1.5}
.energy-index,.energy-reading-item small {color:#526653}
.local-head>.eyebrow,.address-landscape-mark>span,.address-badge,
.address-credit,.address-credit a,.address-cta-kicker {font-size:12px;line-height:1.6}
.address-credit,.address-credit a {color:#526653}
#temoignages .trust-eyebrow,
#temoignages .trust-card-category,
#temoignages .trust-initials,
#temoignages .trust-card-bottom>div>span,
#temoignages .trust-card-bottom>a,
#temoignages .trust-bottom>p,
#temoignages .trust-bottom>p strong,
#temoignages .trust-bottom-links a {font-size:12px;line-height:1.6}
#temoignages .trust-card-bottom>div>span,
#temoignages .trust-bottom>p {color:#526653}
.footer-v1533 .footer-v1533-eyebrow,
.footer-v1533 .footer-v1533-column h3,
.footer-v1533 .footer-v1533-bottom,
.footer-v1533 .footer-v1533-bottom a {font-size:12px;line-height:1.6}

@media (max-width:760px) {
  /* Resource and footer links are separate touch actions, not tightly stacked
     20px text lines. Inline links within prose retain normal reading flow. */
  .p-secondary .p-page .e-related a,
  .p-secondary .p-page .document-index a,
  .p-secondary .p-page .p-actions>.p-link,
  .page-audit .au-actions>.p-link,
  #devis .form-meta a,
  #temoignages .trust-bottom-links a,
  .footer-v1533 .footer-v1533-column>a,
  .footer-v1533 .footer-v1533-contact a,
  .footer-v1533 .footer-v1533-bottom a {
    min-height:44px;
    display:inline-flex;
    align-items:center;
  }
  .p-secondary .p-page .e-related {gap:0}
  .footer-v1533 .footer-v1533-column>a {margin-bottom:0}
  .footer-v1533 .footer-v1533-bottom a {padding-block:6px}
  #temoignages .trust-card-bottom>a {min-height:44px;display:inline-flex;align-items:center}
  /* Secondary diagram explanations become reading text on a narrow screen.
     The A–G bars and verified cartographic composition retain their own rules. */
  .p-secondary .p-page:not(.page-sectors) .p-lead {font-size:14px;line-height:1.8}
  .p-secondary .p-page:not(.page-sectors) .p-steps p,
  .p-secondary .p-page:not(.page-sectors) .p-checklist li,
  .p-secondary .p-page:not(.page-sectors) .p-check-aside p,
  .p-secondary .p-page:not(.page-sectors) .p-tabpanel,
  .p-secondary .p-page:not(.page-sectors) .gas-line p,
  .p-secondary .p-page:not(.page-sectors) .safety-points p,
  .p-secondary .p-page:not(.page-sectors) .wood-section span,
  .p-secondary .p-page:not(.page-sectors) .risk-dossier dd,
  .p-secondary .p-page:not(.page-sectors) .surface-caption,
  .p-secondary .p-page:not(.page-sectors) .sale-answer p,
  .p-secondary .p-page:not(.page-sectors) .landlord-calendar p,
  .p-secondary .p-page:not(.page-sectors) .address-decision span,
  .p-secondary .p-page:not(.page-sectors) .document-status p {
    font-size:13px;
    line-height:1.8;
  }
  .page-audit .au-story p {font-size:12px;line-height:1.6}
  .page-audit .au-workflow>div>p {font-size:13px;line-height:1.8}
}
@media (prefers-reduced-motion:reduce) {
  #prestations .service-card-link,
  #prestations .diagnostics-ledger-group>a,
  #prestations .diagnostics-ledger-group>a>span,
  #temoignages a {transition:none!important;transform:none!important}
}

/* Final visual correction: two-digit step markers stay on one line in32px mobile grids. */
@media(max-width:760px){.p-secondary .p-steps .p-step-no{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:lining-nums tabular-nums}.page-immeuble .p-kind-steps .p-step-no,.page-electricite .p-kind-steps .p-step-no,.page-vendre .p-kind-steps .p-step-no{font-size:28px;letter-spacing:0}}

/* Measured Lighthouse contrast failures in inherited, more specific address rules. */
#implantations .address-card-v148 .address-badge{font-size:12px;line-height:1.5;color:#49634f;letter-spacing:.06em}
#implantations .address-card-v148 .address-credit,#implantations .address-card-v148 .address-credit a{font-size:12px;line-height:1.6;color:#49634f}
