/* Option B, charte Dynamics Formations, tout le site (04/11/2026).
   Fonds sombres navy #1D2554, encadrés #262A4D avec barre cyan, filets rose et cyan.
   Les textes, liens et petits éléments restent en #1A1D37. Désactiver cet extrait = retour à l'état d'avant. */
/* ===== Option B : EN-TÊTE (thème Pearl) ===== */
/* Le CSS additionnel actuel peint l'en-tête avec var(--df-nuit)=#1A1A3A !important
   (sélecteur le plus fort : body.stm_header_style_1 .stm-header). Le :not(#dfB) ajoute
   le poids d'un identifiant pour passer devant, sans toucher au thème ni à --df-nuit. */
html body .stm-header:not(#dfB),
html body .stm-header__row:not(#dfB),
html body .stm-header__row_color:not(#dfB),
html body .stm-header__row_color_top:not(#dfB),
html body .stm-header__row_top:not(#dfB){background-color:#1D2554!important}
html body .stm-header .pearl_sticked:not(#dfB)::before,
html body .stm-header .pearl_is_sticky:not(#dfB)::before,
html body .stm-header__row_color:not(#dfB)::before{background-color:#1D2554!important;background-image:none!important}
/* séparateurs verticaux du menu (::before des entrées, aujourd'hui #1A1A3A) */
html body .stm-header .stm-navigation li.menu-item::before{background-color:#1D2554!important}
@media (max-width:1023px){
 html body div#wrapper .stm_mobile__header:not(#dfB),
 html body .stm_mobile__header:not(#dfB),
 html body .stm_mobile__dropdown:not(#dfB),
 html body nav.stm_mobile__menu:not(#dfB),
 html body .stm_mobile__menu_wrap:not(#dfB){background-color:#1D2554!important}
}
/* ===== Option B : PIED DE PAGE (widget custom_html-4) ===== */
html body .stm-footer,
html body .stm_boxed .stm-footer{background:#1D2554!important}
html body .dff2{background:#1D2554!important}
/* bandeau rose plein en tête du pied (décor, sans texte), hauteur d'origine 4 px conservée */
html body .dff2::before{background:#E84388!important}
/* pictos ● @ T. : rose 3,87:1 sur navy -> cyan 6,63:1 */
html body .dff2 .ic{color:#36BCED!important}

/* ===== Pages refaites en Gutenberg (.dfhome) ===== */
.dfhome .dfhome-hero,
.dfhome .bg-navy,
.dfhome .dfhome-final{background:#1D2554!important}
.dfhome .dfhome-final::before{background:rgba(29,37,84,.9)!important}
.dfhome .dfg-sep path[fill="#1A1D37" i]{fill:#1D2554!important}
@media (min-width:900px){
 .dfhome .dfhome-hero::before{background:linear-gradient(90deg,rgba(29,37,84,.94) 0%,rgba(29,37,84,.92) 52%,rgba(29,37,84,.62) 74%,rgba(29,37,84,.5) 100%)!important}
 .dfhome .dfhome-hero .dfhome-btn--line{background-color:rgba(29,37,84,.45)!important}
}
@media (max-width:899px){.dfhome .dfhome-hero::before{background:rgba(29,37,84,.88)!important}}
/* encadré avis Google / Qualiopi du bandeau */
.dfhome .dfhome-hero .dfhome-proof{background:rgba(38,42,77,.92)!important;border-color:transparent!important;box-shadow:inset 4px 0 0 #36BCED!important;border-radius:16px!important}
/* double filet rose + cyan sous le titre du bloc bleu */
.dfhome .bg-navy h2.wp-block-heading{position:relative}
.dfhome .bg-navy h2.wp-block-heading::after{content:"";position:absolute;left:0;bottom:-7px;width:112px;height:3px;border-radius:2px;background:linear-gradient(90deg,#E84388 0 44px,transparent 44px 68px,#36BCED 68px 112px)}
/* « À lire aussi » : bandeau rose-bouton, texte blanc 4,79:1 */
.dfhome .dfhome-next #dfhome-next-t{display:block;width:fit-content;background:#D0336F;color:#FFFFFF!important;font-size:17px;font-weight:700;padding:6px 16px;margin-top:-6px;margin-bottom:-6px;border-radius:8px}
/* encadrés du bloc bleu */
.dfhome .bg-navy .dfhome-fig{background:#262A4D!important;border-color:transparent!important;box-shadow:inset 4px 0 0 #36BCED!important;border-radius:16px!important}
/* bandeaux de chiffres sur photo (Qui sommes-nous, Engagement qualité, Contact) */
.dfhome .dfqsn-figs::before,.dfhome .dfeq-figs::before,.dfhome .dfcont-figs::before{background:linear-gradient(90deg,rgba(29,37,84,.9) 0%,rgba(29,37,84,.78) 45%,rgba(29,37,84,.55) 100%)!important}
.dfhome .dfqsn-figs .dfhome-fig,.dfhome .dfeq-figs .dfhome-fig,.dfhome .dfcont-figs .dfhome-fig{background:rgba(38,42,77,.92)!important;border-color:transparent!important;box-shadow:inset 4px 0 0 #36BCED!important;border-radius:16px!important}
/* pastilles des frises posées sur le bloc bleu */
.dfhome .dfqsn-dot,.dfhome .dfeq-dot,.dfhome .dffin-dot,.dfhome .dfcont-dot{background:#1D2554!important}

/* ===== Pages plus anciennes (blocs écrits en #1A1A3A) ===== */
/* Mentions légales */
body.page-id-4993 .df-legal__hero,body.page-id-4993 .df-legal__footer{background-color:#1D2554!important}
/* 5 pages domaines (Bureautique, IA, CAO 3D, PAO, Numérique du quotidien) */
body.page-id-16651 .dfh,body.page-id-16652 .dfh,body.page-id-16650 .dfh,body.page-id-16653 .dfh,body.page-id-16654 .dfh{background-color:#1D2554!important}
/* Prévention des abandons */
body.page-id-14558 .df-abandon__hero,body.page-id-14558 .df-abandon__split--navy{background-color:#1D2554!important}
/* Questions fréquentes */
body.page-id-16032 section.hero,body.page-id-16032 section.cta-final,body.page-id-16032 section.dfx{background-color:#1D2554!important}
/* Réclamations */
html body.page-id-14472 section.rech:not(#dfB),html body.page-id-14472 .rec-direct:not(#dfB),html body.page-id-14472 section.rec-navy:not(#dfB),html body.page-id-14472 section.dfx:not(#dfB){background-color:#1D2554!important}
html body.page-id-14472 .rech .bg:not(#dfB){background-color:#1D2554!important}
html body.page-id-14472 .df-rec section.rech:not(#dfB)::after{background:linear-gradient(90deg,rgba(29,37,84,.96) 0%,rgba(29,37,84,.88) 38%,rgba(29,37,84,.4) 66%,rgba(29,37,84,.12) 100%)!important}
/* voile du bandeau Réclamations sur tablette et téléphone (même seuil que le CSS de la page) */
@media (max-width:1024px){html body.page-id-14472 .df-rec section.rech:not(#dfB)::after{background:linear-gradient(90deg,rgba(29,37,84,.92),rgba(29,37,84,.66))!important}}
/* fil d'Ariane de la FAQ : blanc 50 % -> 65 % pour rester au-dessus de 4,5:1 sur navy */
body.page-id-16032 .hero__breadcrumb,body.page-id-16032 .hero__breadcrumb a{color:rgba(255,255,255,.65)!important}
/* boutons roses à texte blanc hors charte (FAQ, Prévention des abandons) : #E94B9F 3,5:1 -> #D0336F 4,79:1 */
html body.page-id-16032 section.cta-final .btn--primary:not(#dfB),html body.page-id-14558 .df-abandon__cta a:not(#dfB){background-color:#D0336F!important}

/* Accueil : volets TOSA / ICDL / InKréa en encadrés navy + barre cyan (validé le 04/11/2026) */
.dfhome .bg-navy .dfhome-acc details{background:#262A4D;border:0!important;border-left:4px solid #36BCED!important;border-radius:16px;padding:2px 18px;margin:0 0 10px!important}

/* Liens roses à texte sur fond clair (Mentions légales, FAQ, Prévention des abandons) : #E94B9F 3,5:1 -> #D0336F 4,79:1 (04/11/2026) */
html body.page-id-4993 .df-legal a:not(#dfB),html body.page-id-16032 .faq-answer__inner a:not(#dfB),html body.page-id-14558 .df-abandon a.df-link:not(#dfB){color:#D0336F!important}
