/* SDE DIGITAL — REPRODUCTION FONCTIONNELLE DES 7 ÉCRANS (14-15 NOV. 2026).
   Couche de finition après les CSS historiques : aucun contrôle d'accès modifié.
   1 Site public PC  2 Public mobile  3 Portail PC  4 Portail mobile
   5 Profil membre  6 Calendrier  7 Actualités  8 Parcours personnel.
   Toutes les données internes proviennent de la session existante (pas de KPIs simulés).
*/
:root {
 --px-night:#070b2c;
 --px-midnight:#0b1341;
 --px-blue:#151f65;
 --px-purple:#5e22bf;
 --px-royal:#3d1b98;
 --px-gold:#f4bf4e;
 --px-gold-light:#ffe18c;
 --px-ivory:#fcf2df;
 --px-card:#111a4b;
 --px-line:rgba(229,202,149,.38);
 --px-white:#fff8ed;
 --px-soft:#cfd4ee;
 --px-title:"Cinzel",Georgia,serif;
 --px-body:"Plus Jakarta Sans",system-ui,sans-serif;
}
/* PUBLIC PC — grille 2 colonnes sur fond dramatique.
   Le sujet photographique est conservé via la médiathèque officielle du dépôt. */
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero {
 background-image:linear-gradient(90deg,rgba(4,9,32,.82),rgba(8,12,44,.25) 52%,rgba(8,9,34,.78)),url("/vitrine/photos/hero-sde-1280.webp")!important;
 background-position:50% center,center center!important;
 min-height:590px!important;
 box-shadow:inset 0 -15px 40px rgba(9,6,31,.5)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-inner {
 grid-template-columns:minmax(0,1fr) minmax(240px,285px)!important;
 gap:clamp(12px,2vw,32px)!important;max-width:1330px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-copy {
 text-align:left!important;max-width:620px!important;min-width:0!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-copy h1#titre-accueil {
 font:700 clamp(3.1rem,5.2vw,5.4rem)/1.03 var(--px-title)!important;
 text-shadow:0 4px 21px rgba(4,8,31,.78)!important;max-width:570px!important;
 letter-spacing:-.02em!important;color:#fff8e7!important;
 -webkit-text-fill-color:#fff8e7!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-verse {
 border-left:4px solid #f3c253!important;background:rgba(9,13,44,.35)!important;
 max-width:460px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-hub-links>a {
 min-height:74px!important;
 background:linear-gradient(125deg,rgba(12,15,48,.96),rgba(33,19,68,.91))!important;
 border:1px solid rgba(247,214,148,.5)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 25px rgba(1,2,20,.45)!important;
 border-radius:13px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-hub-links>a:hover {
 transform:translateY(-3px)!important;
 border-color:var(--px-gold)!important;
 background:linear-gradient(110deg,#242061,#391b64)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-icon {
 font-size:1.65rem!important;color:var(--px-gold-light)!important;flex:none!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-program-strip {
 background:linear-gradient(100deg,#250961,#231052 45%,#111b5b)!important;
 box-shadow:0 17px 34px rgba(6,5,28,.52)!important;
 overflow:hidden!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-program-strip>a:hover {
 background:rgba(126,53,184,.22)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-program-strip :is(strong,.sde-ref-program-icon) {
 color:#ffe497!important;-webkit-text-fill-color:#ffe497!important;
}
.sde-px-mission-hero{
 min-height:125px;
 padding:56px 16px 26px;
 background:linear-gradient(180deg,#181047,#f2e9e6);
 color:#15143b;text-align:center;
}
.sde-px-missionline{display:flex;gap:12px;align-items:center;justify-content:center;margin-bottom:8px;color:#16153c;font:800 .77rem var(--px-body)}
.sde-px-rule{width:min(10vw,82px);height:1px;background:linear-gradient(90deg,transparent,#eab95e,transparent)}
.sde-px-mission-hero>strong{display:block;font:700 clamp(.95rem,2vw,1.55rem)/1.35 var(--px-title);color:#141234;letter-spacing:-.03em}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-btn-gold,
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-btn-ghost {
 box-shadow:0 9px 28px #04062170!important;
}
/* ESPACE PRIVÉ : header, panneau latéral et surface sombre fidèles à la capture. */
html[data-sde-citadel-integral] body.sde-tableau{
 color:var(--px-white)!important;
 background:radial-gradient(ellipse at 80% 9%,#39135d 0%,#161344 36%,#060d2a 76%)!important;
 font-family:var(--px-body)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-header{
 background:linear-gradient(115deg,#081134,#101c53 72%,#121340)!important;
 box-shadow:0 2px 23px rgba(3,3,22,.35)!important;min-height:74px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-header-inner{min-height:75px!important}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-logo strong{font-family:var(--px-title)!important;color:#f7d98c!important}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-shell{
 max-width:1550px!important;grid-template-columns:245px minmax(0,1fr)!important;
 background:transparent!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side{
 background:linear-gradient(180deg,#0c174d,#0a1243 65%,#050b2b)!important;
 min-width:0!important;
 border-right:1px solid rgba(207,201,255,.2)!important;
 padding:24px 12px!important;
 box-shadow:inset -13px 0 26px rgba(1,6,27,.22)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side-caption{
 text-align:center!important;
 padding:68px 5px 14px!important;
 margin:0 0 12px!important;
 position:relative!important;
 font:700 1.08rem/1.5 var(--px-body)!important;
 color:#f7d580!important;-webkit-text-fill-color:#f7d580!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side-caption::before{
 content:""!important;position:absolute!important;
 width:66px;height:66px;left:calc(50% - 33px);top:-6px;
 background:url("/vitrine/logo-sde.webp") center/contain no-repeat;
 filter:drop-shadow(0 4px 12px rgba(246,197,93,.33));
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side nav{
 display:flex!important;flex-direction:column!important;gap:5px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side nav a{
 min-height:42px!important;
 display:flex!important;align-items:center!important;
 padding:10px 12px!important;
 border:0!important;border-radius:9px!important;
 font:700 .83rem/1.25 var(--px-body)!important;
 color:#f1eaf7!important;-webkit-text-fill-color:#f1eaf7!important;
 text-decoration:none!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side nav a:hover{
 background:rgba(120,52,178,.32)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side nav a[aria-current="page"]{
 background:linear-gradient(105deg,#3420a1,#7c22e2)!important;
 border:1px solid #b782ef!important;box-shadow:0 6px 17px #3e168a73!important;
 color:white!important;-webkit-text-fill-color:white!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-signout{
 background:linear-gradient(100deg,#38104c,#711b54)!important;border:1px solid #ad487d!important;
 color:#ffbad4!important;border-radius:10px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main{
 min-width:0!important;padding:22px clamp(16px,2.7vw,40px) 62px!important;
 color:var(--px-white)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-heading{
 padding:6px 0 24px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-heading h1{
 color:#fff2d4!important;-webkit-text-fill-color:#fff2d4!important;font:700 clamp(1.4rem,2.5vw,2.3rem)/1.2 var(--px-title)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-heading p{color:#e8d7f0!important;-webkit-text-fill-color:#e8d7f0!important}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-role{
 border-radius:99px!important;background:#522398!important;color:#ffedb3!important;
 -webkit-text-fill-color:#ffedb3!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-alert[data-state="success"]{
 opacity:.85!important;color:#c4decf!important;
}
/* Vue du membre : hero paysage avec bandeau, trois indicateurs existants plus un module. */
html[data-sde-citadel-integral] body.sde-tableau .sde-px-member-cover{
 position:relative;isolation:isolate;
 display:flex;min-height:182px;gap:5px;
 align-items:center;justify-content:center;flex-direction:column;text-align:center;
 border:1px solid rgba(246,210,146,.48);border-radius:16px;overflow:hidden;
 background:linear-gradient(90deg,rgba(3,12,40,.68),rgba(5,8,37,.22)),url("/vitrine/photos/intercession.jpg") 65% 40%/cover no-repeat;
 box-shadow:0 10px 29px #03082070;
 margin:2px 0 15px;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-px-member-cover::before{
 content:"";position:absolute;inset:0;z-index:-1;
 background:linear-gradient(90deg,rgba(7,16,51,.9),rgba(8,14,53,.39) 70%);
}
.sde-px-cover-kicker{font:800 .7rem/1.5 var(--px-body);letter-spacing:.34em;color:#f3dfcc}
.sde-px-member-cover h2{
 margin:4px 0!important;font:700 clamp(1.55rem,2.8vw,2.55rem)/1.16 var(--px-title)!important;
 color:#fbe1a1!important;text-shadow:0 2px 15px #07102f!important;
}
.sde-px-member-cover p{margin:0!important;color:#f7d18a!important;font-size:.94rem!important}
.sde-px-welcome{display:flex;gap:9px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:2px 0 13px}
.sde-px-welcome-kicker{font:700 .68rem var(--px-body);letter-spacing:.12em;color:#c2b5db}
.sde-px-greeting{font:700 .9rem var(--px-body);color:#f8ecdf}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
 margin:0 0 15px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article{
 border:1px solid rgba(197,175,250,.32)!important;border-radius:14px!important;
 min-width:0!important;min-height:102px!important;padding:14px 12px!important;
 background:linear-gradient(132deg,#25146d,#121b51)!important;
 box-shadow:0 8px 18px rgba(0,1,20,.25)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article:nth-child(2){
 background:linear-gradient(132deg,#382448,#091d3b)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article:nth-child(3){
 background:linear-gradient(132deg,#36104f,#1a104d)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article strong{
 display:block!important;font:800 clamp(1.4rem,2.6vw,2.2rem)/1.12 var(--px-body)!important;
 color:#fff5e7!important;-webkit-text-fill-color:#fff5e7!important;margin:7px 0!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article span{color:#eadcd5!important;-webkit-text-fill-color:#eadcd5!important;font-size:.74rem!important}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article small{color:#c0b7da!important;-webkit-text-fill-color:#c0b7da!important;font-size:.67rem!important}
.sde-px-dashboard-row{display:grid;grid-template-columns:1fr 1.12fr;gap:13px;align-items:stretch;margin-bottom:20px}
.sde-px-quick,.sde-px-deadlines{
 min-width:0;padding:14px;border:1px solid rgba(169,154,249,.3);border-radius:15px;
 background:linear-gradient(145deg,#121b4d,#0b1742);
 box-shadow:0 10px 25px #02082154;
}
.sde-px-quick>h2,.sde-px-deadlines h2{
 margin:0 0 12px!important;color:#fff7e7!important;
 font:800 clamp(.92rem,1.4vw,1.16rem)/1.3 var(--px-body)!important;
}
.sde-px-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sde-px-action{
 display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:85px;
 gap:4px;text-align:center;padding:11px 7px;min-width:0;text-decoration:none;
 background:linear-gradient(150deg,#2f236b,#151a54);
 border:1px solid rgba(192,169,253,.35);border-radius:12px;
 color:#fff2e9;font:700 .73rem/1.25 var(--px-body);
}
.sde-px-action:hover,.sde-px-action:focus-visible{background:linear-gradient(145deg,#4e2693,#242477);transform:translateY(-2px)}
.sde-px-action-icon{font-size:1.65rem;color:#f7d774}
.sde-px-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sde-px-panel-head h2{margin-bottom:11px!important}
.sde-px-inline-link{font:600 .74rem var(--px-body);color:#f7e9d2;text-decoration:none;white-space:nowrap}
.sde-px-deadline-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.sde-px-deadline{display:flex;align-items:center;gap:11px;min-width:0;border-bottom:1px solid rgba(255,255,255,.12);padding:4px 0 10px}
.sde-px-date-square,.sde-px-event-badge{
 display:flex;flex:none;width:50px;min-height:52px;justify-content:center;align-items:center;flex-direction:column;
 border-radius:10px;background:linear-gradient(130deg,#5932c8,#2d1468);color:#fff3ff;
 box-shadow:0 5px 12px #05062b7c;
}
.sde-px-date-square strong,.sde-px-event-badge strong{font:800 1.37rem var(--px-body);line-height:1.1}
.sde-px-date-square small,.sde-px-event-badge small{font:700 .65rem var(--px-body)}
.sde-px-date-copy{min-width:0;display:grid;gap:4px}
.sde-px-date-copy strong{color:#fff7e9;font:.82rem/1.3 var(--px-body)}
.sde-px-date-copy small{color:#cacde2;font:.69rem/1.4 var(--px-body)}
.sde-px-empty{margin:12px 0!important;color:#c6bfd6!important;-webkit-text-fill-color:#c6bfd6!important;font-size:.89rem!important}
.sde-px-legacy{border:1px solid rgba(221,180,123,.3);border-radius:13px;margin:18px 0;padding:6px 12px;background:rgba(21,25,63,.5)}
.sde-px-legacy summary{cursor:pointer;font:700 .83rem/1.4 var(--px-body);padding:11px;color:#ebdaae}
/* PROFIL MEMBRE — photo dorée, bannière violette, menu ivoire. */
.sde-px-profile-cover{
 width:min(100%,720px);margin:0 auto 18px;padding:12px 14px 16px;
 position:relative;overflow:hidden;
 background:linear-gradient(150deg,rgba(10,13,54,.83),rgba(34,5,76,.78)),url("/vitrine/illus/citadelle-celeste-cinema.avif") center/cover;
 border:1px solid rgba(240,200,131,.46);border-radius:17px;
 color:white;text-align:center;box-shadow:0 20px 42px #02051d61;
}
.sde-px-profile-top{display:flex;align-items:center;gap:17px;margin-bottom:10px;color:#fff;font:700 1rem var(--px-body)}
.sde-px-back{color:#fff3d6;text-decoration:none;font:700 1.4rem var(--px-body);min-width:44px;min-height:44px;display:inline-flex;align-items:center}
.sde-px-avatar{
 display:block;width:120px;height:120px;border-radius:50%;object-fit:cover;
 background:#102048;outline:3px solid #ffd366;outline-offset:3px;
 box-shadow:0 12px 25px #04021c8a;margin:10px auto 16px;
}
.sde-px-profile-name{margin:5px auto!important;max-width:550px;color:#fff!important;font:800 clamp(1.12rem,2.4vw,1.65rem)/1.4 var(--px-body)!important}
.sde-px-role{display:table;margin:10px auto 8px;background:linear-gradient(100deg,#3114a0,#812bdb);border:1px solid #a45eea;border-radius:10px;padding:5px 21px;font:700 .83rem var(--px-body)}
.sde-px-profile-meta{margin:5px auto;color:#f3e4ec;font:600 .83rem var(--px-body)}
.sde-px-active{display:table;margin:8px auto 14px;background:#0d774e;padding:5px 14px;border-radius:8px;color:white;font:700 .76rem var(--px-body)}
.sde-px-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.sde-px-profile-facts>div{background:linear-gradient(135deg,#202b59,#131e46);padding:12px 5px;border-radius:11px;border:1px solid #586389;min-width:0}
.sde-px-profile-facts small{display:block;color:#e3dbe6;font:.7rem var(--px-body)}
.sde-px-profile-facts strong{display:block;color:#fff;font:800 .9rem/1.4 var(--px-body);overflow-wrap:anywhere}
.sde-px-profile-menu{display:grid;border-radius:12px;overflow:hidden;margin-top:11px}
.sde-px-profile-menu-item{
 display:grid;grid-template-columns:36px 1fr 24px;align-items:center;gap:12px;
 min-height:54px;padding:12px 14px;text-decoration:none;text-align:left;
 background:linear-gradient(110deg,#fff,#e8eafb);color:#111633;border-bottom:1px solid #c5c8d7;
}
.sde-px-profile-menu-item:hover{background:#f1e4ff}
.sde-px-profile-menu-item>span:first-child{font-size:1.3rem}
.sde-px-profile-menu-item strong{font:800 .9rem var(--px-body)}
.sde-px-profile-menu-item>span:last-child{font:800 1.5rem var(--px-body);text-align:right}
/* ÉCRANS AGENDA ET ACTUALITÉS — calendrier et fil filtrable. */
.sde-px-screen{
 width:min(100%,880px);margin:0 auto 22px;padding:16px;
 background:linear-gradient(145deg,#0c143d,#090f30);
 border:1px solid rgba(232,204,143,.45);border-radius:17px;
 box-shadow:0 16px 34px #02051d54;min-height:450px;
}
.sde-px-screen[hidden]{display:none!important}
.sde-px-screen-head{display:flex;align-items:center;gap:13px;margin-bottom:14px}
.sde-px-screen-head h2{font:800 clamp(1.1rem,2vw,1.5rem)/1.2 var(--px-body)!important;color:#fff7e9!important;margin:0!important}
.sde-px-monthbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:13px;background:linear-gradient(110deg,#18214d,#0d153b);padding:6px 10px;margin-bottom:14px;color:#fff}
.sde-px-monthbar strong{font:800 1rem var(--px-body)}
.sde-px-monthbtn{min-width:44px;min-height:44px;border:0;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font:700 1.65rem var(--px-body);cursor:pointer}
.sde-px-monthbtn:hover{background:#42328c}
.sde-px-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:18px}
.sde-px-daylabel{text-align:center;color:#dedaf3;font:700 .73rem var(--px-body);padding:9px 0}
.sde-px-emptyday{min-height:40px}
.sde-px-day{min-height:40px;display:flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:transparent;color:#fff;font:700 .83rem var(--px-body);cursor:pointer}
.sde-px-day:hover,.sde-px-day:focus-visible{background:#30236d}
.sde-px-day.has-event{background:#4924a8;color:#fff0a8}
.sde-px-day.is-today{outline:2px solid var(--px-gold);outline-offset:-2px}
.sde-px-day.is-selected{background:var(--px-gold);color:#171039}
.sde-px-event-list{display:grid;gap:9px}
.sde-px-calendar-event{display:flex;align-items:center;gap:14px;background:linear-gradient(120deg,#f8f6ff,#dde1f2);color:#12183a;border-radius:11px;padding:10px 13px;min-height:70px}
.sde-px-event-copy{min-width:0}
.sde-px-event-copy h3{font:800 .9rem var(--px-body)!important;color:#0b133a!important;margin:0!important}
.sde-px-event-copy p{font:.8rem var(--px-body)!important;color:#33395b!important;margin:3px 0 0!important}
.sde-px-aux-link{display:inline-flex;align-items:center;color:#e3c479;text-decoration:underline;text-underline-offset:3px;font:700 .77rem/1.5 var(--px-body);min-height:32px}
.sde-px-news-tabs{display:flex;gap:9px;overflow-x:auto;margin:5px 0 14px;padding-bottom:4px}
.sde-px-news-filter{flex:none;min-height:37px;border-radius:99px;border:1px solid #5b588b;background:#252454;color:#f3eaff;padding:7px 16px;font:700 .76rem var(--px-body);cursor:pointer}
.sde-px-news-filter[aria-pressed="true"]{background:#fff;color:#111632;border-color:#fff}
.sde-px-news-feed{display:grid;gap:14px}
.sde-px-news-card{overflow:hidden;border:1px solid #7e70ba;border-radius:14px;background:linear-gradient(120deg,#0d1849,#151044)}
.sde-px-news-image{
 min-height:145px;display:flex;align-items:flex-end;padding:12px;
 background:linear-gradient(180deg,rgba(7,13,42,.03),rgba(10,10,45,.5)),url("/vitrine/illus/infire-banniere.webp") center/cover;
}
.sde-px-news-image.is-evenement{background-image:linear-gradient(180deg,rgba(7,13,42,.03),rgba(10,10,45,.5)),url("/vitrine/photos/communion-vignette.webp")}
.sde-px-news-tag{display:inline-flex;padding:4px 10px;border-radius:99px;background:#511ea9;color:#ffeed4;font:700 .7rem var(--px-body)}
.sde-px-news-content{padding:14px 18px;color:#fff}
.sde-px-news-content h3{color:#fff2db!important;font:800 1.02rem var(--px-body)!important;margin:0 0 8px!important}
.sde-px-news-content p{font:.86rem/1.5 var(--px-body)!important;color:#e2daef!important}
.sde-px-news-content small{color:#d4cde6}
.sde-px-news-foot{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:14px;border-top:1px solid #6f609466;padding-top:8px}
.sde-px-news-foot time{font:700 .73rem var(--px-body);color:#d8d0e6}
/* TABLEAU PERSONNEL — grand anneau, statistiques, prochaine étape. */
.sde-px-progress{
 border:1px solid #6755a0;border-radius:16px;overflow:hidden;
 padding:17px;background:radial-gradient(ellipse at 80% 5%,#321569,#101746 60%);
 margin:16px 0;
}
.sde-px-kicker{font:700 .68rem var(--px-body);color:#ebbf83;letter-spacing:.17em;margin-bottom:5px!important}
.sde-px-progress>h2{font:800 clamp(1.2rem,2vw,1.6rem) var(--px-body)!important;margin:0 0 12px!important;color:#fff0dd!important}
.sde-px-progress-panel{
 display:flex;align-items:center;gap:18px;padding:16px 18px;
 border:1px solid #9282cf;border-radius:14px;
 background:linear-gradient(120deg,#1c1b62,#2c1b6c,#171e54);
}
.sde-px-progress-ring{
 --pct:0;
 width:112px;aspect-ratio:1;flex:none;
 background:conic-gradient(#f3c23c calc(var(--pct) * 1%),#e2eefc calc(var(--pct) * 1%) calc(var(--pct) * 1% + 6%),rgba(216,199,149,.26) 0);
 border-radius:50%;display:grid;place-items:center;position:relative;
}
.sde-px-progress-ring::before{content:"";position:absolute;inset:12px;border-radius:50%;background:#11164c}
.sde-px-progress-ring>strong{position:relative;color:#fff;font:800 1.35rem var(--px-body)}
.sde-px-progress-copy{flex:1;min-width:0}
.sde-px-progress-copy h3{color:#f8f0e8!important;font:800 1.03rem var(--px-body)!important;margin:0 0 7px!important}
.sde-px-progress-label{color:#fff!important;font:.8rem var(--px-body)!important;margin:0 0 12px!important}
.sde-px-progress-bar{width:100%;max-width:330px;height:10px;overflow:hidden;border-radius:10px;accent-color:#f6cf68}
.sde-px-progress-continue{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 13px;background:linear-gradient(180deg,#ffe58d,#eeaf2d);border-radius:11px;color:#13163d;font:800 .75rem var(--px-body);text-decoration:none}
.sde-px-learning-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:14px}
.sde-px-learning-stat{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:112px;text-align:center;gap:3px;border:1px solid #8a714c;background:linear-gradient(135deg,#40342e,#1c214b);border-radius:12px;padding:10px}
.sde-px-stat-icon{font-size:1.6rem;color:#fce08e}
.sde-px-learning-stat strong{font:800 1.3rem var(--px-body);color:white}
.sde-px-learning-stat small{font:600 .72rem var(--px-body);color:#eee0e1}
.sde-px-next{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;background:linear-gradient(120deg,#fff,#e9eaf9);border-radius:12px;padding:14px 17px;margin-top:14px;color:#101332}
.sde-px-next h3{grid-column:1/-1;color:#111632!important;font:800 1.01rem var(--px-body)!important;margin:0!important}
.sde-px-next-label{color:#1f2452!important;font:700 .79rem var(--px-body)!important;margin:0!important}
.sde-px-play{min-width:42px;min-height:42px;border-radius:50%;background:#14185a;color:white;text-decoration:none;display:grid;place-items:center}
/* ADMINISTRATION : préservation des compteurs réels et des contrôles de rôle. */
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="administration"] .sde-dash-main::before{
 background:linear-gradient(90deg,#081231d9,#1b114880),url("/vitrine/illus/citadelle-celeste-cinema.avif") center/cover!important;
 border:1px solid #9e8751;border-radius:17px;
}
.sde-px-admin-kicker{font:800 .68rem var(--px-body);color:#e8c070;letter-spacing:.2em}
html[data-sde-citadel-integral] body.sde-tableau :is(.sde-panel,.sdu-member-universe){
 color:#f3ebf3!important;background:linear-gradient(145deg,#151a53,#1a1245)!important;
 border:1px solid rgba(237,202,142,.35)!important;border-radius:15px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-panel :is(h2,h3,p,small){color:#f4eaf2!important;-webkit-text-fill-color:#f4eaf2!important}
html[data-sde-citadel-integral] body.sde-tableau .sde-panel a{color:#ffe29b}
html[data-sde-citadel-integral] body.sde-tableau .sde-panel :is(input,textarea,select){background:#fff;color:#17203d}
html[data-sde-citadel-integral] body.sde-tableau :is(.sde-dash-items li,.sde-profile>div){color:#1b2446!important}
/* Le portail de gestion historique conserve son vrai routeur et ses droits. */
html[data-sde-citadel-integral] body.sde-direct #main .sde-ref-command,
html[data-sde-citadel-integral] body.sde-direct #main .sde-ref-member-shortcuts{
 border-radius:16px!important;background:linear-gradient(140deg,#11194a,#1d114b)!important;
 border:1px solid rgba(246,205,127,.35)!important;
}
html[data-sde-citadel-integral] body.sde-direct #main .sde-ref-headline{
 background:linear-gradient(90deg,#081132db,#110d3b44),url("/vitrine/photos/intercession-vignette.webp") 70% center/cover!important;
}
html[data-sde-citadel-integral] body.sde-direct #main .sde-ref-cards>*{
 background:linear-gradient(135deg,#1b2161,#2b134c)!important;border:1px solid #71649a!important;
}
html[data-sde-citadel-integral] body.sde-direct-member #main .sde-ref-member-shortcuts-grid>*{
 border-radius:12px!important;background:linear-gradient(145deg,#241e68,#121b50)!important;
}
/* MOBILE / TABLETTE : titres lisibles, barre basse non superposée, 0 débordement. */
@media(max-width:1100px){
 .sde-px-dashboard-row{grid-template-columns:1fr}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-shell{grid-template-columns:215px minmax(0,1fr)!important}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-inner{grid-template-columns:minmax(0,1fr) 230px!important}
}
@media(max-width:760px){
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero{
   min-height:0!important;padding:32px 14px 124px!important;
   background-image:linear-gradient(90deg,#070f30e8,#0e154d54),url("/vitrine/illus/citadelle-celeste-cinema.avif")!important;
   background-size:cover!important;background-position:57% center!important;
 }
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-inner{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-copy{text-align:left!important;max-width:100%!important}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-copy h1#titre-accueil{
   font-size:clamp(2.2rem,10vw,3.75rem)!important;max-width:540px!important;
 }
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-hub-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-program-strip{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   margin:15px auto -80px!important;
 }
 .sde-px-mission-hero{padding-top:53px}
 .sde-px-mission-hero>strong{font-size:clamp(.9rem,3.4vw,1.3rem)}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-shell{display:block!important}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side{
   position:static!important;width:100%!important;display:block!important;padding:9px 11px!important;
 }
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side-caption{
   padding:4px 8px 4px 54px!important;margin-bottom:2px!important;text-align:left!important;min-height:44px!important;display:flex;align-items:center!important;
 }
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side-caption::before{
   width:38px;height:38px;left:7px;top:5px;
 }
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side nav{display:none!important}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main{padding:12px 12px 110px!important}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-header-inner{min-height:62px!important}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .sde-px-dashboard-row{grid-template-columns:1fr;gap:12px}
 .sde-px-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sde-px-progress-panel{flex-wrap:wrap}
 .sde-px-learning-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sde-px-progress-ring{width:98px}
 .sde-px-screen{padding:12px}
}
@media(max-width:410px){
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-copy h1#titre-accueil{font-size:clamp(2.1rem,9vw,2.65rem)!important}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-ref-hub-links>a{padding:9px!important;gap:6px!important}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article{min-height:92px!important;padding:11px 9px!important}
 .sde-px-member-cover h2{font-size:1.4rem!important}
 .sde-px-member-cover p{font-size:.75rem!important}
 .sde-px-profile-facts{gap:5px}
 .sde-px-profile-facts>div{padding:8px 3px}
 .sde-px-profile-facts strong{font-size:.72rem}
 .sde-px-progress-ring{width:84px}
 .sde-px-progress-continue{width:100%}
 .sde-px-calendar-grid{gap:2px}
 .sde-px-day{min-height:38px}
}
@media(prefers-reduced-motion:reduce){
 html[data-sde-citadel-integral] body :is(.sde-px-action,.sde-px-day,.sde-ref-hub-links>a){animation:none!important;transition:none!important;transform:none!important}
}

/* Titres fidèles : ivoire puis or, sans doublonner le H1 accessible. */
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero #titre-accueil .sde-px-title-first{
 display:block!important;color:#fff8ee!important;-webkit-text-fill-color:#fff8ee!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero #titre-accueil .sde-px-title-gold{
 display:block!important;color:#f8c256!important;-webkit-text-fill-color:#f8c256!important;
}
.sde-px-parcours-preview{
 display:flex;align-items:center;justify-content:center;min-height:46px;
 padding:9px 14px;border:1px solid rgba(240,205,132,.46);
 border-radius:11px;background:linear-gradient(115deg,#322077,#151b4b);
 font:800 .8rem/1.35 var(--px-body);color:#f8e4af;text-decoration:none;margin:12px 0;
}
.sde-px-parcours-preview:hover,.sde-px-parcours-preview:focus-visible{
 background:linear-gradient(115deg,#4d2895,#28226e);color:#fff0be;
}
.sde-px-parcours .sde-px-progress{margin:0}

.sde-px-mobile-shortnav{display:none}
@media(max-width:760px){
 .sde-px-mobile-shortnav{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;
  margin:0 0 12px;
 }
 .sde-px-mobile-shortnav>a{
  display:flex;align-items:center;justify-content:center;min-height:44px;
  padding:6px 3px;border-radius:10px;text-decoration:none;
  font:700 clamp(.62rem,2.6vw,.76rem) var(--px-body);
  color:#ffedd1;background:linear-gradient(110deg,#252171,#291458);
  border:1px solid rgba(227,190,115,.36);text-align:center;
 }
 .sde-px-mobile-shortnav>a:hover,.sde-px-mobile-shortnav>a:focus-visible{background:#49258c}
}
/* Fin de la couche de référence intégrale. */


/* Recette réelle du 15 novembre : une seule couverture Soldat à l'écran.
   Garder les titres historiques dans l'arbre accessible, mais pas deux hero superposés. */
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-main::before {
  display:none!important;content:none!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-main > .sde-dash-overline,
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-main > .sde-dash-heading,
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] #sde-status[data-state="success"] {
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;
  border:0!important;
}
.sde-px-userbar{display:flex;align-items:center;gap:10px;min-width:0;padding:0 12px}
.sde-px-userbar-photo{
  display:block;width:43px;height:43px;border-radius:50%;object-fit:cover;
  border:2px solid #f9d678;box-shadow:0 4px 13px rgba(0,0,0,.4);
}
.sde-px-userbar-copy{display:grid;gap:2px;max-width:210px}
.sde-px-userbar-copy strong{color:#fff2df;font:800 .82rem/1.2 var(--px-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sde-px-userbar-copy small{color:#e8cca0;font:600 .66rem/1.2 var(--px-body)}
.sde-px-userbar-news{
  display:flex;align-items:center;justify-content:center;
  width:41px;height:41px;flex:none;border:1px solid rgba(228,197,129,.45);
  border-radius:10px;background:rgba(24,23,75,.56);color:#fff1d2;
  text-decoration:none;font:700 1.15rem var(--px-body)
}
.sde-px-userbar-news:hover{background:#51309a}
@media(max-width:1150px){.sde-px-userbar-copy{max-width:125px}}
@media(max-width:760px){.sde-px-userbar{display:none!important}}


/* Sécurité d'affichage : les styles premium ne doivent jamais forcer un élément
   [hidden] à réapparaître, notamment Administration/Finances selon le rôle. */
html[data-sde-citadel-integral] body.sde-tableau [hidden]{
  display:none!important;
}


/* Réserve de hauteur au premier rendu tablette (évite le passage 60px -> 66px
   lorsque la navigation commune remplace l'ancien en-tête). */
@media(min-width:700px) and (max-width:1024px){
 html[data-sde-citadel-integral] body.sde-premium-home .site-header,
 html[data-sde-citadel-integral] body.sde-premium-home .sde-shell-header,
 html[data-sde-citadel-integral] body.sde-premium-home .site-header-inner{
  min-height:66px!important;
 }
}


/* --------------------------------------------------------------------------
   Fidélité illustration maquette du 14 novembre : PERSONNAGES distincts
   Images reconstruites exclusivement depuis la capture fournie par le mouvement.
   Les photographies réelles restent dans la médiathèque (albums inchangés).
   Cadrage adaptatif sans nouveau script ni décalage de mise en page.
   -------------------------------------------------------------------------- */
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero{
  background-color:#101138!important;
  background-image:
    linear-gradient(90deg,rgba(5,10,32,.92) 0%,rgba(14,11,44,.47) 40%,rgba(12,9,43,.25) 63%,rgba(5,11,36,.86) 100%),
    url("/vitrine/illus/guerrier-reference-sde.webp"),
    radial-gradient(ellipse at 63% 22%,rgba(242,161,88,.82) 0%,rgba(156,82,103,.5) 36%,rgba(52,25,87,.72) 74%,rgba(7,13,43,.92) 100%),
    url("/vitrine/illus/citadelle-celeste-cinema.avif")!important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat!important;
  background-size:cover,auto 580px,cover,cover!important;
  background-position:center,56% 48%,center,center!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-px-member-cover{
  background-color:#090d32!important;
  background-image:
    linear-gradient(90deg,rgba(7,11,38,.92) 0%,rgba(8,12,42,.67) 47%,rgba(9,11,45,.22) 100%),
    url("/vitrine/illus/priere-reference-sde.webp"),
    linear-gradient(110deg,#0a153c,#2b1448 62%,#b26b62)!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-size:cover,auto 185px,cover!important;
  background-position:center,right center,center!important;
}
html[data-sde-citadel-integral] body.sde-direct-member #main .sde-ref-headline{
  background-image:
    linear-gradient(90deg,rgba(7,11,37,.91),rgba(12,10,48,.29)),
    url("/vitrine/illus/priere-reference-sde.webp"),
    linear-gradient(130deg,#101a48,#432167)!important;
  background-size:cover,auto 100%,cover!important;
  background-position:center,right center,center!important;
}
@media (min-width:761px) and (max-width:1100px){
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero{
   background-size:cover,auto 500px,cover,cover!important;
   background-position:center,56% 49%,center,center!important;
 }
}
@media (max-width:760px){
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero{
   background-image:
     linear-gradient(90deg,rgba(5,12,39,.92),rgba(9,11,43,.65) 46%,rgba(7,14,40,.6)),
     url("/vitrine/illus/guerrier-reference-sde.webp"),
     radial-gradient(ellipse at 65% 19%,rgba(244,169,91,.73),rgba(74,39,91,.61) 58%,rgba(7,12,42,.96)),
     url("/vitrine/illus/citadelle-celeste-cinema.avif")!important;
   background-repeat:no-repeat,no-repeat,no-repeat,no-repeat!important;
   background-size:cover,auto 340px,cover,cover!important;
   background-position:center,87% 11%,center,center!important;
 }
 html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-px-member-cover{
   background-size:cover,auto 175px,cover!important;
   background-position:center,right center,center!important;
 }
}
@media (max-width:390px){
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero{
   background-size:cover,auto 300px,cover,cover!important;
 }
}


/* Blason issu de la maquette d'origine : seule l'identité visuelle de la marque
   change, jamais la photographie personnelle enregistrée du membre. */
html[data-sde-citadel-integral] body .sde-shell-brand>img,
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-logo>img{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:contain!important;
  background:transparent!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side-caption::before{
  background-image:url("/vitrine/logo-sde.webp")!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  filter:drop-shadow(0 3px 10px rgba(248,199,92,.35))!important;
}
@media(max-width:760px){
  html[data-sde-citadel-integral] body.sde-premium-home .sde-shell-brand-title b{
    font-size:.7rem!important;letter-spacing:.02em!important;
  }
  html[data-sde-citadel-integral] body.sde-premium-home .sde-shell-brand-title small{
    font-size:.58rem!important;line-height:1.2!important;
  }
}


/* Finition photographique des maquettes : fondre les bords de la vignette
   de guerrier découpée depuis la capture originale. Ne déplace aucun bloc. */
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero{
 background-image:
   linear-gradient(90deg,rgba(5,10,32,.88) 0%,rgba(14,11,44,.38) 42%,rgba(12,9,43,.22) 65%,rgba(5,11,36,.88) 100%),
   radial-gradient(ellipse at 62% 24%,rgba(241,166,92,.81) 0%,rgba(149,80,112,.46) 38%,rgba(35,27,83,.81) 75%,rgba(7,13,43,.93) 100%),
   url("/vitrine/illus/citadelle-celeste-cinema.avif")!important;
 background-size:cover,cover,cover!important;
 background-position:center,center,center!important;
 background-repeat:no-repeat,no-repeat,no-repeat!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero::after{
 content:""!important;
 display:block!important;
 position:absolute!important;
 inset:auto!important;
 left:calc(56% - 283px)!important;
 top:calc(48% - 278px)!important;
 width:506px!important;
 height:580px!important;
 border:0!important;
 pointer-events:none!important;
 z-index:1!important;
 background-image:url("/vitrine/illus/guerrier-reference-sde.webp")!important;
 background-position:center!important;
 background-size:100% 100%!important;
 background-repeat:no-repeat!important;
 -webkit-mask-image:radial-gradient(ellipse at 50% 50%,#000 43%,rgba(0,0,0,.92) 52%,transparent 76%)!important;
 mask-image:radial-gradient(ellipse at 50% 50%,#000 43%,rgba(0,0,0,.92) 52%,transparent 76%)!important;
}
@media(min-width:761px) and (max-width:1100px){
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero::after{
   left:calc(56% - 244px)!important;
   top:calc(49% - 245px)!important;
   width:435px!important;
   height:500px!important;
 }
}
@media(max-width:760px){
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero{
   background-image:
     linear-gradient(90deg,rgba(5,12,39,.9),rgba(9,11,43,.7) 46%,rgba(7,14,40,.62)),
     radial-gradient(ellipse at 65% 19%,rgba(244,169,91,.7),rgba(74,39,91,.62) 58%,rgba(7,12,42,.96)),
     url("/vitrine/illus/citadelle-celeste-cinema.avif")!important;
   background-size:cover,cover,cover!important;
   background-position:center,center,center!important;
   background-repeat:no-repeat,no-repeat,no-repeat!important;
 }
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero::after{
   left:calc(87% - 228px)!important;
   top:calc(11% - 33px)!important;
   width:296px!important;
   height:340px!important;
   -webkit-mask-image:radial-gradient(ellipse at center,#000 35%,rgba(0,0,0,.82) 52%,transparent 77%)!important;
   mask-image:radial-gradient(ellipse at center,#000 35%,rgba(0,0,0,.82) 52%,transparent 77%)!important;
 }
}
@media(max-width:390px){
 html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero::after{
   left:calc(87% - 228px)!important;
   top:calc(11% - 33px)!important;
   width:262px!important;
   height:300px!important;
 }
}


/* Finition du second personnage : le fondu gauche du priant est peint sur une
   couche distincte, au lieu d'une photographie rectangulaire sur le banner. */
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-px-member-cover{
  background-image:linear-gradient(90deg,rgba(7,11,38,.93),rgba(16,10,52,.82) 57%,rgba(52,26,75,.51)),linear-gradient(120deg,#0a153c,#2b1448 62%,#b26b62)!important;
  background-size:cover,cover!important;
  background-position:center,center!important;
  background-repeat:no-repeat,no-repeat!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-px-member-cover::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  right:0!important;top:0!important;
  width:min(370px,48%)!important;
  height:100%!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:url("/vitrine/illus/priere-reference-sde.webp") center center/cover no-repeat!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.65) 26%,#000 57%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.65) 26%,#000 57%)!important;
}


/* Navigation de la maquette de référence : 6 rubriques et CTA Portail doré.
   La navigation mobile conserve sa barre basse et son panneau Plus. */
@media(min-width:1121px){
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-portal{
   display:inline-flex!important;
   align-items:center!important;justify-content:center!important;
   min-width:92px!important;min-height:43px!important;
   padding:10px 14px!important;border-radius:10px!important;
   border:1px solid #ffd876!important;
   color:#10142a!important;-webkit-text-fill-color:#10142a!important;
   background:linear-gradient(180deg,#ffe081,#ecac29)!important;
   box-shadow:0 8px 19px rgba(239,175,51,.25)!important;
   font:800 .82rem/1.2 var(--px-body)!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-portal :is(svg,span){
   color:#10142a!important;-webkit-text-fill-color:#10142a!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-search{
   display:none!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-mega{
   display:flex!important;gap:clamp(2px,.35vw,7px)!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-mega>a{
   padding:9px clamp(4px,.63vw,10px)!important;
   font:700 clamp(.73rem,.82vw,.86rem)/1.28 var(--px-body)!important;
   white-space:nowrap!important;
 }
}
@media(min-width:801px) and (max-width:1120px){
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-portal{
   display:inline-flex!important;min-height:43px!important;
   padding:8px 13px!important;border-radius:10px!important;
   background:linear-gradient(180deg,#ffe081,#ecac29)!important;
   border:1px solid #ffd876!important;
   color:#10142a!important;-webkit-text-fill-color:#10142a!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-portal svg{
   color:#10142a!important;
 }
}
/* Sur téléphone, pas de CTA concurrent : la connexion reste dans le menu Plus. */
@media(max-width:800px){
 html[data-sde-citadel-integral] body.sde-premium-home.sde-shell-mounted .sde-shell-portal{
   display:none!important;
 }
}


/* Quatre indicateurs membre comme la maquette, sans données de démonstration :
   matricule, présences, prières, modules réellement validés. */
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:10px!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article{
  position:relative!important;
  padding:17px 12px 13px!important;
  min-height:110px!important;
  overflow:hidden!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(1){
  background:linear-gradient(135deg,#3c1b8c,#16195b)!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(2){
  background:linear-gradient(135deg,#383052,#171d4e)!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(3){
  background:linear-gradient(135deg,#482061,#1c124d)!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(4){
  background:linear-gradient(135deg,#183e4e,#12194c)!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article::before{
  position:absolute!important;
  left:auto!important;right:11px!important;top:11px!important;bottom:auto!important;
  width:32px!important;height:32px!important;
  border:1px solid rgba(255,220,150,.43);
  border-radius:10px;
  background:rgba(8,12,40,.34);
  display:grid;place-items:center;
  color:#ffe39a!important;
  font:800 1.25rem/1 var(--px-body);
  pointer-events:none;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(1)::before{content:"♙"}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(2)::before{content:"▦"}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(3)::before{content:"♧"}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article:nth-child(4)::before{content:"✓"}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article span{
  display:block!important;
  padding-right:39px!important;
  min-height:32px!important;
}
html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article strong{
  font-size:clamp(1.25rem,2vw,1.75rem)!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media(max-width:760px){
 html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article{
   min-height:118px!important;
 }
}
@media(max-width:410px){
 html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article::before{
   left:auto!important;right:7px!important;top:9px!important;bottom:auto!important;width:26px!important;height:26px!important;font-size:1rem;
 }
 html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article span{
   padding-right:28px!important;min-height:28px!important;
 }
 html[data-sde-citadel-integral] body.sde-tableau[data-dashboard="membre"] .sde-dash-metrics article strong{
   font-size:clamp(1.2rem,5.3vw,1.5rem)!important;
 }
}


/* Logo officiel SDE : flamme rouge, lettrage SDE et couronne dorée.
   Version optimisée du logo transparent, commune au public et au privé.
   Les photos des membres ne sont pas ciblées. */
html[data-sde-citadel-integral] body .sde-shell-brand > img,
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-logo > img{
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  flex:none!important;
  filter:drop-shadow(0 2px 7px rgba(235,164,44,.2));
}
html[data-sde-citadel-integral] body.sde-premium-home .sde-shell-brand > img{
  width:46px!important;
  height:46px!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-logo > img{
  width:44px!important;
  height:44px!important;
}
@media(max-width:760px){
  html[data-sde-citadel-integral] body.sde-premium-home .sde-shell-brand > img{
    width:38px!important;height:38px!important;
  }
  html[data-sde-citadel-integral] body.sde-tableau .sde-dash-logo > img{
    width:38px!important;height:38px!important;
  }
}

/* ===== Reproduction réelle de trois univers, maquettes originales intactes ===== */
html body.sde-pixel-citadel{background:#f8f3e9!important;color:#18232d!important}
html body.sde-pixel-citadel .site-header{background:#061725!important;box-shadow:0 4px 23px #07122199!important}
html body.sde-pixel-citadel .site-brand b{font:700 1.5rem Georgia,serif!important;color:#fff2df!important}
html body.sde-pixel-citadel .site-brand small{font:italic .78rem Georgia,serif!important;color:#e7c17b!important}
html body.sde-pixel-citadel .site-menu>a{font-size:.85rem!important;font-weight:700!important}
html body.sde-pixel-citadel .site-portal-cta{background:linear-gradient(135deg,#f9db94,#ca983f)!important;color:#111f2b!important;border-radius:9px!important}
html body.sde-pixel-citadel .sde-versets-slot{display:none!important}
html body.sde-pixel-citadel .ap-main{background:#f8f3e9!important}
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel .ap-hero{background:#071a2c!important;min-height:525px!important;padding:24px 22px 112px!important;isolation:isolate!important;overflow:hidden!important}
html body.sde-pixel-citadel .ap-hero::after{display:none!important;content:none!important}
html body.sde-pixel-citadel .ap-hero::before{inset:0!important;content:""!important;display:block!important;background:linear-gradient(90deg,#071a2cc7 0%,#071a2c48 62%,transparent)!important;z-index:0!important}
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel .ap-hero .ap-hero-bg{position:absolute!important;inset:0!important;z-index:-1!important;opacity:1!important;background:url("/vitrine/maquettes/citadelle-celeste-sde.png") 65% 19% / 294% auto no-repeat!important;filter:none!important;transform:none!important}
html body.sde-pixel-citadel .ap-hero-inner{display:flex!important;align-items:center!important;min-height:380px!important;max-width:1200px!important;padding:0!important;margin:auto!important}
html body.sde-pixel-citadel .ap-hero-copy{width:min(680px,65%)!important;max-width:680px!important;padding:15px 0!important;text-align:center!important;margin:0!important}
html body.sde-pixel-citadel .ap-hero-copy :is(.ap-eyebrow,.sde-vision-wordmark,.sde-ref-foundation,.ap-verset,.ap-devise,.sde-citadel-film){display:none!important}
html body.sde-pixel-citadel .ap-hero-copy .sde-citadelle-foundation{font-size:.73rem!important;color:#ffe2a2!important;letter-spacing:.14em!important;margin-bottom:12px!important}
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel .ap-hero h1#titre-accueil{font:500 clamp(2.8rem,4.45vw,4.4rem)/1.03 Georgia,serif!important;letter-spacing:.025em!important;color:#fff7e9!important;-webkit-text-fill-color:#fff7e9!important;text-align:center!important;text-shadow:0 4px 15px #07101abb!important;margin:0 0 18px!important}
html body.sde-pixel-citadel .ap-hero h1 span{color:#eac370!important;-webkit-text-fill-color:#eac370!important}
html body.sde-pixel-citadel .ap-hero .sde-citadel-tagline{font-size:1rem!important;line-height:1.45!important;color:#fff7e9!important;-webkit-text-fill-color:#fff7e9!important;text-align:center!important;margin:0 auto 15px!important;text-shadow:0 3px 8px #0009}
html body.sde-pixel-citadel .ap-hero .ap-actions{display:flex!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important}
html body.sde-pixel-citadel .ap-hero .ap-actions .ap-btn{min-height:45px!important;padding:12px 18px!important;border-radius:8px!important;font-size:.86rem!important}
html body.sde-pixel-citadel .ap-hero .ap-actions .sde23-cta-index{display:none!important}
html body.sde-pixel-citadel .ap-hero .ap-actions .ap-btn-ghost{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#081a2a99!important;border:1px solid #f6e5c4!important}
html body.sde-pixel-citadel .ap-hero :is(.sde-ref-hub-links,.sde-ref-program-strip){display:none!important}
html body.sde-pixel-citadel .sde-pixel-showcase{max-width:1320px;margin:-110px auto 0!important;padding:0 24px 22px!important;position:relative;z-index:5;color:#18212b}
.sde-pixel-features{display:grid;grid-template-columns:1fr 1.58fr 1fr;gap:14px}
html body.sde-pixel-citadel .sde-pixel-feature{position:relative;overflow:hidden;min-width:0;min-height:196px;padding:20px 23px;border:1px solid #e9deca;border-radius:12px;background:linear-gradient(140deg,#fffefa,#f4f0e6);box-shadow:0 9px 20px #30220e22}
html body.sde-pixel-citadel .sde-pixel-feature h2{font:700 1.3rem Georgia,serif!important;color:#161f2a!important;margin:0 0 14px!important}
html body.sde-pixel-citadel .sde-pixel-feature p{font-size:.85rem!important;line-height:1.45!important;color:#292c2d!important;margin:5px 0}
html body.sde-pixel-citadel .sde-pixel-feature a{font-size:.8rem!important;color:#755717!important;font-weight:700!important}
html body.sde-pixel-citadel .sde-pixel-feature ul{list-style:none;padding:0;margin:0}
html body.sde-pixel-citadel .sde-pixel-feature li{font-size:.84rem;padding:0 0 8px 23px;position:relative}
.sde-pixel-feature li::before{content:"✓";position:absolute;left:0;color:#236543;font-weight:900}
html body.sde-pixel-citadel .sde-pixel-feature-event{background:linear-gradient(90deg,#fffbf4 0%,#fffaf1 58%,#e2cbaa 100%)}
.sde-pixel-feature-event::after{content:"";position:absolute;inset:0 0 0 69%;background:linear-gradient(90deg,#fffbf4,transparent 45%),url("/vitrine/photos/intercession-vignette.webp") center/cover no-repeat}
.sde-pixel-feature-event>div{max-width:73%;position:relative;z-index:1}
html body.sde-pixel-citadel .sde-pixel-feature-event .sde-pixel-eyebrow{font-size:.77rem;font-weight:800;color:#2b2f35}
html body.sde-pixel-citadel .sde-pixel-feature-event h2{font-size:1.57rem!important;margin:10px 0 6px!important}
html body.sde-pixel-citadel .sde-pixel-feature-event .sde-pixel-green-cta{background:#365932!important;color:white!important;-webkit-text-fill-color:#fff!important;padding:10px 12px;border-radius:7px;display:inline-block;margin-top:12px;text-decoration:none}
html body.sde-pixel-citadel .sde-pixel-poles-title{text-align:center!important;font:700 clamp(1.3rem,2vw,1.8rem) Georgia,serif!important;color:#18212b!important;margin:20px auto 14px!important}
.sde-pixel-poles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.sde-pixel-poles a{min-height:112px;padding:10px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;border:1px solid #eae1d3;border-radius:12px;background:#fffaf3;color:#15202e!important;text-decoration:none!important}
.sde-pixel-poles img{width:44px;height:44px;object-fit:contain}
.sde-pixel-poles strong{font-size:.82rem!important;line-height:1.18}
.sde-pixel-poles small{font-size:.68rem;color:#2a6241;border-bottom:2px solid #2a6241;padding:0 8px 4px}
.sde-pixel-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.sde-pixel-panels section{min-height:144px;border-radius:10px;padding:16px 24px;display:flex;flex-direction:column;justify-content:center}
html body.sde-pixel-citadel .sde-pixel-panels h2{font:600 1.5rem Georgia,serif!important;margin:0 0 7px!important}
.sde-pixel-panels p{font-size:.84rem;line-height:1.35;margin:0 0 8px}
.sde-pixel-panels a{align-self:flex-start;font-size:.8rem;padding:8px 13px;border:1px solid #ddaf55;border-radius:7px;text-decoration:none!important}
.sde-pixel-prayer-panel{background:linear-gradient(90deg,#11251fcd,#133729dc),url("/vitrine/photos/intercession-vignette.webp") center/cover;color:white}
.sde-pixel-prayer-panel :is(h2,p,a){color:white!important}
.sde-pixel-support-panel{background:#fff7e8;color:#172335;border:1px solid #e6d8c3}
.sde-pixel-support-panel a{color:#192026!important;background:#e5b963}
/* Command Center : dashboard HTML existant, toutes les API restent branchées. */
html body.sde-pixel-command{background:#061522!important;color:#f3eddc!important}
html body.sde-pixel-command .sde-dash-header{background:#071725!important;border-color:#b9915e44!important}
html body.sde-pixel-command .sde-dash-shell{max-width:1560px!important;display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;gap:0!important;background:#081b29!important}
html body.sde-pixel-command .sde-dash-side{background:linear-gradient(#0a2032,#0b1c2d 65%,#173527)!important;border-right:1px solid #ab955f55!important;padding:24px 12px!important}
html body.sde-pixel-command .sde-dash-side nav a{color:#f9efe0!important;-webkit-text-fill-color:#f9efe0!important;padding:13px 12px!important;border-radius:8px!important}
html body.sde-pixel-command .sde-dash-side nav a[aria-current="page"]{background:#214c3c!important;border-left:3px solid #d8b568!important}
html body.sde-pixel-command .sde-dash-main{background:linear-gradient(135deg,#0c1c2d,#071b27)!important;color:#f4ecdf!important;padding:30px 30px 55px!important;min-width:0!important}
html body.sde-pixel-command .sde-dash-heading{border-bottom:1px solid #d3b97755!important;padding-bottom:20px!important;margin-bottom:18px!important}
html body.sde-pixel-command .sde-dash-heading h1{font:600 clamp(1.8rem,2.7vw,2.5rem) Georgia,serif!important;color:#fff5e3!important}
html body.sde-pixel-command .sde-dash-heading p{color:#d6dfdc!important}
html body.sde-pixel-command .sde-dash-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html body.sde-pixel-command .sde-dash-metrics article{background:linear-gradient(140deg,#1c4034,#0c2b31)!important;border:1px solid #c5a15f55!important;color:#fff0d8!important;border-radius:12px!important;padding:18px 15px!important;min-height:113px}
html body.sde-pixel-command .sde-dash-metrics article:nth-child(even){background:linear-gradient(140deg,#173a4b,#0b2638)!important}
html body.sde-pixel-command .sde-dash-metrics article strong{font:700 2.2rem Georgia,serif!important;color:#fff3dd!important;-webkit-text-fill-color:#fff3dd!important}
html body.sde-pixel-command .sde-dash-metrics article span{color:#e7dfd4!important;font-size:.8rem!important}
html body.sde-pixel-command .sde-dash-two,html body.sde-pixel-command .sde-pixel-command-secondary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important;margin-top:15px!important}
html body.sde-pixel-command .sde-dash-two>.sde-panel:first-child{grid-column:span 2!important}
html body.sde-pixel-command .sde-panel{background:linear-gradient(145deg,#12313c,#091e2c)!important;border:1px solid #d3b26c55!important;border-radius:12px!important;color:#efe8d9!important;padding:19px!important;min-width:0!important}
html body.sde-pixel-command .sde-panel h2{font:600 1.25rem Georgia,serif!important;color:#ffe2a0!important;border-bottom:1px solid #d7b46b55;padding-bottom:9px}
html body.sde-pixel-command .sde-panel :is(p,li){color:#e5e9e4!important}
html body.sde-pixel-command .sde-panel a{color:#f4cf7f!important;-webkit-text-fill-color:#f4cf7f!important}
html body.sde-pixel-command .sde-dash-alert{color:#f6deaa!important;background:#102d36!important}
html body.sde-pixel-command [hidden]{display:none!important}
/* Temple Vivant : le grand portrait de prière est cadré dans l'image originale. */
html body.sde-pixel-temple .site-header{background:#fffaf6!important}
html body.sde-pixel-temple .site-header :is(.site-brand b,.site-menu a){color:#3b2853!important;-webkit-text-fill-color:#3b2853!important}
html body.sde-pixel-temple .site-portal-cta{background:#42215c!important;color:white!important;-webkit-text-fill-color:white!important}
html body.sde-pixel-temple .infire-takeover{display:none!important}
html body.sde-pixel-temple .sde-intro{position:relative!important;overflow:hidden!important;isolation:isolate!important;min-height:450px!important;padding:45px clamp(25px,7vw,115px)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;background:#3e2340!important;color:white!important}
html body.sde-pixel-temple .sde-intro::before{content:"";position:absolute;inset:0 0 0 33%;z-index:-2;background:url("/vitrine/maquettes/temple-vivant-sde.png") 58% 20% / 290% auto no-repeat}
html body.sde-pixel-temple .sde-intro::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#2b1a37 0%,#2b1a37cb 38%,transparent 75%)!important}
html body.sde-pixel-temple .sde-intro .sde-kicker{color:#edd198!important;font-size:.73rem!important;letter-spacing:.14em!important}
html body.sde-pixel-temple .sde-intro h1{font:500 clamp(2.8rem,5.4vw,5.1rem)/1 Georgia,serif!important;color:#fff3e8!important;-webkit-text-fill-color:#fff3e8!important;max-width:520px!important;margin:0 0 13px!important}
html body.sde-pixel-temple .sde-intro .sde-pixel-prayer-subtitle{font:italic 500 clamp(1.4rem,2.4vw,2.1rem) Georgia,serif!important;color:#fff3e8!important;margin:0 0 12px!important}
html body.sde-pixel-temple .sde-intro>p:not(.sde-kicker){max-width:450px!important;line-height:1.55!important;color:#fff7ef!important;font-size:.93rem!important}
html body.sde-pixel-temple .sde-pixel-prayer-cta{display:inline-flex;align-items:center;gap:9px;border-radius:25px;padding:13px 20px;background:linear-gradient(120deg,#ffe3a4,#d3a766)!important;color:#251b2b!important;-webkit-text-fill-color:#251b2b!important;font-weight:800;text-decoration:none!important}
html body.sde-pixel-temple .sde-intro .sde-crumbs{display:none!important}
html body.sde-pixel-temple .sde-section-jumps{position:relative;z-index:3;max-width:1230px;margin:-25px auto 14px!important;background:#fffaf6!important;box-shadow:0 10px 24px #2d1c2a2b!important;border-radius:20px;display:flex!important;justify-content:space-around!important}
html body.sde-pixel-temple .sde-section-jumps a{flex:1;color:#3c2254!important;-webkit-text-fill-color:#3c2254!important;padding:15px!important;min-height:55px;text-align:center;border-right:1px solid #eadfe5;font-weight:700!important;background:transparent!important}
html body.sde-pixel-temple .sde-section-jumps a:last-child{border:0}
html body.sde-pixel-temple .sde-section-jumps a:first-child{display:none!important}
html body.sde-pixel-temple .sde-initiative-section{background:#faf5f1!important}
html body.sde-pixel-temple .sde-initiative-card{background:#fffaf7!important;border:1px solid #e5d9dc!important;border-radius:13px!important;box-shadow:0 8px 20px #2b18251c!important}
html body.sde-pixel-temple .sde-form-submit{background:#4b2d65!important;color:#fff!important}
@media(max-width:980px){.sde-pixel-features{grid-template-columns:1fr 1.4fr}.sde-pixel-features>.sde-pixel-feature:last-child{grid-column:1/-1}html body.sde-pixel-command .sde-dash-metrics{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:720px){
html body.sde-pixel-citadel .ap-hero{min-height:450px!important;padding:12px 12px 42px!important}
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel .ap-hero .ap-hero-bg{background-size:510% auto!important;background-position:68% 16%!important}
html body.sde-pixel-citadel .ap-hero::before{background:linear-gradient(180deg,#08192ab3,#08192ad9)!important}
html body.sde-pixel-citadel .ap-hero-inner{min-height:410px!important}
html body.sde-pixel-citadel .ap-hero-copy{width:100%!important;max-width:100%!important}
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel .ap-hero h1#titre-accueil{font-size:clamp(2.1rem,7.7vw,3.4rem)!important}
html body.sde-pixel-citadel .sde-pixel-showcase{margin:-20px auto 0!important;padding:0 12px 12px!important}
.sde-pixel-features{grid-template-columns:1fr!important}
.sde-pixel-features>.sde-pixel-feature:last-child{grid-column:auto}
html body.sde-pixel-citadel .sde-pixel-feature{min-height:auto!important;padding:15px!important}
.sde-pixel-poles{gap:5px!important}
.sde-pixel-poles a{min-height:88px;padding:7px 2px}
.sde-pixel-poles img{width:28px;height:28px}
.sde-pixel-poles strong{font-size:.63rem!important}
.sde-pixel-panels{grid-template-columns:1fr}
html body.sde-pixel-command .sde-dash-shell{display:block!important}
html body.sde-pixel-command .sde-dash-side{position:fixed!important;z-index:100!important;bottom:0!important;top:auto!important;left:0!important;right:0!important;width:100%!important;padding:7px 6px calc(7px + env(safe-area-inset-bottom))!important;background:#081b2b!important;border:0!important;border-top:1px solid #d6b77966!important}
html body.sde-pixel-command .sde-dash-side :is(.sde-dash-side-caption,.sde-dash-side-footer){display:none!important}
html body.sde-pixel-command .sde-dash-side nav{display:flex!important;gap:4px!important;justify-content:space-around!important}
html body.sde-pixel-command .sde-dash-side nav a{flex:1;text-align:center;font-size:.68rem!important;min-height:45px;line-height:1.15;padding:8px 3px!important}
html body.sde-pixel-command .sde-dash-side nav a:nth-child(n+4):not(:last-child){display:none!important}
html body.sde-pixel-command .sde-dash-main{padding:16px 12px calc(95px + env(safe-area-inset-bottom))!important}
html body.sde-pixel-command .sde-dash-metrics{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
html body.sde-pixel-command .sde-dash-two,html body.sde-pixel-command .sde-pixel-command-secondary{grid-template-columns:1fr!important}
html body.sde-pixel-command .sde-dash-two>.sde-panel:first-child{grid-column:auto!important}
html body.sde-pixel-temple .sde-intro{min-height:480px!important;padding:44px 22px 48px!important}
html body.sde-pixel-temple .sde-intro::before{inset:0;background-size:490% auto;background-position:69% 20%;opacity:.65}
html body.sde-pixel-temple .sde-intro::after{background:linear-gradient(90deg,#2b1a37dd,#2b1a3777)!important}
html body.sde-pixel-temple .sde-intro h1{font-size:clamp(2.6rem,8vw,3.7rem)!important}
html body.sde-pixel-temple .sde-section-jumps{margin:-16px 10px 12px!important;gap:0;padding:5px!important}
html body.sde-pixel-temple .sde-section-jumps a{font-size:.7rem!important;padding:7px 4px!important}
}
@media(prefers-reduced-motion:reduce){html body.sde-pixel-citadel *,html body.sde-pixel-command *,html body.sde-pixel-temple *{animation:none!important;transition:none!important}}

/* Consolidation après tous les anciens styles : les cinq colonnes sont les
 * mêmes sur la maquette et sur une largeur d'écran adaptée. */
html body.sde-pixel-citadel .sde-pixel-poles{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body.sde-pixel-citadel .sde-pixel-panels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:720px){
 html body.sde-pixel-citadel .sde-pixel-panels{grid-template-columns:1fr!important}
 html body.sde-pixel-citadel .sde-pixel-poles{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
}



/* PRIORITÉ ABSOLUE DE LA SCÈNE CITADELLE APPROUVÉE : l'ancien fond du
 * guerrier se trouvait sur le SECTION, et .ap-hero-bg était masqué par
 * une ancienne règle. Ce correctif rend enfin la ville de la MAQUETTE
 * directement visible, en recadrant ses pixels sans modifier le PNG. */
html[data-sde-citadel-integral] body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel main#contenu section#accueil.ap-hero{
 background:#071a2c!important;
 background-image:none!important;
}
html[data-sde-citadel-integral] body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel main#contenu section#accueil.ap-hero::after{
 content:none!important;display:none!important;background:none!important;
}
html[data-sde-citadel-integral] body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-bg{
 display:block!important;
 visibility:visible!important;
 position:absolute!important;
 inset:0!important;
 width:100%!important;height:100%!important;
 opacity:1!important;transform:none!important;filter:none!important;
 background:url("/vitrine/maquettes/citadelle-celeste-sde.png") 65% 19% / 294% auto no-repeat!important;
 pointer-events:none!important;
}
@media(max-width:720px){
 html[data-sde-citadel-integral] body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-bg{
  background-position:68% 16%!important;
  background-size:510% auto!important;
 }
}



/* SDE • RECADRAGE DE PRÉCISION - la maquette PNG n'est jamais modifiée.
   Le calque dédié peint la ville AU-DESSUS des anciennes photographies.
   Les contrôles, données, liens et modules métier restent intacts. */
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero{
  position:relative!important;isolation:isolate!important;
  height:auto!important;min-height:430px!important;
  padding:0 18px 56px!important;
  background:#061827!important;background-image:none!important;
  overflow:hidden!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero::before,
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero::after{
  content:none!important;display:none!important;background:none!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-bg{
  opacity:0!important;visibility:hidden!important;background-image:none!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-pixel-city-layer{
  display:block!important;visibility:visible!important;
  position:absolute!important;inset:0!important;z-index:1!important;
  width:100%!important;height:100%!important;
  background-image:
     linear-gradient(90deg,rgba(7,23,39,.56) 0%,rgba(7,23,39,.21) 52%,rgba(7,23,39,.10) 100%),
     url("/vitrine/maquettes/citadelle-celeste-sde.png")!important;
  background-size:cover,294% auto!important;
  background-position:center,65% 19%!important;
  background-repeat:no-repeat!important;
  opacity:1!important;transform:none!important;filter:none!important;
  pointer-events:none!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-inner{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  min-height:345px!important;max-width:1210px!important;
  width:100%!important;margin:0 auto!important;padding:18px 0 0!important;
  position:relative!important;z-index:3!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-copy{
  position:relative!important;z-index:4!important;
  width:min(630px,62%)!important;max-width:630px!important;
  margin:0!important;padding:15px 0!important;text-align:center!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-copy :is(
 .ap-eyebrow,.sde-vision-wordmark,.sde-citadelle-foundation,.sde-ref-foundation,
 .ap-devise,.ap-verset,.sde-citadel-film){
  display:none!important;visibility:hidden!important;position:static!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero :is(
  nav.sde-ref-hub-links,nav.sde-ref-program-strip){
  display:none!important;visibility:hidden!important;position:static!important;
  height:0!important;min-height:0!important;max-height:0!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero h1#titre-accueil{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(2.65rem,4.2vw,4.1rem)!important;
  font-weight:500!important;line-height:1.04!important;
  text-align:center!important;margin:0 auto 16px!important;
  letter-spacing:.012em!important;max-width:none!important;
  color:#fff8ed!important;-webkit-text-fill-color:#fff8ed!important;
  text-shadow:0 2px 15px #051422a3!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero h1#titre-accueil span{
 color:#edc66c!important;-webkit-text-fill-color:#edc66c!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-citadel-tagline{
  color:#fff5e7!important;-webkit-text-fill-color:#fff5e7!important;
  margin:0 auto 17px!important;max-width:560px!important;
  text-align:center!important;font-size:.95rem!important;
  line-height:1.42!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions{
  display:flex!important;justify-content:center!important;gap:12px!important;
  position:relative!important;z-index:4!important;margin:0!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions .ap-btn{
  min-height:43px!important;margin:0!important;padding:12px 17px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:8px!important;font-size:.81rem!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions .sde23-cta-index{display:none!important}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu .sde-pixel-showcase{
  display:block!important;visibility:visible!important;
  position:relative!important;z-index:7!important;
  max-width:1250px!important;margin:-72px auto 0!important;
  padding:0 18px 20px!important;
  background:linear-gradient(to bottom,transparent 0px,transparent 35px,#f8f3e9 35px)!important;
}
html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu>.sde-px-mission-hero{
 display:none!important;visibility:hidden!important;
}
@media(max-width:720px){
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel .site-header .site-access-top{
  display:none!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero{
  min-height:425px!important;padding:0 14px 34px!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-pixel-city-layer{
  background-image:linear-gradient(180deg,#061a2b9c,#061a2b55 60%,#061a2bce),url("/vitrine/maquettes/citadelle-celeste-sde.png")!important;
  background-size:cover,510% auto!important;background-position:center,55% 13%!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-inner{
  min-height:385px!important;padding:12px 0 0!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-copy{
  width:100%!important;max-width:100%!important;padding:0!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero h1#titre-accueil{
  font-size:clamp(2.15rem,8.4vw,3.5rem)!important;
  line-height:1.08!important;margin:0 auto 15px!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-citadel-tagline{
  font-size:.81rem!important;margin:0 auto 18px!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions{
  gap:8px!important;flex-wrap:wrap!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions .ap-btn{
  flex:0 1 auto!important;min-height:48px!important;padding:10px 12px!important;
  font-size:.73rem!important;
 }
 html[data-sde-citadel-integral] body.sde-premium-home.sde-2027-reference.sde-pixel-citadel main#contenu .sde-pixel-showcase{
  margin:-9px auto 0!important;padding:0 12px 20px!important;
 }
}


/* Ajustements extraits de la comparaison réelle desktop/390 px.
   Photos et logos originaux non modifiés. */
html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu .sde-pixel-poles-title{
  color:#172337!important;-webkit-text-fill-color:#172337!important;
}
html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu .sde-pixel-feature-event::after{
  content:""!important;
  background-image:linear-gradient(90deg,#fff9ed 0%,rgba(255,249,237,0) 26%),url("/vitrine/maquettes/citadelle-celeste-sde.png")!important;
  background-size:cover,auto 665%!important;
  background-position:center,50% 57%!important;
  background-repeat:no-repeat!important;
  /* Masquer uniquement l’interface déjà dessinée au pied de la photo. */
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 56%,transparent 73%)!important;
  mask-image:linear-gradient(to bottom,#000 0%,#000 56%,transparent 73%)!important;
  filter:none!important;opacity:1!important;
}



/* Temple Vivant — reproduction de l'en-tête ivoire, de la prière photographique
   et des accès superposés aux formulaires existants ; source PNG intacte. */
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage header.site-header{
  background:#fffaf6!important;background-image:none!important;
  color:#33214c!important;border-bottom:1px solid #ece0e4!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage header.site-header :is(
 .site-brand,.site-brand b,.site-brand small,.site-menu a,.site-burger){
 color:#3b234f!important;-webkit-text-fill-color:#3b234f!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage header.site-header .site-portal-cta{
 background:#44235b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu .sde-intro::before{
 background-image:url("/vitrine/maquettes/temple-vivant-sde.png")!important;
 opacity:.98!important;filter:none!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu .sde-intro::after{
 background:linear-gradient(90deg,rgba(42,19,48,.83),rgba(44,24,47,.42) 65%,rgba(44,24,47,.10))!important;
}
@media(max-width:720px){
 html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu .sde-intro h1{
  max-width:310px!important;font-size:clamp(2.25rem,8.5vw,3.5rem)!important;
  line-height:1.06!important;
 }
 html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu nav.sde-section-jumps{
  display:grid!important;grid-template-columns:1fr!important;
  margin:-16px 12px 14px!important;gap:0!important;padding:8px 14px!important;
  border-radius:17px!important;
 }
 html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu nav.sde-section-jumps a{
  display:flex!important;justify-content:flex-start!important;align-items:center!important;
  min-height:50px!important;font-size:.9rem!important;
  width:100%!important;flex:0 0 auto!important;padding:9px 12px!important;
  text-align:left!important;border-right:0!important;
  border-bottom:1px solid #e8dde2!important;
 }
 html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu nav.sde-section-jumps a:last-child{border-bottom:0!important;}
}


/* SDE-2026-TEMPLE-FORM-CONTRAST
   Temple Vivant : contraste explicite pour les formulaires et textes
   sur les cartes ivoire. Ne change ni champs, ni soumissions, ni rôles. */
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-section {
  background:#faf5f1!important;
  color:#302438!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-split>div :is(h2,h3,p,.sde-initiative-note,strong) {
  color:#302438!important;
  -webkit-text-fill-color:#302438!important;
  text-shadow:none!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form {
  background:#fffaf7!important;
  color:#302438!important;
  border:1px solid #d3c2d0!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form :is(h3,label,p,strong,small,.sde-consent,.sde-privacy-note) {
  color:#302438!important;
  -webkit-text-fill-color:#302438!important;
  opacity:1!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form :is(input:not([type="checkbox"]),select,textarea) {
  background:#ffffff!important;
  color:#221b2b!important;
  -webkit-text-fill-color:#221b2b!important;
  border:1px solid #877488!important;
  opacity:1!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form :is(input,textarea)::placeholder {
  color:#5a4e5c!important;
  -webkit-text-fill-color:#5a4e5c!important;
  opacity:1!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form a {
  color:#482b65!important;
  -webkit-text-fill-color:#482b65!important;
  text-decoration:underline;
  text-underline-offset:3px;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form button.sde-form-submit {
  background:#4b2d65!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border:1px solid #4b2d65!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form .sde-form-feedback {
  color:#302438!important;
  -webkit-text-fill-color:#302438!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form .sde-form-feedback[data-state="ok"] {
  color:#175632!important;
  -webkit-text-fill-color:#175632!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form .sde-form-feedback[data-state="error"] {
  color:#8d2332!important;
  -webkit-text-fill-color:#8d2332!important;
}



/* SDE PIXEL RECETTE — 15 NOVEMBRE 2026
   Ajustements ciblés relevés sur les captures 390px fournies par le propriétaire.
   Conserve les trois maquettes PNG originales, comptes et modules métiers.
   Citadelle: recadrage non destructif de la photo dans un SVG inline.
   Les objets d'interface déjà dessinés sur le PNG restent hors du viewBox. */
html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-pixel-city-layer{
  position:absolute!important;inset:0!important;z-index:1!important;
  display:block!important;width:100%!important;height:100%!important;
  overflow:hidden!important;opacity:1!important;visibility:visible!important;
  background:none!important;background-image:none!important;
  transform:none!important;filter:none!important;pointer-events:none!important;
}
html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-pixel-city-layer image{
  opacity:1!important;visibility:visible!important;
}
/* L'accueil ne doit pas réintroduire la capture entière sous le recadrage. */
html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-bg{
  display:none!important;visibility:hidden!important;background:none!important;
}
@media(max-width:720px){
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero{
    min-height:520px!important;padding:0 14px 55px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-inner{
    min-height:470px!important;justify-content:center!important;padding-top:10px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-hero-copy{
    width:100%!important;max-width:340px!important;margin:0 auto!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero h1#titre-accueil{
    font-size:clamp(1.8rem,7.2vw,2.4rem)!important;line-height:1.09!important;
    letter-spacing:.009em!important;max-width:335px!important;
    margin:0 auto 13px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .sde-citadel-tagline{
    font-size:clamp(.78rem,2.9vw,.88rem)!important;
    line-height:1.4!important;max-width:320px!important;margin:0 auto 17px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:center!important;
    width:min(78%,292px)!important;margin:0 auto!important;gap:9px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu section#accueil.ap-hero .ap-actions .ap-btn{
    box-sizing:border-box!important;width:100%!important;min-height:43px!important;
    padding:9px 12px!important;border-radius:8px!important;
    text-align:center!important;font-size:.77rem!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel main#contenu .sde-pixel-showcase{
    margin:-24px auto 0!important;
  }
}
/* Sous-pages de la Citadelle : les actions secondaires ne doivent plus
   occuper la couverture, mais restent accessibles via leurs liens. */
html[data-sde-citadel-integral] body.sde-shell-mounted.sde-subpage[data-sde-page="programmes"] main#contenu>.sde-intro,
html[data-sde-citadel-integral] body.sde-shell-mounted.sde-subpage[data-sde-page="mouvement"] main#contenu>.sde-intro{
  min-height:0!important;height:auto!important;
  padding:32px clamp(18px,4.5vw,48px) 29px!important;
  border-radius:0 0 20px 20px!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:10px!important;text-align:center!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted.sde-subpage[data-sde-page="programmes"] main#contenu>.sde-intro h1,
html[data-sde-citadel-integral] body.sde-shell-mounted.sde-subpage[data-sde-page="mouvement"] main#contenu>.sde-intro h1{
  margin:0!important;font-size:clamp(1.65rem,4vw,3rem)!important;
  line-height:1.15!important;max-width:900px!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted.sde-subpage main#contenu>.sde-intro .sde-page-actions{
  display:flex!important;flex-wrap:wrap!important;gap:9px!important;
  align-items:center!important;justify-content:center!important;
  margin:8px auto 0!important;width:auto!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted.sde-subpage main#contenu>.sde-intro .sde-page-actions a{
  display:inline-flex!important;flex:0 1 auto!important;max-width:100%!important;
  width:auto!important;min-height:44px!important;
  padding:9px 13px!important;margin:0!important;
  font-size:.77rem!important;line-height:1.25!important;
  border-radius:8px!important;white-space:normal!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted[data-sde-page="programmes"] main#contenu #agenda .tete-section{
  min-height:0!important;max-height:none!important;
  padding:23px 19px!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted[data-sde-page="programmes"] main#contenu #agenda .tete-section h2{
  font-size:clamp(1.4rem,4.2vw,2.25rem)!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted[data-sde-page="programmes"] main#contenu .pg-tabs{
  max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;
}
/* Le contrôle PWA reste disponible dans le tiroir Plus, jamais au milieu du hero. */
html body.sde-shell-mounted .sde-shell-drawer #sde-install-public{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;min-height:44px!important;
  padding:9px 12px!important;margin:5px 0!important;
  border-radius:9px!important;white-space:normal!important;
  font-size:.85rem!important;line-height:1.25!important;
}
html body.sde-shell-mounted .sde-intro #sde-install-public{
  width:auto!important;max-width:210px!important;
  min-height:40px!important;padding:8px 11px!important;
  margin:7px auto 0!important;font-size:.75rem!important;
}
/* Huit accès SDE : supprimer les immenses panneaux vides et conserver
   les photographies d'albums dans leur propre module. */
@media(max-width:720px){
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid{
    grid-template-columns:1fr!important;gap:11px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid .sdu-card{
    display:grid!important;grid-template-columns:minmax(100px,34%) minmax(0,1fr)!important;
    flex-direction:row!important;align-items:stretch!important;
    min-height:156px!important;height:auto!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid .sdu-card .sdu-art{
    width:100%!important;height:100%!important;min-height:156px!important;
    max-height:220px!important;background-size:cover!important;
    background-position:center!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid .sdu-card .sdu-card-copy{
    display:flex!important;flex-direction:column!important;min-width:0!important;
    padding:12px 13px!important;justify-content:center!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid .sdu-card :is(.sdu-title,.sdu-card-link){
    font-size:.87rem!important;line-height:1.28!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid .sdu-card .sdu-card-copy p{
    font-size:.79rem!important;line-height:1.38!important;
    margin:4px 0 8px!important;flex:0 0 auto!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-grid .sdu-card .sdu-card-symbol{
    font-size:1.05rem!important;margin:0 0 3px!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-filters{
    display:flex!important;flex-wrap:nowrap!important;
    gap:6px!important;overflow-x:auto!important;scrollbar-width:thin!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-filters button{
    white-space:nowrap!important;min-height:46px!important;
    padding:9px 11px!important;font-size:.8rem!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-search-label{
    display:grid!important;gap:7px!important;margin:10px 0!important;
  }
  html[data-sde-citadel-integral] body.sde-pixel-citadel .sde-universe .sdu-search-label input{
    box-sizing:border-box!important;width:100%!important;min-width:0!important;
    min-height:45px!important;font-size:16px!important;
    color:#f9f3e8!important;background:#18243b!important;
  }
}
/* Notes légales Temple Vivant : l'audit mobile lisait une couleur sombre
   sur un fond bleu hérité. Les paragraphes reçoivent leur vrai fond ivoire. */
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form .sde-privacy-note{
  display:block!important;padding:12px 14px!important;
  background:#fffaf7!important;color:#302438!important;
  -webkit-text-fill-color:#302438!important;
  border:1px solid #d7c9d5!important;border-radius:9px!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-shell-mounted main#contenu .sde-initiative-form .sde-privacy-note a{
  color:#482b65!important;-webkit-text-fill-color:#482b65!important;
  text-decoration:underline!important;
}
/* Carte internationale : éviter la découpe du titre dans sa carte */
html[data-sde-citadel-integral] body.sde-shell-mounted[data-sde-page="mouvement"] main#contenu #presence .tete-section h2{
  margin-inline:auto!important;max-width:100%!important;
  font-size:clamp(1.5rem,4vw,2.4rem)!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted[data-sde-page="mouvement"] main#contenu #presence .carte-monde{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  overflow:hidden!important;border-radius:14px!important;
}
html[data-sde-citadel-integral] body.sde-shell-mounted[data-sde-page="mouvement"] main#contenu #presence .carte-monde svg{
  display:block!important;max-width:100%!important;height:auto!important;
}
@media(max-width:720px){
  html body.sde-shell-mounted .sde-shell-bottom{z-index:240!important}
  html body.sde-shell-mounted{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
  html body.sde-shell-mounted main#contenu{padding-bottom:22px!important}
}

/* SDE-DECLINAISONS-COMPILEES-2027 */
/* SDE Digital — Déclinaisons fonctionnelles 2027
   Citadelle Céleste · Temple Vivant · Command Center
   Dernière couche : respecte les modules, API, images et rôles existants.
   Les données ne sont pas reproduites depuis les maquettes : elles restent réelles. */
:root{--sde27-nuit:#08192b;--sde27-bleu:#13283c;--sde27-ivoire:#fff8ed;--sde27-or:#e8be69;--sde27-violet:#432651;--sde27-vert:#173e36}
html body.sde-v5-academy-public .sde-2027-campus{isolation:isolate;max-width:1320px;margin:0 auto 22px;color:var(--sde27-ivoire);font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.sde-2027-campus *,.sde-2027-workspace *{box-sizing:border-box}
.sde-2027-campus-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(225px,.82fr);align-items:center;min-height:340px;gap:18px;padding:clamp(24px,4vw,48px);background:radial-gradient(circle at 78% 26%,#55355b55,transparent 50%),linear-gradient(110deg,#0a2035 8%,#13273c 53%,#3b2443);border:1px solid #c89d5a85;border-radius:20px 20px 0 0;box-shadow:0 20px 40px #090d2340}
.sde-2027-campus-copy{position:relative;z-index:2;min-width:0}
.sde-2027-campus-kicker{display:block;color:#f4d18b;font:800 .69rem "Plus Jakarta Sans",sans-serif;letter-spacing:.13em;line-height:1.5;text-transform:uppercase}
html body.sde-v5-academy-public .sde-2027-campus h1{font:600 clamp(2.35rem,5.2vw,4.2rem)/1.09 Cinzel,Georgia,serif;color:#fff4df!important;-webkit-text-fill-color:#fff4df!important;margin:11px 0 5px!important}
html body.sde-v5-academy-public .sde-2027-campus h1 em{font-style:normal;color:#f4ce77!important;-webkit-text-fill-color:#f4ce77!important}
.sde-2027-campus-motto{color:#f3cb78!important;font:italic 1.18rem Georgia,serif!important;margin:0 0 18px!important}
.sde-2027-campus-desc{max-width:560px;color:#f4ecdf!important;font-size:.94rem!important;line-height:1.7!important;margin:0 0 20px!important}
.sde-2027-campus-art{align-self:stretch;position:relative;min-height:240px;display:flex;align-items:center;justify-content:center}
.sde-2027-campus-art:before{content:"";position:absolute;inset:2%;border-radius:50%;background:radial-gradient(circle,#deb76a52 0%,#8e5fa536 36%,transparent 69%);filter:blur(10px)}
.sde-2027-campus-art img{position:relative;display:block;width:100%;max-width:410px;max-height:320px;height:100%;object-fit:contain;filter:drop-shadow(0 18px 20px #0008)}
.sde-2027-campus-actions{display:flex;flex-wrap:wrap;gap:10px}
.sde-2027-button{display:inline-flex;min-height:46px;max-width:100%;align-items:center;justify-content:center;gap:14px;padding:10px 17px;text-align:center;text-decoration:none!important;font:800 .81rem "Plus Jakarta Sans",sans-serif!important;border-radius:10px;line-height:1.25!important;transition:transform .16s}
.sde-2027-button-gold{background:linear-gradient(135deg,#ffe39e,#e3ad4d)!important;color:#101b2b!important;-webkit-text-fill-color:#101b2b!important;border:1px solid #ffdb87}
.sde-2027-button-outline{background:#091b2b99!important;color:#fff9e9!important;-webkit-text-fill-color:#fff9e9!important;border:1px solid #e6c88b8c}
.sde-2027-button:is(:hover,:focus-visible){transform:translateY(-2px)}
.sde-2027-campus-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:#c7baba82;border:1px solid #e5d9ca;border-radius:0 0 16px 16px;overflow:hidden;box-shadow:0 12px 26px #141a2a32}
.sde-2027-campus-tiles a{display:flex;min-width:0;min-height:142px;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:14px 9px;text-align:center;background:linear-gradient(145deg,#fffbf7,#eee7e6)!important;color:#231d37!important;-webkit-text-fill-color:#231d37!important;text-decoration:none!important}
.sde-2027-campus-tiles a>span{font-size:1.55rem;color:#a57723!important;-webkit-text-fill-color:#a57723!important}
.sde-2027-campus-tiles a strong{font-size:.8rem;line-height:1.27}
.sde-2027-campus-tiles a small{font-size:.67rem;line-height:1.4;color:#52465b!important;-webkit-text-fill-color:#52465b!important}
.sde-2027-campus-tiles a:hover{background:#fff0cc!important}
.sde-2027-campus-notice{font-size:.82rem!important;line-height:1.55!important;color:#29354a!important;-webkit-text-fill-color:#29354a!important;margin:10px 0!important}
html body.sde-v5-academy-public .sa-premium-preview:has(+ *){margin-top:10px}
html body.sde-v5-academy-public:has(.sde-2027-campus) .sa-premium-preview .sa-premium-head{display:none!important}
html body.sde-v5-academy-public:has(.sde-2027-campus) .sa-premium-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body.sde-v5-academy-public:has(.sde-2027-campus) .sa-premium-card{border-radius:14px!important;border:1px solid #d7bb78!important;background:linear-gradient(150deg,#15283c,#382443)!important;box-shadow:0 10px 24px #0a142530}
html body.sde-v5-academy-public:has(.sde-2027-campus) .sa-premium-card summary{min-height:66px!important;color:#f2ddac!important}
html body.sde-v5-academy-public:has(.sde-2027-campus) .sa-premium-card .sa-premium-card-body p{color:#f1e6db!important}
html body.sde-v5-academy-public:has(.sde-2027-campus) .niveaux{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body.sde-v5-academy-public:has(.sde-2027-campus) .niveau-carte{min-width:0!important;border-radius:15px!important;border-color:#c2a062!important}
html body.sde-v5-academy-public:has(.sde-2027-campus) :is(.sa-premium-card,.niveau-carte,.form-carte){overflow-wrap:anywhere}
html body.sde-tableau .sde-2027-workspace{margin:0 0 18px;border:1px solid #bf9b665c;border-radius:16px;overflow:hidden;background:linear-gradient(125deg,#122f40,#102438 52%,#241c38);color:#fff6e7;box-shadow:0 14px 35px #030c204d}
html body.sde-tableau .sde-2027-workspace-hero{padding:21px clamp(15px,2.5vw,29px);position:relative;overflow:hidden}
html body.sde-tableau .sde-2027-workspace-hero:after{content:"";position:absolute;right:0;top:0;width:42%;height:100%;background:radial-gradient(ellipse at 80% 60%,#b08b5e44,transparent 70%);pointer-events:none}
html body.sde-tableau .sde-2027-workspace h2{font:600 clamp(1.55rem,3vw,2.45rem) Cinzel,Georgia,serif!important;color:#fff0ce!important;-webkit-text-fill-color:#fff0ce!important;margin:8px 0 9px!important}
html body.sde-tableau .sde-2027-workspace-hero p{font-size:.86rem!important;line-height:1.5!important;margin:0 0 15px!important;color:#e8e6dd!important;-webkit-text-fill-color:#e8e6dd!important}
html body.sde-tableau .sde-2027-workspace-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:11px;background:#071523b8}
html body.sde-tableau .sde-2027-workspace-links a{min-width:0;min-height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:10px 6px;background:linear-gradient(145deg,#143b36,#102b3a)!important;color:#f6e8c9!important;-webkit-text-fill-color:#f6e8c9!important;border:1px solid #c8ac7659;border-radius:11px;text-decoration:none!important;text-align:center}
html body.sde-tableau .sde-2027-workspace-links a:nth-child(even){background:linear-gradient(135deg,#183149,#10253a)!important}
html body.sde-tableau .sde-2027-workspace-links a>span{font-size:1.45rem;line-height:1;color:#efd080!important;-webkit-text-fill-color:#efd080!important}
html body.sde-tableau .sde-2027-workspace-links a strong{font-size:.71rem;line-height:1.3}
html body.sde-tableau .sde-2027-workspace-links a:is(:hover,:focus-visible){border-color:#ffdd83;background:#1c4838!important}
html body.sde-tableau .sde-2027-workspace-member .sde-2027-workspace-hero{background:linear-gradient(90deg,#292046e0,#1a2638c0),url("/vitrine/maquettes/citadelle-celeste-sde.png") 70% 45% / 380% auto no-repeat}
html body.sde-tableau .sde-2027-workspace-admin .sde-2027-workspace-hero{background:linear-gradient(110deg,#092138db,#143a35)}
html body.sde-tableau .sde-dash-metrics article{min-width:0!important}
html body.sde-tableau .sde-dash-metrics strong{font-variant-numeric:tabular-nums!important}
html body.sde-tableau .sde-2027-workspace :is(a,button):focus-visible,
html body.sde-v5-academy-public .sde-2027-campus a:focus-visible{outline:3px solid #f5d58d!important;outline-offset:3px!important}
html body.sde-unifie[data-sde-page="mediatheque"] main#contenu,
html body.sde-unifie[data-sde-page="soldiers-tv"] main#contenu{background:linear-gradient(160deg,#071b32,#20142f 62%,#0e243b)!important}
html body.sde-unifie[data-sde-page="mediatheque"] main#contenu h1,
html body.sde-unifie[data-sde-page="soldiers-tv"] main#contenu h1{font-family:Cinzel,Georgia,serif!important;color:#fff2da!important}
html body.sde-unifie[data-sde-page="mediatheque"] .sde-public-media-card,
html body.sde-unifie[data-sde-page="soldiers-tv"] .sdu-media-tile{border-radius:15px!important;overflow:hidden!important;border:1px solid #d1af6e70!important;box-shadow:0 12px 30px #040c1f44}
html body.sde-unifie[data-sde-page="soutenir"] .hub-hero{background:linear-gradient(100deg,#14283f,#102f2c)!important;border:1px solid #e8c06e84!important;border-radius:15px!important}
html body.sde-unifie[data-sde-page="soutenir"] main#contenu .hub-hero h1{font-family:Cinzel,Georgia,serif!important;color:#fff6e6!important}
html body.sde-unifie[data-sde-page="missions-humanitaires"] main#contenu h1{font-family:Cinzel,Georgia,serif!important}
html body #academyDynLove,html body .love-school{--sde27-violet:#65375d}
@media(max-width:1050px){
 .sde-2027-campus-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.sde-tableau .sde-2027-workspace-links{grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.sde-v5-academy-public:has(.sde-2027-campus) .sa-premium-grid{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 .sde-2027-campus-hero{display:flex;flex-direction:column-reverse;min-height:0;padding:18px 17px 26px;gap:0}
 .sde-2027-campus-art{width:100%;height:155px;min-height:155px;max-height:155px}
 .sde-2027-campus-art img{max-height:160px}
 .sde-2027-campus-copy{text-align:center}
 html body.sde-v5-academy-public .sde-2027-campus h1{font-size:clamp(2rem,8vw,3rem)!important;margin:6px 0!important}
 .sde-2027-campus-desc{font-size:.82rem!important;line-height:1.55!important;margin-bottom:15px!important}
 .sde-2027-campus-actions{display:flex;flex-direction:column}
 .sde-2027-button{width:100%;min-height:44px;font-size:.78rem!important}
 .sde-2027-campus-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sde-2027-campus-tiles a{min-height:113px;padding:12px 7px}
 .sde-2027-campus-tiles a strong{font-size:.76rem}
 .sde-2027-campus-tiles a small{font-size:.64rem}
 html body.sde-v5-academy-public:has(.sde-2027-campus) .niveaux{grid-template-columns:1fr!important}
 html body.sde-tableau .sde-2027-workspace-hero{padding:17px 13px}
 html body.sde-tableau .sde-2027-workspace-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}
 html body.sde-tableau .sde-2027-workspace-links a{min-height:84px}
 html body.sde-tableau .sde-2027-workspace h2{font-size:1.45rem!important}
 html body.sde-tableau .sde-2027-workspace-hero p{font-size:.78rem!important}
}
@media(prefers-reduced-motion:reduce){.sde-2027-button{transition:none!important}}


/* SDE-2027-MOUVEMENT-PREPAINT-CLS
   Le header historique est remplacé au chargement par le header partagé.
   Réserver le même espace (66px) avant/après évite le décalage vertical
   mesuré dans l'audit réel desktop. Les données et la navigation restent intactes. */
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage[data-sde-page="mouvement"] > .infire-takeover,
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage[data-sde-page="mouvement"] > .sde-versets-slot{
 display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;
}
@media(min-width:1101px){
 html[data-sde-citadel-integral] body.sde-unifie.sde-subpage[data-sde-page="mouvement"]:not(.sde-shell-mounted) > header#haut.site-header{
  display:block!important;height:66px!important;min-height:66px!important;max-height:66px!important;
  box-sizing:border-box!important;border:0!important;margin:0!important;padding:0!important;
  overflow:hidden!important;
 }
 html[data-sde-citadel-integral] body.sde-unifie.sde-subpage[data-sde-page="mouvement"]:not(.sde-shell-mounted) > header#haut.site-header .site-header-inner{
  height:66px!important;min-height:66px!important;max-height:66px!important;
  box-sizing:border-box!important;margin:0 auto!important;padding-top:0!important;padding-bottom:0!important;
 }
}


/* SDE-2027-CAPTURE-CLS-UNIFIEE-20261115
   Les deux intros publiques sont identiques AVANT et APRÈS le montage
   de la navigation SDE. Évite le saut de titre observé au CLS réel
   de /mouvement (201px → 130px), sans masquer le contenu. */
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]) main#contenu>.sde-intro{
 min-height:0!important;height:auto!important;
 padding:32px clamp(18px,4.5vw,48px) 29px!important;
 border-radius:0 0 20px 20px!important;
 display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:center!important;
 gap:10px!important;text-align:center!important;
}
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]) main#contenu>.sde-intro h1{
 margin:0!important;font-size:clamp(1.65rem,4vw,3rem)!important;
 line-height:1.15!important;max-width:900px!important;
}
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]) main#contenu>.sde-intro .sde-page-actions{
 display:flex!important;flex-wrap:wrap!important;gap:9px!important;
 align-items:center!important;justify-content:center!important;
 margin:8px auto 0!important;width:auto!important;
}
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]) main#contenu>.sde-intro .sde-page-actions a{
 display:inline-flex!important;flex:0 1 auto!important;max-width:100%!important;
 width:auto!important;min-height:44px!important;
 padding:9px 13px!important;margin:0!important;
 font-size:.77rem!important;line-height:1.25!important;
 border-radius:8px!important;white-space:normal!important;
}
/* Le panneau du verset est déjà intégré dans les contenus bibliques,
   pas au-dessus de la navigation de ces deux sous-pages. */
html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]) :is(.sde-versets,.sde-versets-slot){
 display:none!important;visibility:hidden!important;
 height:0!important;min-height:0!important;margin:0!important;padding:0!important;
}
@media(min-width:1101px){
 html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]):not(.sde-shell-mounted) > header#haut.site-header,
 html[data-sde-citadel-integral] body.sde-unifie.sde-subpage:is([data-sde-page="mouvement"],[data-sde-page="programmes"]):not(.sde-shell-mounted) > header#haut.site-header .site-header-inner{
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;margin-block:0!important;
  padding-top:0!important;padding-bottom:0!important;
 }
}


/* Refonte SDE — Programmes : un seul en-tête visible, sans bandeau
   historique au-dessus. Garder le contenu TPA dans le DOM : les outils
   React et la date accessible sans JS dépendent du nœud #sde-event-root.
   La fiche /programmes#tpa-2026 demeure accessible dans l'agenda. */
html[data-sde-citadel-integral] body.sde-unifie[data-sde-page="programmes"] > #sde-event-root,
html[data-sde-citadel-integral] body.sde-unifie[data-sde-page="programmes"] > .infire-takeover{
 display:none!important;visibility:hidden!important;
 min-height:0!important;max-height:0!important;height:0!important;
 margin:0!important;padding:0!important;border:0!important;
}

/* Soldiers TV — contraste contrôlé de la navigation et des titres sur ivoire (16 novembre 2026) */
html body.sdu-tv-page main#contenu .sdu-tv-subnav a:not([aria-current="page"]){
 color:#f6e9d2!important;-webkit-text-fill-color:#f6e9d2!important;
}
html body.sdu-tv-page main#contenu .sdu-tv-subnav a[aria-current="page"]{
 color:#102038!important;-webkit-text-fill-color:#102038!important;
}
html body.sdu-tv-page main#contenu section#a-la-une .sdu-heading h2{
 color:#14233b!important;-webkit-text-fill-color:#14233b!important;
 font-family:Cinzel,Georgia,serif!important;
}
html body.sdu-tv-page main#contenu section#a-la-une .sdu-heading p{
 color:#293951!important;-webkit-text-fill-color:#293951!important;
}
html body.sdu-tv-page main#contenu section#a-la-une .sdu-heading .sdu-eyebrow{
 color:#805713!important;-webkit-text-fill-color:#805713!important;
}

/* Soldiers TV — onglets mobiles sans chevauchement (audit Chromium 390 px) */
html body.sdu-tv-page main#contenu nav.sdu-tv-subnav{
 display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
 gap:8px!important;width:100%!important;max-width:100%!important;
 box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;
 scrollbar-width:thin!important;overscroll-behavior-inline:contain!important;
 -webkit-overflow-scrolling:touch!important;padding:9px 12px!important;
}
html body.sdu-tv-page main#contenu nav.sdu-tv-subnav a{
 box-sizing:border-box!important;flex:0 0 auto!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:max-content!important;max-width:none!important;
 min-height:44px!important;padding:10px 12px!important;
 line-height:1.25!important;white-space:nowrap!important;
 overflow:visible!important;font-size:.78rem!important;text-overflow:clip!important;
}


/* Programmes tablette — éviter le déplacement horizontal des CTA pendant le
   remplacement des polices, sans changer leur contenu ni les liens métier. */
@media(min-width:701px) and (max-width:800px){
 html[data-sde-citadel-integral] body.sde-unifie[data-sde-page="programmes"] main#contenu>.sde-intro .sde-page-actions{
  box-sizing:border-box!important;
  width:355px!important;max-width:100%!important;
  min-height:44px!important;flex-wrap:nowrap!important;
  justify-content:center!important;
 }
 html[data-sde-citadel-integral] body.sde-unifie[data-sde-page="programmes"] main#contenu>.sde-intro .sde-page-actions>a:first-child{
  box-sizing:border-box!important;
  flex:0 0 198px!important;width:198px!important;min-width:0!important;
  white-space:nowrap!important;
 }
 html[data-sde-citadel-integral] body.sde-unifie[data-sde-page="programmes"] main#contenu>.sde-intro .sde-page-actions>a:nth-child(2){
  box-sizing:border-box!important;
  flex:0 0 148px!important;width:148px!important;min-width:0!important;
  white-space:nowrap!important;
 }
}

/* Contraste des surfaces publiques. Les formulaires, la charte et leurs
   couleurs d'accent restent intacts ; la couleur du texte suit son fond réel. */
html body.sde23-native.sde-public-document-dark:not(.sde-espace-prive):not(.sde-direct){
 background:#08172d!important;color:#faf6eb!important;-webkit-text-fill-color:currentColor!important;
 color-scheme:dark;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-premium-pillar .sde-2027-pillar-copy :is(strong,span){
 color:#17263a!important;-webkit-text-fill-color:currentColor!important;
}
html body.sde-campus-public #contenu .niveau-carte .niveau-num{
 color:#6c4a15!important;-webkit-text-fill-color:currentColor!important;opacity:1;
}
html body:is(.sde-campus-public,[data-sde-page="formulaire"]) .retour,
html body.sde-campus-public :is(#inscription-cours,#zoneFormulaire)>h2,
html body[data-sde-page="formulaire"] .etape.act .etape-label{
 color:#674814!important;-webkit-text-fill-color:currentColor!important;
}
html body.sde-campus-public #inscription-cours>p,
html body[data-sde-page="formulaire"] :is(.photo-input-wrap .aide,.etape:not(.act) .etape-label){
 color:#405168!important;-webkit-text-fill-color:currentColor!important;
}

/* Les pages autonomes ont des cartes claires sous les bandeaux foncés. */
html body:not(.sde-espace-prive)>.hub-main{
 --sde-public-copy:#253249;--sde-public-link:#674814;
 color:var(--sde-public-copy);
}
html body:not(.sde-espace-prive)>.hub-main :is(.hub-breadcrumb,.hub-section>.hub-hint,.hub-section>h2){
 color:var(--sde-public-copy)!important;-webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-espace-prive)>.hub-main>a:first-child,
html body:not(.sde-espace-prive)>.hub-main :is(.hub-breadcrumb a,.hub-section>a:not([class]),.hub-section>p>a:not([class])){
 color:var(--sde-public-link)!important;-webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-espace-prive)>.hub-main :is(.hub-card,.hub-results article,.hub-form){
 background-color:#fffdf8!important;color:var(--sde-public-copy)!important;
}
html body:not(.sde-espace-prive)>.hub-main :is(.hub-card,.hub-results article) :is(h2,h3,p,small),
html body:not(.sde-espace-prive)>.hub-main .hub-form :is(label,small){
 color:var(--sde-public-copy)!important;-webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-espace-prive)>.hub-main :is(.hub-card,.hub-results article,.hub-form) a:not(.hub-btn):not(.pg-btn):not(.sde-privacy-note a){
 color:var(--sde-public-link)!important;-webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-espace-prive)>.hub-main .hub-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 background:#fffdf8!important;color:#17263a!important;-webkit-text-fill-color:currentColor!important;
 border-color:#777583!important;color-scheme:light;
}
html body:not(.sde-espace-prive)>.hub-main .hub-form :is(input,textarea)::placeholder{
 color:#49566c!important;-webkit-text-fill-color:currentColor!important;opacity:1;
}
html body:not(.sde-espace-prive)>.hub-main .hub-form .hub-message{
 color:#225c41!important;-webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-espace-prive)>.hub-main .hub-form .hub-message[data-error="true"]{
 color:#8d2332!important;-webkit-text-fill-color:currentColor!important;
}
html body>.hub-main.sde-policy section :is(p,li):not(.hub-lead){
 color:#faf4e8!important;-webkit-text-fill-color:currentColor!important;
}
html body>.hub-main .hub-calendar .dow{
 color:#674814!important;-webkit-text-fill-color:currentColor!important;
}
html body>.hub-main .hub-calendar .day>strong{
 color:#faf4e8!important;-webkit-text-fill-color:currentColor!important;
}
html body>.hub-main .hub-calendar .day.outside{opacity:1}
html body>.hub-main .hub-calendar .day.outside>strong{
 color:#c5cddb!important;-webkit-text-fill-color:currentColor!important;
}
html body>.hub-main>section:not([class])>h2{
 color:#17263a!important;-webkit-text-fill-color:currentColor!important;
}

html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage .site-header .sde-shell-brand-title b,
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage .site-header .sde-shell-mega>.sde-citadel-top-link{
 color:#3b234f!important;-webkit-text-fill-color:currentColor!important;
}
html body.sdu-quest-page main #missions .sdu-heading :is(h2,p),
html body.sdu-quest-page main #missions .sdu-filterbar .sdu-mini{
 color:#253249!important;-webkit-text-fill-color:currentColor!important;
}
html body.sdu-quest-page main #missions .sdu-eyebrow{
 color:#674814!important;-webkit-text-fill-color:currentColor!important;
}
html body[data-sde-page="mediatheque"]>.skip{
 background:#08172d!important;color:#fff4df!important;-webkit-text-fill-color:currentColor!important;
}
html body.sde-campus-public #contenu .oblig{
 color:#8d2332!important;-webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-espace-prive)>.hub-main .hub-form .sde-privacy-note a{
 color:#f3d18a!important;-webkit-text-fill-color:currentColor!important;
}

/* Contrôle visuel des éléments que les tests automatiques ne mesurent pas
   sur les dégradés, ainsi que du pictogramme de recherche. */
html body.sde23-native>.hub-main.sde-policy section[aria-labelledby] :is(h2,h3){
 color:#faf4e8!important;-webkit-text-fill-color:currentColor!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage main#contenu .sde-intro a.sde-pixel-prayer-cta{
 color:#251b2b!important;-webkit-text-fill-color:currentColor!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage header.site-header a.sde-shell-search{
 color:#3b234f!important;-webkit-text-fill-color:currentColor!important;border-color:#86708e!important;
}
html[data-sde-citadel-integral] body.sde-pixel-temple.sde-subpage header.site-header a.sde-shell-search svg{
 color:#3b234f!important;stroke:currentColor;
}
html body.sde-ivoire[data-sde-page="programmes"] #agenda .agenda-filtres button.actif{
 color:#132139!important;-webkit-text-fill-color:currentColor!important;
 background:#c9a24a!important;border-color:#936a22!important;
}
