/*
 * Touches de couleur sur les pictos (retours des médecins, validé par Adrien le 2026-10-15).
 * Corail, soleil et menthe tournent sur les éléments répétés ; décor uniquement, jamais pour du texte courant
 * (seules les étiquettes de catégorie utilisent la teinte foncée, contraste AA vérifié).
 * Chargé après la feuille de la page pour primer sur ses couleurs bleues.
 */
.v3-fonct-dj__point:nth-child(3n+1), .v3-fonct-suivi__item:nth-child(3n+1),
.v3-mt-pourquoi__raison:nth-child(3n+1), .v3-mt-parcours__step:nth-child(3n+1),
.v3-infos-essentiel__item:nth-child(3n+1), .v3-infos-rdv__item:nth-child(3n+1), .v3-infos-acces__item:nth-child(3n+1),
.v3-infos-apporter__item:nth-child(3n+1), .v3-infos-hors__item:nth-child(3n+1),
.v3-faq-theme:nth-of-type(3n+1), .v3-rejoindre-exercer__item:nth-child(3n+1), .v3-rejoindre-public:nth-child(3n+1),
.v3-faq-nav__list li:nth-child(3n+1), .v3-equipe-projet, .v3-equipe-surplace__annee, .v3-actu-cat--corail {
  --acc: var(--c-corail); --acc-pale: var(--c-corail-pale); --acc-dark: var(--c-corail-dark);
}
.v3-fonct-dj__point:nth-child(3n+2), .v3-fonct-suivi__item:nth-child(3n+2),
.v3-mt-pourquoi__raison:nth-child(3n+2), .v3-mt-parcours__step:nth-child(3n+2),
.v3-infos-essentiel__item:nth-child(3n+2), .v3-infos-rdv__item:nth-child(3n+2), .v3-infos-acces__item:nth-child(3n+2),
.v3-infos-apporter__item:nth-child(3n+2), .v3-infos-hors__item:nth-child(3n+2),
.v3-faq-theme:nth-of-type(3n+2), .v3-rejoindre-exercer__item:nth-child(3n+2), .v3-rejoindre-public:nth-child(3n+2),
.v3-faq-nav__list li:nth-child(3n+2), .v3-fonct-supervision, .v3-home-mt__aside, .v3-actu-cat--soleil {
  --acc: var(--c-soleil); --acc-pale: var(--c-soleil-pale); --acc-dark: var(--c-soleil-dark);
}
.v3-fonct-dj__point:nth-child(3n), .v3-fonct-suivi__item:nth-child(3n),
.v3-mt-pourquoi__raison:nth-child(3n), .v3-mt-parcours__step:nth-child(3n),
.v3-infos-essentiel__item:nth-child(3n), .v3-infos-rdv__item:nth-child(3n), .v3-infos-acces__item:nth-child(3n),
.v3-infos-apporter__item:nth-child(3n), .v3-infos-hors__item:nth-child(3n),
.v3-faq-theme:nth-of-type(3n), .v3-rejoindre-exercer__item:nth-child(3n), .v3-rejoindre-public:nth-child(3n),
.v3-faq-nav__list li:nth-child(3n), .v3-faq-renvoi, .v3-faq-contact, .v3-infos-contact, .v3-actu-cat--menthe {
  --acc: var(--c-menthe); --acc-pale: var(--c-menthe-pale); --acc-dark: var(--c-menthe-dark);
}

/* Pictos en forme de tache : teinte vive. */
.v3-fonct-suivi__icon, .v3-mt-pourquoi__raison-icon, .v3-faq-theme__icon, .v3-rejoindre-exercer__icon { background: var(--acc); }

/* Pastilles rondes et pictos seuls : fond pâle, picto foncé. */
.v3-infos-essentiel__icon, .v3-infos-hors__icon, .v3-infos-acces__item i,
.v3-equipe-projet__picto, .v3-fonct-supervision__picto, .v3-home-mt__picto, .v3-faq-renvoi__picto, .v3-faq-contact__picto,
.v3-infos-contact__icon, .v3-rejoindre-public__picto, .v3-rejoindre-public--pro .v3-rejoindre-public__picto {
  background: var(--acc-pale); color: var(--acc-dark);
}
.v3-fonct-dj__point i, .v3-infos-apporter__item i, .v3-faq-nav__link i, .v3-equipe-surplace__annee i, .v3-mt-parcours__icon, .v3-rejoindre-public__list i { color: var(--acc-dark); }

/* Le repère « 15 » garde son rouge, sans fond coloré. */
.v3-infos-hors__icon:has(.v3-quinze) { background: transparent; }

/* Pastilles pleines : teinte vive, picto bleu foncé (comme les taches de l'accueil). */
.v3-infos-rdv__icon { background: var(--acc); color: var(--c-primary-dark); }

/* Parcours de consultation : pictos bleus d'origine, seul le numéro d'étape change de couleur (six teintes). */
.v3-fonct-parcours__num::after { background: var(--etape, var(--c-sky)); border-color: var(--c-white); color: var(--c-encre); }
.v3-fonct-parcours__step:nth-child(6n+1) { --etape: var(--c-corail); }
.v3-fonct-parcours__step:nth-child(6n+2) { --etape: var(--c-soleil); }
.v3-fonct-parcours__step:nth-child(6n+3) { --etape: var(--c-menthe); }
.v3-fonct-parcours__step:nth-child(6n+4) { --etape: var(--c-lavande); }
.v3-fonct-parcours__step:nth-child(6n+5) { --etape: var(--c-rose); }
.v3-fonct-parcours__step:nth-child(6n) { --etape: var(--c-sky); }

/* Catégories d'actualités : une teinte par catégorie. */
.v3-actu-cat[class*="v3-actu-cat--"] { background: var(--acc-pale); color: var(--acc-dark); }
.v3-actu-cat[class*="v3-actu-cat--"]:hover { background: var(--acc); color: var(--c-primary-dark); }

/* Formes derrière les portraits : couleur du maître de stage, partagée par son docteur junior (fiche membre, validé par Adrien le 2026-10-15). */
.v3-portrait::before { background: var(--portrait-fond, var(--c-sky)); }
