/* ==========================================================================
   STYLE V2 — retrait des « marqueurs de design IA »            (18/11/2026)
   --------------------------------------------------------------------------
   Proposition V2 validée par Vincent dans la démo (www/demo-marqueurs-v2.html,
   règles source : demarquage-v2.css, sans la section « police »).

   Toutes les règles visent html.rh-v2 : la classe est posée sur <html> par
   inc/style-v2.php. Retirer la classe (ou le module) = retour au style d'avant,
   sans toucher à v3.css. Les spécificités sont celles testées dans la démo
   (une classe sur <html>), d'où la reprise à l'identique.

   Identité tirée du LOGO : violet #4d4084, violet assombri #261d47 (sections
   sombres), titres #2a2150, orange #ff5100, éclats orange/vert/turquoise ;
   angles francs ; boutons rectangulaires soulignés d'orange ; surtitres gris.
   ========================================================================== */

/* Barre tricolore réutilisée par l'accroche (3) et les surtitres (7) */
html{
  --dm-eclats:linear-gradient(90deg, #ff5100 0 34%, #93d500 34% 67%, #10cfc9 67% 100%);
}


/* --------------------------------------------------------------------------
   1. COULEURS — violet et orange du logo ; sombre = violet du logo assombri
   -------------------------------------------------------------------------- */
html.rh-v2{
  --rhv3-violet:#4d4084;
  --rhv3-violet-2:#6b5ca8;
  --rhv3-violet-deep:#261d47; /* violet du logo assombri (18/11 : le noir encre a été écarté) */
  --rhv3-orange:#ff5100;
  --rhv3-orange-soft:#ff8a4f;
  --rhv3-ink:#2a2150;      /* titres et texte : violet très foncé tiré du logo (18/11 : le noir est écarté) */
  --rhv3-ink-soft:#5f5870;
  --dm-gris:#6e6878;       /* surtitres : information secondaire, en gris */
}
html.rh-v2 .rhv3-home,
html.rh-v2 .rhv3-dc{
  --violet:#4d4084; --violet-2:#6b5ca8; --violet-deep:#261d47;
  --orange:#ff5100; --orange-soft:#ff8a4f;
  --ink:#2a2150; --ink-soft:#5f5870;
}
html.rh-v2 [style*="#c9c5f0"],
html.rh-v2 .rhv3-ctaband__p{ color:rgba(255,255,255,.72) !important; }
html.rh-v2 .rhv3-footer__title{ color:rgba(255,255,255,.62) !important; }
html.rh-v2 :is(.rhv3-eyebrow, .rhv3-shead__eyebrow, .rhv3-fi-regie__eyebrow, .rhv3-fsplit__eyebrow, .rhv3-cmm-step__n){ color:#c43e00 !important; }
html.rh-v2 :is(.rhv3-bg-deep, .rhv3-sfinal, .rhv3-fi-final, .rhv3-cmm-summary, .rhv3-ctaband__band) .rhv3-eyebrow{ color:var(--rhv3-orange-soft) !important; }


/* --------------------------------------------------------------------------
   2. FONDS — blanc cassé chaud
   -------------------------------------------------------------------------- */
html.rh-v2{
  --rhv3-lav:#f7f5f1;
  --rhv3-lav-2:#efebe4;
  --rhv3-line:#e6e1d8;
}
html.rh-v2 .rhv3-home,
html.rh-v2 .rhv3-dc{ --lav:#f7f5f1; --lav-2:#efebe4; --line:#e6e1d8; }
html.rh-v2 :is(.rhv3-shero, .rh-entry-content .rh-title-intro, .rhv3-cmm-hero, .rhv3-ct-hero, .rhv3-tf-hero, .rhv3-fi-hero, .rhv3-guide-hero, .rhv3-arch-hero, .rhv3-page-hero),
html.rh-v2 [style*="radial-gradient"]{ background:#f7f5f1 !important; }


/* --------------------------------------------------------------------------
   3. ACCROCHE — ni capsule ni point : la barre aux trois éclats du logo
   -------------------------------------------------------------------------- */
html.rh-v2 :is(.rhv3-badge, .rhv3-fi-badge, .rhv3-cmm-hero__badge, .rh-prod-kicker, .rhv3-ct-badge){
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  gap:12px !important;
  font-size:14.5px !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  color:var(--rhv3-ink) !important;
}
html.rh-v2 :is(.rhv3-badge, .rhv3-fi-badge, .rhv3-cmm-hero__badge, .rh-prod-kicker, .rhv3-ct-badge)::before{
  content:"" !important;
  display:inline-block !important;
  flex:0 0 auto;
  width:28px !important;
  height:6px !important;
  border-radius:0 !important;
  background:var(--dm-eclats) !important;
  transform:skewX(-28deg);
}
html.rh-v2 :is(.rhv3-dot, .rhv3-cmm-hero__dot, .rhv3-ct-badge__dot),
html.rh-v2 .rhv3-fi-badge > svg{ display:none !important; }
/* les autres points (étiquettes, « disponible ») : petit hexagone */
html.rh-v2 :is(.rhv3-cmm-tag__dot, .rhv3-pulse-dot){
  width:9px !important;
  height:10px !important;
  border-radius:0 !important;
  clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
html.rh-v2 .rhv3-pulse-dot::before{ display:none !important; }


/* --------------------------------------------------------------------------
   4. BOUTONS — rectangles francs soulignés d'un trait orange épais
   -------------------------------------------------------------------------- */
html.rh-v2 :is(.rhv3-btn--primary, .rhv3-btn--white,
  .rhv3-fi-btn--violet, .rhv3-fi-btn--white, .rhv3-cmm-btn--violet, .rhv3-guide-btn--violet, .rh-btn-primary){
  border-radius:0 !important;
  box-shadow:inset 0 -4px 0 var(--rhv3-orange) !important;
  padding-left:28px !important;
  padding-right:28px !important;
}
html.rh-v2 :is(.rhv3-btn--orange, .rhv3-ctaband__btn--orange, .rhv3-fi-btn--orange, .rhv3-cmm-btn--orange, .rhv3-guide-btn--orange){
  border-radius:0 !important;
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.28) !important;
  padding-left:28px !important;
  padding-right:28px !important;
}
html.rh-v2 :is(.rhv3-btn--primary, .rhv3-fi-btn--violet, .rhv3-cmm-btn--violet, .rhv3-guide-btn--violet, .rh-btn-primary):hover{
  background:var(--rhv3-violet-deep) !important;
}
html.rh-v2 :is(.rhv3-btn--ghost, .rhv3-btn--outline, .rhv3-ctaband__btn--outline, .rhv3-fi-btn--ghost, .rhv3-guide-btn--ghost, .rhv3-cmm-btn--ghost){
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  padding:8px 2px !important;
  text-decoration:underline !important;
  text-decoration-color:var(--rhv3-orange) !important;
  text-decoration-thickness:2px !important;
  text-underline-offset:7px !important;
}
html.rh-v2 .rh-btn-phone{ border-radius:0 !important; }


/* --------------------------------------------------------------------------
   5. MÉTIERS ET SERVICES — liens soulignés d'un filet ; badges à angles droits
   -------------------------------------------------------------------------- */
html.rh-v2 :is(.rhv3-jobpill, .rhv3-pill, .rhv3-tf-svcpill, .rhv3-cmm-relpill),
html.rh-v2 .rhv3-dc a[style*="border-radius:999px"],
html.rh-v2 .rhv3-dc span[style*="border-radius:999px"]{
  background:none !important;
  border:0 !important;
  border-bottom:1px solid var(--rhv3-line) !important;
  border-radius:0 !important;
  padding:5px 0 !important;
  margin-right:14px !important;
  transition:border-color .15s, color .15s;
}
html.rh-v2 :is(.rhv3-jobpill, .rhv3-pill, .rhv3-tf-svcpill, .rhv3-cmm-relpill):hover,
html.rh-v2 .rhv3-dc a[style*="border-radius:999px"]:hover{
  border-bottom-color:var(--rhv3-orange) !important;
  color:var(--rhv3-violet) !important;
}
html.rh-v2 :is(.rhv3-cmm-tag, .rhv3-ctaband__badge, .rhv3-tf-badge, .rhv3-badge-green, .rhv3-avail, .rhv3-guide-meta__cat, .rhv3-modal__chip){
  border-radius:0 !important;
}


/* --------------------------------------------------------------------------
   6. TITRES — une seule couleur
   -------------------------------------------------------------------------- */
html.rh-v2 :is(.rhv3-accent, .rhv3-accent-soft, [class*="__accent"]),
html.rh-v2 :is(.rhv3, .rhv3-dc, .rhv3-home) :is(h1, h2, .rhv3-h2, [class*="__title"]) span{
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
}


/* --------------------------------------------------------------------------
   7. SURTITRES — casse normale, en gris, barre aux éclats du logo
   -------------------------------------------------------------------------- */
html.rh-v2 :is(.rhv3-eyebrow, .rhv3-shead__eyebrow, [class*="__eyebrow"], .rhv3-footer__title, .rhv3-cmm-step__n),
html.rh-v2 .rhv3-dc [style*="text-transform:uppercase"]{
  text-transform:none !important;
  letter-spacing:0 !important;
  font-size:15px !important;
  font-weight:700 !important;
}
/* gris : le surtitre est une information secondaire, il ne doit pas rivaliser avec le titre */
html.rh-v2 :is(.rhv3-eyebrow, .rhv3-shead__eyebrow, .rhv3-fi-regie__eyebrow, .rhv3-fsplit__eyebrow, .rhv3-cmm-step__n),
html.rh-v2 .rhv3-dc [style*="text-transform:uppercase"]{
  color:var(--dm-gris, #6e6878) !important;
  font-weight:600 !important;
}
html.rh-v2 :is(.rhv3-eyebrow, .rhv3-shead__eyebrow, [class*="__eyebrow"], .rhv3-footer__title)::before{
  content:"";
  display:inline-block;
  width:22px;
  height:5px;
  margin-right:10px;
  vertical-align:middle;
  position:relative;
  top:-1px;
  background:var(--dm-eclats);
  transform:skewX(-28deg);
}
html.rh-v2 :is(.rhv3-bg-deep, .rhv3-sfinal, .rhv3-fi-final, .rhv3-cmm-summary, .rhv3-ctaband__band) .rhv3-eyebrow{
  color:rgba(255,255,255,.62) !important;
}


/* --------------------------------------------------------------------------
   8. ICÔNES — seules, plus grandes, trait fin
   -------------------------------------------------------------------------- */
html.rh-v2 :is(.rhv3-icard__ico, .rhv3-linkcard__ico, .rhv3-fsplit__ico, .rhv3-sectors__icon, .rhv3-es__ico,
  .rhv3-cmm-step__ico, .rhv3-cmm-promise__ico, .rhv3-ct-line__ico, .rhv3-tf-gcard__ico, .rhv3-fi-rcard__ico,
  .rhv3-fi-relcard__ico),
html.rh-v2 .rhv3-dc div[style*="border-radius:13px"]{
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  width:auto !important;
  height:auto !important;
  justify-content:flex-start !important;
}
html.rh-v2 .rhv3-dc div[style*="border-radius:13px"]{ justify-content:center !important; }
html.rh-v2 .rhv3-fi-rcard__ico--v{ color:var(--rhv3-violet) !important; }
html.rh-v2 :is(.rhv3-icard__ico, .rhv3-linkcard__ico, .rhv3-fsplit__ico, .rhv3-tf-gcard__ico, .rhv3-fi-rcard__ico, .rhv3-cmm-promise__ico, .rhv3-cmm-step__ico) svg,
html.rh-v2 .rhv3-dc div[style*="border-radius:13px"] svg{
  width:30px !important;
  height:30px !important;
  stroke-width:1.5 !important;
}
html.rh-v2 .rhv3-adv__num{
  background:none !important;
  color:var(--rhv3-violet) !important;
  width:auto !important;
  height:auto !important;
  font-size:38px !important;
  line-height:1 !important;
  justify-content:flex-start !important;
}


/* --------------------------------------------------------------------------
   9. ANGLES FRANCS
   -------------------------------------------------------------------------- */
html.rh-v2{
  --rhv3-radius:0;
  --rhv3-radius-sm:0;
}
html.rh-v2 :is(.rhv3-card, .rhv3-adv__card, .rhv3-icard, .rhv3-linkcard, .rhv3-dcl, .rhv3-comp,
  .rhv3-ctaband__band, .rhv3-fsplit__media, .rhv3-sectors__card, .rhv3-steps__card, .rhv3-steps__media,
  .rhv3-cmm-promises__band, .rhv3-cmm-step__media, .rhv3-cmm-video__frame, .rhv3-ct-formcard, .rhv3-ct-card,
  .rhv3-tf-formcard, .rhv3-tf-gcard, .rhv3-tf-stats__band, .rhv3-tf-tablewrap, .rhv3-tf-eco,
  .rhv3-fi-formcard, .rhv3-fi-rcard, .rhv3-fi-relcard, .rhv3-shero__media img, .rhv3-callout,
  .rhv3-cmm-step__hl, .rhv3-band-cta, .rhv3-band-figures, .rhv3-cmm-step__node),
html.rh-v2 .rhv3-dc :is(div, a, img, section)[style*="border-radius:16px"],
html.rh-v2 .rhv3-dc :is(div, a, img, section)[style*="border-radius:18px"],
html.rh-v2 .rhv3-dc :is(div, a, img, section)[style*="border-radius:20px"],
html.rh-v2 .rhv3-dc :is(div, a, img, section)[style*="border-radius:22px"]{
  border-radius:0 !important;
}


/* --------------------------------------------------------------------------
   10. COCHES TURQUOISE, PUCES HEXAGONALES
   -------------------------------------------------------------------------- */
html.rh-v2 .rhv3-hero .rhv3-hero__badges li::before,
html.rh-v2 .rhv3-dc li[style]::before{
  border-radius:0 !important;
  background:#0b8f8a !important;
  -webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
html.rh-v2 :is(.rhv3-list--check li > .rhv3-ico, .rhv3-dcl__ico--check){
  background:none !important;
  padding:0 !important;
  border-radius:0 !important;
  color:#0b8f8a !important;
}
html.rh-v2 .rhv3-fi .rhv3-fi-rbody--dots li::before{
  width:8px !important;
  height:9px !important;
  border-radius:0 !important;
  clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  top:.55em !important;
}


/* ==========================================================================
   COMPLÉMENTS — éléments du site absents de la démo (relevés le 18/11 sur
   les vraies pages par _dev/audit-residuel.js). Même logique que les groupes
   ci-dessus.
   ========================================================================== */

/* 1. couleurs : texte lavande sur fond sombre → blanc translucide neutre */
html.rh-v2 :is(.rhv3-footer__menu a, .rhv3-footer__figures, .rhv3-band-cta p, .rhv3-guide .rhv3-guide-final__lead,
  .rh-prod-team .rh-prod-team__band li span:last-child),
html.rh-v2 .rhv3-tf .rhv3-tf-promo__lead,
html.rh-v2 [style*="#e7e5fb"]{ color:rgba(255,255,255,.8) !important; }

/* 8. icônes : les tuiles de la section « Compétences » de l'accueil sont des <span> */
html.rh-v2 .rhv3-dc span[style*="border-radius:13px"]{
  background:none !important;
  border-radius:0 !important;
  width:auto !important;
  height:auto !important;
  justify-content:flex-start !important;
}
html.rh-v2 .rhv3-dc span[style*="border-radius:13px"] svg{ width:30px !important; height:30px !important; stroke-width:1.5 !important; }

/* 9. angles francs : menus, accordéons de FAQ, bloc d'appel final, avatars, réseaux sociaux */
html.rh-v2 :is(.rh-dropdown-menu, .rh-mega-menu-container, .rhv3-footer__socials a),
html.rh-v2 .rhv3-dc :is(div, details, span, a)[style*="border-radius:14px"],
html.rh-v2 .rhv3-dc :is(div, details, span, a)[style*="border-radius:24px"],
html.rh-v2 .rhv3-dc span[style*="border-radius:50%"][style*="width:42px"]{
  border-radius:0 !important;
}

/* 10. puces : les puces rondes des contenus éditoriaux deviennent de petits hexagones orange */
html.rh-v2 .rhv3-sec :is(.rhv3-es__body, .rhv3-edito__body) ul li::before{
  width:8px !important;
  height:9px !important;
  border-radius:0 !important;
  clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background:var(--rhv3-orange) !important;
  top:.55em !important;
}
html.rh-v2 .rhv3-sec .rhv3-edito__h::before{ border-radius:0 !important; }

/* 5. capsules : sommaire de la page charte */
html.rh-v2 .rhv3-charte__toc a{ border-radius:0 !important; background:none !important; border:0 !important; border-bottom:1px solid var(--rhv3-line) !important; padding:7px 2px !important; }

/* 7 et 9. sommaire des guides : angles francs, titre en casse normale */
html.rh-v2 .rhv3-guide-toc{ border-radius:0 !important; }
html.rh-v2 .rhv3-guide-toc__title{ text-transform:none !important; letter-spacing:0 !important; font-size:15px !important; color:var(--dm-gris, #6e6878) !important; }

/* 1. couleurs : textes lavande du pied de page (chiffres, adresse) */
html.rh-v2 :is(.rhv3-footer-stat__label, .rhv3-footer__addr){ color:rgba(255,255,255,.72) !important; }

/* 5. capsules : lien « tout voir » du méga-menu */
html.rh-v2 .rh-mega-menu-all{ border-radius:0 !important; }

/* 4. boutons : « Lire · 45 s » des vidéos (Comment ça marche, Tarifs) — même traitement que les boutons orange */
html.rh-v2 .rhv3 .rhv3-cmm-video__play span{ border-radius:0 !important; box-shadow:inset 0 -4px 0 rgba(0,0,0,.28) !important; }

/* 10. coches : liste du bandeau promo de Tarifs (coche dans un rond) */
html.rh-v2 .rhv3-tf-promo__list li > .rhv3-ico{ background:none !important; border-radius:0 !important; padding:0 !important; color:var(--turq-coche, #10cfc9) !important; }

/* 7. surtitres en majuscules espacées : titres du méga-menu, encart « économies annuelles » de Tarifs */
html.rh-v2 :is(.submenu-title, .rhv3-tf-eco__sub){ text-transform:none !important; letter-spacing:0 !important; }

/* 1. couleurs : textes lavande de la page Tarifs */
html.rh-v2 :is(.rhv3-tf-th__note, .rhv3-tf-total-rh__n, .rhv3-tf-stat__label){ color:rgba(255,255,255,.72) !important; }

/* 4. boutons : envoi des formulaires CF7 (sidebar 757, contact, modale 72871) — même traitement que le bouton principal */
html.rh-v2 .wpcf7 .wpcf7-submit{
  border-radius:0 !important;
  box-shadow:inset 0 -4px 0 var(--rhv3-orange) !important;
}

/* 9. angles francs : guides (couverture, formulaire, articles liés, bandeau final) */
html.rh-v2 :is(.rhv3-guide-cover, .rhv3-guide-formcard, .rhv3-guide-rcard, .rhv3-guide-final__band){ border-radius:0 !important; }
html.rh-v2 .rhv3-guide-cover img{ border-radius:0 !important; }

/* 3. repère devant les H2 des guides : petit trait arrondi violet → barre aux éclats du logo */
html.rh-v2 .rhv3-guide-content h2::before{
  border-radius:0 !important;
  background:linear-gradient(180deg, #ff5100 0 34%, #93d500 34% 67%, #10cfc9 67% 100%) !important;   /* barre verticale */
}

/* 4. boutons, mobile : bouton « Menu » et bulle flottante « Devis gratuit » */
html.rh-v2 .rh-mobile-menu-toggle{ border-radius:0 !important; }
html.rh-v2 .rhv3-fab{ border-radius:0 !important; box-shadow:inset 0 -4px 0 var(--rhv3-orange) !important; }

/* Modale de devis et encart du guide IA (non ouverts en local pour ne pas émettre d'événements GTM ;
   règles posées d'après v3.css l. 1404-1469) */
html.rh-v2 :is(.rhv3-modal__dialog, .rhv3-modal__close, .rhv3-modal__expand, .rhv3-modal__badge),
html.rh-v2 .rh-timed-contact-modal .rhv3-modal__dialog,
html.rh-v2 .rhv3-modal--slide :is(.rhv3-modal__dialog, .rhv3-modal__expand),
html.rh-v2 .rhv3-modal a.rhv3-modal__chip{ border-radius:0 !important; }
html.rh-v2 :is(.rhv3-modal__list li svg, .rhv3-modal a.rhv3-modal__phone svg){ border-radius:0 !important; background:none !important; padding:0 !important; }
html.rh-v2 .rhv3-modal__badge .rhv3-pulse-dot{
  border-radius:0 !important;
  clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* 5. liens de métiers (accueil, « Je recherche à externaliser ») : fond blanc, 5 px de marge
   à gauche et à droite, sans filet (demande de Vincent, 18/11) */
html.rh-v2 .rhv3-jobpill,
html.rh-v2 .rhv3-dc a[style*="border-radius:999px"],
html.rh-v2 .rhv3-dc span[style*="border-radius:999px"]{
  background:#fff !important;
  border:0 !important;
  padding:5px 5px !important;
}
html.rh-v2 .rhv3-jobpill:hover,
html.rh-v2 .rhv3-dc a[style*="border-radius:999px"]:hover{
  color:var(--rhv3-violet) !important;
  text-decoration:underline !important;
  text-decoration-color:var(--rhv3-orange) !important;
  text-underline-offset:3px;
}
