/* ============================================================
   LÉGENDE ASTÉRISQUE
   ============================================================ */
form[id*="looking-for-an-interim-manager"] .mgr-required-legend,
form[data-drupal-selector*="looking-for-an-interim-manager"] .mgr-required-legend {
    color: #8a99a8 !important;
    font-size: 11px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

/* ============================================================
   REMPLACEMENT INTITULÉS (Plan G ter v3 — neutralise SVG)
   ============================================================ */

/* Masquer le texte original du label */
html body form[id*="looking-for-an-interim-manager"] label[for$="-email"],
html body form[id*="looking-for-an-interim-manager"] label[for$="-phone"],
html body form[id*="looking-for-an-interim-manager"] label[for$="-message"] {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* Masquer tous les enfants HTML du label */
html body form[id*="looking-for-an-interim-manager"] label[for$="-email"] *,
html body form[id*="looking-for-an-interim-manager"] label[for$="-phone"] *,
html body form[id*="looking-for-an-interim-manager"] label[for$="-message"] * {
    display: none !important;
}

/* Injecter le nouveau texte */
html body form[id*="looking-for-an-interim-manager"] label[for$="-email"]::before {
    content: "Mail professionnel";
}
html body form[id*="looking-for-an-interim-manager"] label[for$="-phone"]::before {
    content: "Téléphone direct";
}
html body form[id*="looking-for-an-interim-manager"] label[for$="-message"]::before {
    content: "Votre besoin — contexte, localisation, missions et enjeux";
}

/* Style commun aux 3 nouveaux textes */
html body form[id*="looking-for-an-interim-manager"] label[for$="-email"]::before,
html body form[id*="looking-for-an-interim-manager"] label[for$="-phone"]::before,
html body form[id*="looking-for-an-interim-manager"] label[for$="-message"]::before {
    color: #013b5c !important;
    font-size: 13.5px !important;
    line-height: 19px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    display: inline-block !important;
    background: none !important;
    background-image: none !important;
}

/* Astérisque rouge — email et phone, en NEUTRALISANT le SVG natif Drupal */
html body form[id*="looking-for-an-interim-manager"] label[for$="-email"]::after,
html body form[id*="looking-for-an-interim-manager"] label[for$="-phone"]::after {
    content: " *" !important;
    color: #d33 !important;
    font-size: 13.5px !important;
    line-height: 19px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-left: 3px !important;
    /* Reset des défauts Drupal qui créaient le doublon */
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    text-indent: 0 !important;
}

/* Pas d'astérisque sur le champ message (non requis) — neutraliser SVG natif aussi */
html body form[id*="looking-for-an-interim-manager"] label[for$="-message"]::after {
    content: "" !important;
    background: none !important;
    background-image: none !important;
    display: none !important;
}