/* ═══════════════════════════════════════════════════════════════════════════
   COULEURS — la touche de couleur posée sur la charte anthracite
   ───────────────────────────────────────────────────────────────────────────
   Octobre 2026. Le site est passé en anthracite (le rouge « ne faisait pas
   professionnel »), puis on l'a trouvé trop sobre. Ce fichier remet de la vie
   SANS revenir au tout-rouge :

   · le ROUGE DU LOGO n'est PAS réutilisé : les petits intitulés rouges ont été
     retirés (cf. §1). Les boutons restent anthracite.
   · QUATRE COULEURS d'appoint — bleu, vert, ambre, violet — tournent sur les
     pastilles d'icônes des cartes, dans cet ordre. Une carte, une couleur.

   Tout est ici, en un seul fichier, pour pouvoir doser d'un coup : retirer ce
   fichier de tools/partials/head-assets.html rend le site monochrome.

   ⚠️ Chargé AVANT les feuilles de page (il vit dans le bloc partagé du <head>).
   Les sélecteurs sont donc plus spécifiques que ceux qu'ils corrigent (préfixe
   `html body`, ou :nth-child), jamais de !important.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --brand: #b41824;          /* le rouge du logo — par touches seulement */

  --c1: #2f5bd3;  --c1-bg: #edf1fd;   /* bleu   */
  --c2: #19875a;  --c2-bg: #e7f5ee;   /* vert   */
  --c3: #b76d0c;  --c3-bg: #fdf2e2;   /* ambre  */
  --c4: #6a4bd1;  --c4-bg: #f0ecfc;   /* violet */
}

/* ── 1. Les petits intitulés de section (« eyebrows ») : RETIRÉS ─────────────
   Décision du 13/10/2026, répétée par le client : plus AUCUN petit titre rouge
   au-dessus des titres, sur aucune page. Masqués ici, en un seul endroit, pour
   toutes les variantes de classe ; ne pas en réintroduire dans les pages. */
html body .eyebrow,
html body .hero__eyebrow,
html body .sv-head__eyebrow,
html body .sv-hero__eyebrow,
html body .sx-hero__eyebrow,
html body .ct__eyebrow,
html body .tp-eyebrow,
html body .nf-eyebrow,
html body .cv-eyebrow,
html body .auth-brand__eyebrow {
  display: none;
}

/* ── 2. La palette tournante ─────────────────────────────────────────────────
   Un même motif pour tous les composants : la pastille prend le fond clair,
   le pictogramme la couleur franche. */

/* Accueil — « Pourquoi Clairtis » (tuiles en relief) */
html body .hm-why__c:nth-child(4n+1) .hm-why__tile { background: linear-gradient(150deg, #e3eafc 0%, #c9d6f8 58%, #a9bcf1 100%); }
html body .hm-why__c:nth-child(4n+2) .hm-why__tile { background: linear-gradient(150deg, #dcf1e6 0%, #bfe4d1 58%, #9bd3b7 100%); }
html body .hm-why__c:nth-child(4n+3) .hm-why__tile { background: linear-gradient(150deg, #fbebd2 0%, #f5d6a9 58%, #eebd78 100%); }
html body .hm-why__c:nth-child(4n+4) .hm-why__tile { background: linear-gradient(150deg, #e9e3fb 0%, #d5caf6 58%, #bba9ef 100%); }
html body .hm-why__c:nth-child(4n+1) .hm-glyph { color: var(--c1); }
html body .hm-why__c:nth-child(4n+2) .hm-glyph { color: var(--c2); }
html body .hm-why__c:nth-child(4n+3) .hm-glyph { color: var(--c3); }
html body .hm-why__c:nth-child(4n+4) .hm-glyph { color: var(--c4); }

/* Accueil — les étapes */
html body .hm-step:nth-child(4n+1) .hm-step__ico { background: var(--c1-bg); color: var(--c1); }
html body .hm-step:nth-child(4n+2) .hm-step__ico { background: var(--c2-bg); color: var(--c2); }
html body .hm-step:nth-child(4n+3) .hm-step__ico { background: var(--c3-bg); color: var(--c3); }
html body .hm-step:nth-child(4n+4) .hm-step__ico { background: var(--c4-bg); color: var(--c4); }

/* /services — « Inclus dans toutes nos offres » */
html body .sx-inc-item:nth-child(4n+1) .sx-inc-item__icon { background: var(--c1-bg); color: var(--c1); }
html body .sx-inc-item:nth-child(4n+2) .sx-inc-item__icon { background: var(--c2-bg); color: var(--c2); }
html body .sx-inc-item:nth-child(4n+3) .sx-inc-item__icon { background: var(--c3-bg); color: var(--c3); }
html body .sx-inc-item:nth-child(4n+4) .sx-inc-item__icon { background: var(--c4-bg); color: var(--c4); }
html body .sx-inc-item:nth-child(4n+1):hover .sx-inc-item__icon { background: var(--c1); color: #fff; }
html body .sx-inc-item:nth-child(4n+2):hover .sx-inc-item__icon { background: var(--c2); color: #fff; }
html body .sx-inc-item:nth-child(4n+3):hover .sx-inc-item__icon { background: var(--c3); color: #fff; }
html body .sx-inc-item:nth-child(4n+4):hover .sx-inc-item__icon { background: var(--c4); color: #fff; }

/* /tarifs — les quatre arguments au-dessus du comparatif */
html body .cmp-hl:nth-child(4n+1) .cmp-hl__ico { background: var(--c1-bg); color: var(--c1); }
html body .cmp-hl:nth-child(4n+2) .cmp-hl__ico { background: var(--c2-bg); color: var(--c2); }
html body .cmp-hl:nth-child(4n+3) .cmp-hl__ico { background: var(--c3-bg); color: var(--c3); }
html body .cmp-hl:nth-child(4n+4) .cmp-hl__ico { background: var(--c4-bg); color: var(--c4); }

/* Pages d'offre — « Ce qui est livré », « Vous vous reconnaissez », « Ce que ça change » */
html body .sv-liv__group:nth-child(4n+1) .sv-liv__icon { background: var(--c1-bg); color: var(--c1); }
html body .sv-liv__group:nth-child(4n+2) .sv-liv__icon { background: var(--c2-bg); color: var(--c2); }
html body .sv-liv__group:nth-child(4n+3) .sv-liv__icon { background: var(--c3-bg); color: var(--c3); }
html body .sv-liv__group:nth-child(4n+4) .sv-liv__icon { background: var(--c4-bg); color: var(--c4); }
html body .sv-who__card:nth-child(4n+1) .sv-who__num { color: var(--c1); }
html body .sv-who__card:nth-child(4n+2) .sv-who__num { color: var(--c2); }
html body .sv-who__card:nth-child(4n+3) .sv-who__num { color: var(--c3); }
html body .sv-who__card:nth-child(4n+4) .sv-who__num { color: var(--c4); }
html body .sv-val__item:nth-child(4n+1) .sv-val__k { color: var(--c1); }
html body .sv-val__item:nth-child(4n+2) .sv-val__k { color: var(--c2); }
html body .sv-val__item:nth-child(4n+3) .sv-val__k { color: var(--c3); }
html body .sv-val__item:nth-child(4n+4) .sv-val__k { color: var(--c4); }

/* Plaque NFC */
html body .nf-band span:nth-child(4n+1) i { background: var(--c1-bg); color: var(--c1); }
html body .nf-band span:nth-child(4n+2) i { background: var(--c2-bg); color: var(--c2); }
html body .nf-band span:nth-child(4n+3) i { background: var(--c3-bg); color: var(--c3); }
html body .nf-band span:nth-child(4n+4) i { background: var(--c4-bg); color: var(--c4); }
html body .nf-way:nth-child(1) .nf-way__tag { background: var(--c1-bg); color: var(--c1); }
html body .nf-way:nth-child(2) .nf-way__tag { background: var(--c2-bg); color: var(--c2); }
html body .nf-module:nth-child(5n+1) i { background: var(--c1-bg); color: var(--c1); }
html body .nf-module:nth-child(5n+2) i { background: var(--c2-bg); color: var(--c2); }
html body .nf-module:nth-child(5n+3) i { background: var(--c3-bg); color: var(--c3); }
html body .nf-module:nth-child(5n+4) i { background: var(--c4-bg); color: var(--c4); }
html body .nf-module:nth-child(5n+5) i { background: #fbeff0; color: var(--brand); }
html body .nf-why__list div:nth-child(4n+1) span { background: var(--c1-bg); color: var(--c1); }
html body .nf-why__list div:nth-child(4n+2) span { background: var(--c2-bg); color: var(--c2); }
html body .nf-why__list div:nth-child(4n+3) span { background: var(--c3-bg); color: var(--c3); }
html body .nf-why__list div:nth-child(4n+4) span { background: var(--c4-bg); color: var(--c4); }
html body .nf-checks i { background: var(--c2-bg); color: var(--c2); }

/* ── 3. Petits intitulés de section MASQUÉS (oct. 2026, demande de Timéo) ────
   « Comment ça se passe », « Questions fréquentes », « Offre 01 · Site
   vitrine »… au-dessus des titres. Masqués ici, en un seul endroit, plutôt
   qu'effacés des pages : retirer ce bloc les fait revenir partout.
   ⚠️ La règle du rouge « par touches » (§ 1) ne s'applique donc plus nulle part
   tant que ce bloc est là. */
html body .eyebrow,
html body .sv-head__eyebrow,
html body .sv-hero__eyebrow,
html body .ct__eyebrow,
html body .sx-hero__eyebrow,
html body .nf-eyebrow,
html body .auth-brand__eyebrow,
html body .pm-hero__tag {
  display: none;
}
