/* SDE — La Citadelle Céleste 2027: shared final visual system */
:root {
  --sde-citadel-navy: #071226;
  --sde-citadel-ivory: #f4ebdd;
  --sde-citadel-gold: #d8b455;
  --sde-citadel-violet: #3a245f;
  --sde-citadel-green: #405a45;
  --sde-citadel-ink: #101a2e;
  --sde-citadel-line: color-mix(in srgb, var(--sde-citadel-ivory) 18%, transparent);
  --sde-citadel-shadow: 0 20px 48px rgb(1 7 18 / .34);
  --sde-citadel-radius: 1.25rem;
  --sde-citadel-title: Cinzel, Georgia, serif;
  --sde-citadel-sans: "Plus Jakarta Sans", Atkinson Hyperlegible, system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SDE 2027 — REFONTE INTÉGRALE À TROIS UNIVERS
   Public : Citadelle Céleste · Privé : Command Center
   Spiritualité : Temple Vivant
   Les trois visuels approuvés sont utilisés sans modification de leurs pixels.
   ═══════════════════════════════════════════════════════════════════════════ */
:root{
 --sde-final-night:#071226;
 --sde-final-night-2:#0d2038;
 --sde-final-ivory:#faf7f0;
 --sde-final-gold:#d8b455;
 --sde-final-violet:#3a245f;
 --sde-final-green:#405a45;
 --sde-final-line:rgba(216,180,85,.38);
 --sde-final-shadow:0 18px 44px rgba(2,9,23,.22);
}

/* Le site public devient la Citadelle Céleste. */
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login){
 background:var(--sde-final-ivory)!important;
 color:var(--sde-final-night)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.site-header,.sde-shell-public){
 background:rgba(7,18,38,.96)!important;
 border-color:var(--sde-final-line)!important;
 box-shadow:0 8px 30px rgba(2,9,23,.18)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.site-header,.sde-shell-public) :is(a,button,strong,span){
 color:#fff5df!important;
 -webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.site-portal-cta,.ap-btn-gold,.sde-button,.sde-form-submit){
 background:linear-gradient(135deg,#f1d58b,var(--sde-final-gold))!important;
 color:var(--sde-final-night)!important;
 -webkit-text-fill-color:var(--sde-final-night)!important;
 border:1px solid #f4dda0!important;
 border-radius:11px!important;
 box-shadow:0 8px 22px rgba(112,77,9,.20)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.ap-panel,.ap-next,.ap-upcoming,.ap-mission,.sde-initiative-card,.sde-premium-pillar){
 background:rgba(255,253,248,.96)!important;
 color:var(--sde-final-night)!important;
 border:1px solid rgba(216,180,85,.30)!important;
 border-radius:16px!important;
 box-shadow:var(--sde-final-shadow)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.ap-panel,.ap-next,.ap-upcoming,.ap-mission,.sde-initiative-card,.sde-premium-pillar) :is(h2,h3,strong,p,span,small){
 color:inherit!important;
 -webkit-text-fill-color:currentColor!important;
}

/* Accueil public : le visuel Citadelle approuvé reste intact dans son cadre. */
html body.sde-premium-home .ap-hero{
 min-height:clamp(650px,78vh,840px)!important;
 background:
  radial-gradient(circle at 78% 25%,rgba(216,180,85,.18),transparent 32%),
  linear-gradient(115deg,#071226 0%,#0b1a31 52%,#102b47 100%)!important;
 overflow:hidden!important;
 isolation:isolate!important;
}
html body.sde-premium-home .ap-hero::after{
 content:""!important;
 position:absolute!important;
 z-index:0!important;
 inset:6% 3% 6% 46%!important;
 background:url('/vitrine/maquettes/citadelle-celeste-sde.png') center/contain no-repeat!important;
 filter:none!important;
 opacity:1!important;
 pointer-events:none!important;
 border-radius:22px!important;
}
html body.sde-premium-home .ap-hero::before{
 z-index:1!important;
 background:linear-gradient(90deg,#071226 0%,rgba(7,18,38,.94) 36%,rgba(7,18,38,.26) 66%,rgba(7,18,38,.08))!important;
}
html body.sde-premium-home .ap-hero :is(.ap-hero-inner,.ap-hero-content,.ap-hero-copy){position:relative!important;z-index:2!important}
html body.sde-premium-home .ap-hero :is(h1,h2,p,.ap-eyebrow){color:#fff4df!important;-webkit-text-fill-color:#fff4df!important}

/* Les espaces privés deviennent le Command Center, sans toucher aux données. */
html body.sde-reference{
 background:
  linear-gradient(rgba(216,180,85,.035) 1px,transparent 1px),
  linear-gradient(90deg,rgba(216,180,85,.035) 1px,transparent 1px),
  var(--sde-final-night)!important;
 background-size:28px 28px!important;
 color:#f8eddf!important;
}
html body.sde-reference :is(.shell,.ref-toolbar,.sde-reference-header,.ops-panel){
 background-color:transparent!important;
}
html body.sde-reference :is(.ref-sidebar,#sde-reference-sidebar){
 background:linear-gradient(180deg,#09172a,#0c2438 72%,#173524)!important;
 border-color:var(--sde-final-line)!important;
}
html body.sde-reference :is(.ops-card,.ref-kpi,.sv-card,.sv-tile,.sde-tactical-screen,.card){
 background:linear-gradient(145deg,rgba(17,42,62,.98),rgba(8,27,43,.98))!important;
 border:1px solid rgba(216,180,85,.30)!important;
 color:#f8eddf!important;
 border-radius:14px!important;
 box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
html body.sde-reference :is(.ops-card,.ref-kpi,.sv-card,.sv-tile,.sde-tactical-screen,.card) :is(h2,h3,h4,p,strong,b,span,small){
 color:inherit!important;
 -webkit-text-fill-color:currentColor!important;
 opacity:1!important;
}
html body.sde-reference :is(.ops-kpis,.stats) > :nth-child(odd){
 background:linear-gradient(145deg,#183b2d,#102b2c)!important;
}
html body.sde-reference :is(.ops-panel button,.ref-small-action,.sde-plus-button){
 border-radius:10px!important;
}

/* Temple Vivant : pages et modules spirituels. */
html body[data-sde-page="prieres"]{
 background:linear-gradient(180deg,#fffdf8,#f4ede7)!important;
 color:#2c1738!important;
}
html body[data-sde-page="prieres"] .sde-intro{
 position:relative!important;
 min-height:clamp(470px,64vh,690px)!important;
 display:grid!important;
 align-content:center!important;
 padding-right:min(52vw,720px)!important;
 background:
  linear-gradient(90deg,rgba(42,18,49,.96) 0%,rgba(58,36,95,.82) 42%,rgba(58,36,95,.14) 68%,rgba(58,36,95,.04)),
  url('/vitrine/maquettes/temple-vivant-sde.png') center/cover no-repeat!important;
 color:#fff9ed!important;
 border-bottom:4px solid var(--sde-final-gold)!important;
}
html body[data-sde-page="prieres"] .sde-intro :is(h1,p,a,.sde-kicker){color:#fff9ed!important;-webkit-text-fill-color:#fff9ed!important}
html body[data-sde-page="prieres"] :is(.sde-initiative-section,.sde-archive-gallery){background:#fffdf8!important;color:#2c1738!important}
html body[data-sde-page="prieres"] :is(.sde-initiative-card,.sde-initiative-form){
 background:rgba(255,253,248,.98)!important;
 color:#2c1738!important;
 border:1px solid rgba(58,36,95,.20)!important;
 box-shadow:0 14px 35px rgba(58,36,95,.12)!important;
}
html body[data-sde-page="prieres"] :is(.sde-initiative-card,.sde-initiative-form) :is(h2,h3,p,strong,label,span){color:inherit!important;-webkit-text-fill-color:inherit!important}
html body[data-sde-page="prieres"] .sde-section-jumps-cta{background:var(--sde-final-violet)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.sde-reference[data-sde-module="chambre"] .ops-panel,
html body.sde-reference[data-sde-module="prieres"] .ops-panel{
 background:linear-gradient(145deg,rgba(58,36,95,.28),rgba(7,18,38,.15))!important;
 border-top:3px solid #8d6ab5!important;
}

@media(max-width:900px){
 html body.sde-premium-home .ap-hero::after{inset:20% -10% 4% 30%!important;opacity:.72!important}
 html body.sde-premium-home .ap-hero::before{background:linear-gradient(180deg,#071226 0%,rgba(7,18,38,.92) 52%,rgba(7,18,38,.45))!important}
 html body[data-sde-page="prieres"] .sde-intro{padding-right:24px!important;background-position:62% center!important}
}
@media(max-width:600px){
 html body.sde-premium-home .ap-hero{min-height:720px!important}
 html body.sde-premium-home .ap-hero::after{inset:42% -20% 2% -20%!important;background-size:contain!important;opacity:.58!important}
 html body[data-sde-page="prieres"] .sde-intro{min-height:590px!important;padding:110px 22px 70px!important;background-position:68% center!important}
 }

html { background: var(--sde-citadel-navy); scroll-behavior: smooth; }
body { font-family: var(--sde-citadel-sans); background: var(--sde-citadel-navy); color: var(--sde-citadel-ivory); }
body::selection { background: var(--sde-citadel-gold); color: var(--sde-citadel-navy); }
h1, h2, h3, .site-brand b, .sde-citadel-title { font-family: var(--sde-citadel-title); letter-spacing: .025em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sde-citadel-gold); outline-offset: 4px; }

.site-header, .sde-shell-public, .sde-dash-sidebar { background: rgb(7 18 38 / .92); border-color: var(--sde-citadel-line); backdrop-filter: blur(18px); }
.site-menu a, .site-brand, .site-search, .sde-dash-side-nav a { color: var(--sde-citadel-ivory); }
.site-menu a[aria-current="page"], .site-menu a:hover, .site-brand:hover { color: var(--sde-citadel-gold); }
.site-portal-cta, .ap-btn-gold, .sde-shell-event-register, .sde-button, .sde-citadel-cta { background: var(--sde-citadel-gold); color: var(--sde-citadel-navy); border-color: transparent; font-weight: 800; }
.site-portal-cta:hover, .ap-btn-gold:hover, .sde-shell-event-register:hover, .sde-button:hover, .sde-citadel-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.ap-btn-ghost, .sde-shell-event, .sde-premium-pillar, .sdu-card, .sde-2027-academy-feature, .sde-dash-panel, .sde-dash-card { border-color: var(--sde-citadel-line); box-shadow: var(--sde-citadel-shadow); }
.ap-next, .ap-upcoming, .ap-mission, .ap-panel, .ap-indicateurs { background:#FAF7F0!important; color:#0D1B38!important; -webkit-text-fill-color:#0D1B38!important; }
.ap-hero::before, .sde-citadel-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgb(216 180 85 / .18), transparent 34%), linear-gradient(110deg, rgb(7 18 38 / .94), rgb(7 18 38 / .52)); pointer-events: none; }
.ap-hero .ap-hero-bg { background-image: linear-gradient(94deg, rgb(7 18 38 / .94), rgb(7 18 38 / .45)), url("/vitrine/photos/hero-sde-1280.webp"); background-position: center; background-size: cover; }
.ap-hero h1#titre-accueil { font-size: clamp(4rem,6.2vw,7.1rem); line-height: .94; }
.ap-hero-inner { position: relative; }
.sde-citadelle-foundation, .sde-citadel-eyebrow, .sde-tpa-kicker { color: var(--sde-citadel-gold); letter-spacing: .13em; }
.sde-citadel-axes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.sde-citadel-axis { min-height: 7.5rem; display: grid; align-content: space-between; padding: 1rem; border: 1px solid var(--sde-citadel-line); border-radius: var(--sde-citadel-radius); background: linear-gradient(145deg, rgb(244 235 221 / .1), rgb(244 235 221 / .03)); color: var(--sde-citadel-ivory); }
.sde-citadel-axis strong { color: var(--sde-citadel-gold); font-family: var(--sde-citadel-title); }
.sde-citadel-axis small { color: color-mix(in srgb, var(--sde-citadel-ivory) 82%, transparent); }
.sde-citadel-prayer { --sde-context: var(--sde-citadel-violet); border-color: color-mix(in srgb, var(--sde-citadel-violet) 62%, var(--sde-citadel-ivory)); }
.sde-citadel-mission { --sde-context: var(--sde-citadel-green); border-color: color-mix(in srgb, var(--sde-citadel-green) 72%, var(--sde-citadel-ivory)); }
.sde-citadel-private { background: linear-gradient(145deg, #0b1830, #111d34); }
.sde-citadel-loading, .sde-citadel-empty, .sde-citadel-error { border: 1px dashed var(--sde-citadel-line); border-radius: var(--sde-citadel-radius); padding: 1rem; color: var(--sde-citadel-ivory); }
body.sde-2027-reference, body.sde-reference-login, body.sde-v5-academy-public, body.sde-campus-student, body.sde-direct, body.sde-direct-admin { font-family:var(--sde-citadel-sans); }
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live .ap-hero .ap-hero-bg { background-image:linear-gradient(94deg,rgb(7 18 38 / .94),rgb(7 18 38 / .45)),url("/vitrine/photos/hero-sde-1280.webp")!important; }
.sde-vision-wordmark, .sde-citadelle-login-badge { color:var(--sde-citadel-gold); font-family:var(--sde-citadel-title); letter-spacing:.12em; }
.sde-citadelle-quicknav-items { display:flex; flex-wrap:wrap; gap:.7rem; }
.sde-citadelle-member-cover { background:linear-gradient(135deg,#0b1830,#17284a); border:1px solid var(--sde-citadel-line); border-radius:var(--sde-citadel-radius); }
.sa-premium-grid .sa-premium-card summary strong{color:#142641!important;-webkit-text-fill-color:#142641!important}
.ref-access-targets button[aria-pressed="true"]{background:var(--sde-citadel-gold);color:#132139!important;-webkit-text-fill-color:#132139!important}
.sde-shell-portal-label{font-weight:800;color:var(--sde-citadel-gold)}
.sde-reader-tools{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
#axes ol.six-axes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:0;list-style:none}
#axes ol.six-axes > li{min-height:100%;padding:1rem;border:1px solid var(--sde-citadel-line);border-radius:var(--sde-citadel-radius)}
html body.sde23-native.sde-unifie.sde-subpage.sde-ivoire.sde-pole #contenu .sde-initiative-card { background:#FAF7F0!important; color:#0D1B38!important; }
html body.sde23-native.sde-unifie.sde-subpage.sde-ivoire.sde-pole #contenu .sde-initiative-card p { color:#2B3851!important; -webkit-text-fill-color:#2B3851!important; }
html body.sde23-native.sde-unifie.sde-subpage.sde-ivoire.sde-pole #contenu .sde-initiative-card :is(h2,h3,strong,a) { color:#0D1B38!important; -webkit-text-fill-color:#0D1B38!important; }

/* Private command centre: keep the compact mobile launch controls aligned. */
body.sde-reference-admin .sde-citadelle-command-launch { display: grid; grid-template-columns:minmax(0,1fr)!important; gap: .75rem; }
.sde-citadelle-command-launch > button > svg { flex-basis:34px!important; color: var(--sde-citadel-gold); }
.sde-citadelle-command-launch > button > span { min-width:0; }
.sde-direct #main .view { min-width: 0; }
#main .view .list .row .row-t, #main .view .list .row .row-m, #main .view .stat-v, #main .view .card .bar-top, #main .view .seg button, #sheet .sheet-b .vy-t { color:var(--sde-citadel-ivory); -webkit-text-fill-color:currentColor; }
#main .view .seg button { min-height:44px!important; }

@media (max-width: 900px) {
  .sde-citadel-axes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sde-citadel-axis { min-height: 6.25rem; }
  .site-header { padding-inline: max(1rem, env(safe-area-inset-left)); }
}
@media(max-width:860px) { .ap-next, .ap-upcoming, .ap-mission, .ap-panel { min-height:auto; } }
@media(max-width:960px) { .ap-hero h1#titre-accueil { font-size: clamp(3.3rem,8vw,5.2rem); } }
@media(max-width:699px) { #axes ol.six-axes { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { body.sde-reference-admin .sde-citadelle-command-launch { gap: .55rem; } }
@media(max-width:640px) { .sde-direct #main .view { padding-inline: .9rem; } }
@media(max-width:540px) { #axes ol.six-axes { grid-template-columns:1fr; } }
@media (max-width: 390px) { .sde-citadel-axes { gap: .55rem; } .sde-citadel-axis { padding: .8rem; font-size: .9rem; } }
@media(max-width:390px) { .ap-hero h1#titre-accueil { font-size: clamp(2.8rem,10vw,3.7rem); } .ap-hero .ap-hero-bg { background-image: linear-gradient(94deg, rgb(7 18 38 / .94), rgb(7 18 38 / .45)), url("/vitrine/photos/hero-sde-640.webp"); } }
@media(max-width:390px) { html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live .ap-hero .ap-hero-bg { background-image:url("/vitrine/photos/hero-sde-640.webp")!important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media(prefers-reduced-motion:reduce) { .ap-hero .ap-hero-bg { transform: none !important; } }
[hidden]{display:none!important}


/* REFONTE INTÉGRALE V3 — CITADELLE CÉLESTE, d'après les planches du 14 novembre 2026.
   Styles de finition; les styles métier existants subsistent uniquement pour leur structure.
   La bannière est une illustration et les photographies historiques restent dans les albums. */
:root {
  --sde-citadel-navy:#071226;--sde-citadel-ivory:#f4ebdd;--sde-citadel-gold:#d8b455;
  --sde-citadel-violet:#3a245f;--sde-citadel-green:#405a45;
  --sde-citadel-title:"Cinzel",Georgia,serif;
  --sde-citadel-sans:"Plus Jakarta Sans","Atkinson Hyperlegible",system-ui,sans-serif;
  --sde-citadel-art:url("/vitrine/illus/citadelle-celeste.svg");
}
html[data-sde-citadel-integral] {background:#071226;accent-color:#d8b455;}
html[data-sde-citadel-integral] body {font-family:var(--sde-citadel-sans);}
html[data-sde-citadel-integral] :is(h1,h2,.sde-dash-heading h1,.ap-hero h1,.sde-shell-brand-title b){text-wrap:balance;}
html[data-sde-citadel-integral] :is(a,button,[role="button"],summary) {touch-action:manipulation;}
html[data-sde-citadel-integral] :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #ffdc85!important;outline-offset:3px!important;}
html[data-sde-citadel-integral] :is(.sde-shell-header,.site-header,.hdr,.sde-dash-header){
  background:rgba(5,15,32,.94)!important;color:#f4ebdd!important;border-bottom:1px solid rgba(216,180,85,.22)!important;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
}
html[data-sde-citadel-integral] :is(.sde-shell-header,.site-header,.hdr,.sde-dash-header) a{color:#f4ebdd;}
html[data-sde-citadel-integral] :is(.sde-shell-header,.site-header,.hdr,.sde-dash-header) a:hover{color:#f4cf83;}
html[data-sde-citadel-integral] :is(.sde-shell-portal,.site-portal-cta,.ap-btn-gold,.sde-shell-event-register,.sde-dash-form button[type=submit]){
 background:linear-gradient(115deg,#f2d787,#c99b40)!important;color:#08172d!important;-webkit-text-fill-color:#08172d!important;
 border:1px solid #f0d688!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(7,10,20,.24)!important;
 font-weight:800!important;min-height:44px;
}
html[data-sde-citadel-integral] :is(.ap-btn-ghost,.sde-shell-join){background:rgba(8,19,40,.47)!important;border:1px solid rgba(241,206,137,.85)!important;color:#fff4da!important;}
html[data-sde-citadel-integral] :is(.site-brand b,.sde-shell-brand-title b,.brand-mark){font-family:var(--sde-citadel-title)!important;color:#f5e2b7!important;}
html[data-sde-citadel-integral] :is(.site-menu,.sde-shell-mega,.sde-shell-bottom-nav){font-family:var(--sde-citadel-sans)!important;}
html[data-sde-citadel-integral] :is(.sde-shell-bottom-nav,.sde-public-bottom-nav){background:#071226!important;border-top:1px solid rgba(216,180,85,.29)!important;}
html[data-sde-citadel-integral] :is(.sde-shell-bottom-item[aria-current="page"],.sde-shell-bottom-item:hover){color:#f0cc81!important;}
/* Hero institutionnel : même direction que la maquette, illustration de forteresse, jamais la photo d'album. */
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home .ap-hero {
 min-height:min(760px,90svh)!important;display:block!important;padding:clamp(36px,5vw,68px) 18px 160px!important;
 overflow:hidden!important;border-bottom:0!important;
 background:linear-gradient(90deg,rgba(3,11,26,.72),rgba(3,11,26,.1) 64%,rgba(3,11,26,.45)),
   var(--sde-citadel-art) 68% 49%/cover no-repeat!important;color:#f7f0e5!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero::before{background:linear-gradient(180deg,transparent 5%,rgba(4,13,30,.16) 50%,#071226 99%)!important;z-index:0!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero::after{background:radial-gradient(circle at 76% 43%,rgba(244,196,98,.1),transparent 38%)!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-bg{background:transparent!important;opacity:0!important;display:none!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-inner{
 max-width:1330px!important;width:min(100%,1330px)!important;margin:0 auto!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(275px,315px)!important;
 align-items:center!important;column-gap:clamp(22px,5vw,85px)!important;min-height:470px!important;position:relative!important;z-index:1!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-copy{text-align:center!important;max-width:780px!important;min-width:0!important;margin-inline:auto!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-eyebrow{color:#e3c884!important;font-size:.72rem!important;letter-spacing:.15em!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-vision-wordmark{font-size:.79rem!important;justify-content:center!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadelle-foundation{font-size:.75rem!important;color:#ecd4a6!important;letter-spacing:.15em!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero h1#titre-accueil {
 color:#f8e7bd!important;-webkit-text-fill-color:#f8e7bd!important;
 font-family:var(--sde-citadel-title)!important;font-weight:600!important;
 font-size:clamp(2.9rem,5.15vw,5.3rem)!important;line-height:1.08!important;
 letter-spacing:.027em!important;text-transform:uppercase!important;
 margin:.5rem auto .75rem!important;max-width:920px!important;text-shadow:0 4px 20px #061126!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero h1#titre-accueil .sde-citadel-highlight {
 background:none!important;color:inherit!important;-webkit-text-fill-color:inherit!important;display:block!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-tagline{
 font:600 clamp(.79rem,1.1vw,1.05rem)/1.6 var(--sde-citadel-title)!important;
 letter-spacing:.12em!important;color:#fffbec!important;max-width:580px;margin:0 auto .65rem;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-devise{
 color:#f8d99a!important;font-size:.79rem!important;font-weight:800!important;letter-spacing:.16em!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-verse{
 max-width:580px!important;margin:12px auto!important;background:rgba(6,17,33,.46)!important;
 border:1px solid rgba(244,207,139,.21)!important;border-radius:12px!important;padding:10px 14px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-verse p{font-size:.86rem!important;color:#f7eedd!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-actions{
 display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-actions .ap-btn{
 border-radius:12px!important;min-width:185px!important;min-height:48px!important;
 font:800 .83rem var(--sde-citadel-sans)!important;letter-spacing:0!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-tpa-hero-card{
 position:relative!important;inset:auto!important;transform:none!important;
 width:100%!important;max-width:325px!important;min-width:0!important;margin:0 auto!important;
 background:linear-gradient(150deg,rgba(21,38,69,.86),rgba(10,22,43,.76)),var(--sde-citadel-art) 86% center/auto 105% no-repeat!important;
 border:1px solid rgba(242,211,144,.64)!important;border-radius:16px!important;
 color:#f9f2e6!important;box-shadow:0 20px 55px #030b1caa!important;backdrop-filter:blur(17px)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-tpa-hero-card :is(h2,p,dd){color:#fff4df!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-tpa-hero-card .sde-tpa-kicker{color:#f5d07b!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-vision{
 position:relative!important;z-index:3!important;margin:-133px auto 0!important;padding:0 18px 36px!important;
 background:transparent!important;border:0!important;max-width:1300px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-vision .ap-wrap{
 background:rgba(8,23,44,.81)!important;border:1px solid rgba(255,232,188,.29)!important;
 border-radius:17px!important;padding:12px 16px 16px!important;backdrop-filter:blur(16px)!important;
 box-shadow:0 10px 50px #040b18bb!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-vision :is(h2,.sde-citadelle-foundation){display:none!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axes{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;
 margin:0!important;padding:0!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis{
 display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;justify-content:center!important;
 min-height:108px!important;padding:12px 7px!important;border:0!important;border-right:1px solid rgba(245,225,194,.19)!important;
 border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:last-child{border-right:0!important;}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis::before{
 content:"✦";display:block;font:28px/1.2 Georgia,serif;color:#ecc56d;margin:0 0 8px;opacity:.98;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(1)::before{content:"♕";}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(2)::before{content:"◎";}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(3)::before{content:"☀";}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(4)::before{content:"❧";color:#89cfab;}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(5)::before{content:"♨";}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(6)::before{content:"♛";}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis strong{
 color:#fcf0d5!important;font:800 clamp(.69rem,1vw,.84rem)/1.35 var(--sde-citadel-sans)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis small{display:none!important;}
/* Les pages publiques conservent leurs contenus fonctionnels, mais partagent la même citadelle et les mêmes composants. */
html[data-sde-citadel-integral] body.sde-subpage{background:#071226!important;}
html[data-sde-citadel-integral] body.sde-subpage :is(.page-hero,.m-page-hero,.sa-hero,.pole-hero,.sde-page-hero){
 background-image:linear-gradient(95deg,rgba(5,14,32,.88),rgba(6,16,35,.35)),var(--sde-citadel-art)!important;
 background-size:cover!important;background-position:center!important;color:#f7eedd!important;
}
html[data-sde-citadel-integral] body.sde-subpage :is(.site-menu,.site-header-inner,.sde-shell-head-inner){max-width:1480px;}
html[data-sde-citadel-integral] body.sde-subpage :is(.sde-premium-pillar,.sdu-card,.sde-citadelle-quicknav-items>a){
 border-radius:16px!important;border:1px solid rgba(213,179,100,.35)!important;transition:transform .2s ease,box-shadow .2s ease!important;
}
html[data-sde-citadel-integral] body.sde-subpage :is(.sde-premium-pillar,.sdu-card):hover{transform:translateY(-3px)!important;}
/* Les deux tableaux de bord natifs utilisent la même identité sans métrique ou données simulées. */
html[data-sde-citadel-integral] body.sde-tableau{
 background:#071226!important;color:#f4ebdd!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-shell{background:linear-gradient(150deg,#071226,#0c1d36)!important;}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side{
 background:linear-gradient(180deg,#09192e,#0e203b)!important;border-right:1px solid rgba(216,180,85,.28)!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side :is(a,p){color:#f4ebdd!important;}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-side a[aria-current="page"]{
 background:linear-gradient(110deg,#dfbe6b,#b48736)!important;color:#08162b!important;font-weight:800!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main{
 background:radial-gradient(circle at 83% 5%,rgba(197,156,75,.1),transparent 38%),#08172d!important;
 color:#f4ebdd!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main::before{
 content:"";display:block;min-height:126px;margin:0 0 20px;border:1px solid rgba(234,201,131,.35);border-radius:17px;
 background:linear-gradient(90deg,#0a1b36 2%,transparent 90%),var(--sde-citadel-art) 62% 53%/cover no-repeat;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main :is(.sde-dash-overline,.sde-dash-heading h1){color:#f3d591!important;}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main .sde-panel{
 border:1px solid rgba(216,180,85,.3)!important;border-radius:16px!important;
 background:linear-gradient(155deg,#122641,#0b1c34)!important;color:#f4ebdd!important;box-shadow:0 12px 35px #030c1c66!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main .sde-panel :is(p,h2,h3,dt,dd,strong,small){color:inherit!important;}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article{
 border:1px solid rgba(217,181,103,.32)!important;border-radius:14px!important;
 background:linear-gradient(145deg,#193b59,#10213b)!important;color:#f5f1e7!important;
}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article:nth-child(3n){background:linear-gradient(145deg,#284638,#102b31)!important;}
html[data-sde-citadel-integral] body.sde-tableau .sde-dash-metrics article :is(strong,span,small){color:#fff2d6!important;-webkit-text-fill-color:#fff2d6!important;}
html[data-sde-citadel-integral] body.sde-tableau :is(.sde-dash-form input,.sde-dash-form textarea){
 background:#fdf8ed!important;color:#10223a!important;border-radius:10px!important;
}
/* Application privée intégrée : maintenir les vrais modules et les permissions existantes. */
html[data-sde-citadel-integral] body:has(.shell>.nav) {background:#071226!important;}
html[data-sde-citadel-integral] body :is(.shell>.nav,.nav#nav){
 background:linear-gradient(180deg,#071226,#122741)!important;border-right:1px solid rgba(212,175,87,.25)!important;
}
html[data-sde-citadel-integral] body .shell>.main{
 background:radial-gradient(circle at 89% 9%,rgba(242,187,83,.09),transparent 35%),#08172d!important;
}
html[data-sde-citadel-integral] body .shell>.main :is(.sec-title,.hero-k){font-family:var(--sde-citadel-title)!important;color:#eecb83!important;}
html[data-sde-citadel-integral] body .shell>.main :is(.card,.stat,.panel){
 border-radius:15px!important;border-color:rgba(216,180,85,.25)!important;
 box-shadow:0 8px 25px rgba(0,7,17,.19)!important;
}
html[data-sde-citadel-integral] body .shell>.main .acc-hero{
 background-image:linear-gradient(100deg,rgba(7,18,38,.78),rgba(7,18,38,.25)),var(--sde-citadel-art)!important;
 background-position:center!important;background-size:cover!important;
}
html[data-sde-citadel-integral] body :is(.ref-mobile-tabs,.sde-direct-mobile-tabs){
 background:#071226!important;border-top:1px solid rgba(216,180,85,.32)!important;
}
html[data-sde-citadel-integral] body :is(.ref-shell,.ref-dashboard,.ref-content,.sde-direct) {font-family:var(--sde-citadel-sans)!important;}
html[data-sde-citadel-integral] body :is(.ref-card,.ref-panel,.ref-section,.ref-hero){
 border-radius:16px;border-color:rgba(216,180,85,.28);
}
html[data-sde-citadel-integral] body.sde-reference-login .access-main{
 background:linear-gradient(120deg,rgba(5,14,31,.85),rgba(5,14,31,.54)),var(--sde-citadel-art) 68% center/cover no-repeat!important;
}
html[data-sde-citadel-integral] body.sde-reference-login .access-card{
 border:1px solid rgba(217,181,103,.45)!important;border-radius:21px!important;box-shadow:0 23px 70px rgba(2,10,23,.54)!important;
}
html[data-sde-citadel-integral] body.sde-reference-login .sde-citadelle-login-badge strong{font-family:var(--sde-citadel-title)!important;letter-spacing:.08em;}
/* Images d'archives : ne pas modifier ni supprimer les albums originaux. */
html[data-sde-citadel-integral] .sde-gallery :is(img,picture),html[data-sde-citadel-integral] body:has(.album-infire) img{object-fit:cover;}
@media(max-width:1000px){
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero{min-height:710px!important;padding-bottom:150px!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-inner{grid-template-columns:minmax(0,1fr) minmax(250px,300px)!important;gap:20px!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero h1#titre-accueil{font-size:clamp(2.6rem,5.5vw,4rem)!important;}
}
@media(max-width:760px){
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero{
  min-height:auto!important;padding:65px 16px 85px!important;
  background-position:65% center!important;
 }
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-hero-inner{
  display:flex!important;flex-direction:column!important;gap:22px!important;min-height:auto!important;
 }
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .ap-eyebrow{font-size:.64rem!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero h1#titre-accueil{font-size:clamp(2.45rem,9vw,4rem)!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-tpa-hero-card{width:100%!important;max-width:480px!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-vision{margin:-28px auto 0!important;padding:0 12px 25px!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axes{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis{border-right:0!important;border-bottom:1px solid rgba(245,225,194,.15)!important;min-height:92px!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(n+4){border-bottom:0!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis:nth-child(3n+2){border-inline:1px solid rgba(245,225,194,.15)!important;}
 html[data-sde-citadel-integral] body.sde-tableau .sde-dash-main::before{min-height:85px;}
}
@media(max-width:390px){
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero h1#titre-accueil{font-size:2.28rem!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis{padding:10px 5px!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadel-axis strong{font-size:.69rem!important;}
 html[data-sde-citadel-integral] body.sde-2027-reference .ap-hero .sde-citadel-actions .ap-btn{width:100%!important;}
}
@media(prefers-reduced-motion:reduce){
 html[data-sde-citadel-integral] *,html[data-sde-citadel-integral] *::before,html[data-sde-citadel-integral] *::after {
  animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;
 }
}


/* Citadelle Céleste v3.1 — corrections de recette mobile réelle (14/11/2026).
   Toutes les tailles et contrastes ci-dessous portent sur les éléments
   interactifs réellement rendus, sans modifier les photos d'albums. */
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home
:is(.ap-next,.ap-upcoming,.ap-mission,.ap-panel) {
  background-color:#102440!important;
  background-image:none!important;
  color:#fbf1de!important;
  -webkit-text-fill-color:#fbf1de!important;
  border:1px solid rgba(227,193,117,.32)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home
:is(.ap-next,.ap-upcoming,.ap-mission,.ap-panel)
:is(h2,h3,h4,p,li,dt,dd,strong,span,small) {
  color:#fbf1de!important;
  -webkit-text-fill-color:#fbf1de!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference.sde-premium-home
:is(.ap-next,.ap-upcoming,.ap-mission,.ap-panel) a:not(.ap-btn) {
  color:#f4d487!important;
  -webkit-text-fill-color:#f4d487!important;
}
html[data-sde-citadel-integral] body.sde-subpage #axes ol.six-axes > li{
  background:#faf7f0!important;
  background-image:none!important;
  color:#142138!important;
  -webkit-text-fill-color:#142138!important;
  border:1px solid #cdb77e!important;
  box-shadow:0 10px 28px rgba(0,5,19,.16);
}
html[data-sde-citadel-integral] body.sde-subpage #axes ol.six-axes > li :is(h3,p){
  color:#142138!important;
  -webkit-text-fill-color:#142138!important;
}
html[data-sde-citadel-integral] body.sde-subpage #axes ol.six-axes > li svg{
  color:#79561b!important;
}
html[data-sde-citadel-integral] body.sde-reference-login .ref-access-targets button[aria-pressed="true"]{
  background:#f0ce7e!important;
  background-color:#f0ce7e!important;
  background-image:none!important;
  border-color:#ffe6a1!important;
  color:#18263c!important;
  -webkit-text-fill-color:#18263c!important;
  opacity:1!important;
}
html[data-sde-citadel-integral] body.sde-reference-login .ref-access-targets button[aria-pressed="false"]{
  background-color:#152640!important;
  color:#fff3da!important;
  -webkit-text-fill-color:#fff3da!important;
}
html[data-sde-citadel-integral] body.sde-unifie:not(.sde-tableau) :is(
  nav a,form a,button,[role="button"],summary
) {
  box-sizing:border-box;
  min-height:44px!important;
}
html[data-sde-citadel-integral] body.sde-unifie:not(.sde-tableau) nav a,
html[data-sde-citadel-integral] body.sde-unifie:not(.sde-tableau) form a {
  display:inline-flex;
  align-items:center;
  max-width:100%;
}
html[data-sde-citadel-integral] body.sde-unifie:not(.sde-tableau)
a[href="/confidentialite"] {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  min-height:44px!important;
  max-width:100%;
  padding-block:8px;
}
html[data-sde-citadel-integral] body.sde-shell-mounted .sde-shell-portal{
  min-height:44px!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference
.sde-shell-portal .sde-shell-portal-label{
  display:inline-block!important;
  color:#16233a!important;
  -webkit-text-fill-color:#16233a!important;
  font:800 .8rem/1.1 var(--sde-citadel-sans)!important;
  white-space:nowrap!important;
  min-width:58px;
}
@media(max-width:800px){
  html[data-sde-citadel-integral] body.sde-2027-reference .sde-shell-portal{
    font-size:.76rem!important;
    padding:8px!important;
    width:auto!important;
    min-width:92px!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference
  .sde-shell-portal::after{content:none!important;display:none!important;}
  html[data-sde-citadel-integral] body.sde-2027-reference
  .sde-shell-portal .sde-shell-portal-label{
    font-size:.72rem!important;
    min-width:0;
  }
  html[data-sde-citadel-integral] body.sde-shell-mounted .sde-shell-brand-title b{
    font-size:clamp(.9rem,3.2vw,1.2rem)!important;
  }
  html[data-sde-citadel-integral] body.sde-shell-mounted .sde-shell-head-inner{
    min-height:60px!important;
    max-width:100%!important;
  }
  html[data-sde-citadel-integral] body.sde-unifie.sde-shell-mounted
  .sde-shell-footer nav a{min-height:44px!important;}
  html[data-sde-citadel-integral] body.sde-v5-academy-public
  :is(main.contenu,main.contenu>.enveloppe,.sa-premium-preview,.sa-premium-grid){
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html[data-sde-citadel-integral] body.sde-v5-academy-public main.contenu{
    width:100%!important;
    overflow-wrap:anywhere;
  }
  html[data-sde-citadel-integral] body.sde-v5-academy-public
  .sde-reader-tools{
    position:fixed!important;
    top:69px!important;
    right:11px!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    z-index:115!important;
    display:flex!important;
    max-width:calc(100vw - 22px)!important;
    width:auto!important;
    margin:0!important;
  }
  html[data-sde-citadel-integral] body.sde-v5-academy-public
  .sde-reader-tools button{
    min-height:44px!important;
    background:#132a46!important;
    color:#ffde96!important;
    border:1px solid #ecc985!important;
  }
  /* Ne pas faire passer l'ancien en-tête de 117 à 59px après montage :
     même hauteur avant/après, évite le saut de page sur tablette. */
  html[data-sde-citadel-integral] body.sde-2027-reference:not(.sde-shell-mounted)
  header.site-header{
    box-sizing:border-box!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    overflow:hidden!important;
    padding:0!important;
  }
}


/* RÉPARATION CITADELLE v3.2 : 4 accès directs de l'accueil.
   Évite l'ancienne disposition inline visible sur les captures 360/390px.
   Un seul panneau cohérent, quatre vraies cartes tactiles lisibles. */
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav {
  box-sizing:border-box!important;
  width:100%!important;
  margin:0!important;
  padding:clamp(22px,4vw,48px) clamp(12px,3vw,26px)!important;
  background:linear-gradient(180deg,#071226 0%,#0b1d39 100%)!important;
  border:0!important;
  border-top:1px solid rgba(215,179,99,.18)!important;
  color:#f5ecda!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav-inner {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:22px!important;
  width:min(100%,1200px)!important;
  max-width:1200px!important;
  margin:0 auto!important;
  padding:clamp(18px,3vw,34px)!important;
  background:linear-gradient(140deg,rgba(14,33,61,.99),rgba(8,23,45,.98))!important;
  border:1px solid rgba(232,197,127,.35)!important;
  border-radius:22px!important;
  box-shadow:0 18px 44px rgba(3,10,25,.28)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav-title {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  min-width:0!important;
  width:100%!important;
  padding:0 0 16px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid rgba(232,197,127,.28)!important;
  background:none!important;
  text-align:center!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav-title > span {
  display:block!important;
  color:#e5c67c!important;
  -webkit-text-fill-color:#e5c67c!important;
  font:800 .7rem/1.5 var(--sde-citadel-sans)!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  overflow-wrap:break-word!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav-title > strong {
  display:block!important;
  color:#fff2d7!important;
  -webkit-text-fill-color:#fff2d7!important;
  font:600 clamp(1.16rem,2.4vw,1.7rem)/1.35 var(--sde-citadel-title)!important;
  letter-spacing:0!important;
  overflow-wrap:break-word!important;
  text-wrap:balance!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(10px,1.8vw,16px)!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  width:100%!important;
  min-height:130px!important;
  padding:18px 11px!important;
  margin:0!important;
  background:linear-gradient(150deg,rgba(25,47,76,.95),rgba(13,31,59,.97))!important;
  border:1px solid rgba(231,196,126,.35)!important;
  border-radius:16px!important;
  color:#f8edd8!important;
  -webkit-text-fill-color:#f8edd8!important;
  text-decoration:none!important;
  text-align:center!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a:is(:hover,:focus-visible) {
  background:#1d3655!important;
  border-color:#efcd81!important;
  transform:translateY(-2px)!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a > span:nth-child(2) {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:5px!important;
  align-content:start!important;
  justify-items:center!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a .sde-citadelle-quicknav-icon {
  display:grid!important;
  place-items:center!important;
  flex:none!important;
  width:44px!important;
  height:44px!important;
  margin:0!important;
  padding:0!important;
  border-radius:13px!important;
  background:rgba(221,183,102,.12)!important;
  color:#e9c575!important;
  -webkit-text-fill-color:#e9c575!important;
  font:700 1.65rem/1 var(--sde-citadel-sans)!important;
  text-decoration:none!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a strong {
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  color:#fff1d4!important;
  -webkit-text-fill-color:#fff1d4!important;
  font:800 clamp(.88rem,1.45vw,1.07rem)/1.32 var(--sde-citadel-sans)!important;
  text-decoration:none!important;
  overflow-wrap:break-word!important;
}
html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a small {
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  color:#d8e0e7!important;
  -webkit-text-fill-color:#d8e0e7!important;
  font:500 clamp(.69rem,1vw,.79rem)/1.45 var(--sde-citadel-sans)!important;
  text-decoration:none!important;
  overflow-wrap:break-word!important;
}
@media(max-width:760px) {
  html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav {
    padding:18px 12px 25px!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav-inner {
    padding:18px 13px 17px!important;
    gap:16px!important;
    border-radius:17px!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference .sde-citadelle-quicknav-title{
    padding:0 5px 14px!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a{
    min-height:130px!important;
    padding:13px 8px!important;
  }
}
@media(max-width:370px) {
  html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a {
    padding:10px 6px!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a strong{
    font-size:.85rem!important;
  }
  html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a small {
    font-size:.68rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html[data-sde-citadel-integral] body.sde-2027-reference nav.sde-citadelle-quicknav-items > a {
    transition:none!important;
    transform:none!important;
  }
}


/* Citadelle v3.3 — 44 × 44 px minimum sur les liens de navigation mobiles.
   L'audit Chromium 61 pages du 14/11 a isolé les liens de fil d'Ariane
   et d'informations légales : zones de 34×44 ou de 49×18 px.
   Ne change pas le libellé, la destination, ni les permissions. */
@media (max-width:800px) {
  html[data-sde-citadel-integral] body :is(nav a,footer a,.sde-crumbs a,.fil-ariane a,.breadcrumbs a,a[href="/confidentialite"]) {
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center;
    min-width:44px!important;
    min-height:44px!important;
    max-width:100%;
    vertical-align:middle;
    touch-action:manipulation;
  }
  html[data-sde-citadel-integral] body .sde-shell-bottom a {
    display:flex!important;
    justify-content:center!important;
  }
  html[data-sde-citadel-integral] body .sde-shell-footer :is(nav a,a[href="/confidentialite"]) {
    min-width:44px!important;
    min-height:44px!important;
  }
}

/* Garde-fous finaux de la recette mobile : ce bloc doit rester le dernier. */
html body.sde23-native[data-sde-page="prieres"] .sde-section-jumps{box-sizing:border-box!important;width:min(calc(100% - 24px),1120px)!important;max-width:1120px!important;margin:14px auto 22px!important}
html body.sde-direct #main .annonce.passee{opacity:1!important;background:#142641!important;border-color:rgba(231,196,119,.42)!important}
html body.sde-direct #main .annonce.passee :is(h3,.annonce-t,.hint,span){color:#f7eddb!important;-webkit-text-fill-color:#f7eddb!important;opacity:1!important}
html body.sde-direct #main .annonce.passee .chip{background:#273653!important;border-color:#d4b76f!important}
html body.sde-direct #sde-plus-panel.sde-plus-panel{background:#faf7f0!important;color:#0d1b38!important;-webkit-text-fill-color:#0d1b38!important}
html body.sde-direct #sde-plus-panel.sde-plus-panel>h2{color:#0d1b38!important;-webkit-text-fill-color:#0d1b38!important}
html body.sde-direct #sde-plus-panel.sde-plus-panel>.sde-plus-note{color:#3d4d64!important;-webkit-text-fill-color:#3d4d64!important;opacity:1!important}
html body.sde-direct #sde-plus-panel .sde-plus-card{background:#111f31!important;border-color:rgba(217,167,46,.48)!important;color:#f8eddf!important;-webkit-text-fill-color:#f8eddf!important}
html body.sde-direct #sde-plus-panel .sde-plus-card :is(h3,p,strong,small){color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:1!important}
html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table .fu-chip{background:#efe2ff!important;border-color:#c7a6e7!important;color:#35224e!important;-webkit-text-fill-color:#35224e!important;opacity:1!important}
@media(max-width:720px){
 html body.sde23-native[data-sde-page="prieres"] .sde-section-jumps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:8px!important;overflow:visible!important}
 html body.sde23-native[data-sde-page="prieres"] .sde-section-jumps>a{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:52px!important;padding:9px 8px!important;white-space:normal!important;text-align:center!important;line-height:1.25!important}
 html body.sde-reference .sde-private-motion-row{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
 html body.sde-reference .sde-ambiance-ctl{position:static!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
 html[data-sde-palette] body.sde-reference[data-sde-module="annuaire"] .ops-panel{padding-inline:10px!important}
 html[data-sde-palette] body.sde-reference[data-sde-module="annuaire"] .ops-panel .ops-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
 html[data-sde-palette] body.sde-reference[data-sde-module="annuaire"] .ops-panel .ops-filters label:first-child{grid-column:1/-1!important}
 html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table tbody tr{padding:12px!important;gap:0 10px!important}
 html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table tbody td{padding:6px 0 8px!important;font-size:.84rem!important}
 html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table tbody td:nth-child(5) small{display:none!important}
 html body.sde-direct #main .chiffres{align-items:stretch!important;margin-bottom:12px!important}
 html body.sde-direct #main .chiffre{min-height:0!important;padding:16px!important}
 html body.sde-direct #main .chiffre b{font-size:2.05rem!important}
 html body.sde-direct #main .chiffre-spark{height:24px!important;margin-top:6px!important}
 html body.sde-direct #sde-plus-panel.sde-plus-panel{min-height:0!important;padding:22px 14px 96px!important}
 html body.sde-direct #sde-plus-panel .sde-plus-grid{margin-top:16px!important}
 html body.sde-direct #sde-plus-panel .sde-plus-card{padding:16px!important}
}

/* Recette mobile du 15 novembre 2026 — correctifs issus des écrans réels.
   Ces règles restent en dernier pour protéger la lisibilité contre les
   anciennes palettes encore chargées par certains modules historiques. */
html body.sde23-native[data-sde-page="prieres"] .sde-media-anchor{display:none!important}
html body.sde23-native[data-sde-page="prieres"] .sde-section-jumps{
  box-sizing:border-box!important;
  width:min(calc(100% - 24px),1120px)!important;
  max-width:1120px!important;
  margin:14px auto 22px!important;
}

html body.sde-direct #main .annonce.passee{
  opacity:1!important;
  background:#142641!important;
  border-color:rgba(231,196,119,.42)!important;
}
html body.sde-direct #main .annonce.passee :is(h3,.annonce-t,.hint,span){
  color:#f7eddb!important;
  -webkit-text-fill-color:#f7eddb!important;
  opacity:1!important;
}
html body.sde-direct #main .annonce.passee .chip{
  background:#273653!important;
  border-color:#d4b76f!important;
}

html body.sde-direct #sde-plus-panel.sde-plus-panel{
  background:#faf7f0!important;
  color:#0d1b38!important;
  -webkit-text-fill-color:#0d1b38!important;
}
html body.sde-direct #sde-plus-panel.sde-plus-panel > h2{
  color:#0d1b38!important;
  -webkit-text-fill-color:#0d1b38!important;
}
html body.sde-direct #sde-plus-panel.sde-plus-panel > .sde-plus-note{
  color:#3d4d64!important;
  -webkit-text-fill-color:#3d4d64!important;
  opacity:1!important;
}
html body.sde-direct #sde-plus-panel .sde-plus-card{
  background:#111f31!important;
  border-color:rgba(217,167,46,.48)!important;
  color:#f8eddf!important;
  -webkit-text-fill-color:#f8eddf!important;
}
html body.sde-direct #sde-plus-panel .sde-plus-card :is(h3,p,strong,small){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}

html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table .fu-chip{
  background:#efe2ff!important;
  border-color:#c7a6e7!important;
  color:#35224e!important;
  -webkit-text-fill-color:#35224e!important;
  opacity:1!important;
}

@media(max-width:720px){
  html body.sde23-native[data-sde-page="prieres"] .sde-section-jumps{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:8px!important;
    overflow:visible!important;
  }
  html body.sde23-native[data-sde-page="prieres"] .sde-section-jumps > a{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    padding:9px 8px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.25!important;
  }

  html body.sde-reference .sde-private-motion-row{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
  }
  html body.sde-reference .sde-ambiance-ctl{
    position:static!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }

  html[data-sde-palette] body.sde-reference[data-sde-module="annuaire"] .ops-panel{
    padding-inline:10px!important;
  }
  html[data-sde-palette] body.sde-reference[data-sde-module="annuaire"] .ops-panel .ops-filters{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
  }
  html[data-sde-palette] body.sde-reference[data-sde-module="annuaire"] .ops-panel .ops-filters label:first-child{
    grid-column:1/-1!important;
  }
  html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table tbody tr{
    padding:12px!important;
    gap:0 10px!important;
  }
  html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table tbody td{
    padding:6px 0 8px!important;
    font-size:.84rem!important;
  }
  html[data-sde-palette] body.sde-reference .ops-panel .ops-annuaire-table tbody td:nth-child(5) small{
    display:none!important;
  }

  html body.sde-direct #main .chiffres{
    align-items:stretch!important;
    margin-bottom:12px!important;
  }
  html body.sde-direct #main .chiffre{
    min-height:0!important;
    padding:16px!important;
  }
  html body.sde-direct #main .chiffre b{font-size:2.05rem!important}
  html body.sde-direct #main .chiffre-spark{height:24px!important;margin-top:6px!important}

  html body.sde-direct #sde-plus-panel.sde-plus-panel{
    min-height:0!important;
    padding:22px 14px 96px!important;
  }
  html body.sde-direct #sde-plus-panel .sde-plus-grid{
    margin-top:16px!important;
  }
  html body.sde-direct #sde-plus-panel .sde-plus-card{
    padding:16px!important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SDE 2027 — REFONTE INTÉGRALE À TROIS UNIVERS
   Public : Citadelle Céleste · Privé : Command Center
   Spiritualité : Temple Vivant
   Les trois visuels approuvés sont utilisés sans modification de leurs pixels.
   ═══════════════════════════════════════════════════════════════════════════ */
:root{
 --sde-final-night:#071226;
 --sde-final-night-2:#0d2038;
 --sde-final-ivory:#faf7f0;
 --sde-final-gold:#d8b455;
 --sde-final-violet:#3a245f;
 --sde-final-green:#405a45;
 --sde-final-line:rgba(216,180,85,.38);
 --sde-final-shadow:0 18px 44px rgba(2,9,23,.22);
}

/* Le site public devient la Citadelle Céleste. */
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login){
 background:var(--sde-final-ivory)!important;
 color:var(--sde-final-night)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.site-header,.sde-shell-public){
 background:rgba(7,18,38,.96)!important;
 border-color:var(--sde-final-line)!important;
 box-shadow:0 8px 30px rgba(2,9,23,.18)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.site-header,.sde-shell-public) :is(a,button,strong,span){
 color:#fff5df!important;
 -webkit-text-fill-color:currentColor!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.site-portal-cta,.ap-btn-gold,.sde-button,.sde-form-submit){
 background:linear-gradient(135deg,#f1d58b,var(--sde-final-gold))!important;
 color:var(--sde-final-night)!important;
 -webkit-text-fill-color:var(--sde-final-night)!important;
 border:1px solid #f4dda0!important;
 border-radius:11px!important;
 box-shadow:0 8px 22px rgba(112,77,9,.20)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.ap-panel,.ap-next,.ap-upcoming,.ap-mission,.sde-initiative-card,.sde-premium-pillar){
 background:rgba(255,253,248,.96)!important;
 color:var(--sde-final-night)!important;
 border:1px solid rgba(216,180,85,.30)!important;
 border-radius:16px!important;
 box-shadow:var(--sde-final-shadow)!important;
}
html body:not(.sde-reference):not(.sde-direct):not(.sde-reference-login) :is(.ap-panel,.ap-next,.ap-upcoming,.ap-mission,.sde-initiative-card,.sde-premium-pillar) :is(h2,h3,strong,p,span,small){
 color:inherit!important;
 -webkit-text-fill-color:currentColor!important;
}

/* Accueil public : le visuel Citadelle approuvé reste intact dans son cadre. */
html body.sde-premium-home .ap-hero{
 min-height:clamp(650px,78vh,840px)!important;
 background:
  radial-gradient(circle at 78% 25%,rgba(216,180,85,.18),transparent 32%),
  linear-gradient(115deg,#071226 0%,#0b1a31 52%,#102b47 100%)!important;
 overflow:hidden!important;
 isolation:isolate!important;
}
html body.sde-premium-home .ap-hero::after{
 content:""!important;
 position:absolute!important;
 z-index:0!important;
 inset:6% 3% 6% 46%!important;
 background:url('/vitrine/maquettes/citadelle-celeste-sde.png') center/contain no-repeat!important;
 filter:none!important;
 opacity:1!important;
 pointer-events:none!important;
 border-radius:22px!important;
}
html body.sde-premium-home .ap-hero::before{
 z-index:1!important;
 background:linear-gradient(90deg,#071226 0%,rgba(7,18,38,.94) 36%,rgba(7,18,38,.26) 66%,rgba(7,18,38,.08))!important;
}
html body.sde-premium-home .ap-hero :is(.ap-hero-inner,.ap-hero-content,.ap-hero-copy){position:relative!important;z-index:2!important}
html body.sde-premium-home .ap-hero :is(h1,h2,p,.ap-eyebrow){color:#fff4df!important;-webkit-text-fill-color:#fff4df!important}

/* Les espaces privés deviennent le Command Center, sans toucher aux données. */
html body.sde-reference{
 background:
  linear-gradient(rgba(216,180,85,.035) 1px,transparent 1px),
  linear-gradient(90deg,rgba(216,180,85,.035) 1px,transparent 1px),
  var(--sde-final-night)!important;
 background-size:28px 28px!important;
 color:#f8eddf!important;
}
html body.sde-reference :is(.shell,.ref-toolbar,.sde-reference-header,.ops-panel){
 background-color:transparent!important;
}
html body.sde-reference :is(.ref-sidebar,#sde-reference-sidebar){
 background:linear-gradient(180deg,#09172a,#0c2438 72%,#173524)!important;
 border-color:var(--sde-final-line)!important;
}
html body.sde-reference :is(.ops-card,.ref-kpi,.sv-card,.sv-tile,.sde-tactical-screen,.card){
 background:linear-gradient(145deg,rgba(17,42,62,.98),rgba(8,27,43,.98))!important;
 border:1px solid rgba(216,180,85,.30)!important;
 color:#f8eddf!important;
 border-radius:14px!important;
 box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
html body.sde-reference :is(.ops-card,.ref-kpi,.sv-card,.sv-tile,.sde-tactical-screen,.card) :is(h2,h3,h4,p,strong,b,span,small){
 color:inherit!important;
 -webkit-text-fill-color:currentColor!important;
 opacity:1!important;
}
html body.sde-reference :is(.ops-kpis,.stats) > :nth-child(odd){
 background:linear-gradient(145deg,#183b2d,#102b2c)!important;
}
html body.sde-reference :is(.ops-panel button,.ref-small-action,.sde-plus-button){
 border-radius:10px!important;
}

/* Temple Vivant : pages et modules spirituels. */
html body[data-sde-page="prieres"]{
 background:linear-gradient(180deg,#fffdf8,#f4ede7)!important;
 color:#2c1738!important;
}
html body[data-sde-page="prieres"] .sde-intro{
 position:relative!important;
 min-height:clamp(470px,64vh,690px)!important;
 display:grid!important;
 align-content:center!important;
 padding-right:min(52vw,720px)!important;
 background:
  linear-gradient(90deg,rgba(42,18,49,.96) 0%,rgba(58,36,95,.82) 42%,rgba(58,36,95,.14) 68%,rgba(58,36,95,.04)),
  url('/vitrine/maquettes/temple-vivant-sde.png') center/cover no-repeat!important;
 color:#fff9ed!important;
 border-bottom:4px solid var(--sde-final-gold)!important;
}
html body[data-sde-page="prieres"] .sde-intro :is(h1,p,a,.sde-kicker){color:#fff9ed!important;-webkit-text-fill-color:#fff9ed!important}
html body[data-sde-page="prieres"] :is(.sde-initiative-section,.sde-archive-gallery){background:#fffdf8!important;color:#2c1738!important}
html body[data-sde-page="prieres"] :is(.sde-initiative-card,.sde-initiative-form){
 background:rgba(255,253,248,.98)!important;
 color:#2c1738!important;
 border:1px solid rgba(58,36,95,.20)!important;
 box-shadow:0 14px 35px rgba(58,36,95,.12)!important;
}
html body[data-sde-page="prieres"] :is(.sde-initiative-card,.sde-initiative-form) :is(h2,h3,p,strong,label,span){color:inherit!important;-webkit-text-fill-color:inherit!important}
html body[data-sde-page="prieres"] .sde-section-jumps-cta{background:var(--sde-final-violet)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.sde-reference[data-sde-module="chambre"] .ops-panel,
html body.sde-reference[data-sde-module="prieres"] .ops-panel{
 background:linear-gradient(145deg,rgba(58,36,95,.28),rgba(7,18,38,.15))!important;
 border-top:3px solid #8d6ab5!important;
}

@media(max-width:900px){
 html body.sde-premium-home .ap-hero::after{inset:20% -10% 4% 30%!important;opacity:.72!important}
 html body.sde-premium-home .ap-hero::before{background:linear-gradient(180deg,#071226 0%,rgba(7,18,38,.92) 52%,rgba(7,18,38,.45))!important}
 html body[data-sde-page="prieres"] .sde-intro{padding-right:24px!important;background-position:62% center!important}
}
@media(max-width:600px){
 html body.sde-premium-home .ap-hero{min-height:720px!important}
 html body.sde-premium-home .ap-hero::after{inset:42% -20% 2% -20%!important;background-size:contain!important;opacity:.58!important}
 html body[data-sde-page="prieres"] .sde-intro{min-height:590px!important;padding:110px 22px 70px!important;background-position:68% center!important}
 }

html { background: var(--sde-citadel-navy); scroll-behavior: smooth; }
body { font-family: var(--sde-citadel-sans); background: var(--sde-citadel-navy); color: var(--sde-citadel-ivory); }
body::selection { background: var(--sde-citadel-gold); color: var(--sde-citadel-navy); }
h1, h2, h3, .site-brand b, .sde-citadel-title { font-family: var(--sde-citadel-title); letter-spacing: .025em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sde-citadel-gold); outline-offset: 4px; }

.site-header, .sde-shell-public, .sde-dash-sidebar { background: rgb(7 18 38 / .92); border-color: var(--sde-citadel-line); backdrop-filter: blur(18px); }
.site-menu a, .site-brand, .site-search, .sde-dash-side-nav a { color: var(--sde-citadel-ivory); }
.site-menu a[aria-current="page"], .site-menu a:hover, .site-brand:hover { color: var(--sde-citadel-gold); }
.site-portal-cta, .ap-btn-gold, .sde-shell-event-register, .sde-button, .sde-citadel-cta { background: var(--sde-citadel-gold); color: var(--sde-citadel-navy); border-color: transparent; font-weight: 800; }
.site-portal-cta:hover, .ap-btn-gold:hover, .sde-shell-event-register:hover, .sde-button:hover, .sde-citadel-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.ap-btn-ghost, .sde-shell-event, .sde-premium-pillar, .sdu-card, .sde-2027-academy-feature, .sde-dash-panel, .sde-dash-card { border-color: var(--sde-citadel-line); box-shadow: var(--sde-citadel-shadow); }
.ap-next, .ap-upcoming, .ap-mission, .ap-panel, .ap-indicateurs { background:#FAF7F0!important; color:#0D1B38!important; -webkit-text-fill-color:#0D1B38!important; }
.ap-hero::before, .sde-citadel-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgb(216 180 85 / .18), transparent 34%), linear-gradient(110deg, rgb(7 18 38 / .94), rgb(7 18 38 / .52)); pointer-events: none; }
.ap-hero .ap-hero-bg { background-image: linear-gradient(94deg, rgb(7 18 38 / .94), rgb(7 18 38 / .45)), url("/vitrine/photos/hero-sde-1280.webp"); background-position: center; background-size: cover; }
.ap-hero h1#titre-accueil { font-size: clamp(4rem,6.2vw,7.1rem); line-height: .94; }
.ap-hero-inner { position: relative; }
.sde-citadelle-foundation, .sde-citadel-eyebrow, .sde-tpa-kicker { color: var(--sde-citadel-gold); letter-spacing: .13em; }
.sde-citadel-axes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.sde-citadel-axis { min-height: 7.5rem; display: grid; align-content: space-between; padding: 1rem; border: 1px solid var(--sde-citadel-line); border-radius: var(--sde-citadel-radius); background: linear-gradient(145deg, rgb(244 235 221 / .1), rgb(244 235 221 / .03)); color: var(--sde-citadel-ivory); }
.sde-citadel-axis strong { color: var(--sde-citadel-gold); font-family: var(--sde-citadel-title); }
.sde-citadel-axis small { color: color-mix(in srgb, var(--sde-citadel-ivory) 82%, transparent); }
.sde-citadel-prayer { --sde-context: var(--sde-citadel-violet); border-color: color-mix(in srgb, var(--sde-citadel-violet) 62%, var(--sde-citadel-ivory)); }
.sde-citadel-mission { --sde-context: var(--sde-citadel-green); border-color: color-mix(in srgb, var(--sde-citadel-green) 72%, var(--sde-citadel-ivory)); }
.sde-citadel-private { background: linear-gradient(145deg, #0b1830, #111d34); }
.sde-citadel-loading, .sde-citadel-empty, .sde-citadel-error { border: 1px dashed var(--sde-citadel-line); border-radius: var(--sde-citadel-radius); padding: 1rem; color: var(--sde-citadel-ivory); }
body.sde-2027-reference, body.sde-reference-login, body.sde-v5-academy-public, body.sde-campus-student, body.sde-direct, body.sde-direct-admin { font-family:var(--sde-citadel-sans); }
html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live .ap-hero .ap-hero-bg { background-image:linear-gradient(94deg,rgb(7 18 38 / .94),rgb(7 18 38 / .45)),url("/vitrine/photos/hero-sde-1280.webp")!important; }
.sde-vision-wordmark, .sde-citadelle-login-badge { color:var(--sde-citadel-gold); font-family:var(--sde-citadel-title); letter-spacing:.12em; }
.sde-citadelle-quicknav-items { display:flex; flex-wrap:wrap; gap:.7rem; }
.sde-citadelle-member-cover { background:linear-gradient(135deg,#0b1830,#17284a); border:1px solid var(--sde-citadel-line); border-radius:var(--sde-citadel-radius); }
.sa-premium-grid .sa-premium-card summary strong{color:#142641!important;-webkit-text-fill-color:#142641!important}
.ref-access-targets button[aria-pressed="true"]{background:var(--sde-citadel-gold);color:#132139!important;-webkit-text-fill-color:#132139!important}
.sde-shell-portal-label{font-weight:800;color:var(--sde-citadel-gold)}
.sde-reader-tools{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
#axes ol.six-axes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:0;list-style:none}
#axes ol.six-axes > li{min-height:100%;padding:1rem;border:1px solid var(--sde-citadel-line);border-radius:var(--sde-citadel-radius)}
html body.sde23-native.sde-unifie.sde-subpage.sde-ivoire.sde-pole #contenu .sde-initiative-card { background:#FAF7F0!important; color:#0D1B38!important; }
html body.sde23-native.sde-unifie.sde-subpage.sde-ivoire.sde-pole #contenu .sde-initiative-card p { color:#2B3851!important; -webkit-text-fill-color:#2B3851!important; }
html body.sde23-native.sde-unifie.sde-subpage.sde-ivoire.sde-pole #contenu .sde-initiative-card :is(h2,h3,strong,a) { color:#0D1B38!important; -webkit-text-fill-color:#0D1B38!important; }

/* Private command centre: keep the compact mobile launch controls aligned. */
body.sde-reference-admin .sde-citadelle-command-launch { display: grid; grid-template-columns:minmax(0,1fr)!important; gap: .75rem; }
.sde-citadelle-command-launch > button > svg { flex-basis:34px!important; color: var(--sde-citadel-gold); }
.sde-citadelle-command-launch > button > span { min-width:0; }
.sde-direct #main .view { min-width: 0; }
#main .view .list .row .row-t, #main .view .list .row .row-m, #main .view .stat-v, #main .view .card .bar-top, #main .view .seg button, #sheet .sheet-b .vy-t { color:var(--sde-citadel-ivory); -webkit-text-fill-color:currentColor; }
#main .view .seg button { min-height:44px!important; }

@media (max-width: 900px) {
  .sde-citadel-axes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sde-citadel-axis { min-height: 6.25rem; }
  .site-header { padding-inline: max(1rem, env(safe-area-inset-left)); }
}
@media(max-width:860px) { .ap-next, .ap-upcoming, .ap-mission, .ap-panel { min-height:auto; } }
@media(max-width:960px) { .ap-hero h1#titre-accueil { font-size: clamp(3.3rem,8vw,5.2rem); } }
@media(max-width:699px) { #axes ol.six-axes { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { body.sde-reference-admin .sde-citadelle-command-launch { gap: .55rem; } }
@media(max-width:640px) { .sde-direct #main .view { padding-inline: .9rem; } }
@media(max-width:540px) { #axes ol.six-axes { grid-template-columns:1fr; } }
@media (max-width: 390px) { .sde-citadel-axes { gap: .55rem; } .sde-citadel-axis { padding: .8rem; font-size: .9rem; } }
@media(max-width:390px) { .ap-hero h1#titre-accueil { font-size: clamp(2.8rem,10vw,3.7rem); } .ap-hero .ap-hero-bg { background-image: linear-gradient(94deg, rgb(7 18 38 / .94), rgb(7 18 38 / .45)), url("/vitrine/photos/hero-sde-640.webp"); } }
@media(max-width:390px) { html body.sde-unifie.sde-premium-home.sde-2027-reference.sde-citadelle-live .ap-hero .ap-hero-bg { background-image:url("/vitrine/photos/hero-sde-640.webp")!important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media(prefers-reduced-motion:reduce) { .ap-hero .ap-hero-bg { transform: none !important; } }
[hidden]{display:none!important}


/* REFONTE INTÉGRALE V3 — CITADELLE CÉLESTE, d'après les planches du 14 novembre 2026.
   Styles de finition; les styles métier existants subsistent uniquement pour leur structure.
   La bannière est une illustration et les photographies historiques restent dans les albums. */
