/* =========================================================
   Correctifs finaux contraste / hover — 2026
   Objectif : empêcher les cartes sombres de devenir claires au hover
   et sécuriser tous les titres sur fonds sombres.
   ========================================================= */

/* HOME : la première carte stratégique sombre ne doit jamais passer beige au hover */
body.page-home .rb-seo-pathway-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark,
body.page-home .rb-entry-section .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]{
  background:
    radial-gradient(circle at 86% 12%,rgba(200,80,26,.32),transparent 10rem),
    linear-gradient(145deg,#15110f,#201713 58%,#11100e)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.page-home .rb-seo-pathway-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:hover,
body.page-home .rb-entry-section .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:hover,
body.page-home .rb-seo-pathway-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:focus-visible,
body.page-home .rb-entry-section .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:focus-visible,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:hover,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:focus-visible{
  background:
    radial-gradient(circle at 86% 12%,rgba(200,80,26,.40),transparent 10rem),
    linear-gradient(145deg,#17110e,#241a14 58%,#11100e)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-2px)!important;
  box-shadow:0 28px 70px rgba(17,16,14,.18)!important;
}
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark :is(strong,span,em),
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:hover :is(strong,span,em),
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:focus-visible :is(strong,span,em),
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"] :is(strong,span,em),
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:hover :is(strong,span,em),
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:focus-visible :is(strong,span,em){
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark strong,
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:hover strong,
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:focus-visible strong,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"] strong,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:hover strong,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:focus-visible strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark span,
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:hover span,
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:focus-visible span,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"] span,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:hover span,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:focus-visible span{
  color:rgba(255,255,255,.82)!important;
  -webkit-text-fill-color:rgba(255,255,255,.82)!important;
}
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark em,
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:hover em,
body.page-home .rb-entry-grid > a.rb-entry-card.rb-entry-card--dark:focus-visible em,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"] em,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:hover em,
body.page-home a.rb-entry-card.rb-entry-card--dark[href="/audit-seo-local/"]:focus-visible em{
  color:#ff8a4c!important;
  -webkit-text-fill-color:#ff8a4c!important;
}
body.page-home .rb-entry-card:not(.rb-entry-card--dark):hover strong,
body.page-home .rb-entry-card:not(.rb-entry-card--dark):focus-visible strong{
  color:#1A1612!important;
  -webkit-text-fill-color:#1A1612!important;
}
body.page-home .rb-entry-card:not(.rb-entry-card--dark):hover span,
body.page-home .rb-entry-card:not(.rb-entry-card--dark):focus-visible span{
  color:#5C5248!important;
  -webkit-text-fill-color:#5C5248!important;
}

/* PAGES INTERNES : le sélecteur .rb-inner-content .block-head h2 était trop global.
   On le neutralise uniquement quand le block-head est dans une zone sombre. */
body.rb-redesign-page :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway),
body.rb-redesign-page :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) .block-head{
  color:#FFF9EF!important;
  -webkit-text-fill-color:#FFF9EF!important;
}
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) .block-head h2,
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) :is(h1,h2,h3,h4,.cta-h,.services-head h2,.cities-left h2),
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) :is(h1,h2,h3,h4,.cta-h,.services-head h2,.cities-left h2) *{
  color:#FFF9EF!important;
  -webkit-text-fill-color:#FFF9EF!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  text-shadow:none!important;
}
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) .block-head h2 em,
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) :is(h1,h2,h3,h4,.cta-h,.services-head h2,.cities-left h2) em,
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) .accent-text{
  color:#E77735!important;
  -webkit-text-fill-color:#E77735!important;
  font-style:normal!important;
  opacity:1!important;
}
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) :is(p,li,span){
  color:rgba(255,249,239,.78)!important;
  -webkit-text-fill-color:rgba(255,249,239,.78)!important;
  opacity:1!important;
}
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) :is(strong,b){
  color:#FFF9EF!important;
  -webkit-text-fill-color:#FFF9EF!important;
}
body.rb-redesign-page .rb-inner-content :is(.section-cta,.section-services,.section-cities,.rb-seo-pathway) :is(.inline-button,.button,.button-light,.cta-btn,.card-link){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Portfolio : sécurité renforcée sur les CTA sombres, même si un vieux CSS repasse après */
body.rb-theme-portfolio .section-cta,
body.rb-theme-portfolio .rb-seo-pathway{
  background:
    radial-gradient(circle at 88% 18%,rgba(200,80,26,.24),transparent 18rem),
    linear-gradient(145deg,#17110E,#241A14)!important;
}
body.rb-theme-portfolio .rb-inner-content .section-cta h2.cta-h,
body.rb-theme-portfolio .rb-inner-content .section-cta .cta-h,
body.rb-theme-portfolio .rb-inner-content .section-cta .cta-h *,
body.rb-theme-portfolio .rb-inner-content .rb-seo-pathway .block-head h2,
body.rb-theme-portfolio .rb-inner-content .rb-seo-pathway .block-head h2 *,
body.rb-theme-portfolio .rb-inner-content .rb-seo-pathway :is(h2,h3),
body.rb-theme-portfolio .rb-inner-content .rb-seo-pathway :is(h2,h3) *{
  color:#FFF9EF!important;
  -webkit-text-fill-color:#FFF9EF!important;
  opacity:1!important;
  filter:none!important;
}
body.rb-theme-portfolio .rb-inner-content .section-cta h2.cta-h em,
body.rb-theme-portfolio .rb-inner-content .section-cta .cta-h em,
body.rb-theme-portfolio .rb-inner-content .rb-seo-pathway .block-head h2 em,
body.rb-theme-portfolio .rb-inner-content .rb-seo-pathway :is(h2,h3) em{
  color:#E77735!important;
  -webkit-text-fill-color:#E77735!important;
  font-style:normal!important;
}
