/* ==========================================================================
   LES COUVREURS VERSAILLAIS — coherence.css
   Feuille unique d'harmonisation de la charte (référence : l'accueil, page-id 4391)
   CSS seul, aucune modification HTML. À charger en dernier (après les CSS LCV).

   Gabarits visés et leurs marqueurs :
     A. Accueil ............ body.page-id-4391 (header.top, footer sans classe)  -> NON MODIFIÉ (référence)
     B. En-tête « royal » .. header.header + footer.footer (body.lcv-royal)       -> services, villes principal/premium, contact
     C. En-tête « entete » . header#entete + footer.pied                          -> urgence, villes ancien/Essonne, départements,
                                                                                     blog, histoire, faux couvreur, mentions
   Préfixe :not(#lcv-x) : ajoute une spécificité « id » sans rien cibler, pour passer
   devant les règles existantes en !important (jusqu'à 3 id) sans toucher au HTML.

   Éléments d'appel PROTÉGÉS (jamais ciblés) : nav#lcv-mobile-contact, a.lcv-urgence-appel,
   a.lcv-urgence-wa. Le lien tel de l'en-tête n'est que recoloré (jamais masqué ni déplacé).
   ========================================================================== */

:root {
  --lcvc-nuit: #0e1e2f;
  --lcvc-nuit-2: #13283d;
  --lcvc-or: #e5c58a;          /* or sur fond sombre */
  --lcvc-or-accent: #b8893b;   /* filets, accents sur clair */
  --lcvc-or-texte: #8a6420;    /* texte or sur clair (AA 4.9:1 sur crème) */
  --lcvc-creme: #f6f3ec;
  --lcvc-texte-clair: #c9ced6; /* texte courant sur nuit (10,9:1) */
  --lcvc-texte: #24323f;       /* texte courant sur crème (12:1) */
  --lcvc-filet: rgba(229, 197, 138, .45);
  --lcvc-serif: Georgia, "Times New Roman", serif;
  --lcvc-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   1. BANDEAUX AU-DESSUS DE L'EN-TÊTE (annonce boutique / adresse / langue)
   -------------------------------------------------------------------------- */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .lcv-annonce,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .lcv-annonce .annonce,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content .topline {
  background: var(--lcvc-nuit) !important;
  color: var(--lcvc-texte-clair) !important; -webkit-text-fill-color: currentcolor !important;
  border-bottom: 1px solid rgba(229, 197, 138, .22) !important;
  font-family: var(--lcvc-sans) !important;
  font-size: 12.5px !important;
  letter-spacing: .06em !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .lcv-annonce .annonce :is(a, b, strong),
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content .topline :is(a, b, strong, span) {
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
  font-family: var(--lcvc-sans) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content .topline :is(span, div) { color: var(--lcvc-texte-clair) !important; -webkit-text-fill-color: currentcolor !important; font-weight: 500 !important; }

/* Sélecteur de langue : bande crème pleine largeur, sobre (même rendu sur tous les gabarits) */
html body:not(#lcv-a):not(#lcv-b) nav.lcv-langue-interieure {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(184, 137, 59, .35) !important;
  background: var(--lcvc-creme) !important;
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
  font-family: var(--lcvc-sans) !important;
  box-shadow: none !important;
}
html body:not(#lcv-a):not(#lcv-b) nav.lcv-langue-interieure select {
  border: 1px solid var(--lcvc-or-accent) !important;
  border-radius: 4px !important;
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
  background-color: #fff !important;
  font-family: var(--lcvc-sans) !important;
}

/* --------------------------------------------------------------------------
   2. EN-TÊTE — un seul rendu : bande bleu nuit, filet or, blason rond,
      nom en Georgia crème, accroche en capitales or, menu crème, bouton or.
   -------------------------------------------------------------------------- */

/* 2a. Fond, filet, ombre — gabarits B (header.header) et C (#entete, y compris la version crème urgence/départements) */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete.entete {
  background: var(--lcvc-nuit) !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--lcvc-filet) !important;
  box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .55) !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .lcv-collant { background: transparent !important; }

/* 2b. Suppression des contours/ombres de lettres (rendu « gras flou ») dans tous les en-têtes */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(.entry-content header.header, header#entete) :is(a, b, strong, small, span, button, bdi) {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  paint-order: normal !important;
  -webkit-text-fill-color: currentcolor !important;
}

/* 2c. Blason rond, même taille partout */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .brand img,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .marque img {
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  max-height: 56px !important;
  object-fit: cover !important;
  box-shadow: 0 0 0 1px rgba(229, 197, 138, .55) !important;
}

/* 2d. Nom de l'entreprise : Georgia crème ; accroche : capitales or espacées */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .brand :is(strong, .lcv-brand-token, strong *),
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .marque :is(b, strong, b *, strong *) {
  font-family: var(--lcvc-serif) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  -webkit-text-fill-color: currentcolor !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .brand small,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .marque small {
  display: block !important;
  font-family: var(--lcvc-sans) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
  -webkit-text-fill-color: currentcolor !important;
  margin-top: 3px !important;
}

/* 2e. Menu : system-ui 15 px crème, or au survol ; jamais sur deux lignes */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header :is(.nav-trigger, #nav > a, .nav > a),
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .nav > a,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .nav .deroulant > button {
  font-family: var(--lcvc-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  line-height: 1.3 !important;
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  white-space: nowrap !important;
  background-color: transparent !important;
  -webkit-text-fill-color: currentcolor !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header :is(.nav-trigger, #nav > a):is(:hover, :focus-visible, [aria-current]),
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .nav > a:is(:hover, :focus-visible, [aria-current]),
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .nav .deroulant > button:is(:hover, :focus-visible) {
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
}
/* sous-menus */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .nav-panel,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .sous-menu,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .sous-menu ul {
  background: var(--lcvc-nuit) !important;
  border-color: var(--lcvc-filet) !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .nav-panel a,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .sous-menu a {
  font-family: var(--lcvc-sans) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .nav-panel a:hover,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .sous-menu a:hover { color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important; }
/* burger / bouton Menu mobile */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header button.menu,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .burger {
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
  font-family: var(--lcvc-sans) !important;
  font-weight: 600 !important;
  border-color: var(--lcvc-filet) !important;
  background-color: transparent !important;
}

/* 2f. Bouton d'appel / devis de l'en-tête : or, texte nuit, rayon 4 px (comme l'accueil) */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header > a.button,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .actions-entete .btn {
  background: var(--lcvc-or) !important;
  background-image: none !important;
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
  border: 1px solid var(--lcvc-or) !important;
  border-radius: 4px !important;
  font-family: var(--lcvc-sans) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  animation: none !important;
  transition: background-color .2s ease !important;
  opacity: 1 !important;
  align-items: center !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  -webkit-text-fill-color: currentcolor !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header > a.button:hover,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .actions-entete .btn:hover { background: #efd6a6 !important; }

/* Lien téléphone de l'en-tête (gabarit C) : seulement recoloré — jamais masqué */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete a.tel { color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important; font-family: var(--lcvc-sans) !important; }
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete a.tel :is(bdi, .lcv-telephone-visible) { color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important; }

/* 2f-bis. Mobile : nom sur une ligne autant que possible (en-tête moins haut) */
@media (max-width: 600px) {
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .brand :is(strong, .lcv-brand-token),
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .marque :is(b, strong) { font-size: 18px !important; }
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .brand small,
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .marque small { font-size: 10.5px !important; letter-spacing: .12em !important; }
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header .brand img,
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .marque img { width: 48px !important; height: 48px !important; }
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header { padding-top: 10px !important; padding-bottom: 10px !important; }
}

/* 2g. Hauteur commune : 84 px sur ordinateur (au lieu de 120 / 88) */
@media (min-width: 1025px) {
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) .entry-content header.header {
    min-height: 84px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) header#entete .conteneur { height: 84px !important; }
}

/* --------------------------------------------------------------------------
   3. PIED DE PAGE — un seul rendu (footer.footer et footer.pied alignés sur l'accueil)
   -------------------------------------------------------------------------- */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer, footer.pied) {
  background: var(--lcvc-nuit) !important;
  background-image: none !important;
  color: var(--lcvc-texte-clair) !important; -webkit-text-fill-color: currentcolor !important;
  border-top: 1px solid var(--lcvc-filet) !important;
  font-family: var(--lcvc-sans) !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer, footer.pied) :is(.lcv-footer-title, .lcv-footer-heading, h2, h3, h4) {
  font-family: var(--lcvc-serif) !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer, footer.pied) :is(p, li, address, span:not(.lcv-social-logo-frame):not(.network-icon)):not(.boutons-pied *):not(.idf-web-credit *):not(.lcv-idf-web-credit *):not(.brand *):not(.marque *) {
  font-family: var(--lcvc-sans) !important;
  color: var(--lcvc-texte-clair) !important; -webkit-text-fill-color: currentcolor !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer, footer.pied) a:not(.btn):not(.plein):not(.idf-web-credit):not(.lcv-idf-web-credit):not(.lcv-social-officiels a):not(#lcv-profils-publics a) {
  font-family: var(--lcvc-sans) !important;
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer, footer.pied) a:not(.btn):not(.plein):not(.idf-web-credit):hover { color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important; }
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer, footer.pied) :is(p, a, span, strong, b, li, small) {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
/* nom dans le pied de page */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer .brand, footer.pied .marque) :is(strong, b, strong *, b *, .lcv-brand-token) {
  font-family: var(--lcvc-serif) !important;
  font-weight: 400 !important;
  font-variant: normal !important;
  text-transform: none !important;
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  text-shadow: none !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer .brand, footer.pied .marque) small {
  font-family: var(--lcvc-sans) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer .brand, footer.pied .marque) img { border-radius: 50% !important; }
/* ligne du bas */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer .footer-bottom, footer.pied .bas-pied) {
  border-top: 1px solid rgba(229, 197, 138, .18) !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(footer.footer .footer-bottom, footer.pied .bas-pied) :is(span, a:not(.idf-web-credit)) {
  font-size: 13px !important;
  color: #b8c9df !important;
}
/* boutons du pied (gabarit C) : rayon 4 px comme l'accueil */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) footer.pied .boutons-pied a {
  border-radius: 4px !important;
  font-family: var(--lcvc-sans) !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) footer.pied .boutons-pied a.plein,
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) footer.pied .boutons-pied a[href^="tel:"] {
  background: var(--lcvc-or) !important;
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
  border-color: var(--lcvc-or) !important;
}
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) footer.pied .boutons-pied a :is(span, bdi, b, strong) { color: inherit !important; -webkit-text-fill-color: currentcolor !important; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHIE DU CONTENU — titres Georgia, texte system-ui (comme l'accueil)
      (exclut les éléments d'appel, le bandeau cookies et le sélecteur de langue)
   -------------------------------------------------------------------------- */
html body.lcv-site:not(#lcv-a):not(#lcv-b) :is(#content, #contenu-principal, .entry-content, .site-main) :is(h1, h2, h3, .entry-title):not(#lcv-mobile-contact *):not(.cmplz-cookiebanner *) {
  font-family: var(--lcvc-serif) !important;
  -webkit-text-stroke: 0 !important;
  paint-order: normal !important;
}
html body.lcv-site:not(#lcv-a):not(#lcv-b) :is(#content, #contenu-principal, .entry-content, .site-main) :is(h1, h2, .entry-title):not(#lcv-mobile-contact *) {
  font-weight: 400 !important;
}
html body.lcv-site:not(#lcv-a):not(#lcv-b) :is(#content, .entry-content, .site-main) :is(p, li, td, th, label, dd, dt, blockquote, figcaption, input, select, textarea, small):not(#lcv-mobile-contact *):not(.lcv-urgence-appel *):not(.lcv-urgence-wa *):not(.cmplz-cookiebanner *):not(.gt_float_switcher *) {
  font-family: var(--lcvc-sans) !important;
}
/* Contours de lettres (stroke) retirés partout dans le contenu : ombre douce conservée pour les titres sur photo */
html body.lcv-site:not(#lcv-a):not(#lcv-b) #contenu-principal :is(h1, h2, h3, h4, p, strong, b, span, a):not(#lcv-mobile-contact *) {
  -webkit-text-stroke: 0 !important;
}
html body.lcv-site:not(#lcv-a):not(#lcv-b) #contenu-principal :is(h1, h2, h3, h4) {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35) !important;
}

/* 4a. Gabarit B (fond nuit) : titres en or de la charte (#e5c58a au lieu de #ffda82) */
html body.lcv-royal:not(#lcv-a):not(#lcv-b) :is(#contenu-principal, .entry-content) :is(h1, h2):not(header *):not(footer *) {
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
}

/* 4b. Gabarit C (fond clair) : titres bleu nuit, texte lisible, liens or foncé */
html body.lcv-site:not(.lcv-royal):not(.single-post):not(#lcv-a):not(#lcv-b) .entry-content > :is(h1, h2, h3),
html body.lcv-site.page-id-4393:not(#lcv-a):not(#lcv-b) .entry-header .entry-title,
html body.lcv-site.page-id-334:not(#lcv-a):not(#lcv-b) .entry-header .entry-title,
html body.lcv-site:not(#lcv-a):not(#lcv-b) article.ast-article-single:has(.lcv-ville-locale) .entry-header .entry-title {
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
}
html body.lcv-site:not(.lcv-royal):not(#lcv-a):not(#lcv-b) .entry-content > p,
html body.lcv-site:not(.lcv-royal):not(#lcv-a):not(#lcv-b) .entry-content > ul > li,
html body.lcv-site:not(.lcv-royal):not(#lcv-a):not(#lcv-b) .entry-content > ol > li {
  color: var(--lcvc-texte) !important; -webkit-text-fill-color: currentcolor !important;
}
html body.lcv-site:not(.lcv-royal):not(#lcv-a):not(#lcv-b) .entry-content > :is(p, ul, ol) a:not([class*="btn"]):not([class*="button"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa) {
  color: var(--lcvc-or-texte) !important; -webkit-text-fill-color: currentcolor !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/* 4c. Panneau crème pour les pages dont le texte flotte sur la photo de fond
       (histoire 4393, villes Essonne repérées par .lcv-ville-locale, mentions 334) : lisibilité AA */
html body.lcv-site:not(.lcv-royal):not(#lcv-a) #primary > #main > article.ast-article-single:has(.lcv-ville-locale),
html body.lcv-site.page-id-4393:not(#lcv-a) #primary > #main > article.ast-article-single,
html body.lcv-site.page-id-334:not(#lcv-a) #primary > #main > article.ast-article-single {
  background: rgba(246, 243, 236, .97) !important;
  border: 1px solid rgba(184, 137, 59, .28) !important;
  border-radius: 6px !important;
  padding: clamp(20px, 4vw, 56px) clamp(16px, 4vw, 56px) !important;
  box-shadow: 0 18px 40px -28px rgba(14, 30, 47, .55) !important;
  color: var(--lcvc-texte) !important; -webkit-text-fill-color: currentcolor !important;
}
html body.lcv-site.page-id-334:not(#lcv-a):not(#lcv-b) .entry-content :is(h1, h2, h3) { color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important; }
html body.lcv-site.page-id-334:not(#lcv-a):not(#lcv-b) .entry-content :is(p, li, span) { color: var(--lcvc-texte) !important; -webkit-text-fill-color: currentcolor !important; }

/* --------------------------------------------------------------------------
   5. BOUTONS — primaire or / texte nuit, rayon 4 px, system-ui gras
   -------------------------------------------------------------------------- */
html body.lcv-site:not(#lcv-a):not(#lcv-b) .entry-content :is(
    a.ll-btn, a.lcv-btn, a.lcv-rp-bouton, a.lcvd-action, a.lcv-blog-cta-btn,
    .lcv-quiz-btn:not(.lcv-quiz-btn-back), a.elementor-button, .wp-block-button__link
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not([href*="wa.me"]):not([href*="whatsapp"]) {
  border-radius: 4px !important;
  font-family: var(--lcvc-sans) !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
/* boutons pleins dont la couleur sortait de la charte (marron, orange, dégradé) -> or */
html body.lcv-site:not(#lcv-a):not(#lcv-b) .entry-content :is(a.lcv-blog-cta-btn, .lcv-quiz-btn:not(.lcv-quiz-btn-back), a.elementor-button, a.lcvd-action, a.lcv-rp-bouton):not([href*="wa.me"]):not([href*="whatsapp"]):not([class*="wa"]):not([class*="whatsapp"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa),
html body.lcv-royal:not(#lcv-a):not(#lcv-b) #contenu-principal a.button[style*="gradient"],
html body.lcv-site:not(#lcv-a):not(#lcv-b) .entry-content a.lcv-btn[href^="tel:"]:not(.lcv-urgence-appel) {
  background: var(--lcvc-or) !important;
  background-image: none !important;
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
  border-color: var(--lcvc-or) !important;
}
/* gabarit C : bouton « Devis gratuit / Appeler » en pilule -> 4 px */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) :is(.btn.btn-or, a.plein, a.btn[class*="or"]):not(.lcv-urgence-appel):not(#lcv-mobile-contact *) {
  border-radius: 4px !important;
}
/* gabarit B : boutons Arial 2–3 px -> system-ui 4 px */
html body.lcv-royal:not(#lcv-a):not(#lcv-b) #contenu-principal a.button:not(.lcv-urgence-appel):not(.lcv-urgence-wa) {
  border-radius: 4px !important;
  font-family: var(--lcvc-sans) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

/* --------------------------------------------------------------------------
   6. COUCHES @layer EXISTANTES
      Deux feuilles du site sont dans des @layer (lcv-urgence-versailles : page urgence 2514 ;
      lcv_departements : pages départements). En CSS, un !important placé dans une couche bat
      tout !important hors couche : on ajoute donc ces règles DANS les mêmes couches, avec une
      spécificité supérieure. Sur les autres pages, ces blocs ne font que répéter les valeurs ci-dessus.
      (Les règles de ces couches qui visent #lcv-mobile-contact ne sont PAS touchées.)
   -------------------------------------------------------------------------- */
@layer lcv-urgence-versailles {
  html body.page-id-2514:not(#lcv-a):not(#lcv-b) header#entete.entete {
    background: #0e1e2f !important; color: #f6f3ec !important;
    border-bottom: 1px solid rgba(229, 197, 138, .45) !important;
  }
  html body.page-id-2514:not(#lcv-a):not(#lcv-b) header#entete :is(.marque, .marque b, .marque b *, .actions-entete .tel > span, .nav > a, .deroulant > button, .actions-entete .tel) {
    color: #f6f3ec !important; -webkit-text-fill-color: #f6f3ec !important;
  }
  html body.page-id-2514:not(#lcv-a):not(#lcv-b) header#entete :is(.marque small, .actions-entete .tel bdi, .actions-entete .tel .lcv-telephone-visible, .burger) {
    color: #e5c58a !important; -webkit-text-fill-color: #e5c58a !important;
  }
  html body.page-id-2514:not(#lcv-a):not(#lcv-b) header#entete .marque b { font-size: 21px !important; }
  html body.page-id-2514:not(#lcv-a):not(#lcv-b) header#entete .marque small { font-size: 11.5px !important; letter-spacing: .16em !important; }
  html body.page-id-2514:not(#lcv-a):not(#lcv-b) header#entete .actions-entete .btn-or {
    background: #e5c58a !important; color: #0e1e2f !important; -webkit-text-fill-color: #0e1e2f !important;
  }
}
@layer lcv_departements {
  html body.lcv-cadre-departement:not(#lcv-a):not(#lcv-b) header#entete.entete {
    background: #0e1e2f !important; color: #f6f3ec !important;
    border-bottom: 1px solid rgba(229, 197, 138, .45) !important;
  }
  html body.lcv-cadre-departement:not(#lcv-a):not(#lcv-b) header#entete :is(.marque, .marque b, .marque b *, .actions-entete .tel > span, .marque .lcv-brand-token, .nav > a, .deroulant > button, .actions-entete .tel) {
    color: #f6f3ec !important; -webkit-text-fill-color: #f6f3ec !important;
  }
  html body.lcv-cadre-departement:not(#lcv-a):not(#lcv-b) header#entete :is(.marque small, .actions-entete .tel bdi, .actions-entete .tel .lcv-telephone-visible, .burger) {
    color: #e5c58a !important; -webkit-text-fill-color: #e5c58a !important;
  }
  html body.lcv-cadre-departement:not(#lcv-a):not(#lcv-b) header#entete .marque b { font-size: 21px !important; }
  html body.lcv-cadre-departement:not(#lcv-a):not(#lcv-b) header#entete .marque small { font-size: 11.5px !important; letter-spacing: .16em !important; }
  html body.lcv-cadre-departement:not(#lcv-a):not(#lcv-b) header#entete .actions-entete .btn-or {
    background: #e5c58a !important; color: #0e1e2f !important; -webkit-text-fill-color: #0e1e2f !important;
  }
}

/* --------------------------------------------------------------------------
   7. ENCART MOBILE « Fuite, tuile cassée ? » (présent sur toutes les pages internes)
      même titre partout : Georgia 400, or de la charte (au lieu de blanc gras sur le gabarit C)
      — les boutons a.lcv-urgence-appel / a.lcv-urgence-wa ne sont PAS ciblés.
   -------------------------------------------------------------------------- */
html body:not(#lcv-a):not(#lcv-b):not(#lcv-c) [id^="lcv-mobile-urgence"] h2 {
  font-family: var(--lcvc-serif) !important;
  font-weight: 400 !important;
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
  -webkit-text-fill-color: currentcolor !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

/* --------------------------------------------------------------------------
   8. ARTICLES DE BLOG — encart d'abonnement Jetpack (titre gris foncé sur fond nuit, 1:1 avant)
   -------------------------------------------------------------------------- */
html body.single-post:not(#lcv-a):not(#lcv-b) .wp-block-group.has-border-color :is(h2, h3, p):not(:has(input)) {
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
  font-family: var(--lcvc-sans) !important;
}
html body.single-post:not(#lcv-a):not(#lcv-b) .wp-block-group.has-border-color :is(h2, h3) {
  font-family: var(--lcvc-serif) !important;
  font-weight: 400 !important;
}
html body.single-post:not(#lcv-a):not(#lcv-b) .wp-block-group.has-border-color :is(button, .wp-block-button__link) {
  background: var(--lcvc-or) !important;
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important;
  border-radius: 4px !important;
  font-family: var(--lcvc-sans) !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   9. DÉFAUTS DE CONTRASTE PRÉEXISTANTS (mesurés au pixel, échec AA avant et après)
   -------------------------------------------------------------------------- */
/* Services : carte dorée claire « Le budget de votre projet » (#budget, 1re carte) — texte crème/jaune sur or pâle (1,1:1) */
html body.lcv-royal:not(#lcv-a):not(#lcv-b) #contenu-principal .lcv-price-panels > article:not(.lcv-boutique-panel) h2 {
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important; text-shadow: none !important;
}
html body.lcv-royal:not(#lcv-a):not(#lcv-b) #contenu-principal .lcv-price-panels > article:not(.lcv-boutique-panel) .eyebrow {
  color: var(--lcvc-nuit) !important; -webkit-text-fill-color: currentcolor !important; text-shadow: none !important;
}
html body.lcv-royal:not(#lcv-a):not(#lcv-b) #contenu-principal .lcv-price-panels > article:not(.lcv-boutique-panel) > p {
  color: var(--lcvc-texte) !important; -webkit-text-fill-color: currentcolor !important; text-shadow: none !important;
}
/* Villes Essonne : liens dans l'encart nuit « Votre toiture à … » (bleu #060097 sur nuit) */
html body.lcv-site:not(#lcv-a):not(#lcv-b) .entry-content .lcv-ville-locale a:not([class*="btn"]):not([class*="button"]) {
  color: var(--lcvc-or) !important; -webkit-text-fill-color: currentcolor !important;
  text-decoration: underline !important; text-underline-offset: 3px !important;
}

/* Blog : encart d'appel en fin d'article (texte #3d4a57 sur nuit #1e2a3a, 1,6:1 avant) */
html body.single-post:not(#lcv-a):not(#lcv-b) :is(.lcv-blog-cta-title, .lcv-blog-cta-text) {
  color: var(--lcvc-creme) !important; -webkit-text-fill-color: currentcolor !important;
}
html body.single-post:not(#lcv-a):not(#lcv-b) .lcv-blog-cta-title { font-family: var(--lcvc-serif) !important; }

/* --------------------------------------------------------------------------
   10. OPTION (désactivée) — en-tête de l'ACCUEIL en bleu nuit comme les 12 autres gabarits.
       L'accueil est la référence et n'est touché par AUCUNE règle de cette feuille.
       Décommenter ce bloc seulement si le dirigeant veut un en-tête 100 % identique partout.
   --------------------------------------------------------------------------
html body.page-id-4391:not(#lcv-a):not(#lcv-b) header.top {
  background: #0e1e2f !important; color: #f6f3ec !important;
  border-bottom: 1px solid rgba(229, 197, 138, .45) !important;
}
html body.page-id-4391:not(#lcv-a):not(#lcv-b) header.top :is(.brand, .brand span, nav a) { color: #f6f3ec !important; }
html body.page-id-4391:not(#lcv-a):not(#lcv-b) header.top a.button--nav {
  background: #e5c58a !important; color: #0e1e2f !important; border-radius: 4px !important;
}
html body.page-id-4391:not(#lcv-a):not(#lcv-b) header.top a.button--nav * { color: #0e1e2f !important; }
*/
