/* SDE — Identité globale 2026.
   Feuille commune chargée APRÈS les anciennes palettes sur les pages publiques.
   Périmètre strict : vitrine et sous-pages ; aucun tableau de bord privé. */
:root{
  --sde-forest:#1c0f33;
  --sde-forest-2:#301958;
  --sde-forest-deep:#160c28;
  --sde-gold:#d7b567;
  --sde-ivory:#fffaf0;
  --sde-paper:#fffdf8;
  --sde-ink:#251343;
}
/* Réparer les anciennes sections « bandeau de 54 px » : le titre ET la
   description restent intégralement dans le même panneau coloré. */
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section{
  position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(40px,5vw,76px) 0!important;
  background:linear-gradient(135deg,var(--sde-forest-deep) 0%,var(--sde-forest-2) 52%,var(--sde-forest) 100%)!important;
  color:#f9f3e6!important;
  border-block:1px solid rgba(215,181,103,.42);
  scroll-margin-top:94px;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section:nth-of-type(even){
  background:linear-gradient(150deg,#261445 0%,#1c0f32 56%,#281549 100%)!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(ellipse 700px 380px at 92% 10%,rgba(233,203,120,.13),transparent 70%),
    radial-gradient(ellipse 720px 450px at 5% 95%,rgba(3,14,13,.29),transparent 73%),
    repeating-linear-gradient(135deg,transparent 0 44px,rgba(255,241,192,.017) 45px,transparent 46px);
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section>.enveloppe{
  position:relative;z-index:1;
  min-width:0;
  max-width:1180px;
  margin-inline:auto!important;
  padding:0 clamp(16px,3vw,32px)!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
/* Mise en page stable : aucun grid 54px, faux numéro ou rectangle de fond. */
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section{
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  grid-template-columns:none!important;grid-template-rows:none!important;
  position:relative;isolation:isolate;overflow:visible!important;
  box-sizing:border-box!important;min-width:0;
  width:min(100%,930px)!important;max-width:930px!important;
  margin:0 auto clamp(24px,3vw,36px)!important;
  padding:clamp(22px,3.4vw,38px)!important;
  border:1px solid rgba(215,181,103,.66)!important;
  border-radius:18px!important;
  background:linear-gradient(120deg,#1b0e31 0%,#281549 60%,#20113a 100%)!important;
  background-size:auto!important;background-position:center!important;
  box-shadow:0 12px 30px rgba(5,16,14,.18),inset 0 1px rgba(255,250,230,.06)!important;
  text-align:center!important;
  transform:none;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section::before{
  display:none!important;content:none!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section .surtitre{
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  grid-row:auto!important;grid-column:auto!important;
  order:0;
  width:auto;min-width:0;max-width:100%;
  padding:0!important;margin:0 0 12px!important;
  border:0!important;border-radius:0!important;
  background:none!important;
  color:#e8ca87!important;-webkit-text-fill-color:#e8ca87!important;
  font:700 clamp(.74rem,1.4vw,.91rem)/1.45 "Saira Condensed",sans-serif!important;
  letter-spacing:.13em!important;text-transform:uppercase;
  white-space:normal!important;overflow-wrap:anywhere;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section h2{
  display:block!important;
  grid-row:auto!important;grid-column:auto!important;order:1;
  width:100%;min-width:0;max-width:100%;
  padding:0!important;margin:0!important;
  border:0!important;background:none!important;
  color:#fff8e7!important;-webkit-text-fill-color:#fff8e7!important;
  font:600 clamp(1.55rem,3.2vw,2.55rem)/1.2 "Cormorant Garamond",Georgia,serif!important;
  text-transform:none!important;letter-spacing:.015em!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere;word-break:normal;
  text-shadow:0 2px 10px rgba(0,0,0,.25);
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section h2::after{
  display:none!important;content:none!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section .chapo{
  grid-row:auto!important;grid-column:auto!important;order:2;
  width:auto;max-width:66ch;min-width:0;
  margin:14px 0 0!important;padding:0!important;
  background:none!important;
  color:#e2e9df!important;-webkit-text-fill-color:#e2e9df!important;
  font:400 clamp(.94rem,1.5vw,1.08rem)/1.65 "Atkinson Hyperlegible",system-ui,sans-serif!important;
  font-style:normal!important;white-space:normal!important;
  overflow-wrap:anywhere;text-align:center!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section .surtitre::before,
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section .surtitre::after{
  content:"";width:19px;height:1px;
  background:#d7b567;opacity:.8;
}
/* Les autres contenus de section restent libres de se mettre en grille ;
   sur fond vert, libellés des listes/recherches et éléments statiques lisibles. */
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .agenda-filtres{
  position:relative;z-index:2;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section :is(.sde-search-label,.sde-search-count){
  color:#f5eddb!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section :is(input[type="search"],input[type="text"],select){
  max-width:100%;min-height:44px;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section :is(.programme,.rdv,.carte,.kpi,.vmi-carte,.sde-initiative-card,.formulaire){
  background:#fffdf8!important;border-color:#d9c7a1!important;
  color:#251343!important;
  box-shadow:0 9px 26px rgba(8,20,16,.13)!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section :is(.programme,.rdv,.carte,.vmi-carte) :is(p,h3){
  color:#2d1851!important;-webkit-text-fill-color:currentColor!important;
}
/* Un bandeau IN FIRE continu et un compte à rebours contrasté. */
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section#infire{
  background:linear-gradient(135deg,#170c29 0%,#311a59 62%,#1e1037 100%)!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .infire-contenu{
  position:relative;z-index:1;min-width:0;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .infire-contenu>div:first-child{
  color:#faf2e0!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .infire-contenu>div:first-child :is(h2,h3,p,li){
  color:#f8f1e1!important;-webkit-text-fill-color:currentColor!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .infire-contenu>div:first-child h2 span{
  color:#e8c46c!important;-webkit-text-fill-color:#e8c46c!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte{
  align-items:center;justify-content:flex-start;
  max-width:100%;min-width:0;gap:clamp(8px,2vw,18px);
  margin:28px 0;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel{
  width:clamp(66px,16vw,108px);min-width:0;
  flex:none;border:1px solid rgba(240,201,107,.5);
  box-shadow:0 0 20px rgba(215,181,103,.12),0 9px 24px rgba(0,0,0,.19);
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel::before{
  background:#fffaf0!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel b{
  color:#8b691e!important;-webkit-text-fill-color:#8b691e!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel small{
  color:#331b5c!important;-webkit-text-fill-color:#331b5c!important;
  font-weight:700;
}
@keyframes sde-site-countdown-reveal{
  from{opacity:0;transform:translate3d(0,18px,0) scale(.92)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@keyframes sde-site-gold-glow{
  0%,100%{box-shadow:0 0 12px rgba(215,181,103,.10),0 8px 22px rgba(0,0,0,.18)}
  50%{box-shadow:0 0 21px rgba(215,181,103,.32),0 8px 22px rgba(0,0,0,.18)}
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel{
  animation:sde-site-countdown-reveal .68s cubic-bezier(.2,.8,.3,1) both;
}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel:nth-child(2){animation-delay:.12s}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel:nth-child(3){animation-delay:.24s}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel:nth-child(4){animation-delay:.36s}
html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte--proche .decompte-cel:last-of-type{
  animation:sde-site-gold-glow 2.4s ease-in-out 1.1s infinite;
}
/* Sous-pages spécialisées : mêmes surfaces vertes et cartes claires. */
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-lead,
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-section{
  position:relative;isolation:isolate;
  background:linear-gradient(140deg,#1c0f33,#301958 52%,#1c0f33)!important;
  color:#faf3e4!important;border-block:1px solid rgba(215,181,103,.3);
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-section.sde-initiative-soft{
  background:linear-gradient(145deg,#21123c,#1d0f34 65%,#301958)!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section:is(.sde-initiative-section,.sde-initiative-lead)>.enveloppe{
  position:relative;z-index:1;min-width:0;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section:is(.sde-initiative-section,.sde-initiative-lead)>.enveloppe> :is(h2,h3,p),
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section:is(.sde-initiative-section,.sde-initiative-lead)>.enveloppe>div> :is(h2,h3){
  color:#fff8e7!important;-webkit-text-fill-color:currentColor!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section:is(.sde-initiative-section,.sde-initiative-lead) .sde-kicker{
  color:#e8c77f!important;-webkit-text-fill-color:#e8c77f!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-section .sde-initiative-card{
  background:#fffaf0!important;color:#271447!important;
  border:1px solid #d7c398!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire .sde-initiative-card :is(h3,strong,p,small){
  color:#281549!important;-webkit-text-fill-color:currentColor!important;
}
/* Bandeau « Continuer votre parcours » : pas de blanc sur blanc. */
html body.sde-unifie.sde-subpage.sde-ivoire .sde-further{
  position:relative;
  background:linear-gradient(120deg,#1c0f33,#301958)!important;
  border-top:2px solid #c9a557!important;
  padding:clamp(38px,5vw,66px) 18px!important;
  color:#fff8e8!important;text-align:center;
}
html body.sde-unifie.sde-subpage.sde-ivoire .sde-further h2{
  color:#fff8e8!important;-webkit-text-fill-color:#fff8e8!important;
  line-height:1.2;overflow-wrap:anywhere;
  font-size:clamp(1.5rem,3vw,2.2rem);
}
html body.sde-unifie.sde-subpage.sde-ivoire .sde-further a{
  background:#fff8e9!important;color:#67501d!important;
  border:1px solid #d7b567!important;
  border-radius:10px!important;min-height:46px;justify-content:center;
  font-weight:700;
}
/* Pied de page : mêmes couleurs, mêmes contrastes sur toutes les sous-pages. */
html body.sde-unifie.sde-subpage.sde-ivoire .site-footer{
  background:linear-gradient(145deg,#1a0e2e,#251443)!important;
  color:#eae7da!important;border-top:2px solid #c9a557!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire .site-footer :is(p,small,strong){
  color:#f3eee0!important;-webkit-text-fill-color:#f3eee0!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire .site-footer a{
  color:#f1d690!important;-webkit-text-fill-color:#f1d690!important;
  text-underline-offset:4px;
}
html body.sde-unifie.sde-subpage.sde-ivoire .site-footer a:focus-visible,
html body.sde-unifie.sde-subpage.sde-ivoire .sde-further a:focus-visible{
  outline:3px solid #f1d690!important;outline-offset:3px!important;
}
/* Accueil public : reprendre le vert-or des pages, sans remplacer les cartes,
   le comportement des boutons ou les sections de connexion. */
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .m-panel{
  border:1px solid rgba(215,181,103,.6)!important;border-radius:16px!important;
  background:linear-gradient(145deg,#1c0f33,#2c1750 55%,#1d1035)!important;
  box-shadow:0 12px 30px rgba(9,21,16,.16)!important;
}
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .m-panel .m-band{
  min-height:62px;background:linear-gradient(110deg,#20113b,#2c1750)!important;
  border-bottom:1px solid #c6a55f!important;
}
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .m-panel .m-band h2{
  color:#fff8e7!important;-webkit-text-fill-color:#fff8e7!important;
  white-space:normal;overflow-wrap:anywhere;line-height:1.3;
}
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .m-panel .m-card{
  border-color:rgba(215,181,103,.28)!important;
  border-radius:12px!important;
}
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .site-footer{
  background:#1c0f33!important;color:#f4ecdf!important;border-top:2px solid #c9a557;
}
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .site-footer :is(p,strong,small){
  color:#f4ecdf!important;
}
html body.sde-unifie.sde-accueil-maquette.sde-ivoire .site-footer a{
  color:#f0d28c!important;
}
/* Formulaire public standalone : cohérence de l'en-tête sans altérer les champs
   ou les étapes de consentement et de validation. */
html body.sde-subpage[data-sde-page="formulaire"] .hero-form{
  padding:32px 18px!important;
  margin:18px auto 24px!important;
  background:linear-gradient(135deg,#1c0f33,#301958)!important;
  border:1px solid #c8aa65;border-radius:18px;
}
html body.sde-subpage[data-sde-page="formulaire"] .hero-form :is(h1,.sous-titre){
  color:#fff7e3!important;
}
/* Lisibilité et navigation mobile sur l'ensemble de la vitrine. */
@media(max-width:760px){
  html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section{
    padding:32px 0!important;
  }
  html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section>.enveloppe{
    padding:0 14px!important;
  }
  html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section{
    width:100%!important;padding:22px 17px!important;border-radius:14px!important;
    margin-bottom:22px!important;
  }
  html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.section .tete-section h2{
    font-size:clamp(1.45rem,6vw,2rem)!important;line-height:1.25!important;
  }
  html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte{
    flex-wrap:wrap;gap:10px;
  }
}
@media(max-width:370px){
  html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel{
    width:clamp(62px,20vw,86px);
  }
}
/* Respect de la pause et des préférences de réduction d'animations. */
@media(prefers-reduced-motion:reduce){
  html body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel{
    animation:none!important;transform:none!important;transition:none!important;
  }
}
html[data-motion="reduced"] body.sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel,
body[data-motion="paused"].sde-unifie.sde-subpage.sde-ivoire #infire .decompte-cel{
  animation:none!important;transform:none!important;transition:none!important;
}

/* Correctifs de contraste prioritaires — texte sombre sur or et erreurs sur ivoire. */
html body .ap-btn-gold,
html body .ap-btn-gold:hover,
html body .ap-btn-gold:focus-visible{color:#2b1450!important;-webkit-text-fill-color:#2b1450!important}
.sde-error-page{color:#271447!important;background:#fffaf0!important}
.sde-error-page :is(h1,h2,p,a){color:#271447!important;-webkit-text-fill-color:#271447!important}
.sde-rubriques-completes{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:1180px;margin:18px auto 0;padding:0 18px}
.sde-rubriques-completes a{padding:9px 12px;border:1px solid #c9a557;border-radius:999px;background:#fffaf0;color:#281549;font-weight:700;text-decoration:none}

/* Sections d'initiative : textes hors cartes et formulaires toujours lisibles. */
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section:is(.sde-initiative-section,.sde-initiative-lead)>.enveloppe>p:not(.sde-initiative-note),
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-section .sde-initiative-split>div>p:not(.sde-initiative-note){
  color:#e4eee5!important;-webkit-text-fill-color:#e4eee5!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-section .sde-initiative-note{
  color:#f9f1df!important;-webkit-text-fill-color:#f9f1df!important;
  border-left:3px solid #d7b567!important;
  background:rgba(10,26,22,.46)!important;
}
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-section .sde-initiative-note a,
html body.sde-unifie.sde-subpage.sde-ivoire main#contenu>section.sde-initiative-lead .sde-lead-actions a{
  color:#f2d68f!important;-webkit-text-fill-color:#f2d68f!important;
}
/* Petites pages /rubriques : titre direct non couvert par .tete-section. */
html body.sde-unifie.sde-subpage.sde-ivoire[data-sde-page="plus"] main#contenu>section.section>.enveloppe>h2{
  color:#fff8e6!important;-webkit-text-fill-color:#fff8e6!important;
  font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.25;
  margin-bottom:22px;
}
/* Formulaire 2026–27 : lisibilité de l'accueil et des panneaux de collecte. */
html body.sde-subpage[data-sde-page="formulaire"]{
  background:#f6f2e8!important;color:#29164b!important;
}
html body.sde-subpage[data-sde-page="formulaire"] main .form-carte{
  background:#fffdf8!important;color:#29164b!important;
  border:1px solid #dfceb0!important;border-radius:16px!important;
  box-shadow:0 10px 24px rgba(26,45,33,.08)!important;
}
html body.sde-subpage[data-sde-page="formulaire"] main .form-carte :is(h2,h3,label,p){
  color:#2c1750!important;
}
html body.sde-subpage[data-sde-page="formulaire"] main .form-carte :is(input,textarea,select){
  background:#fff!important;color:#20113b!important;
  border:1px solid #b8ac96!important;
}
/* Page d'erreur du portail : cohérente, mais sans toucher à la connexion privée. */
html body.sde-unifie.sde-ivoire:not(.sde-subpage) .site-footer{
  background:#1c0f33!important;color:#faf3e2!important;
  border-top:2px solid #c9a557!important;
}
html body.sde-unifie.sde-ivoire:not(.sde-subpage) .site-footer a{
  color:#f1d690!important;
}

/* Correctif de lisibilité — accueil, pages publiques et pied de page.
   Il ne dépend PAS de .sde-ivoire : cette classe peut changer avec le thème
   jour/nuit, contrairement aux surfaces vertes déjà affichées. */
html body.sde-unifie.sde-accueil-maquette .m-panel .m-welcome{
  color:#f8f3e7!important;
}
html body.sde-unifie.sde-accueil-maquette .m-panel .m-welcome :is(h1,.m-italic,p:not(.m-kicker):not(.m-italic),strong){
  color:#f8f3e7!important;-webkit-text-fill-color:#f8f3e7!important;
  opacity:1!important;text-shadow:0 1px 3px rgba(0,0,0,.2);
}
html body.sde-unifie.sde-accueil-maquette .m-panel .m-welcome .m-kicker{
  color:#f0d487!important;-webkit-text-fill-color:#f0d487!important;
  background:#0c201bbb!important;border:1px solid #c9a85e!important;
  letter-spacing:.09em!important;line-height:1.55!important;
  max-width:100%;white-space:normal!important;overflow-wrap:anywhere;
  font-size:clamp(.68rem,1.5vw,.86rem)!important;
}
html body.sde-unifie.sde-accueil-maquette .m-panel .m-welcome .m-verset{
  background:#fff8e9!important;border-left:4px solid #a44531!important;
}
html body.sde-unifie.sde-accueil-maquette .m-panel .m-welcome .m-verset p{
  color:#29154a!important;-webkit-text-fill-color:#29154a!important;text-shadow:none!important;
}
html body.sde-unifie.sde-accueil-maquette .m-panel .m-welcome .m-verset cite{
  color:#855f16!important;-webkit-text-fill-color:#855f16!important;text-shadow:none!important;
}
/* Mouvement — textes sur le vert, hors des panneaux clairs. */
html body.sde-unifie.sde-subpage #mouvement .nom-sde{
  padding:clamp(22px,3vw,40px)!important;
  border:1px solid rgba(215,181,103,.6)!important;
  border-radius:18px;background:#122b25e6!important;
}
html body.sde-unifie.sde-subpage #mouvement .nom-sde :is(h3,blockquote){
  color:#fff5df!important;-webkit-text-fill-color:#fff5df!important;
  opacity:1!important;
}
html body.sde-unifie.sde-subpage #mouvement .nom-sde cite{
  color:#f2ce7a!important;-webkit-text-fill-color:#f2ce7a!important;
}
html body.sde-unifie.sde-subpage #mouvement .tete-section h3{
  color:#fff8e7!important;-webkit-text-fill-color:#fff8e7!important;
  font:600 clamp(1.5rem,3vw,2.2rem)/1.3 "Cormorant Garamond",Georgia,serif!important;
  white-space:normal!important;overflow-wrap:anywhere;
}
html body.sde-unifie.sde-subpage #axes .cinq-axes li,
html body.sde-unifie.sde-subpage #histoire .frise li{
  color:#f6efdf!important;
}
html body.sde-unifie.sde-subpage #axes .cinq-axes li :is(h3,p),
html body.sde-unifie.sde-subpage #histoire .frise .frise-contenu :is(h3,p){
  color:#f6efdf!important;-webkit-text-fill-color:#f6efdf!important;
  opacity:1!important;
}
html body.sde-unifie.sde-subpage #axes .cinq-axes svg{
  color:#e8c46c!important;stroke:#e8c46c!important;
}
html body.sde-unifie.sde-subpage #histoire .frise-num{
  color:#f8ebcf!important;-webkit-text-fill-color:#f8ebcf!important;
  background:#2d1851!important;border:2px solid #d6b460!important;
}
html body.sde-unifie.sde-subpage #poles .intro-poles,
html body.sde-unifie.sde-subpage #leadership .leadership-noms,
html body.sde-unifie.sde-subpage #responsables .bio-invit{
  color:#f8f1df!important;-webkit-text-fill-color:#f8f1df!important;
  opacity:1!important;
}
html body.sde-unifie.sde-subpage #leadership .leadership-noms strong{
  color:#f2d489!important;-webkit-text-fill-color:#f2d489!important;
}
html body.sde-unifie.sde-subpage #responsables .bio-invit a{
  color:#f6d47e!important;-webkit-text-fill-color:#f6d47e!important;
  text-underline-offset:4px!important;text-decoration-thickness:2px!important;
}
/* Les valeurs et les projets restent sombres sur cartes ivoire. */
html body.sde-unifie.sde-subpage #mouvement .valeurs-grille .valeur,
html body.sde-unifie.sde-subpage #projets .projets-grille .projet-carte{
  background:#fffaf0!important;color:#29154a!important;
  -webkit-text-fill-color:#29154a!important;
  border:1px solid #d9c8a8!important;
}
html body.sde-unifie.sde-subpage #projets .projet-carte :is(h3,p){
  color:#2a164c!important;-webkit-text-fill-color:#2a164c!important;
}
/* Contribuer : montants et légendes restés sombres sur fond vert. */
html body.sde-unifie.sde-subpage #soutenir .tete-section ul.montants{
  order:3!important;display:flex!important;flex-wrap:wrap;gap:8px;
  justify-content:center;align-items:center;
  margin:18px 0 12px!important;padding:0!important;
  list-style:none!important;
  width:100%;max-width:100%;
}
html body.sde-unifie.sde-subpage #soutenir .tete-section .montants li{
  display:inline-flex;align-items:center;justify-content:center;
  color:#261445!important;-webkit-text-fill-color:#261445!important;
  background:#fff8e7!important;border:1px solid #d7b567!important;
  border-radius:999px;padding:9px 14px;min-height:42px;
  font:700 .86rem/1.3 "Atkinson Hyperlegible",system-ui,sans-serif;
  white-space:normal;
}
html body.sde-unifie.sde-subpage #soutenir .tete-section>p:not(.chapo):not(.surtitre){
  order:4!important;color:#fff7e3!important;
}
html body.sde-unifie.sde-subpage #soutenir .enveloppe>div[style*="text-align:center"]>p{
  color:#f5efdf!important;-webkit-text-fill-color:#f5efdf!important;
  opacity:1!important;
}
html body.sde-unifie.sde-subpage #soutenir .enveloppe>div[style*="text-align:center"] a{
  min-height:44px;
}
/* L'organigramme reçoit une sélection accessible au clic, Entrée et Espace. */
html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node]{
  cursor:pointer;position:relative;outline-offset:4px;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node]:focus-visible{
  outline:3px solid #f0cb74!important;
  box-shadow:0 0 0 5px rgba(240,203,116,.2)!important;
}
html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node][aria-pressed="true"]{
  border:2px solid #d7b567!important;
  box-shadow:0 0 0 4px rgba(215,181,103,.2),0 16px 30px rgba(0,0,0,.22)!important;
  transform:translateY(-3px);
}
html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node] :is(h4,p,.dog-tag){
  color:#281549!important;-webkit-text-fill-color:#281549!important;
}
html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node] .orga-icone{
  animation:sde-org-sparkle 3.6s ease-in-out infinite;
}
@keyframes sde-org-sparkle{
  0%,100%{transform:scale(1)}
  45%{transform:scale(1.09)}
}
html body.sde-unifie.sde-subpage #organigramme .sde-org-detail{
  margin:20px auto 0;padding:14px 20px;max-width:710px;
  background:#f7f0df!important;border:1px solid #d9b968!important;
  color:#29164b!important;-webkit-text-fill-color:#29164b!important;
  border-radius:13px;text-align:center;line-height:1.55;
}
html body.sde-unifie.sde-subpage #organigramme .sde-org-detail strong{
  color:#29164a!important;-webkit-text-fill-color:#29164a!important;
}
@media(hover:hover) and (pointer:fine){
  html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node]:hover{
    transform:translateY(-4px);border-color:#d7b567!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node],
  html body.sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node] .orga-icone{
    animation:none!important;transition:none!important;transform:none!important;
  }
}
body[data-motion="paused"].sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node],
body[data-motion="paused"].sde-unifie.sde-subpage #organigramme .orga-carte[data-org-node] .orga-icone{
  animation:none!important;transition:none!important;transform:none!important;
}
/* Pied de page : correction même si la classe .sde-ivoire est retirée par le sélecteur jour/nuit. */
html body.sde-unifie footer.site-footer,
html body.sde-unifie.sde-subpage footer.site-footer{
  background:#1c0f33!important;background-image:linear-gradient(140deg,#1a0e2e,#251443)!important;
  border-top:2px solid #cfaf62!important;color:#f5f0e4!important;
  -webkit-text-fill-color:#f5f0e4!important;
}
html body.sde-unifie footer.site-footer .footer-grid,
html body.sde-unifie footer.site-footer .wrap,
html body.sde-unifie footer.site-footer>div{
  background:transparent!important;color:#f5f0e4!important;
}
html body.sde-unifie footer.site-footer :is(.footer-brand,p,small,strong,span,li){
  color:#f5f0e4!important;-webkit-text-fill-color:#f5f0e4!important;
  opacity:1!important;
}
html body.sde-unifie footer.site-footer a,
html body.sde-unifie footer.site-footer nav a{
  color:#f3d18a!important;-webkit-text-fill-color:#f3d18a!important;
  text-decoration-thickness:1px;text-underline-offset:4px;
}
html body.sde-unifie footer.site-footer a:focus-visible{
  outline:3px solid #f3d18a!important;outline-offset:3px;
}
/* Compteurs de présence lorsqu'ils sont insérés en tête de pied de page. */
html body.sde-unifie footer.site-footer :is(.visites,.statistiques,.stats-visites,.sde-presence){
  background:#261445!important;color:#f5f0e4!important;
  -webkit-text-fill-color:#f5f0e4!important;
}
@media(max-width:650px){
  html body.sde-unifie.sde-subpage #soutenir .tete-section .montants li{
    font-size:.8rem;padding:8px 10px;
  }
  html body.sde-unifie.sde-subpage #organigramme .sde-org-detail{
    margin:16px 0 0;
  }
}

/* Accès directs aux deux projets demandés, avec zones tactiles accessibles. */
html body.sde-unifie.sde-subpage #projets .projet-carte .sde-projet-lien{
  color:#29154a!important;-webkit-text-fill-color:#29154a!important;
  text-decoration:none;font:inherit;
}
html body.sde-unifie.sde-subpage #projets .projet-carte .sde-projet-lien:hover{
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;
}
html body.sde-unifie.sde-subpage #projets .projet-carte .sde-projet-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  margin-top:18px;min-height:44px;padding:11px 16px;
  background:#3f2172!important;color:#fffaf0!important;
  -webkit-text-fill-color:#fffaf0!important;
  border:1px solid #3f2172!important;border-radius:10px;
  text-decoration:none!important;font-weight:700;
  line-height:1.35;max-width:100%;
}
html body.sde-unifie.sde-subpage #projets .projet-carte .sde-projet-cta:hover{
  background:#311a59!important;border-color:#d7b567!important;
}
html body.sde-unifie.sde-subpage #projets .projet-carte :is(.sde-projet-lien,.sde-projet-cta):focus-visible{
  outline:3px solid #b48c35!important;outline-offset:3px!important;
}

/* Correction structurelle du pied de page public.
   L'ancienne règle html body.sde-ivoire :is(main,#contenu,.site-footer,.pied)
   héritait de la spécificité de #contenu, imposant un fond transparent.
   Le footer a maintenant sa propre surface de contraste, même en mode clair. */
html body.sde-unifie.sde-ivoire footer.site-footer,
html body.sde-unifie.sde-subpage footer.site-footer{
  background:#1c0f33!important;background-color:#1c0f33!important;
  background-image:linear-gradient(135deg,#190d2e,#261445 70%,#1c0f33)!important;
  border-top:2px solid #d7b567!important;
  color:#f7f3e8!important;-webkit-text-fill-color:#f7f3e8!important;
  opacity:1!important;isolation:isolate;
}
html body.sde-unifie footer.site-footer .footer-grid,
html body.sde-unifie footer.site-footer .wrap,
html body.sde-unifie footer.site-footer .footer-grid>div,
html body.sde-unifie footer.site-footer nav{
  background:transparent!important;background-image:none!important;
  color:#f7f3e8!important;-webkit-text-fill-color:#f7f3e8!important;
  opacity:1!important;
}
html body.sde-unifie footer.site-footer .footer-grid :is(p,small,strong,span,li,.footer-brand),
html body.sde-unifie footer.site-footer .footer-grid>div *:not(a){
  color:#f7f3e8!important;-webkit-text-fill-color:#f7f3e8!important;
  opacity:1!important;text-shadow:none!important;
}
html body.sde-unifie footer.site-footer :is(a,a span){
  color:#f6d58e!important;-webkit-text-fill-color:#f6d58e!important;
  opacity:1!important;text-shadow:none!important;
}
html body.sde-unifie footer.site-footer a:hover{
  color:#fff3c5!important;-webkit-text-fill-color:#fff3c5!important;
  text-decoration:underline;
}
html body.sde-unifie footer.site-footer :is(a,button):focus-visible{
  outline:3px solid #f4cf74!important;outline-offset:3px;
}
/* Compteurs chargés côté client dans le footer : aucune écriture blanche
   sur le fond ivoire de l'ancienne palette, même hors .footer-grid. */
html body.sde-unifie footer.site-footer> :is(section,div) :is(span,strong,b,small){
  color:#f7f3e8!important;-webkit-text-fill-color:#f7f3e8!important;
  opacity:1!important;
}


/* Correctif mobile en-tête + verset 2026-10-30 v2 : captures du 30 octobre. */
/* Zone de citation ivoire : la règle générale .m-welcome p utilisait
   auparavant une spécificité supérieure et produisait du blanc sur blanc. */
html body.sde-unifie.sde-accueil-maquette #contenu .m-welcome blockquote.m-verset {
  background:#fff8e9!important;
  border-left:5px solid #a44531!important;
  border-radius:0 8px 8px 0;
  padding:clamp(17px,3vw,25px)!important;
  opacity:1!important;
}
html body.sde-unifie.sde-accueil-maquette #contenu .m-welcome blockquote.m-verset p {
  color:#241342!important;
  -webkit-text-fill-color:#241342!important;
  opacity:1!important;
  font:italic 500 clamp(1.08rem,2.5vw,1.3rem)/1.65 "Libre Caslon Text",Georgia,serif!important;
  letter-spacing:normal!important;
  text-shadow:none!important;
  overflow-wrap:break-word;
}
html body.sde-unifie.sde-accueil-maquette #contenu .m-welcome blockquote.m-verset cite {
  display:block;
  margin-top:12px;
  color:#654514!important;
  -webkit-text-fill-color:#654514!important;
  opacity:1!important;
  text-shadow:none!important;
  font-size:clamp(.75rem,1.6vw,.89rem)!important;
  line-height:1.5!important;
  letter-spacing:.09em!important;
}
@media(max-width:760px) {
  /* Deux rangées explicites : identité et commandes, puis accès au portail.
     Aucun chevauchement même sur un téléphone de 320 px. */
  html body.sde-unifie .site-header .site-header-inner {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) repeat(3,42px)!important;
    grid-template-rows:minmax(46px,auto) minmax(44px,auto)!important;
    align-items:center!important;
    column-gap:5px!important;
    row-gap:7px!important;
    width:calc(100% - 24px)!important;
    min-width:0!important;
    max-width:100%!important;
    padding:8px 0 10px!important;
    flex-wrap:initial!important;
    min-height:0!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-brand {
    grid-column:1!important;
    grid-row:1!important;
    margin:0!important;
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    display:flex!important;
    flex:none!important;
    align-items:center!important;
    gap:6px!important;
    overflow:visible!important;
  }
  html body.sde-unifie .site-header .site-brand img.site-logo {
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    flex:none!important;
  }
  html body.sde-unifie .site-header .site-brand>span {
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html body.sde-unifie .site-header .site-brand b {
    display:block!important;
    width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:normal!important;
    font-size:clamp(.84rem,3.4vw,1.1rem)!important;
    line-height:1.13!important;
    letter-spacing:0!important;
  }
  html body.sde-unifie.sde-ivoire .site-header .site-brand b {
    color:#1e1036!important;
    -webkit-text-fill-color:#1e1036!important;
  }
  html body.sde-unifie:not(.sde-ivoire) .site-header .site-brand b {
    color:#fff7e4!important;
    -webkit-text-fill-color:#fff7e4!important;
  }
  html body.sde-unifie .site-header .site-brand small {display:none!important}
  html body.sde-unifie .site-header .site-header-inner>.site-burger {
    grid-column:2!important;grid-row:1!important;
    display:flex!important;order:initial!important;
    position:relative!important;
    width:42px!important;height:44px!important;min-width:42px!important;
    margin:0!important;
    padding:8px!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-theme-toggle {
    grid-column:3!important;grid-row:1!important;
    position:relative!important;
    width:42px!important;height:44px!important;min-width:42px!important;
    margin:0!important;padding:8px!important;
    order:initial!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-button {
    grid-column:4!important;grid-row:1!important;
    position:relative!important;
    width:42px!important;height:44px!important;min-width:42px!important;
    margin:0!important;padding:8px!important;
    order:initial!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-access-top {
    grid-column:1 / -1!important;
    grid-row:2!important;
    display:flex!important;
    order:initial!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    width:100%!important;
    min-width:0!important;
  }
  html body.sde-unifie .site-header .site-access-top .site-portal-cta {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:min(100%,280px)!important;
    max-width:100%!important;
    min-height:44px!important;
    padding:9px 16px!important;
    font-size:.84rem!important;
    line-height:1.25!important;
    white-space:normal!important;
    text-align:center!important;
    border-radius:10px!important;
  }
  html body.sde-unifie .site-header .site-menu{
    position:absolute!important;
    top:100%!important;left:0!important;right:0!important;
    width:100%!important;max-height:min(70svh,540px)!important;
    z-index:20!important;
  }
  html body.sde-unifie .site-header .site-menu[data-open="true"] {display:flex!important}
  html body.sde-unifie .site-header .site-menu:not([data-open="true"]) {display:none!important}
}
@media(max-width:355px) {
  html body.sde-unifie .site-header .site-header-inner{
    grid-template-columns:minmax(0,1fr) repeat(3,40px)!important;
    column-gap:3px!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-burger,
  html body.sde-unifie .site-header .site-header-inner>.site-theme-toggle,
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-button {
    width:40px!important;min-width:40px!important;
  }
  html body.sde-unifie .site-header .site-brand img.site-logo{
    width:36px!important;height:36px!important;min-width:36px!important;
  }
  html body.sde-unifie .site-header .site-brand b{
    font-size:.82rem!important;
  }
}


/* SDE Digital Experience 2027 — cartes des pôles, TPA, contraste, responsive. */
/* Les composants ci-dessous sont publics et ne touchent ni aux dossiers
   pastoraux ni aux permissions des deux tableaux de bord sécurisés. */
html body.sde-unifie.sde-accueil-maquette .m-programmes,
html body.sde-unifie.sde-accueil-maquette .m-poles{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap:clamp(13px,2vw,22px);
  align-items:stretch;
}
html body.sde-unifie.sde-accueil-maquette .m-programmes>.m-prog,
html body.sde-unifie.sde-accueil-maquette .m-poles>.m-pole{
  min-width:0;
  height:100%;
}
html body.sde-unifie.sde-accueil-maquette .m-programmes .sde-featured-program{
  position:relative;
  border:2px solid #b99444!important;
  background:#fffaf0!important;
  color:#241341!important;
  box-shadow:0 12px 32px rgba(38,56,32,.11)!important;
}
html body.sde-unifie.sde-accueil-maquette .sde-featured-program :is(h3,p,time,strong){
  color:#241341!important;
  -webkit-text-fill-color:#241341!important;
  opacity:1!important;
}
html body.sde-unifie.sde-accueil-maquette .sde-featured-program .m-rythme{
  color:#311a59!important;
  -webkit-text-fill-color:#311a59!important;
}
html body.sde-unifie.sde-accueil-maquette .sde-event-poster-link{
  display:block;min-width:0;border-radius:12px;overflow:hidden;
  background:#142c35;margin:0 0 14px;
  outline-offset:4px;
}
html body.sde-unifie.sde-accueil-maquette .sde-event-poster{
  display:block;width:100%;height:auto;
  aspect-ratio:1/1;object-fit:contain;
  border-radius:12px;
}
html body.sde-unifie.sde-accueil-maquette .sde-featured-program .m-prog-actions{
  display:flex;flex-wrap:wrap;gap:9px;
  margin-top:auto;
}
html body.sde-unifie.sde-accueil-maquette .sde-featured-program .m-prog-actions a{
  min-height:44px;
  display:inline-flex;align-items:center;
  padding:9px 12px;border-radius:9px;
  background:#f6e8c4;color:#543a19!important;
  -webkit-text-fill-color:#543a19!important;
  border:1px solid #d2ae5b;
  text-decoration:none;font-weight:800;
  line-height:1.3;
}
html body.sde-unifie.sde-accueil-maquette .sde-featured-program .m-prog-actions a:hover{
  background:#efdcaa;
}
html body.sde-unifie.sde-accueil-maquette .m-poles>.sde-pole-officiel{
  display:flex;
  border:1px solid #d8c39b!important;
  background:#fffdf7!important;
  padding:0!important;
  border-radius:17px!important;
  overflow:hidden;
}
html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien{
  min-width:0;width:100%;
  display:flex;flex-direction:column;align-items:flex-start;
  gap:9px;padding:clamp(17px,2.2vw,23px);
  color:#281548!important;
  -webkit-text-fill-color:#281548!important;
  text-decoration:none!important;
  transition:box-shadow .2s ease,transform .2s ease;
}
html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien img{
  display:block;align-self:center;
  width:min(160px,80%);
  height:auto;
  aspect-ratio:1/1;
  object-fit:contain;
  margin:0 auto 7px;
  filter:drop-shadow(0 7px 10px rgba(20,28,24,.11));
}
html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien .m-pole-num{
  color:#745116!important;
  -webkit-text-fill-color:#745116!important;
  font-size:.8rem;font-weight:800;
  letter-spacing:.055em;
}
html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien h3{
  color:#271547!important;
  -webkit-text-fill-color:#271547!important;
  font-size:clamp(1.16rem,2vw,1.34rem);
  line-height:1.3;margin:0;
  overflow-wrap:anywhere;
}
html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien p{
  color:#361c62!important;
  -webkit-text-fill-color:#361c62!important;
  font-size:.96rem;
  line-height:1.6;
  margin:0 0 10px;
  opacity:1!important;
}
html body.sde-unifie.sde-accueil-maquette .sde-pole-decouvrir{
  color:#65410b!important;
  -webkit-text-fill-color:#65410b!important;
  font-weight:800;
  margin-top:auto;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
@media(hover:hover) and (pointer:fine){
  html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien:hover{
    transform:translateY(-2px);
    box-shadow:0 11px 29px rgba(32,47,35,.15);
  }
}
/* Cibles tactiles et focus visibles sur le site public, y compris dans le menu. */
html body.sde-unifie :is(.site-header,.m-panel,.sde-initiative-section,main) :is(a,button,summary):focus-visible{
  outline:3px solid #bd892e!important;
  outline-offset:3px!important;
}
html body.sde-unifie :is(.m-panel,.section,.sde-initiative-section) :is(h1,h2,h3,p,a){
  overflow-wrap:break-word;
}
html body.sde-unifie .m-panel :is(.m-btn,.iv-cta,.sde-pole-officiel-lien){
  min-height:44px;
}
html body.sde-unifie.sde-subpage main#contenu>section.section .tete-section{
  scroll-margin-top:110px;
}
html body.sde-unifie :is(#poles-accueil,#programmes-accueil,#espaces-prives,#agenda,#poles,#programmes){
  scroll-margin-top:110px;
}
@media(max-width:760px){
  html body.sde-unifie.sde-accueil-maquette .m-programmes,
  html body.sde-unifie.sde-accueil-maquette .m-poles{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));
  }
  html body.sde-unifie.sde-accueil-maquette .sde-featured-program .m-prog-actions a{
    flex:1 1 140px;justify-content:center;text-align:center;
  }
}
@media(max-width:480px){
  html body.sde-unifie.sde-accueil-maquette .m-programmes,
  html body.sde-unifie.sde-accueil-maquette .m-poles{
    grid-template-columns:minmax(0,1fr);
  }
  html body.sde-unifie.sde-accueil-maquette .m-poles>.sde-pole-officiel{
    max-width:100%;
  }
  html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien{
    padding:18px;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien{
    transition:none!important;transform:none!important;
  }
}
body[data-motion="paused"].sde-unifie.sde-accueil-maquette .sde-pole-officiel-lien{
  transition:none!important;transform:none!important;
}

/* Audit Chromium : correction du débordement ordinateur à partir de 1280 px. */
/* L'ancienne maquette réservait 200 px à un rail latéral. Dans la version
   ivoire, ce rail est masqué : décaler un contenu de 1240 px créait un
   débordement de presque 200 px sur les écrans de 1280 px. */
@media(min-width:1280px){
  html body.sde-unifie.sde-accueil-maquette.sde-ivoire main.m-main,
  html body.sde-unifie.sde-accueil-maquette.sde-ivoire #contenu.m-main{
    box-sizing:border-box!important;
    width:min(1240px,calc(100% - 36px))!important;
    max-width:calc(100% - 36px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:clamp(18px,2.2vw,32px)!important;
    padding-right:clamp(18px,2.2vw,32px)!important;
    min-width:0!important;
  }
}

/* Audit Chromium : menu compact pour écrans intermédiaires (901–1800 px). */
/* Les huit liens desktop débordaient de la fenêtre à 1280 px.
   Conserver le menu complet sur écrans larges et passer à un menu
   déroulant accessible sur les ordinateurs compacts. */
@media(min-width:901px) and (max-width:1800px){
  html body.sde-unifie .site-header .site-header-inner{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:clamp(8px,1.1vw,15px)!important;
    width:min(100% - 28px,1320px)!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html body.sde-unifie .site-header .site-brand{
    flex:0 1 auto!important;
    min-width:0!important;
    gap:8px!important;
    margin-right:auto!important;
  }
  html body.sde-unifie .site-header .site-brand b{
    font-size:clamp(1.05rem,1.7vw,1.4rem)!important;
    white-space:nowrap!important;
    letter-spacing:0!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-support{
    display:none!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-access-top{
    flex:0 0 auto!important;
    width:auto!important;
    margin:0!important;
    order:2!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-burger{
    order:5!important;
    display:flex!important;
    flex:0 0 44px!important;
    min-width:44px!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.site-theme-toggle{
    order:3!important;flex:0 0 42px!important;
    width:42px!important;height:44px!important;margin:0!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-button{
    order:4!important;flex:0 0 42px!important;
    width:42px!important;height:44px!important;margin:0!important;
  }
  html body.sde-unifie .site-header .site-menu{
    display:none!important;
    position:absolute!important;
    top:100%!important;left:auto!important;right:12px!important;
    width:min(370px,calc(100% - 24px))!important;
    max-height:calc(100svh - 110px)!important;
    overflow-y:auto!important;
    align-items:stretch!important;
    flex-direction:column!important;
    gap:3px!important;
    padding:12px!important;
    border-radius:0 0 14px 14px!important;
    box-shadow:0 18px 32px rgba(0,0,0,.20)!important;
    z-index:50!important;
  }
  html body.sde-unifie .site-header .site-menu[data-open="true"]{
    display:flex!important;
  }
  html body.sde-unifie .site-header .site-menu a,
  html body.sde-unifie .site-header .site-menu summary{
    width:100%!important;
    white-space:normal!important;
    min-height:44px!important;
    padding:11px 12px!important;
    border-radius:8px!important;
    text-decoration:none!important;
    line-height:1.3!important;
  }
  html body.sde-unifie.sde-ivoire .site-header .site-menu{
    background:#fffdf8!important;
    border:1px solid #d9c59c!important;
    color:#251343!important;
  }
  html body.sde-unifie.sde-ivoire .site-header .site-menu a,
  html body.sde-unifie.sde-ivoire .site-header .site-menu summary{
    color:#251343!important;
    -webkit-text-fill-color:#251343!important;
  }
  html body.sde-unifie.sde-ivoire .site-header .site-menu a:hover{
    background:#f4ecd9!important;
  }
  html body.sde-unifie:not(.sde-ivoire) .site-header .site-menu{
    background:#11182a!important;
    border:1px solid #c8a451!important;
  }
}

/* Écrans très larges : navigation complète activée seulement lorsque les liens peuvent tenir sans débordement. */
@media(min-width:1801px){
  html body.sde-unifie .site-header .site-header-inner{
    width:min(1640px,calc(100% - 40px))!important;
    max-width:1640px!important;
    gap:clamp(9px,.9vw,16px)!important;
  }
  html body.sde-unifie .site-header .site-menu{
    gap:clamp(9px,.9vw,15px)!important;
    min-width:0!important;
  }
  html body.sde-unifie .site-header .site-brand b{
    font-size:clamp(1.22rem,1.5vw,1.52rem)!important;
    white-space:nowrap!important;
  }
  html body.sde-unifie .site-header .site-menu>a{
    font-size:clamp(.8rem,.82vw,.9rem)!important;
  }
}

/* SDE OS 4.0 — emplacements d'en-tête et bandeau réservés pour réduire le CLS. */
/* Les commandes restent en place lorsque leurs scripts terminent de charger. */
html body.sde-unifie .site-header .sde-motion-slot{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:44px!important;
  min-width:42px!important;
  flex:0 0 42px!important;
  order:4!important;
  padding:0!important;
  margin:0!important;
  position:relative!important;
}
html body.sde-unifie .site-header .sde-motion-slot>.sde-motion-button{
  width:42px!important;
  min-width:42px!important;
  height:44px!important;
  margin:0!important;
  padding:8px!important;
  position:static!important;
  transform:none!important;
}
html body.sde-unifie .site-header .site-theme-toggle{
  flex-shrink:0!important;
  min-width:42px;
  min-height:44px;
}
/* Le bandeau React remplace l'annonce statique sans pousser l'en-tête. */
html body.sde-unifie #sde-event-root{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:76px;
  box-sizing:border-box;
  contain:layout;
}
html body.sde-unifie #sde-event-root .event-bar-inner{
  width:100%;
  max-width:1320px;
}
@media(min-width:761px) and (max-width:900px){
  html body.sde-unifie .site-header .sde-motion-slot{order:2!important}
}
@media(max-width:900px){
  html body.sde-unifie #sde-event-root{min-height:122px}
}
@media(max-width:760px){
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-slot{
    grid-column:4!important;
    grid-row:1!important;
    width:42px!important;
    min-width:42px!important;
    height:44px!important;
    order:initial!important;
  }
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-slot>.sde-motion-button{
    width:42px!important;
    min-width:42px!important;
    height:44px!important;
    padding:8px!important;
  }
}
@media(max-width:355px){
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-slot,
  html body.sde-unifie .site-header .site-header-inner>.sde-motion-slot>.sde-motion-button{
    width:40px!important;
    min-width:40px!important;
    height:44px!important;
  }
}


/* === Audit 2026-11-01 : lisibilité, accueil TPA, accès tactiles === */
body.sde-unifie .site-header{
  border-bottom:1px solid rgba(226,194,106,.56);
  box-shadow:0 8px 24px rgba(5,12,28,.2);
}
body.sde-unifie .site-header :is(.site-burger,.site-theme-toggle,.site-portal-cta){
  min-width:44px;min-height:44px;
}
body.sde-unifie .site-menu :is(a,summary){
  min-height:44px;outline-offset:3px;
}
body.sde-unifie :is(a,button,summary,input,select,textarea):focus-visible{
  outline:3px solid #e2c26a!important;outline-offset:3px;
}
body.sde-unifie :is(.sde-page-actions a,.m-actions a,.m-prog-actions a,.rdv-actions a,.rdv-actions button){
  min-height:44px;
}
body.sde-unifie .sde-intro :is(h1,p),body.sde-unifie .site-footer p{
  overflow-wrap:anywhere;
}
body.sde-unifie .sde-intro p,body.sde-unifie .tete-section .chapo{
  line-height:1.7;
}
body.sde-unifie .sde-archives{
  margin:28px 0 12px;padding:15px 19px;border:1px solid rgba(226,194,106,.45);
  border-radius:16px;background:rgba(18,30,53,.72);color:#f2f4fa;
}
body.sde-unifie .sde-archives summary{
  font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center;
  color:#f3d783;letter-spacing:.01em;
}
body.sde-unifie .sde-archives .programme{margin-top:16px;opacity:.9}
body.sde-unifie .sde-archives .programme .rdv-actions a{color:#f4d78c}
body.sde-unifie .iv-band.sde-tpa-hero .iv-frame{
  position:relative;display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;padding:14px;
  background:linear-gradient(140deg,#0f1e3d,#1e2441 58%,#381927);
}
body.sde-unifie .iv-band.sde-tpa-hero .iv-frame img{
  width:min(100%,380px);height:auto;max-height:360px;object-fit:contain;
  object-position:center;border-radius:12px;
}
body.sde-unifie .sde-hero-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 20px;min-height:44px;border-radius:10px;
  background:#e2c26a;color:#11182a;font-weight:800;
  box-shadow:0 4px 20px rgba(4,8,22,.25);text-decoration:none;
}
body.sde-unifie .sde-hero-cta:hover{background:#f3da9a;color:#0b1530}
@media(max-width:900px){
  body.sde-unifie.sde-menu-mobile-ouvert{overflow:hidden;touch-action:pan-y}
  body.sde-unifie #site-menu[data-open="true"]{
    max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  body.sde-unifie .site-menu .site-mega-panel a{
    padding-block:11px;min-height:48px;
  }
}
@media(max-width:600px){
  body.sde-unifie .sde-intro{padding-inline:max(16px,env(safe-area-inset-left))}
  body.sde-unifie .sde-archives{margin:20px 12px;padding:12px}
  body.sde-unifie .sde-hero-cta{width:100%}
}
@media(prefers-reduced-motion:reduce){
  body.sde-unifie .sde-hero-cta,body.sde-unifie .sde-archives,
  body.sde-unifie #site-menu{animation:none!important;transition:none!important}
}

/* Accueil SDE : grille verticale stable sur grand écran.
   Les titres et CTA ne déplacent plus les panneaux suivants lors du chargement
   des typographies Google. Mobile et zoom conservent une hauteur automatique. */
@media (min-width:1101px) {
  html body.sde-accueil-maquette.sde-ivoire .iv-intro {
    box-sizing:border-box;
    height:260px;
    min-height:260px;
    grid-template-rows:40px 42px 52px 30px;
    align-content:center;
    row-gap:6px;
    padding:48px 16px 28px;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro h2 {
    line-height:40px;
    margin:0;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro p {
    line-height:42px;
    margin:0;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro .iv-cta {
    min-height:52px;
    padding:0 24px;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro .iv-sub {
    min-height:30px;
    display:inline-flex;
    align-items:center;
  }
}

/* Tablettes 960–1100 px : réserver le même volume avant et après
   le chargement des polices. La fenêtre 1024 px présentait un CLS 0,106
   car la grille d'introduction restait automatique hors du mode desktop. */
@media (min-width:960px) and (max-width:1100px) {
  html body.sde-accueil-maquette.sde-ivoire .iv-intro {
    box-sizing:border-box;
    height:300px;
    min-height:300px;
    grid-template-rows:72px 42px 52px 30px;
    align-content:center;
    row-gap:6px;
    padding:56px 16px 30px;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro h2 {
    line-height:36px;
    margin:0;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro p {
    line-height:42px;
    margin:0;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro .iv-cta {
    min-height:52px;
    padding:0 24px;
  }
  html body.sde-accueil-maquette.sde-ivoire .iv-intro .iv-sub {
    min-height:30px;
    display:inline-flex;
    align-items:center;
  }
}


/* SDE · Refonte structurée 03/11/2026 — étapes 1 et 3.
   Un menu public prioritaire, des cartes lisibles et des pages
   complémentaires cohérentes. Aucun lien ni formulaire supprimé. */
html body.sde-unifie:not(.sde-tableau) .sde-rail{
 display:none!important;
}
html body.sde-unifie:not(.sde-tableau) .site-header{
 z-index:1000;
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-header-inner{
 width:min(1380px,calc(100% - 30px));
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu{
 gap:clamp(8px,1.1vw,18px);
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu :is(a,summary){
 min-height:44px;line-height:1.4;
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel{
 max-width:min(90vw,560px);
 padding:12px!important;
 border-radius:14px;
 border:1px solid rgba(223,184,112,.45)!important;
 background:linear-gradient(150deg,#211436,#172d35)!important;
 box-shadow:0 16px 36px rgba(4,5,15,.28);
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel a{
 border-radius:8px;padding:10px 12px;white-space:normal;
 color:#f8efde!important;
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel a small{
 color:#d9d4e2!important;line-height:1.3;
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel a:hover,
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel a:focus-visible{
 background:rgba(239,201,127,.14)!important;
 color:#ffe0a2!important;
}
html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel a[data-sde-service-link]{
 font-size:.86rem;
 border-top:1px solid rgba(233,198,129,.16);
}
html body.sde-unifie:not(.sde-tableau) .site-header :is(a,summary,button):focus-visible,
html body.sde-unifie:not(.sde-tableau) .sde-public-bottom-nav a:focus-visible{
 outline:3px solid #ffe3a6!important;outline-offset:3px!important;
}
/* Une grille de pages harmonisée, sans imposer de nouveau moteur métier. */
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-section,.sde-initiative-lead,.section[id],.hub-section){
 scroll-margin-top:calc(84px + env(safe-area-inset-top));
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-section,.sde-initiative-lead) .enveloppe,
html body.sde-unifie:not(.sde-tableau) .section>.enveloppe,
html body.sde-unifie:not(.sde-tableau) .section>.wrap{
 width:min(1250px,calc(100% - 34px));
 max-width:1250px;margin-inline:auto;
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-card,.ressource-carte,.programme,.ticket,.hub-card,.hub-form){
 border-radius:16px!important;
 overflow-wrap:anywhere;
 transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-card,.ressource-carte,.programme,.ticket,.hub-card,.hub-form):focus-within{
 outline:2px solid #eac67d!important;outline-offset:3px;
 box-shadow:0 12px 32px rgba(20,12,39,.16);
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-card,.ressource-carte,.programme,.ticket,.hub-card) :is(h2,h3,h4,strong){
 overflow-wrap:anywhere;
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-section,.section[id],.hub-section) :is(button,a):focus-visible{
 outline:3px solid #efd089!important;outline-offset:3px!important;
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-section,.section[id],.hub-section) :is(input,textarea,select){
 max-width:100%;min-width:0;
}
html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-section,.section[id],.hub-section) :is(input,textarea,select):focus-visible{
 outline:3px solid #efd089!important;outline-offset:2px!important;
}
html body.sde-unifie:not(.sde-tableau) .ressources-grille,
html body.sde-unifie:not(.sde-tableau) .programmes,
html body.sde-unifie:not(.sde-tableau) .hub-grid{
 min-width:0;
}
html body.sde-unifie:not(.sde-tableau) .ressources-grille>*,
html body.sde-unifie:not(.sde-tableau) .programmes>*,
html body.sde-unifie:not(.sde-tableau) .hub-grid>*{
 min-width:0;
}
/* Bande de navigation rapide : 5 cibles et libellés lisibles sur téléphone. */
@media(max-width:900px){
 html body.sde-unifie:not(.sde-tableau) .sde-public-bottom-nav{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:2px!important;
  padding:6px max(5px,env(safe-area-inset-right))
    calc(7px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));
  border-top:2px solid #dfbd78!important;
  background:linear-gradient(110deg,#211237,#301849 60%,#193c35)!important;
 }
 html body.sde-unifie:not(.sde-tableau) .sde-public-bottom-nav a{
  min-width:0;min-height:52px;line-height:1.2;
  padding:5px 1px;border-radius:10px;
  font-size:clamp(.61rem,2.35vw,.76rem)!important;
  color:#f2e8e9!important;
 }
 html body.sde-unifie:not(.sde-tableau) .sde-public-bottom-nav a[aria-current=page]{
  color:#ffdf9c!important;
  background:rgba(234,193,120,.19)!important;
  box-shadow:inset 0 0 0 1px rgba(237,198,125,.27);
 }
 html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-section,.sde-initiative-lead) .enveloppe,
 html body.sde-unifie:not(.sde-tableau) .section>.enveloppe,
 html body.sde-unifie:not(.sde-tableau) .section>.wrap{
  width:min(100% - 24px,1250px);
 }
 html body.sde-unifie:not(.sde-tableau) .site-header .site-menu[data-open=true]{
  max-height:min(76svh,720px);overflow-y:auto;
  overscroll-behavior:contain;
 }
 html body.sde-unifie:not(.sde-tableau) .site-header .site-menu .site-mega-panel{
  max-width:100%;
 }
}
@media(max-width:540px){
 html body.sde-unifie:not(.sde-tableau) .section .tete-section h2,
 html body.sde-unifie:not(.sde-tableau) .sde-initiative-section h2{
  line-height:1.18;overflow-wrap:anywhere;
 }
 html body.sde-unifie:not(.sde-tableau) :is(.ressources-grille,.programmes,.hub-grid){
  grid-template-columns:minmax(0,1fr);
 }
 html body.sde-unifie:not(.sde-tableau) .sde-public-bottom-nav a svg{
  width:21px;height:21px;
 }
}
@media(prefers-reduced-motion:reduce){
 html body.sde-unifie:not(.sde-tableau) :is(.sde-initiative-card,.ressource-carte,.programme,.ticket,.hub-card,.hub-form){
  transition:none!important;transform:none!important;
 }
}


/* SDE Premium V2 : accents sémantiques partagés par les pages publiques.
   Le fond général et les contrastes existants sont préservés. */
html body.sde-unifie.sde-subpage{
 --sde-page-accent:#e6c482;
 --sde-page-accent-soft:rgba(229,190,119,.15);
 --sde-page-bg:#17243b;
}
html body.sde-unifie.sde-subpage:is([data-sde-page="prieres"],[data-sde-page="academy"],[data-sde-page="ressources"],[data-sde-page="temoignages"],[data-sde-page="soldiers-voice"]){
 --sde-page-accent:#d5b2f0;
 --sde-page-accent-soft:rgba(168,107,207,.18);
 --sde-page-bg:#32214e;
}
html body.sde-unifie.sde-subpage:is([data-sde-page="missions-humanitaires"],[data-sde-page="projets"],[data-sde-page^="pole-"],[data-sde-page="missions"],[data-sde-page="soutenir"]){
 --sde-page-accent:#a5dfb9;
 --sde-page-accent-soft:rgba(104,179,134,.19);
 --sde-page-bg:#173f34;
}
html body.sde-unifie.sde-subpage:is([data-sde-page="gouvernance"],[data-sde-page="mouvement"],[data-sde-page="programmes"],[data-sde-page="calendrier"]){
 --sde-page-accent:#f1ca85;
 --sde-page-accent-soft:rgba(224,181,107,.16);
 --sde-page-bg:#152b44;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-lead,.sde-hero,.m-band,.hub-hero){
 border-bottom:2px solid var(--sde-page-accent)!important;
 background-image:
 radial-gradient(ellipse at 87% 6%,var(--sde-page-accent-soft),transparent 54%),
 linear-gradient(120deg,#18142e 0%,var(--sde-page-bg) 100%)!important;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-lead,.sde-hero,.hub-hero) :is(h1,h2,p,a){
 text-wrap:pretty;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-section,.section[id],.hub-section)>:is(h2,h3),
html body.sde-unifie.sde-subpage :is(.sde-initiative-section,.section[id],.hub-section) .tete-section h2{
 text-wrap:balance;letter-spacing:-.017em;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.pole-carte,.hub-card,.hub-form){
 min-width:0;border:1px solid rgba(183,159,123,.42)!important;
 box-shadow:0 12px 32px rgba(14,12,33,.09);
 border-radius:16px!important;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.pole-carte,.hub-card):hover{
 border-color:var(--sde-page-accent)!important;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.pole-carte,.hub-card) :is(h2,h3,h4){
 line-height:1.24;overflow-wrap:anywhere;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.pole-carte,.hub-card) :is(p,li,small){
 line-height:1.55;overflow-wrap:anywhere;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.pole-carte,.hub-card) :is(a,button):focus-visible{
 outline:3px solid var(--sde-page-accent)!important;outline-offset:3px!important;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-section,.section[id],.hub-section) :is(input,textarea,select){
 max-width:100%;min-width:0;line-height:1.4;
}
html body.sde-unifie.sde-subpage :is(.sde-initiative-section,.section[id],.hub-section) :is(input,textarea,select):focus-visible{
 outline:3px solid var(--sde-page-accent)!important;
}
html body.sde-unifie.sde-subpage .site-footer{
 border-top:2px solid var(--sde-page-accent);
}
@media(max-width:680px){
 html body.sde-unifie.sde-subpage :is(.sde-initiative-lead,.hub-hero){
  padding-inline:clamp(14px,4vw,23px);
 }
 html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.hub-card){
  border-radius:13px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body.sde-unifie.sde-subpage :is(.sde-initiative-card,.ressource-carte,.programme,.pole-carte,.hub-card){
  transition:none!important;transform:none!important;
 }
}


/* SDE premium · Navigation locale des pôles, prières, missions et ressources.
   L'accès aux sections fonctionne sans JavaScript et respecte les liens actuels. */
body.sde-unifie.sde-ivoire{
 --sde-jump-surface:#16243c;--sde-jump-accent:#e4c083;
}
body.sde-unifie.sde-ivoire[data-sde-page="pole-reveil"]{--sde-pole-accent:#b58ada}
body.sde-unifie.sde-ivoire[data-sde-page="pole-social"]{--sde-pole-accent:#89c7a7}
body.sde-unifie.sde-ivoire[data-sde-page="pole-logistique"]{--sde-pole-accent:#a7b8de}
body.sde-unifie.sde-ivoire[data-sde-page="pole-medias"]{--sde-pole-accent:#deb0ba}
body.sde-unifie.sde-ivoire[data-sde-page="pole-formation"]{--sde-pole-accent:#e3c27e}
body.sde-unifie.sde-ivoire .sde-poles-switcher,
body.sde-unifie.sde-ivoire .sde-section-jumps{
 box-sizing:border-box;width:min(1250px,calc(100% - 30px));
 max-width:1250px;margin:14px auto 0;
 padding:12px 15px;border-radius:15px;
 background:linear-gradient(110deg,#121f37,#27193e 64%,#204538)!important;
 border:1px solid rgba(237,194,121,.45);
 box-shadow:0 12px 28px rgba(13,17,31,.18);
 color:#f5eddf!important;
}
body.sde-unifie.sde-ivoire .sde-poles-switcher{
 display:flex;align-items:center;gap:16px;
 border-top:3px solid var(--sde-pole-accent,#e4c083);
}
body.sde-unifie.sde-ivoire .sde-switcher-label{
 display:block;flex-shrink:0;
 color:#efcf8f!important;font-size:.69rem;font-weight:850;
 line-height:1.2;letter-spacing:.11em;
}
body.sde-unifie.sde-ivoire .sde-poles-switcher>div{
 display:flex;align-items:center;gap:7px;
 min-width:0;flex:1;flex-wrap:wrap;
}
body.sde-unifie.sde-ivoire .sde-poles-switcher a{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 text-decoration:none;white-space:nowrap;
 min-height:42px;min-width:0;
 padding:9px 15px;border-radius:10px;
 background:rgba(224,199,149,.07);
 border:1px solid rgba(226,195,132,.24);
 color:#e8e7ed!important;
 font-size:.83rem;font-weight:700;
}
body.sde-unifie.sde-ivoire .sde-poles-switcher a[aria-current="page"]{
 background:#e5c68c!important;
 border-color:#ffe6b5!important;
 color:#241a39!important;
 font-weight:900;
}
body.sde-unifie.sde-ivoire .sde-poles-switcher .sde-switcher-index{
 font-size:.69rem;opacity:.83;letter-spacing:.03em;
}
body.sde-unifie.sde-ivoire .sde-section-jumps{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px;
 margin-bottom:18px;
 background:linear-gradient(115deg,#14263c,#203d39)!important;
}
body.sde-unifie.sde-ivoire .sde-section-jumps-spiritualite{
 background:linear-gradient(110deg,#211536,#372151)!important;
}
body.sde-unifie.sde-ivoire .sde-section-jumps-missions{
 background:linear-gradient(110deg,#16382e,#1b4541)!important;
}
body.sde-unifie.sde-ivoire .sde-section-jumps-ressources{
 background:linear-gradient(110deg,#16243c,#2a1941)!important;
}
body.sde-unifie.sde-ivoire .sde-section-jumps a{
 box-sizing:border-box;
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:43px;min-width:0;
 padding:10px 13px;border:1px solid rgba(234,204,151,.27);
 border-radius:10px;background:rgba(250,229,187,.07);
 color:#f3ebdf!important;text-align:center;
 text-decoration:none;font-size:.82rem;font-weight:750;
 line-height:1.28;overflow-wrap:anywhere;
}
body.sde-unifie.sde-ivoire .sde-section-jumps a.sde-section-jumps-cta{
 background:linear-gradient(115deg,#f4dbac,#d9ae67)!important;
 color:#241932!important;border-color:#ffe7b5!important;
 font-weight:900;
}
body.sde-unifie.sde-ivoire :is(.sde-section-jumps,.sde-poles-switcher) a:hover:not([aria-current="page"]){
 background:rgba(246,216,160,.22)!important;
 border-color:#f8dca1!important;
 color:#fff7e2!important;
}
body.sde-unifie.sde-ivoire :is(.sde-section-jumps,.sde-poles-switcher) a.sde-section-jumps-cta:hover{
 color:#22142d!important;background:#ffe6b0!important;
}
body.sde-unifie.sde-ivoire :is(.sde-section-jumps,.sde-poles-switcher) a:focus-visible{
 outline:3px solid #ffe3a1!important;
 outline-offset:3px!important;
}
body.sde-unifie.sde-ivoire .sde-pole-hero{
 border-top:3px solid var(--sde-pole-accent,#efc680)!important;
}
body.sde-unifie.sde-ivoire.sde-pole .sde-pole-img{
 border-radius:13px!important;
}
body.sde-unifie.sde-ivoire [id="vision"],
body.sde-unifie.sde-ivoire [id="actions"],
body.sde-unifie.sde-ivoire [id="departements"],
body.sde-unifie.sde-ivoire [id="projets"],
body.sde-unifie.sde-ivoire [id="engager"],
body.sde-unifie.sde-ivoire [id="parcours"],
body.sde-unifie.sde-ivoire [id="sujet-anonyme"],
body.sde-unifie.sde-ivoire [id="requete"],
body.sde-unifie.sde-ivoire [id="participer"],
body.sde-unifie.sde-ivoire [id="ressources"],
body.sde-unifie.sde-ivoire [id="galerie"]{
 scroll-margin-top:100px;
}
@media(max-width:800px){
 body.sde-unifie.sde-ivoire .sde-poles-switcher{
  display:grid;gap:9px;padding:12px 10px;
 }
 body.sde-unifie.sde-ivoire .sde-poles-switcher>div{
  flex-wrap:nowrap;max-width:100%;overflow-x:auto;
  overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  padding:3px 2px 7px;
  scrollbar-width:thin;scrollbar-color:#d3b779 transparent;
 }
 body.sde-unifie.sde-ivoire .sde-poles-switcher a{
  flex-shrink:0;min-height:44px;padding:9px 13px;
 }
 body.sde-unifie.sde-ivoire .sde-section-jumps{
  flex-wrap:nowrap;
  padding:10px;overflow-x:auto;overflow-y:hidden;
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  scrollbar-width:thin;scrollbar-color:#d3b779 transparent;
 }
 body.sde-unifie.sde-ivoire .sde-section-jumps a{
  flex:0 0 auto;min-height:45px;white-space:nowrap;
 }
}
@media(max-width:450px){
 body.sde-unifie.sde-ivoire .sde-poles-switcher,
 body.sde-unifie.sde-ivoire .sde-section-jumps{
  width:calc(100% - 20px);margin-block:12px;
  border-radius:12px;
 }
}
@media(prefers-reduced-motion:reduce){
 body.sde-unifie.sde-ivoire :is(.sde-poles-switcher,.sde-section-jumps) a{
  animation:none!important;transition:none!important;transform:none!important;
 }
}

.site-footer .sde-social{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:12px 0 0}
.site-footer .sde-social span{font-weight:700;opacity:.85}
.site-footer .sde-social a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:700;text-decoration:underline;text-underline-offset:4px}

/* Audit 2026-11 — notice directement au point de collecte. */
.sde-privacy-note{
 display:block;box-sizing:border-box;width:100%;margin:8px 0 12px;padding:11px 13px;
 border:1px solid rgba(232,202,135,.55);border-radius:10px;
 background:#281549;color:#f5f0e4!important;-webkit-text-fill-color:#f5f0e4!important;
 font:500 .88rem/1.5 "Atkinson Hyperlegible",system-ui,sans-serif;
}
.sde-privacy-note a{color:#ffe2a0!important;-webkit-text-fill-color:#ffe2a0!important;font-weight:800;text-underline-offset:3px}
.sde-privacy-note a:focus-visible{outline:3px solid #fff0c8;outline-offset:3px}

/* Zones tactiles : 44 px sur les commandes et navigations, sans transformer
   les liens éditoriaux placés au milieu d'un paragraphe. */
@media (max-width:390px){
 body.sde-unifie :is(button,input:not([type="checkbox"]):not([type="radio"]),select,.ap-btn,.hub-btn,.site-menu a,.site-footer a,.hub-footer a,.sde-standalone-bottom a,.sde-form-submit){
  box-sizing:border-box;min-height:44px;min-block-size:44px;
 }
 body.sde-unifie :is(.site-menu a,.site-footer a,.hub-footer a){display:inline-flex;align-items:center}
 body.sde-unifie :is(.wrap,.enveloppe,.hub-main,.ap-main){max-width:100%}
 body.sde-unifie .sde-privacy-note{font-size:.9rem;padding:12px}
}


/* Audit navigateur 08/11/2026 — les anciennes règles 42px!important
   de l'en-tête primaient sur le correctif général (cibles >=44px). */
@media (min-width:356px) and (max-width:390px){
 html body.sde-unifie .site-header .site-header-inner,
 html body.sde-unifie.sde-premium-home .site-header .site-header-inner{
  grid-template-columns:minmax(0,1fr) repeat(3,44px)!important;
 }
 html body.sde-unifie .site-header .site-header-inner > :is(.site-burger,.site-theme-toggle,.sde-motion-slot),
 html body.sde-unifie.sde-premium-home .site-header .site-header-inner > :is(.site-burger,.site-theme-toggle,.sde-motion-slot){
  box-sizing:border-box!important;
  width:44px!important;min-width:44px!important;min-inline-size:44px!important;
  height:44px!important;min-height:44px!important;min-block-size:44px!important;
  flex-basis:44px!important;
 }
 html body.sde-unifie .site-header .site-header-inner > .sde-motion-slot > .sde-motion-button,
 html body.sde-unifie.sde-premium-home .site-header .site-header-inner > .sde-motion-slot > .sde-motion-button{
  box-sizing:border-box!important;width:44px!important;min-width:44px!important;
  min-inline-size:44px!important;height:44px!important;min-height:44px!important;
 }
}


/* Dernier point de recette Academy : le contrôle des animations est parfois
   directement dans la barre, sans élément .sde-motion-slot intermédiaire. */
@media (min-width:356px) and (max-width:390px){
 html body.sde-unifie .site-header .site-header-inner > .sde-motion-button,
 html body.sde-unifie .site-header .site-header-inner > .sde-motion-slot .sde-motion-button{
  box-sizing:border-box!important;
  inline-size:44px!important;width:44px!important;
  min-inline-size:44px!important;min-width:44px!important;
  block-size:44px!important;height:44px!important;min-block-size:44px!important;min-height:44px!important;
  flex-basis:44px!important;
 }
}
