/* =========================================================
   EXCLUSIF — Sitemap Premium SAFE
   Module : #mod_21402706
   Objectif :
   - habillage uniquement
   - backoffice prioritaire
   - aucun JS
   - aucune dépendance au nombre d'items
   - aucune dépendance au texte ou aux URLs
   - scope strict anti-cobra
   ========================================================= */

/* =========================
   CONTENEUR GLOBAL
   Décor uniquement
   ========================= */
html body #mod_21402706.wm-module{
  --xs-bg-top: #15213a;
  --xs-bg-bottom: #0d1322;
  --xs-surface: rgba(255,255,255,.045);
  --xs-surface-2: rgba(255,255,255,.03);
  --xs-border: rgba(255,255,255,.08);
  --xs-border-strong: rgba(231,190,96,.18);
  --xs-text: #f4f7fb;
  --xs-text-soft: rgba(244,247,251,.78);
  --xs-gold: #e7be60;
  --xs-gold-2: #f4d58d;
  --xs-blue: #78b8ff;
  --xs-shadow: 0 16px 42px rgba(0,0,0,.24);
  --xs-radius-xl: 22px;
  --xs-radius-lg: 16px;
  --xs-radius-md: 10px;

  position: relative;
  margin: 20px 0 30px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(231,190,96,.10), transparent 58%),
    radial-gradient(700px 240px at 100% 0%, rgba(120,184,255,.08), transparent 56%),
    linear-gradient(180deg, var(--xs-bg-top) 0%, var(--xs-bg-bottom) 100%);
  box-shadow: var(--xs-shadow);
}

html body #mod_21402706.wm-module::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* =========================
   HEADER
   Habillage uniquement
   ========================= */
html body #mod_21402706 .entete{
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

html body #mod_21402706 .entete .fullmod{
  position: relative;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

html body #mod_21402706 .entete .fullmod > span{
  position: relative;
  display: inline-block;
  padding-left: 18px;
  color: var(--xs-text);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .015em;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
}

html body #mod_21402706 .entete .fullmod > span::before{
  content: "";
  position: absolute;
  left: 0;
  top: .08em;
  bottom: .08em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--xs-gold-2), var(--xs-gold));
  box-shadow: 0 0 14px rgba(231,190,96,.22);
}

html body #mod_21402706 .entete .fullmod::after{
  content: "";
  display: block;
  margin-top: 14px;
  width: 110px;
  max-width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(231,190,96,.95), rgba(120,184,255,.35), transparent);
}

/* =========================
   CORPS
   Respecte le flux CMS :
   - 2 ul.plan.left
   - br.clear
   - 1 ul.plan
   ========================= */
html body #mod_21402706 .cel1{
  padding: 22px;
  background: transparent;
}

html body #mod_21402706 .cel1 > .inner{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

/* deux blocs du haut sans dépendre de leur contenu */
html body #mod_21402706 .cel1 > .inner > ul.plan.left{
  flex: 1 1 calc(50% - 9px);
  min-width: 280px;
}

/* clear CMS conservé */
html body #mod_21402706 .cel1 > .inner > br.clear{
  display: block;
  flex-basis: 100%;
  width: 100%;
  height: 0;
  line-height: 0;
  font-size: 0;
}

/* grand bloc du bas */
html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left){
  flex: 1 1 100%;
  width: 100%;
}

/* =========================
   PANNEAUX
   Aucune hypothèse sur le nombre de lignes
   ========================= */
html body #mod_21402706 ul.plan{
  list-style: none;
  margin: 0;
  padding: 16px 16px 14px;
  min-width: 0;
  border: 1px solid var(--xs-border);
  border-radius: var(--xs-radius-xl);
  background:
    linear-gradient(180deg, var(--xs-surface), var(--xs-surface-2));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 28px rgba(0,0,0,.14);
}

html body #mod_21402706 .cel1 > .inner > ul.plan.left{
  position: relative;
}

html body #mod_21402706 .cel1 > .inner > ul.plan.left::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(360px 120px at 100% 0%, rgba(120,184,255,.06), transparent 62%);
}

html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left){
  padding: 18px 18px 16px;
  border-color: var(--xs-border-strong);
  background:
    radial-gradient(760px 210px at 100% 0%, rgba(120,184,255,.08), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
}

html body #mod_21402706 ul.plan:hover{
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 16px 34px rgba(0,0,0,.18);
}

/* =========================
   TITRES DE BLOCS
   Supporte le <br> CMS éventuel
   ========================= */
html body #mod_21402706 ul.plan > li.titre{
  position: relative;
  display: block;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--xs-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: .012em;
}

html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left) > li.titre{
  font-size: 19px;
}

html body #mod_21402706 ul.plan > li.titre br{
  display: none;
}

/* =========================
   ITEMS
   Aucun ciblage sur un item précis
   ========================= */
html body #mod_21402706 li.rubrique,
html body #mod_21402706 li.webservice,
html body #mod_21402706 li.srubrique{
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}

html body #mod_21402706 li.rubrique + li.rubrique,
html body #mod_21402706 li.webservice + li.webservice,
html body #mod_21402706 li.srubrique + li.srubrique{
  margin-top: 2px;
}

/* anciennes puces CMS masquées visuellement seulement */
html body #mod_21402706 li.rubrique > img.image,
html body #mod_21402706 li.webservice > img.image,
html body #mod_21402706 li.srubrique > img.image{
  display: none !important;
}

/* =========================
   LIENS
   Le back change librement les textes/liens
   ========================= */
html body #mod_21402706 li.rubrique > a,
html body #mod_21402706 li.webservice > a,
html body #mod_21402706 li.srubrique > a{
  position: relative;
  display: block;
  min-width: 0;
  padding: 9px 10px 9px 30px;
  border-radius: var(--xs-radius-md);
  color: var(--xs-text-soft);
  text-decoration: none;
  line-height: 1.42;
  word-break: break-word;
  transition:
    color .18s ease,
    background-color .18s ease;
}

html body #mod_21402706 li.rubrique > a:hover,
html body #mod_21402706 li.webservice > a:hover,
html body #mod_21402706 li.srubrique > a:hover{
  color: #fff;
  background: rgba(255,255,255,.045);
}

/* rubriques et webservices */
html body #mod_21402706 li.rubrique > a::before,
html body #mod_21402706 li.webservice > a::before{
  content: "";
  position: absolute;
  left: 12px;
  top: 1.03em;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--xs-gold-2);
  border-right: 2px solid var(--xs-gold-2);
  transform: translateY(-50%) rotate(45deg);
  opacity: .95;
  box-shadow: 0 0 10px rgba(231,190,96,.08);
}

/* derniers articles */
html body #mod_21402706 li.srubrique > a::before{
  content: "";
  position: absolute;
  left: 12px;
  top: 1.03em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--xs-blue), var(--xs-gold-2));
  box-shadow:
    0 0 0 4px rgba(120,184,255,.07),
    0 0 12px rgba(120,184,255,.12);
}

/* grand bloc : un peu plus d’air */
html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left) li.srubrique > a{
  padding-top: 10px;
  padding-bottom: 10px;
}

/* accessibilité */
html body #mod_21402706 a:focus-visible{
  outline: 2px solid rgba(244,213,141,.76);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(244,213,141,.10);
}

/* =========================
   RESPONSIVE
   Sans hypothèse sur le nombre d'items
   ========================= */
@media (max-width: 900px){
  html body #mod_21402706 .cel1{
    padding: 16px;
  }

  html body #mod_21402706 .entete .fullmod{
    padding: 16px 16px 12px;
  }

  html body #mod_21402706 .cel1 > .inner > ul.plan.left,
  html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left){
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px){
  html body #mod_21402706.wm-module{
    border-radius: 22px;
  }

  html body #mod_21402706 ul.plan{
    padding: 14px;
    border-radius: 18px;
  }

  html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left){
    padding: 14px;
  }

  html body #mod_21402706 .entete .fullmod > span{
    font-size: 22px;
  }

  html body #mod_21402706 ul.plan > li.titre{
    font-size: 17px;
  }

  html body #mod_21402706 .cel1 > .inner > ul.plan:not(.left) > li.titre{
    font-size: 18px;
  }

  html body #mod_21402706 li.rubrique > a,
  html body #mod_21402706 li.webservice > a,
  html body #mod_21402706 li.srubrique > a{
    padding-left: 28px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce){
  html body #mod_21402706 *,
  html body #mod_21402706 *::before,
  html body #mod_21402706 *::after{
    transition: none !important;
    animation: none !important;
  }
}