/* ==========================================================================
   LES COUVREURS VERSAILLAIS — composants.css  (préparé le 29/11/2026, NON publié)
   Composants transverses : boutons, liens du texte, focus clavier, icônes
   réseaux, retour en haut, sélection, défilement, curseur.
   CSS seul, aucune modification HTML, aucun script, aucune requête réseau.

   À charger APRÈS coherence.css (même extension « Cohérence de la charte »,
   ou une 2e feuille enfilée juste après). Ne contredit ni coherence.css
   ni lcv-design.css : mêmes couleurs, mêmes rayons (4 px), mêmes polices.

   Préfixe :not(#lcvk1)…(#lcvk4) : 4 « id » de spécificité, une de plus que
   coherence.css, pour passer devant ses !important sans toucher au HTML.

   Éléments d'appel PROTÉGÉS, jamais ciblés : nav#lcv-mobile-contact (et tout
   son contenu), a.lcv-urgence-appel, a.lcv-urgence-wa. Aucune règle ne
   masque, ne réduit ni ne déplace un lien d'appel.
   Les pages de villes (mise en page) relèvent de design-villes : ici seuls
   leurs boutons et liens, comme partout ailleurs.
   ========================================================================== */

:root {
  --lcvk-nuit: #0e1e2f;
  --lcvk-or: #e5c58a;
  --lcvk-or-clair: #efd6a6;      /* survol du bouton or */
  --lcvk-or-presse: #d8b671;     /* état actif (pressé) */
  --lcvk-or-fonce: #b8893b;
  --lcvk-or-texte: #7c5a1d;      /* lien sur clair : 5,7:1 crème, 5,2:1 beige blog #ebe9e0, 6,3:1 blanc (#8a6420 de coherence.css tombait à 4,4:1 sur le beige du blog) */
  --lcvk-or-texte-vu: #5e461b;   /* lien visité sur clair (8:1 crème) */
  --lcvk-or-focus: #a07a32;      /* anneau de focus sur clair (3,5:1 crème, 4,3:1 nuit) */
  --lcvk-creme: #f6f3ec;
  --lcvk-wa: #08653c;            /* vert WhatsApp foncé, déjà utilisé par la barre d'appel (blanc 7,1:1) */
  --lcvk-wa-survol: #0a7a49;
  --lcvk-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lcvk-rayon: 4px;
  --lcvk-h: 48px;                /* hauteur des boutons du contenu (en-tête : 44 px, fixé par coherence.css) */
  --lcvk-ease: cubic-bezier(.22, .7, .2, 1);
  /* reflet doré : bande claire qui traverse le bouton au survol */
  --lcvk-reflet: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 250, 235, .55) 50%, rgba(255, 255, 255, 0) 62%);
  /* icône « nouvel onglet » (flèche sortante, trait 2) */
  --lcvk-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 01-1 1H5a1 1 0 01-1-1V7a1 1 0 011-1h5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. BOUTONS
   Trois familles, un seul gabarit : rayon 4 px, system-ui 700, 48 px mini,
   texte sur une ligne quand il tient (sinon retour à la ligne propre, jamais coupé).
     P  principal or ........ fond #e5c58a, texte nuit (11,2:1)
     S  secondaire contour .. fond transparent, filet or, texte or (sombre) / nuit (clair)
     W  WhatsApp ............ fond vert #08653c, texte blanc (7,1:1)
   ========================================================================== */

/* 1a. Gabarit commun (P, S, W) -------------------------------------------- */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button,
    .entry-content a.lcv-btn,
    .entry-content a.lcvd-action,
    .entry-content a.lcv-blog-cta-btn,
    .entry-content .lcv-quiz-btn,
    .entry-content button.lcv-nav-btn,
    .entry-content button.lcv-rp-bouton,
    .entry-content .wp-block-button__link,
    a.lcv-charte__btn,
    footer.pied .boutons-pied a
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *) {
  border-radius: var(--lcvk-rayon) !important;
  font-family: var(--lcvk-sans) !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  min-height: var(--lcvk-h) !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  text-align: center !important;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(229, 197, 138, .25);
  background-repeat: no-repeat !important;
  background-size: 260% 100% !important;
  background-position: 120% 0 !important;
}
/* icônes dans les boutons : centrées sur la ligne, jamais écrasées */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(#contenu-principal a.button, .entry-content a.lcv-btn, .entry-content a.lcvd-action, a.lcv-charte__btn, footer.pied .boutons-pied a):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *) :is(svg, img) {
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

/* 1b. P — principal or ------------------------------------------------------
   Royal : a.button sans .outline ; urgence : a.lcv-btn plein ; formulaire
   urgence (marron #785023 en pilule) ; quiz et encart blog ; « Être rappelé » ;
   CERFA (texte #7a4f12 sur or : 3,1:1 avant) ; engagement : --plein ; pied C : .plein */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button:not(.outline):not(.whatsapp-hero):not([href*="whatsapp"]):not([href*="wa.me"]),
    .entry-content a.lcv-btn[href^="tel:"],
    .entry-content a.lcvd-action[href^="tel:"],
    .entry-content a.lcv-blog-cta-btn,
    .entry-content .lcv-quiz-btn:not(.lcv-quiz-btn-back),
    .entry-content button.lcv-nav-btn:not(.lcv-nav-prev):not(.prev):not([class*="retour"]),
    .entry-content button.lcv-rp-bouton,
    .entry-content .wp-block-button__link,
    a.lcv-charte__btn--plein,
    footer.pied .boutons-pied a:is(.plein, [href^="tel:"])
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *) {
  background-color: var(--lcvk-or) !important;
  background-image: var(--lcvk-reflet) !important;
  color: var(--lcvk-nuit) !important;
  -webkit-text-fill-color: currentcolor !important;
  border: 1px solid var(--lcvk-or) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -10px rgba(0, 0, 0, .55) !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button:not(.outline):not(.whatsapp-hero):not([href*="whatsapp"]):not([href*="wa.me"]),
    .entry-content a.lcv-btn[href^="tel:"], .entry-content a.lcvd-action[href^="tel:"],
    .entry-content a.lcv-blog-cta-btn,
    .entry-content .lcv-quiz-btn:not(.lcv-quiz-btn-back),
    .entry-content button.lcv-nav-btn:not(.lcv-nav-prev):not(.prev):not([class*="retour"]),
    .entry-content button.lcv-rp-bouton, .entry-content .wp-block-button__link,
    a.lcv-charte__btn--plein, footer.pied .boutons-pied a:is(.plein, [href^="tel:"])
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *) :is(span, b, strong, bdi, small, em) {
  color: inherit !important;
  -webkit-text-fill-color: currentcolor !important;
}

/* 1c. S — secondaire contour ------------------------------------------------
   Sur fond sombre (royal, urgence, engagement) : filet or, texte or. */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button.outline:not(.whatsapp-hero):not([href*="whatsapp"]):not([href*="wa.me"]),
    .entry-content a.lcv-btn:not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"]),
    a.lcv-charte__btn--trait,
    footer.pied .boutons-pied a:not(.plein):not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"])
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *) {
  background-color: transparent !important;
  background-image: linear-gradient(105deg, rgba(229, 197, 138, 0) 38%, rgba(229, 197, 138, .22) 50%, rgba(229, 197, 138, 0) 62%) !important;
  color: var(--lcvk-or) !important;
  -webkit-text-fill-color: currentcolor !important;
  border: 1px solid rgba(229, 197, 138, .75) !important;
  box-shadow: none !important;
}

/* 1d. W — WhatsApp ----------------------------------------------------------
   Avant : 5 rendus (#25d366 + texte #7a4f12 à 2,3:1, nuit translucide, #18783b
   Arial, contour). Après : le vert foncé de la barre d'appel, partout. */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button:is(.whatsapp-hero, [href*="whatsapp"], [href*="wa.me"]),
    .entry-content a.lcvd-action:is([href*="wa.me"], [href*="whatsapp"]),
    .entry-content a.lcv-btn:is([href*="wa.me"], [href*="whatsapp"]),
    footer.pied .boutons-pied a:is([href*="wa.me"], [href*="whatsapp"])
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *) {
  background-color: var(--lcvk-wa) !important;
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, 0) 62%) !important;
  color: #fff !important;
  -webkit-text-fill-color: currentcolor !important;
  border: 1px solid var(--lcvk-wa) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 14px -10px rgba(0, 0, 0, .55) !important;
  font-family: var(--lcvk-sans) !important;
  font-weight: 700 !important;
  border-radius: var(--lcvk-rayon) !important;
  min-height: var(--lcvk-h) !important;
  text-decoration: none !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button:is(.whatsapp-hero, [href*="whatsapp"], [href*="wa.me"]),
    .entry-content a.lcvd-action:is([href*="wa.me"], [href*="whatsapp"]),
    .entry-content a.lcv-btn:is([href*="wa.me"], [href*="whatsapp"]),
    footer.pied .boutons-pied a:is([href*="wa.me"], [href*="whatsapp"])
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *) :is(span, b, strong, small, em) {
  color: inherit !important;
  -webkit-text-fill-color: currentcolor !important;
}

/* 1e. Survol : reflet doré qui traverse + teinte plus claire ---------------- */
@media (hover: hover) {
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
      #contenu-principal a.button:not(.outline):not(.whatsapp-hero):not([href*="whatsapp"]):not([href*="wa.me"]),
      .entry-content a.lcv-btn[href^="tel:"], .entry-content a.lcvd-action[href^="tel:"],
      .entry-content a.lcv-blog-cta-btn,
      .entry-content .lcv-quiz-btn:not(.lcv-quiz-btn-back),
      .entry-content button.lcv-nav-btn:not(.lcv-nav-prev):not(.prev):not([class*="retour"]),
      .entry-content button.lcv-rp-bouton, .entry-content .wp-block-button__link,
      a.lcv-charte__btn--plein, footer.pied .boutons-pied a:is(.plein, [href^="tel:"])
    ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *):hover {
    background-color: var(--lcvk-or-clair) !important;
    border-color: var(--lcvk-or-clair) !important;
    color: var(--lcvk-nuit) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 20px -12px rgba(184, 137, 59, .9) !important;
  }
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
      #contenu-principal a.button.outline:not(.whatsapp-hero):not([href*="whatsapp"]):not([href*="wa.me"]),
      .entry-content a.lcv-btn:not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"]),
      a.lcv-charte__btn--trait,
      footer.pied .boutons-pied a:not(.plein):not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"])
    ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *):hover {
    background-color: rgba(229, 197, 138, .12) !important;
    border-color: var(--lcvk-or) !important;
    color: var(--lcvk-or-clair) !important;
  }
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
      #contenu-principal a.button:is(.whatsapp-hero, [href*="whatsapp"], [href*="wa.me"]),
      .entry-content a.lcvd-action:is([href*="wa.me"], [href*="whatsapp"]),
      .entry-content a.lcv-btn:is([href*="wa.me"], [href*="whatsapp"]),
      footer.pied .boutons-pied a:is([href*="wa.me"], [href*="whatsapp"])
    ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):hover {
    background-color: var(--lcvk-wa-survol) !important;
    border-color: var(--lcvk-wa-survol) !important;
    color: #fff !important;
  }
  /* le reflet se déplace (toutes familles) */
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
      #contenu-principal a.button, .entry-content a.lcv-btn, .entry-content a.lcvd-action,
      .entry-content a.lcv-blog-cta-btn, .entry-content .lcv-quiz-btn,
      .entry-content button.lcv-nav-btn, .entry-content button.lcv-rp-bouton, .entry-content .wp-block-button__link,
      a.lcv-charte__btn, footer.pied .boutons-pied a
    ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(header *):hover {
    background-position: -20% 0 !important;
  }
}

/* 1f. Pressé (actif) : enfoncé d'1 px, ombre intérieure ---------------------- */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button, .entry-content a.lcv-btn, .entry-content a.lcvd-action,
    .entry-content a.lcv-blog-cta-btn, .entry-content .lcv-quiz-btn,
    .entry-content button.lcv-nav-btn, .entry-content button.lcv-rp-bouton, .entry-content .wp-block-button__link,
    a.lcv-charte__btn, footer.pied .boutons-pied a,
    .entry-content header.header > a.button, header#entete .actions-entete .btn
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):active {
  transform: translateY(1px) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .22) !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    #contenu-principal a.button:not(.outline):not(.whatsapp-hero):not([href*="whatsapp"]):not([href*="wa.me"]),
    .entry-content a.lcv-btn[href^="tel:"], .entry-content a.lcvd-action[href^="tel:"],
    .entry-content a.lcv-blog-cta-btn,
    .entry-content .lcv-quiz-btn:not(.lcv-quiz-btn-back), .entry-content button.lcv-rp-bouton,
    a.lcv-charte__btn--plein, .entry-content header.header > a.button, header#entete .actions-entete .btn
  ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):active {
  background-color: var(--lcvk-or-presse) !important;
}

/* 1g. Bouton or de l'en-tête (coherence.css) : même reflet et même focus */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content header.header > a.button, header#entete .actions-entete .btn) {
  background-image: var(--lcvk-reflet) !important;
  background-repeat: no-repeat !important;
  background-size: 260% 100% !important;
  background-position: 120% 0 !important;
}
@media (hover: hover) {
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content header.header > a.button, header#entete .actions-entete .btn):hover {
    background-position: -20% 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 20px -12px rgba(184, 137, 59, .9) !important;
  }
}

/* 1h. Lien « Appeler » de l'en-tête (gabarit C, mobile) : 40 -> 44 px de cible.
   Seulement agrandi : ni masqué, ni déplacé, ni recoloré. */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) header#entete .actions-entete a.tel {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* 1i. Bouton d'aide flottant « Besoin d'aide ? » (royal) : pilule Arial -> charte */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) button.guide-toggle {
  font-family: var(--lcvk-sans) !important;
  font-weight: 600 !important;
  background-color: var(--lcvk-nuit) !important;
  color: var(--lcvk-or) !important;
  border: 1px solid rgba(229, 197, 138, .6) !important;
  min-height: 44px !important;
}

/* 1j. Boutons tiers : bandeau cookies (police) et « Écrire un avis » (35 -> 44 px) */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .cmplz-cookiebanner .cmplz-btn {
  font-family: var(--lcvk-sans) !important;
  border-radius: var(--lcvk-rayon) !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background-color: var(--lcvk-nuit) !important;
  border-color: var(--lcvk-nuit) !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) a.ti-header-write-btn {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--lcvk-rayon) !important;
  font-family: var(--lcvk-sans) !important;
  font-weight: 600 !important;
}

/* 1k. Boutons de partage Jetpack (blog) : 30 px Open Sans, texte #7a4f12 -> 44 px, charte */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .sharedaddy .sd-content ul li a.share-icon,
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .sharedaddy .sd-content ul li a.sharing-anchor {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 14px !important;
  border-radius: var(--lcvk-rayon) !important;
  font-family: var(--lcvk-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--lcvk-nuit) !important;
  background: #fff !important;
  border: 1px solid rgba(184, 137, 59, .55) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
@media (hover: hover) {
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .sharedaddy .sd-content ul li a:is(.share-icon, .sharing-anchor):hover {
    background: var(--lcvk-creme) !important;
    border-color: var(--lcvk-or-fonce) !important;
  }
}

/* 1l. Transitions (seulement si l'utilisateur accepte les animations) */
@media (prefers-reduced-motion: no-preference) {
  html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
      #contenu-principal a.button, .entry-content a.lcv-btn, .entry-content a.lcvd-action,
      .entry-content a.lcv-blog-cta-btn, .entry-content .lcv-quiz-btn,
      .entry-content button.lcv-nav-btn, .entry-content button.lcv-rp-bouton, .entry-content .wp-block-button__link,
      a.lcv-charte__btn, footer.pied .boutons-pied a,
      .entry-content header.header > a.button, header#entete .actions-entete .btn,
      .sharedaddy .sd-content ul li a, #ast-scroll-top
    ):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *) {
    transition: background-color .2s ease, background-position .7s var(--lcvk-ease), border-color .2s ease,
                color .2s ease, box-shadow .25s ease, transform .12s ease !important;
  }
}

/* ==========================================================================
   2. FOCUS CLAVIER — un seul anneau, visible partout
   Sur clair : or soutenu #a07a32 (3,5:1 sur crème, 3,8:1 sur blanc).
   Sur sombre (en-têtes, pieds, pages royales, encarts nuit) : or #e5c58a (11:1).
   La barre d'appel mobile garde son anneau blanc (non ciblée).
   ========================================================================== */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):not(#lcv-mobile-contact *):focus-visible {
  outline: 3px solid var(--lcvk-or-focus) !important;
  outline-offset: 3px !important;
  border-radius: var(--lcvk-rayon);
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(
    header, footer, .entry-content header.header, footer.pied, .lcv-royal #contenu-principal,
    .lcv-charte, .lcv-blog-cta, .lcv-ville-locale, #lcv-profils-publics, .cmplz-cookiebanner .cmplz-btn.cmplz-accept
  ) :is(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):not(#lcv-mobile-contact *):focus-visible,
html body.lcv-royal:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(a, button, summary):not(#lcv-mobile-contact *):focus-visible {
  outline-color: var(--lcvk-or) !important;
}
/* Urgence (page 2514) et départements : leurs feuilles sont dans des @layer dont
   l'anneau bleu #2387bf en !important bat tout !important hors couche. On pose donc
   l'anneau or DANS ces couches (même méthode que coherence.css). La barre d'appel
   #lcv-mobile-contact n'est pas visée : elle garde l'anneau défini par sa feuille. */
@layer lcv-urgence-versailles {
  html body.page-id-2514:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(#entete, .lcv-intro, footer) :is(a, button):not(#lcv-mobile-contact *):focus-visible {
    outline: 3px solid #e5c58a !important; outline-offset: 3px !important;
  }
}
@layer lcv_departements {
  html body.lcv-cadre-departement:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(#entete, footer) :is(a, button):not(#lcv-mobile-contact *):focus-visible {
    outline: 3px solid #e5c58a !important; outline-offset: 3px !important;
  }
}
/* les champs de formulaire gardent leurs coins */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(input, select, textarea):focus-visible { border-radius: revert-layer; }

/* ==========================================================================
   3. LIENS DANS LE TEXTE
   Soulignement fin et décalé, qui s'épaissit au survol ; visité discret.
   ========================================================================== */
/* 3a. Sur fond clair (gabarit C, blog, faux couvreur, mentions) */
html body.lcv-site:not(.lcv-royal):not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content, #content) :is(p, li, dd, td, figcaption, blockquote) a:not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(.lcvd-lien):not(.lcv-mesh-link):not(.lcvd-city-main):not(.share-icon):not(.sharing-anchor):not(.cmplz-link):not(:has(img, svg)):not(:is(.lcv-ville-locale, .lcv-blog-cta, .lcv-charte, .lcv-guide__signature, footer, header, .lcv-quiz, [class*="lcv-mobile-urgence"]) a) {
  color: var(--lcvk-or-texte) !important;
  -webkit-text-fill-color: currentcolor !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .22em !important;
  text-decoration-color: rgba(124, 90, 29, .45) !important;
  text-decoration-skip-ink: auto;
}
html body.lcv-site:not(.lcv-royal):not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content, #content) :is(p, li, dd, td, figcaption, blockquote) a:not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(.lcvd-lien):not(.lcv-mesh-link):not(.lcvd-city-main):not(.share-icon):not(.sharing-anchor):not(.cmplz-link):not(:has(img, svg)):not(:is(.lcv-ville-locale, .lcv-blog-cta, .lcv-charte, .lcv-guide__signature, footer, header, .lcv-quiz, [class*="lcv-mobile-urgence"]) a):visited {
  color: var(--lcvk-or-texte-vu) !important;
}
html body.lcv-site:not(.lcv-royal):not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content, #content) :is(p, li, dd, td, figcaption, blockquote) a:not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(.lcvd-lien):not(.lcv-mesh-link):not(.lcvd-city-main):not(.share-icon):not(.sharing-anchor):not(.cmplz-link):not(:has(img, svg)):not(:is(.lcv-ville-locale, .lcv-blog-cta, .lcv-charte, .lcv-guide__signature, footer, header, .lcv-quiz, [class*="lcv-mobile-urgence"]) a):is(:hover, :focus-visible) {
  color: var(--lcvk-nuit) !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: var(--lcvk-or-fonce) !important;
}

/* 3b. Sur fond sombre : pages royales (services, villes principales, contact)
   et encarts nuit. Corrige les liens #7a4f12 posés sur bleu nuit (1,3 à 1,9:1,
   signalés par axe sur services, Vanves, Bailly, contact). */
html body.lcv-royal:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) #contenu-principal :is(p, li, dd, td, figcaption, blockquote) a:not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(.lcvd-lien):not(:has(img, svg)):not(.lcv-price-panels > article:not(.lcv-boutique-panel) a):not(.ti-widget a):not(form a),
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.lcv-ville-locale, .lcv-blog-cta, .lcv-charte, .lcv-guide__signature) :is(p, li) a:not([class*="btn"]):not([class*="button"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(:has(img, svg)) {
  color: var(--lcvk-or) !important;
  -webkit-text-fill-color: currentcolor !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .22em !important;
  text-decoration-color: rgba(229, 197, 138, .5) !important;
}
html body.lcv-royal:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) #contenu-principal :is(p, li, dd, td, figcaption, blockquote) a:not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(.lcvd-lien):not(:has(img, svg)):not(.lcv-price-panels > article:not(.lcv-boutique-panel) a):not(.ti-widget a):not(form a):visited,
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.lcv-ville-locale, .lcv-blog-cta, .lcv-charte, .lcv-guide__signature) :is(p, li) a:not([class*="btn"]):not([class*="button"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(:has(img, svg)):visited {
  color: #d6bb85 !important;
}
html body.lcv-royal:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) #contenu-principal :is(p, li, dd, td, figcaption, blockquote) a:not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(.lcvd-lien):not(:has(img, svg)):not(.lcv-price-panels > article:not(.lcv-boutique-panel) a):not(.ti-widget a):not(form a):is(:hover, :focus-visible),
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.lcv-ville-locale, .lcv-blog-cta, .lcv-charte, .lcv-guide__signature) :is(p, li) a:not([class*="btn"]):not([class*="button"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(:has(img, svg)):is(:hover, :focus-visible) {
  color: #f6e3bd !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: var(--lcvk-or) !important;
}

/* 3c. Liens externes (nouvel onglet) : petite flèche sortante + annonce
   « (nouvel onglet) » pour les lecteurs d'écran. Exclus : liens dont le texte
   porte déjà une flèche (fenêtres de toit, mairies), boutons, logos. */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content, #contenu-principal) :is(p, li, dd, td) a[target="_blank"]:is([href^="http"]):not([href*="les-couvreurs-versaillais.fr"]):not([class*="btn"]):not([class*="button"]):not([class*="bouton"]):not(.lcv-urgence-appel):not(.lcv-urgence-wa):not(#lcv-mobile-contact *):not(:has(img, svg)):not(:is(#fenetres-de-toit, #demarches-mairie, .lcv-info-grid, .lcv-ville-locale ul, .sharedaddy, .ti-widget, .lcv-charte) a)::after {
  content: "";
  content: "" / " (nouvel onglet)";
  display: inline-block;
  width: .72em;
  height: .72em;
  margin-left: .22em;
  vertical-align: .02em;
  background-color: currentColor;
  -webkit-mask: var(--lcvk-ext) center / contain no-repeat;
          mask: var(--lcvk-ext) center / contain no-repeat;
  opacity: .8;
}

/* ==========================================================================
   4. LOGOS ET BLASONS — netteté et stabilité (pas de décalage au chargement)
   Les fichiers sont déjà en 112 px pour un affichage 56 px (net en Retina).
   ========================================================================== */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content header.header .brand img, header#entete .marque img, footer.footer .brand img, footer.pied .marque img) {
  aspect-ratio: 1 / 1 !important;
  height: auto;
  image-rendering: auto;
}

/* ==========================================================================
   5. ICÔNES RÉSEAUX ET PICTOGRAMMES
   lcv-design.css donne déjà les tuiles 3D (48 px, ivoire, filet or).
   Ici : même cible 44 px mini, même survol, et le ruban WhatsApp du pied
   (texte #7a4f12 sur nuit, 1,9:1) lisible.
   ========================================================================== */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) #lcv-profils-publics a {
  min-width: 44px;
  min-height: 44px;
  color: var(--lcvk-creme) !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .social-ribbon a.with-network-icon,
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .social-ribbon a.with-network-icon :is(span, b, strong, small) {
  color: var(--lcvk-creme) !important;
  -webkit-text-fill-color: currentcolor !important;
  font-family: var(--lcvk-sans) !important;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) .social-ribbon a.with-network-icon .network-icon {
  align-self: center !important;
}
/* pictogrammes au trait du contenu : trait arrondi, rendu net */
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content, #contenu-principal) svg:not([fill]) :is(path, circle, rect, line, polyline):not([fill]) {
  stroke-linecap: round;
  stroke-linejoin: round;
}
html body:not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) :is(.entry-content, #contenu-principal, footer) svg {
  shape-rendering: geometricPrecision;
}

/* ==========================================================================
   6. RETOUR EN HAUT (Astra #ast-scroll-top, ordinateur)
   Avant : carré de 31 px collé au bouton « Besoin d'aide » des pages royales.
   Après : 44 px, nuit et or, aligné sur le bord droit de la barre d'appel,
   juste au-dessus d'elle (ne la recouvre jamais).
   ========================================================================== */
html body:not(.page-id-4391):not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) #ast-scroll-top {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  right: 16px !important;
  bottom: 156px !important;
  border-radius: var(--lcvk-rayon) !important;
  background: var(--lcvk-nuit) !important;
  color: var(--lcvk-or) !important;
  border: 1px solid rgba(229, 197, 138, .6) !important;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .7) !important;
  font-size: 16px !important;
}
@media (hover: hover) {
  html body:not(.page-id-4391):not(#lcvk1):not(#lcvk2):not(#lcvk3):not(#lcvk4) #ast-scroll-top:hover {
    background: var(--lcvk-or) !important;
    color: var(--lcvk-nuit) !important;
  }
}

/* ==========================================================================
   7. FINITIONS SANS RISQUE
   ========================================================================== */
/* sélection de texte aux couleurs de la charte (avant : bleu Astra #060097) */
::selection { background-color: #e5c58a; color: #0e1e2f; -webkit-text-fill-color: #0e1e2f; }
/* barre de défilement fine (les couleurs viennent déjà de lcv-design.css) */
html { scrollbar-width: thin; }
/* curseur : main sur tout ce qui se clique, interdit sur ce qui est désactivé */
:where(button, [role="button"], summary, label[for], select, input[type="submit"], input[type="checkbox"], input[type="radio"]) { cursor: pointer; }
:where(button, input, select, textarea):disabled { cursor: not-allowed; }
/* retour visuel du toucher discret (iOS / Android) */
:where(a, button, summary) { -webkit-tap-highlight-color: rgba(229, 197, 138, .25); }
