:root{
  --navy:#0c2247; --navy-2:#1d4f8f; --navy-3:#071730;
  --gold:#d6ad2f; --gold-light:#f2d98a;
  --paper:#f5f6f8; --card:#ffffff;
  --ink:#131826; --ink-soft:#4a5164;
  --line:#d3d9e3;
  --red:#b3272c; --red-deep:#7c1a1e;
  --shadow: 0 1px 2px rgba(12,34,71,.08), 0 8px 24px -12px rgba(12,34,71,.22);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.topbar {
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar a { color: #fff; text-decoration: none; margin-left: 18px; font-size: 14px; }
.topbar a:hover { text-decoration: underline; }
.topbar .brand { font-weight: 700; letter-spacing: .02em; }

main { max-width: 760px; margin: 0 auto; padding: 32px 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

h1 { color: var(--navy); margin-top: 0; }

label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }

input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

button, .btn {
  display: inline-block;
  margin-top: 18px;
  margin-right: 10px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.btn.gold { background: var(--gold); color: var(--navy); }
.btn.ghost { background: transparent; border: 1px solid var(--navy); color: var(--navy); }

.success { background: #e7f4ea; border: 1px solid #2f6b4f; color: #1e4632; padding: 14px; border-radius: 8px; }
.error { background: #fbe9ea; border: 1px solid var(--red); color: var(--red-deep); padding: 14px; border-radius: 8px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.civil { background: #eee; color: #555; }
.badge.cadet { background: #e3ecf8; color: var(--navy-2); }
.badge.agent { background: #fdf1d0; color: #8a6a1f; }
.badge.formateur { background: #fbe0e1; color: var(--red-deep); }
.badge.etat_major { background: var(--navy); color: #fff; }

@media (max-width: 500px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .topbar a { margin-left: 0; margin-right: 14px; }
}

/* =====================================================================
   En-tête / pied de page communs (partials/header.ejs, partials/footer.ejs)
   ===================================================================== */
.site-header {
  background: linear-gradient(180deg, var(--navy), var(--navy-3));
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.site-header-inner {
  max-width: 1140px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.site-brand img { width: 46px; height: 46px; object-fit: contain; }
.site-brand strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 1.02rem; line-height: 1.1; }
.site-brand small { display: block; font-family: "Oswald", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-size: .7rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  color: #dfe6f2; text-decoration: none; font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: .06em; font-size: .82rem; padding: 8px 12px; border-radius: 4px;
}
.site-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav a.nav-cta { border: 1px solid var(--gold); color: var(--gold-light); }
.site-nav a.nav-cta:hover { background: var(--gold); color: var(--navy-3); }

.site-footer { background: var(--navy-3); color: #c9d2e3; margin-top: 40px; border-top: 3px solid var(--gold); }
.site-footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 28px 20px 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.footer-brand span { font-size: .8rem; color: var(--gold-light); letter-spacing: .04em; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #c9d2e3; text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-note { max-width: 1140px; margin: 0 auto; padding: 10px 20px 26px; font-size: .76rem; color: #8894ab; }

/* =====================================================================
   Page d'accueil (views/accueil.ejs)
   ===================================================================== */
main.home { max-width: none; padding: 0; }
.home h1, .home h2, .home h3 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.home p { font-family: var(--police, "Inter", system-ui, sans-serif); }
.home .btn { margin: 0; border-radius: 4px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.home .btn.gold { font-weight: 600; }
.btn.outline-light { background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn.outline-light:hover { background: rgba(255,255,255,.1); }

.eyebrow {
  display: block; font-family: "Oswald", sans-serif; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #f3f5fa;
  background:
    linear-gradient(115deg, rgba(7,23,48,.97) 0%, rgba(12,34,71,.93) 55%, rgba(124,26,30,.85) 100%),
    var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(214,173,47,.05) 0 2px, transparent 2px 28px);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--red-deep), var(--gold), var(--navy-2));
}
.hero-inner {
  position: relative; max-width: 1140px; margin: 0 auto; padding: 64px 20px 72px;
  display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center;
}
.hero-shield { width: 240px; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; max-width: 18ch; }
.hero .lede { font-size: 1.08rem; color: #dbe2ef; max-width: 60ch; margin: 18px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Sections */
.section { max-width: 1140px; margin: 0 auto; padding: 64px 20px 8px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.section-lede { color: var(--ink-soft); margin: 8px 0 0; max-width: 62ch; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark .eyebrow { color: var(--gold-light); }

/* Présentation */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.about-text p { font-size: 1.05rem; color: var(--ink); margin: 0 0 14px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.values li {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 6px; padding: 14px 18px; box-shadow: var(--shadow);
}
.values strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.values span { font-size: .93rem; color: var(--ink-soft); }

/* Divisions */
.div-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.div-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  padding: 20px 16px 18px; text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.div-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 30px -16px rgba(12,34,71,.4); }
.div-card img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 12px; }
.div-card h3 { font-size: .98rem; color: var(--navy); line-height: 1.2; }
.div-tag { font-family: "Oswald", sans-serif; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 4px; display: block; }
.div-card p { font-size: .86rem; color: var(--ink-soft); margin: 10px 0 0; }

.quals { margin-top: 18px; display: grid; gap: 16px; }
.qual {
  display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px dashed var(--gold);
  border-radius: 8px; padding: 14px 18px;
}
.qual img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.qual h3 { font-size: 1rem; color: var(--navy); }
.qual p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); }

/* Bandeau recrutement */
.band { margin-top: 64px; background: linear-gradient(135deg, var(--navy-3), var(--navy) 60%, var(--navy-2)); color: #fff; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.band-inner { max-width: 1140px; margin: 0 auto; padding: 52px 20px; }
.steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(242,217,138,.25); border-radius: 8px; padding: 16px 14px; }
.steps span {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy-3); font-family: "Oswald", sans-serif; font-weight: 700; margin-bottom: 10px;
}
.steps strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.steps small { color: #b9c4d8; font-size: .82rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 8px; padding: 20px; box-shadow: var(--shadow); transition: transform .15s;
}
a.service:hover { transform: translateY(-3px); }
.service strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); font-size: 1.02rem; }
.service span { font-size: .92rem; color: var(--ink-soft); }
.service em { margin-top: auto; font-style: normal; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--red); }
.service.soon { border-top-color: var(--line); opacity: .75; }
.service.soon em { color: var(--ink-soft); }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.partner img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 6px; }
.partner strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); font-size: .95rem; }
.partner span { font-size: .86rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 44px 16px 52px; gap: 20px; }
  .hero-shield { width: 150px; margin: 0 auto; }
  .hero h1 { margin: 0 auto; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .about { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 16px 8px; }
  .site-nav { width: 100%; }
}
@media (max-width: 480px) {
  .services { grid-template-columns: 1fr; }
  .div-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .div-card img { width: 88px; height: 88px; }
  .div-card p { display: none; }
}
@media (max-width: 760px) {
  .site-header { position: static; }
  .site-nav a { font-size: .76rem; padding: 6px 9px; }
}

/* =====================================================================
   Espace agents (views/agents/*)
   ===================================================================== */
body.intranet { background: #eef1f6; font-family: var(--police, "Inter", system-ui, sans-serif); }
.intranet h1, .intranet h2, .intranet h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; margin: 0; color: var(--navy); }
.intranet .eyebrow { color: var(--gold-deep, #a9821f); }

.intra-top {
  background: var(--navy-3); color: #fff; border-bottom: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 10px 20px; position: sticky; top: 0; z-index: 50;
}
.intra-brand { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; }
.intra-brand img { width: 38px; height: 38px; object-fit: contain; }
.intra-brand strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.intra-brand small { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; color: var(--gold-light); }
.intra-user { display: flex; align-items: center; gap: 10px; }
.intra-user-txt strong { display: block; font-family: "Oswald", sans-serif; letter-spacing: .03em; font-size: .92rem; }
.intra-user-txt small { display: block; font-size: .74rem; color: #b9c4d8; }
.intra-user form { margin: 0; }
.intra-logout {
  margin: 0 0 0 6px; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #dfe6f2;
  padding: 7px 12px; border-radius: 4px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; font-weight: 500;
}
.intra-logout:hover { background: var(--red); border-color: var(--red); color: #fff; }

.intra-shell { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 62px); }
.intra-nav { background: var(--navy); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.intra-nav a, .intra-nav .soon {
  display: block; padding: 10px 12px; border-radius: 4px; color: #dfe6f2; text-decoration: none;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; border-left: 3px solid transparent;
}
.intra-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.intra-nav a[aria-current="page"] { background: rgba(214,173,47,.14); color: var(--gold-light); border-left-color: var(--gold); }
.intra-nav .soon { color: #7f8ba3; cursor: default; }
.intra-nav .soon em { font-style: normal; font-size: .62rem; border: 1px solid #56617a; border-radius: 10px; padding: 1px 6px; margin-left: 4px; }
.intra-nav hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 12px 4px; width: auto; }

.intra-main { padding: 28px 28px 60px; max-width: 1100px; width: 100%; min-width: 0; }
.intra-section { margin-top: 28px; }
.intra-section h2 { font-size: 1.1rem; margin-bottom: 14px; }
.intra-section > h1 { font-size: 1.7rem; }
.lede-intra { color: var(--ink-soft); margin: 6px 0 0; }
.note { color: var(--ink-soft); font-size: .86rem; margin-top: 10px; }
.alerte { background: #fff6dc; border: 1px solid var(--gold); color: #6b5314; padding: 12px 16px; border-radius: 6px; margin-top: 18px; }

/* Carte de bienvenue */
.intra-hello {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-3), var(--navy) 60%, var(--navy-2)); color: #fff;
  border-radius: 10px; padding: 24px 28px; border: 1px solid var(--gold); box-shadow: var(--shadow);
}
.intra-hello h1 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.intra-hello .eyebrow { color: var(--gold-light); margin-bottom: 4px; }
.profil { display: flex; align-items: center; gap: 18px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.badge.neutre { background: rgba(255,255,255,.12); color: #fff; }
.intra-hello .badge { font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.25); }
.intra-hello .badge.etat_major { background: var(--gold); color: var(--navy-3); border-color: var(--gold); }
.profil-insigne { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gold-light); }
.profil-insigne small { font-size: .74rem; color: #b9c4d8; }

/* Insignes */
.insigne { object-fit: contain; flex: none; display: inline-block; }
.insigne-generique { color: var(--gold); }
.insigne-generique svg { width: 100%; height: 100%; display: block; }
.intra-top .insigne-generique { color: var(--gold-light); }

/* Compteurs état-major */
.compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.compteur { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 8px; padding: 16px 18px; box-shadow: var(--shadow); }
.compteur strong { display: block; font-family: "Oswald", sans-serif; font-size: 2rem; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.compteur span { color: var(--ink-soft); font-size: .88rem; }

/* Tuiles */
.tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tuile {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 18px; box-shadow: var(--shadow); transition: transform .15s;
}
a.tuile:hover { transform: translateY(-2px); border-color: var(--gold); }
.tuile strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.tuile span { color: var(--ink-soft); font-size: .9rem; }
.tuile em { margin-top: auto; font-style: normal; font-family: "Oswald", sans-serif; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.tuile.soon { border-left-color: var(--line); opacity: .72; }

/* Page grades */
.cat-titre { margin: 30px 0 12px; font-size: .95rem !important; color: var(--red) !important; letter-spacing: .12em !important; }
.grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.grade {
  display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; position: relative;
}
.grade strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.grade > div span { font-size: .82rem; color: var(--ink-soft); }
.grade.moi { border: 2px solid var(--gold); background: #fffaf0; }
.grade em { position: absolute; top: 8px; right: 10px; font-style: normal; font-family: "Oswald", sans-serif; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--navy-3); padding: 2px 7px; border-radius: 10px; }

@media (max-width: 820px) {
  .intra-shell { grid-template-columns: minmax(0, 1fr); }
  .intra-nav, .intra-main { min-width: 0; }
  .intra-nav { flex-direction: row; overflow-x: auto; padding: 8px; gap: 4px; position: sticky; top: 0; }
  .intra-nav a, .intra-nav .soon { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .intra-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .intra-nav hr { display: none; }
  .intra-top { position: static; }
  .intra-user-txt { display: none; }
  .intra-main { padding: 20px 16px 48px; }
  .compteurs { grid-template-columns: 1fr; }
}

/* Dossier agent */
.dossier-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 14px; }
.dossier-bloc { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.dossier-bloc .lbl { font-family: "Oswald", sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.dossier-bloc strong { color: var(--navy); }
.statut { margin-top: 8px; font-family: "Oswald", sans-serif; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.statut.ok { background: #e3f3ea; color: #1e6b45; }
.statut.attente { background: #fff1d6; color: #8a5a10; }
.statut.off { background: #eceff4; color: #5a6275; }
.mes-divs { display: flex; flex-direction: column; gap: 8px; }
.ma-div { display: flex; align-items: center; gap: 10px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: .88rem; color: var(--navy); }
.ma-div img { width: 40px; height: 40px; object-fit: contain; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; background: #eef2f8; border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; color: var(--navy); }
.chip.hab { background: #fbf4df; border-color: #ead7a0; color: #6b5314; }
@media (max-width: 960px) { .dossier-grid { grid-template-columns: 1fr; } }

/* Dossier RH */
.fil { margin: 0 0 12px; } .fil a { color: var(--navy-2); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; text-decoration: none; }
.rh-tete {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-3), var(--navy) 60%, var(--navy-2)); color: #fff;
  border-radius: 10px; padding: 22px 26px; border: 1px solid var(--gold); box-shadow: var(--shadow);
}
.rh-tete h1 { color: #fff; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.rh-tete .eyebrow { color: var(--gold-light); margin-bottom: 4px; }
.rh-identite { display: flex; align-items: center; gap: 18px; }
.rh-identite img { width: 84px; height: 84px; object-fit: contain; }
.rh-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.rh-meta dt { font-family: "Oswald", sans-serif; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.rh-meta dd { margin: 0; font-weight: 600; }
.compteurs.cinq { grid-template-columns: repeat(5, 1fr); }
.compteurs.cinq .compteur strong { font-size: 1.5rem; }
.rh-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.rh-2col .dossier-bloc h2 { margin-bottom: 12px; }
.rh-kv { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rh-kv th { text-align: left; font-weight: 400; color: var(--ink-soft); padding: 7px 0; border-bottom: 1px solid var(--line); }
.rh-kv td { text-align: right; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rh-kv .statut { margin: 0; }
.mes-divs.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.mes-divs.grille .ma-div { font-size: .78rem; }
.mes-divs.grille img { width: 34px; height: 34px; }
.statut.ko { background: #fbe3e4; color: var(--red-deep); }
.statut.neutre { background: #eceff4; color: var(--navy); }
.tags .statut { margin-top: 0; }
.vide { color: var(--ink-soft); font-style: italic; margin: 4px 0 0; }
.sous { display: block; color: var(--ink-soft); font-size: .78rem; margin-top: 3px; }
.tableau { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.tableau table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tableau th { text-align: left; font-family: "Oswald", sans-serif; font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: #f5f7fb; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tableau td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td .statut { margin: 0 4px 0 0; display: inline-block; }
.tableau a { color: var(--navy); text-decoration: none; } .tableau a:hover { text-decoration: underline; }
.liste-rh { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.liste-rh li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.liste-rh li strong { color: var(--navy); margin-right: 8px; }
.liste-rh li .statut { margin: 0; display: inline-block; }
.liste-rh li p { margin: 6px 0 0; font-size: .9rem; }
.notes { white-space: pre-wrap; font-size: .92rem; }
.recherche { width: 100%; max-width: 420px; margin: 16px 0 14px; }
.point-service { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2f9e62; margin-left: 6px; box-shadow: 0 0 0 3px rgba(47,158,98,.18); }
@media (max-width: 960px) {
  .compteurs.cinq { grid-template-columns: repeat(2, 1fr); }
  .rh-2col { grid-template-columns: 1fr; }

}
.rh-insigne { width: 80px; height: 80px; object-fit: contain; background: rgba(255,255,255,.92); border-radius: 8px; padding: 6px; }
.cel-grade { white-space: nowrap; }
.cel-grade img { width: 28px; height: 28px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.intra-hello .insigne { background: rgba(255,255,255,.92); border-radius: 10px; padding: 6px; }
.intra-top .insigne:not(.insigne-generique) { background: rgba(255,255,255,.92); border-radius: 6px; padding: 2px; }
.anciennete { display: inline-flex; align-items: center; gap: 8px; }
.anciennete img { width: 44px; height: 44px; object-fit: contain; }
.rh-meta .anciennete img { width: 36px; height: 36px; background: rgba(255,255,255,.92); border-radius: 6px; padding: 3px; }

/* Photo agent, registre médical, fiches du bot (embeds Discord) */
.photo-agent { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 3px solid var(--gold); background: #fff; }
.medical { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid #d9dee8; display: grid; gap: 14px; }
.medical li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; box-shadow: var(--shadow); }
.medical li::before { content: ""; position: absolute; left: -27px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: var(--red); border: 3px solid #eef1f6; }
.med-tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .88rem; }
.med-tete strong { color: var(--navy); font-family: "Oswald", sans-serif; letter-spacing: .03em; }
.med-tete span { color: var(--ink-soft); }
.med-texte { margin-top: 8px; font-size: .94rem; }
.med-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.med-images img { width: 180px; height: 240px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); transition: transform .15s; }
.med-images a:hover img { transform: scale(1.02); border-color: var(--gold); }
.med-fichier { display: inline-block; margin: 8px 8px 0 0; font-size: .86rem; color: var(--navy-2); }
.fiches-bot { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.embed { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 6px; padding: 14px 16px; box-shadow: var(--shadow); margin-top: 8px; min-width: 0; }
.embed-corps { flex: 1; min-width: 0; font-size: .88rem; }
.embed-titre { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.embed-desc { margin-bottom: 8px; }
.embed-champs { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.embed-champ { flex: 1 1 100%; min-width: 0; }
.embed-champ.inline { flex: 1 1 28%; min-width: 120px; }
.embed-nom { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.embed-val { color: var(--ink); overflow-wrap: anywhere; }
.embed-pied { margin-top: 10px; font-size: .74rem; color: var(--ink-soft); }
.embed-mini { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; }
.embed-image { max-width: 100%; margin-top: 10px; border-radius: 6px; }
.embed code, .med-texte code { background: #eef1f6; padding: 1px 5px; border-radius: 4px; font-size: .85em; }
.emoji { width: 1.25em; height: 1.25em; vertical-align: -.25em; object-fit: contain; }
.mention { background: #e3e8fb; color: #4752c4; border-radius: 4px; padding: 0 3px; font-weight: 600; }
@media (max-width: 600px) { .fiches-bot { grid-template-columns: 1fr; } .med-images img { width: 46%; height: 190px; } }

/* =====================================================================
   Accueil : bandeau photos défilant + rangée horizontale des divisions
   ===================================================================== */
.diaporama { position: relative; height: clamp(260px, 56vh, 620px); overflow: hidden; background: var(--navy-3); }
.diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.diapo.active { opacity: 1; }
.diapo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.diapo.active img { animation: zoomLent 12s ease-out forwards; }
@keyframes zoomLent { from { transform: scale(1.06); } to { transform: scale(1); } }
.diaporama::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,23,48,.25) 0%, rgba(7,23,48,0) 35%, rgba(7,23,48,.55) 100%); }
.diapo figcaption { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 2; text-align: center; color: #fff;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.9rem, 2vw, 1.2rem);
  text-shadow: 0 2px 10px rgba(0,0,0,.6); padding: 0 60px; }
.diapo-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; margin: 0; width: 46px; height: 46px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(7,23,48,.45); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.diapo-nav:hover { background: var(--gold); color: var(--navy-3); border-color: var(--gold); }
.diapo-nav.prec { left: 18px; } .diapo-nav.suiv { right: 18px; }
.diapo-points { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.diapo-points button { margin: 0; padding: 0; width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.diapo-points button[aria-current="true"] { background: var(--gold); width: 26px; border-radius: 6px; }
.diaporama + .hero { border-top: 3px solid var(--gold); }
@media (prefers-reduced-motion: reduce) { .diapo { transition: none; } .diapo.active img { animation: none; } }

.defile { position: relative; }
.div-rangee { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.div-rangee::-webkit-scrollbar { height: 8px; }
.div-rangee::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.div-rangee .div-card { flex: 0 0 230px; scroll-snap-align: start; }
.defile-btn { position: absolute; top: 40%; transform: translateY(-50%); z-index: 2; margin: 0; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--navy); font-size: 1.7rem; line-height: 1;
  box-shadow: var(--shadow); cursor: pointer; }
.defile-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); }
.defile-btn:disabled { opacity: 0; pointer-events: none; }
.defile-btn.gauche { left: -18px; } .defile-btn.droite { right: -18px; }
@media (max-width: 760px) {
  .defile-btn { display: none; }
  .div-rangee .div-card { flex-basis: 70%; }
  .diapo-nav { width: 38px; height: 38px; font-size: 1.4rem; }
}
.site-nav a { padding: 8px 10px; letter-spacing: .04em; }
.home section[id] { scroll-margin-top: 90px; }

/* Bandeau photos : photo entière (pas de recadrage), fond flouté derrière */
.diaporama { height: auto; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; }
.diapo img { animation: none !important; }
.diapo img.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(28px) brightness(.55); transform: scale(1.15); }
.diapo img.photo { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.diapo figcaption { z-index: 3; }
@media (max-width: 760px) { .diaporama { aspect-ratio: 4 / 3; max-height: 60vh; } }
/* Bandes unies (pas de fond flouté) autour des photos qui n'ont pas le format du bandeau */
.diapo img.fond { display: none; }
.diaporama, .diapo { background: #050d1a; }

/* Qui sommes-nous (enrichi) */
.about-lede { font-size: 1.18rem !important; color: var(--navy) !important; font-weight: 600; line-height: 1.5; }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 10px; }
.chiffre { background: linear-gradient(135deg, var(--navy-3), var(--navy)); color: #fff; border-radius: 10px; padding: 20px 18px; border-bottom: 3px solid var(--gold); }
.chiffre strong { display: block; font-family: "Oswald", sans-serif; font-size: 2.3rem; line-height: 1; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.chiffre span { display: block; margin-top: 6px; font-size: .9rem; color: #c9d2e3; }
.home .sous-titre { font-size: 1.1rem; color: var(--navy); margin: 40px 0 16px; letter-spacing: .06em; }
.missions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mission { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: var(--shadow); }
.mission-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: #fbf4df; margin-bottom: 12px; }
.mission-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-deep, #a9821f); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mission strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: 6px; }
.mission p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.deux-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.stations { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stations li { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.station-num { flex: none; width: 46px; height: 46px; border-radius: 8px; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.05rem; }
.stations strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.stations small { color: var(--ink-soft); font-size: .85rem; }
.chaine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chaine li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 14px; }
.chaine-cat { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--red); }
.chaine-grades { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.chaine-grade { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--navy); }
.chaine-grade img { width: 26px; height: 26px; object-fit: contain; }
@media (max-width: 960px) {
  .chiffres, .missions { grid-template-columns: repeat(2, 1fr); }
  .deux-col { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .chiffre strong { font-size: 1.8rem; }
  .missions { grid-template-columns: 1fr; }
  .chaine li { grid-template-columns: 1fr; gap: 6px; }
}

/* Manuels & formations */
.man-tronc { margin: 20px 0 8px; }
.man-filtres { display: flex; gap: 8px; margin: 22px 0 14px; flex-wrap: wrap; }
.man-filtres button { margin: 0; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; font-weight: 500; }
.man-filtres button.actif { background: var(--navy); color: #fff; border-color: var(--navy); }
.man-divisions { display: grid; gap: 12px; }
.man-div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.man-div summary { display: flex; align-items: center; gap: 14px; padding: 12px 18px; cursor: pointer; list-style: none; }
.man-div summary::-webkit-details-marker { display: none; }
.man-div summary::after { content: "▾"; margin-left: 8px; color: var(--ink-soft); transition: transform .2s; }
.man-div[open] summary::after { transform: rotate(180deg); }
.man-div summary img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.man-div-titre { flex: 1; min-width: 0; }
.man-div-titre strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.man-div-titre small { color: var(--red); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.man-compte { font-family: "Oswald", sans-serif; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: #fbf4df; color: #6b5314; white-space: nowrap; }
.man-compte.vide { background: #eceff4; color: var(--ink-soft); }
.man-div-corps { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.man-presentation { margin: 14px 0; padding: 12px 16px; background: #f5f7fb; border-left: 3px solid var(--navy-2); border-radius: 6px; }
.man-presentation .lbl { font-family: "Oswald", sans-serif; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.man-presentation p { margin: 4px 0 0; font-size: .93rem; }
.man-liste { display: grid; gap: 10px; }
.man-doc { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.man-tronc .man-doc { border-left: 4px solid var(--gold); box-shadow: var(--shadow); }
.man-ico { flex: none; width: 42px; height: 42px; border-radius: 8px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.man-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linejoin: round; }
.man-doc-txt { flex: 1; min-width: 0; }
.man-doc-txt strong { display: block; color: var(--navy); font-family: "Oswald", sans-serif; letter-spacing: .02em; font-size: 1rem; }
.man-doc-txt p { margin: 3px 0; font-size: .88rem; color: var(--ink-soft); }
.man-doc-txt small { font-size: .78rem; color: var(--ink-soft); }
.man-type { display: inline-block; font-family: "Oswald", sans-serif; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; margin-bottom: 4px; }
.man-type.ref { background: #fbf4df; color: #6b5314; }
.man-type.eleve { background: #e3ecf8; color: var(--navy-2); }
.man-type.formateur { background: #fbe3e4; color: var(--red-deep); }
.man-actions { display: flex; gap: 8px; flex: none; }
.btn-mini { display: inline-block; padding: 8px 14px; border-radius: 5px; background: var(--navy); color: #fff; text-decoration: none; font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; }
.btn-mini:hover { background: var(--navy-2); }
.btn-mini.clair { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.man-doc.verrou { opacity: .7; }
.man-verrou { flex: none; font-size: .8rem; color: var(--red-deep); font-family: "Oswald", sans-serif; letter-spacing: .04em; }
@media (max-width: 700px) { .man-doc { flex-wrap: wrap; } .man-actions { width: 100%; } .man-actions .btn-mini { flex: 1; text-align: center; } }

/* =====================================================================
   Accueil v19 : en-tête épuré, grand carrousel d'accès rapides, FAQ, recrutement
   ===================================================================== */
.site-nav { align-items: center; }
.acces { background: linear-gradient(160deg, var(--navy-3) 0%, var(--navy) 55%, #16305c 100%); border-bottom: 3px solid var(--gold); position: relative; overflow: hidden; }
.acces::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(214,173,47,.04) 0 2px, transparent 2px 28px); }
.acces-inner { position: relative; max-width: 1140px; margin: 0 auto; padding: 52px 20px 44px; }
.acces .section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.acces-rangee { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 22px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.acces-rangee::-webkit-scrollbar { height: 8px; }
.acces-rangee::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.acces-carte { flex: 0 0 290px; min-height: 330px; scroll-snap-align: start; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(165deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 40px -22px rgba(0,0,0,.6);
  transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.acces-carte::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teinte); }
.acces-carte::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -90px; border-radius: 50%;
  background: var(--teinte); opacity: .12; transition: transform .35s ease, opacity .35s ease; }
.acces-carte:hover, .acces-carte:focus-visible { transform: translateY(-6px); border-color: var(--teinte);
  background: linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); }
.acces-carte:hover::before { transform: scale(1.25); opacity: .2; }
.acces-ico { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.acces-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--teinte); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acces-sur { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--teinte); margin-top: 8px; }
.acces-carte strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: 1.45rem; line-height: 1.15; }
.acces-desc { font-family: var(--police, "Inter", system-ui, sans-serif); color: #cfd7e6; font-size: .96rem; line-height: 1.5; }
.acces-go { margin-top: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--teinte); position: relative; z-index: 1; }
.acces-go span { display: inline-block; transition: transform .2s; }
.acces-carte:hover .acces-go span { transform: translateX(6px); }
.acces .defile-btn { border-color: rgba(255,255,255,.3); background: rgba(7,23,48,.8); color: #fff; }
.acces .defile-btn:hover:not(:disabled) { background: var(--gold); color: var(--navy-3); }

.poste { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: var(--shadow); }
.poste-tete { display: flex; gap: 14px; align-items: center; }
.poste-tete strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); font-size: 1.05rem; }
.poste-tete small { color: var(--ink-soft); }
.poste-zones { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.poste-zones li { padding: 10px 14px; background: #f5f7fb; border-left: 3px solid var(--gold); border-radius: 6px; }
.poste-zones strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); font-size: .9rem; }
.poste-zones span { font-size: .9rem; color: var(--ink-soft); }

.rejoindre { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.rejoindre-lede { color: #dbe2ef; font-size: 1.08rem; max-width: 56ch; margin: 0 0 18px; }
.atouts { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.atouts li { padding-left: 16px; border-left: 3px solid var(--gold); }
.atouts strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-light); }
.atouts span { color: #c9d2e3; font-size: .95rem; }
.btn.grand { padding: 15px 28px; font-size: .95rem; }
.steps.vertical { grid-template-columns: 1fr; margin: 0; }
.steps.vertical li { display: flex; gap: 14px; align-items: center; }
.steps.vertical li span { margin: 0; flex: none; }

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-family: "Oswald", sans-serif; letter-spacing: .02em; color: var(--navy); font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-deep, #a9821f); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-rep { padding: 0 20px 18px; }
.faq-rep p { margin: 0 0 12px; color: var(--ink); }

@media (max-width: 960px) { .rejoindre { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .acces-carte { flex-basis: 80%; min-height: 300px; }
  .site-nav { width: auto; }
}
.diaporama { max-height: 62vh; }
.hero-inner { padding-top: 48px; padding-bottom: 52px; }

/* =====================================================================
   Code Pénal intégré (v20) + blocs de documents convertis
   ===================================================================== */
.cp-hero { background: linear-gradient(115deg, var(--navy-3), var(--navy) 60%, #1b2f55); color: #fff; border-bottom: 3px solid var(--gold); }
.cp-hero-inner { max-width: 1140px; margin: 0 auto; padding: 52px 20px; display: flex; gap: 36px; align-items: center; }
.cp-hero-inner > img { width: 120px; height: 120px; flex: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,.45)); }
.cp-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.cp-hero .eyebrow { color: var(--gold-light); }
.cp-hero .lede { color: #dbe2ef; max-width: 62ch; margin: 12px 0 0; }
.cp-version { color: var(--gold-light); font-size: .88rem; margin: 10px 0 0; }
.cp-hero .hero-cta { margin-top: 22px; }

.cp-droits-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.droit { background: linear-gradient(135deg, var(--navy-3), var(--navy)); color: #fff; border-radius: 10px; padding: 18px; border-bottom: 3px solid var(--gold); }
.droit strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--gold-light); font-size: 1.2rem; margin-bottom: 6px; }
.droit span { color: #cfd7e6; font-size: .93rem; }
.cp-lien-art { margin-top: 12px; color: var(--ink-soft); font-size: .92rem; }
.cp-lien-art a { color: var(--navy-2); }

/* Barème */
.bareme-outils { display: grid; gap: 10px; margin-bottom: 10px; }
.bareme-outils .recherche { max-width: 560px; margin: 0; font-size: 1rem; padding: 12px 14px; }
.bareme-filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.bareme-filtres button { margin: 0; padding: 7px 13px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.bareme-filtres button.actif { background: var(--navy); color: #fff; border-color: var(--navy); }
.pastille { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.pastille.verte { background: #4f9a57; } .pastille.jaune { background: #e2b534; } .pastille.orange { background: #e0822f; } .pastille.rouge { background: #c8363c; }
.procedures-aide { margin: 6px 0 14px; font-size: .92rem; }
.procedures-aide summary { cursor: pointer; color: var(--navy-2); }
.procedures-aide ul { margin: 8px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.procedures-aide li .pastille { margin-right: 3px; vertical-align: -1px; }
.bareme-compte { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--ink-soft); margin: 0 0 8px; }
.bareme { max-height: 820px; overflow-y: auto; padding: 4px 6px 4px 0; border-top: 1px solid var(--line); scrollbar-width: thin; }
.bareme-annexe h3 { position: sticky; top: 0; z-index: 2; background: #f5f6f8; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em;
  color: var(--navy); font-size: 1.05rem; padding: 14px 0 8px; margin: 0; }
.bareme-sous { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--red); margin: 14px 0 6px; }
.infraction { background: var(--card); border: 1px solid var(--line); border-left: 5px solid #c9ced8; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; }
.infraction.verte { border-left-color: #4f9a57; } .infraction.jaune { border-left-color: #e2b534; }
.infraction.orange { border-left-color: #e0822f; } .infraction.rouge { border-left-color: #c8363c; }
.inf-tete { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.inf-code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .8rem; color: var(--ink-soft); background: #f1f3f7; padding: 2px 8px; border-radius: 4px; }
.inf-proc { font-family: "Oswald", sans-serif; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 2px 9px; border-radius: 10px; }
.inf-proc.verte { background: #e1f1e3; color: #2f6b3a; } .inf-proc.jaune { background: #fbf0cc; color: #7a5a06; }
.inf-proc.orange { background: #fbe2cc; color: #8a4410; } .inf-proc.rouge { background: #f8d9da; color: #8e1d22; }
.inf-titre { display: block; color: var(--navy); font-size: 1rem; }
.inf-details { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: .92rem; }
.inf-details em { font-style: normal; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; color: var(--ink-soft); margin-right: 6px; }
.inf-details span { font-weight: 600; color: var(--ink); }
.inf-comm { margin: 6px 0 0; font-size: .88rem; color: var(--ink-soft); }

/* Texte intégral */
.cp-lecture { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.cp-sommaire-lat { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.cp-sommaire-lat .recherche { margin: 0; max-width: none; }
.cp-sommaire-lat nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.cp-sommaire-lat nav a { padding: 6px 12px; font-size: .86rem; color: var(--ink-soft); text-decoration: none; border-left: 3px solid transparent; margin-left: -2px; line-height: 1.35; }
.cp-sommaire-lat nav a:hover { color: var(--navy); }
.cp-sommaire-lat nav a.actif { color: var(--navy); border-left-color: var(--gold); font-weight: 600; }
.cp-pdf { font-size: .8rem; color: var(--ink-soft); }
.cp-chapitre { margin-bottom: 34px; scroll-margin-top: 90px; }
.cp-chap-titre { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: #fff; font-size: 1.15rem;
  background: linear-gradient(120deg, var(--navy-3), var(--navy)); padding: 14px 18px; border-radius: 8px; border-left: 4px solid var(--gold); margin: 0 0 14px; }
.cp-chap-titre small { display: block; font-size: .72rem; letter-spacing: .12em; color: var(--gold-light); margin-top: 3px; }
.cp-article { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-bottom: 10px; scroll-margin-top: 90px; }
.cp-article:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,173,47,.25); }
.cp-article h4 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); font-size: .95rem; margin: 0 0 8px; }
.cp-ancre { color: var(--gold-deep, #a9821f); text-decoration: none; margin-right: 8px; opacity: .6; }
.cp-ancre:hover { opacity: 1; }
.cp-article p, .cp-chapitre > p { margin: 0 0 10px; line-height: 1.6; }
.cp-article p:last-child { margin-bottom: 0; }

.doc-liste { margin: 0 0 10px; padding-left: 22px; }
.doc-liste li { margin: 3px 0; line-height: 1.5; }
.doc-liste li::marker { color: var(--gold-deep, #a9821f); }
.doc-sous-titre { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--red); font-size: .85rem; margin: 14px 0 8px; }
.doc-table { overflow-x: auto; margin: 10px 0 12px; border: 1px solid var(--line); border-radius: 8px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.doc-table caption { text-align: left; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--navy); padding: 10px 12px; background: #f5f7fb; }
.doc-table th { text-align: left; background: var(--navy); color: #fff; font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .04em; padding: 9px 12px; }
.doc-table td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.doc-table tr:nth-child(even) td { background: #fafbfd; }
.doc-encadre { background: #fffaf0; border: 1px solid #ead7a0; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; margin: 10px 0 14px; }
.doc-encadre > strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); margin-bottom: 6px; }

@media (max-width: 960px) {
  .cp-droits-cartes { grid-template-columns: 1fr 1fr; }
  .cp-lecture { grid-template-columns: 1fr; }
  .cp-sommaire-lat { position: static; max-height: none; }
  .cp-sommaire-lat nav { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 6px; }
  .cp-sommaire-lat nav a { border: 1px solid var(--line); border-radius: 16px; margin: 0; padding: 5px 10px; font-size: .78rem; background: var(--card); }
}
@media (max-width: 760px) {
  .cp-hero-inner { flex-direction: column; text-align: center; padding: 36px 16px; }
  .cp-hero .lede { margin-left: auto; margin-right: auto; }
  .cp-hero .hero-cta { justify-content: center; }
  .cp-droits-cartes { grid-template-columns: 1fr; }
  .bareme { max-height: 70vh; }
}
.cp-lecture > * { min-width: 0; }
@media (max-width: 960px) { .cp-lecture { grid-template-columns: minmax(0, 1fr); } }

/* ===================== v20 — DEFCON (accueil) ===================== */
.defcon-bande { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 20px; text-decoration: none;
  background: #0b1a33; color: #e8edf6; border-top: 3px solid var(--dc); border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: "Oswald", sans-serif; letter-spacing: .05em; justify-content: center; }
.defcon-bande strong { color: var(--dc); font-size: 1.05rem; letter-spacing: .1em; }
.defcon-bande span { text-transform: uppercase; font-size: .88rem; }
.defcon-bande em { font-style: normal; font-size: .8rem; color: var(--gold-light); text-transform: uppercase; }
.defcon-bande:hover em span { display: inline-block; transform: translateX(4px); }
.defcon-puce { width: 11px; height: 11px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 0 0 var(--dc); animation: defcon-pouls 2s infinite; }
@keyframes defcon-pouls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dc) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.defcon-carte { background: linear-gradient(160deg, color-mix(in srgb, var(--teinte) 30%, #0e2244), #0e2244 70%) !important; }
.defcon-gros { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 4.6rem; line-height: .95; color: var(--teinte); display: flex; flex-direction: column; }
.defcon-gros small { font-size: .95rem; letter-spacing: .3em; color: #cfd7e6; font-weight: 500; }
.defcon { background: var(--paper, #f6f3ea); border-bottom: 1px solid var(--line); }
.defcon-inner { max-width: 1140px; margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.defcon-etat h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 4px 0 0; }
.defcon-num { color: var(--dc); }
.defcon-nom { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--dc); font-size: 1.2rem; margin: 2px 0 0; }
.defcon-date { color: var(--ink-soft); font-size: .9rem; margin: 6px 0 0; }
.defcon-jauge { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 6px; }
.defcon-jauge li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card);
  opacity: .55; transition: opacity .2s; }
.defcon-jauge li b { width: 34px; height: 34px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: none;
  background: var(--c); color: #fff; font-family: "Oswald", sans-serif; font-size: 1.15rem; }
.defcon-jauge li span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; color: var(--navy); }
.defcon-jauge li.actif { opacity: 1; border-color: var(--c); box-shadow: 0 0 0 2px var(--c), var(--shadow); transform: translateX(6px); }
.defcon-infos { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--dc); border-radius: 10px; padding: 26px 28px; box-shadow: var(--shadow); }
.defcon-infos h3 { margin: 0 0 10px; font-size: 1.3rem; }
.defcon-infos > p { line-height: 1.6; }
.defcon-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0 0; }
.defcon-champs div { background: #f7f5ef; border-radius: 8px; padding: 12px 14px; border-left: 3px solid var(--dc); }
.defcon-champs dt { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--navy); }
.defcon-champs dd { margin: 4px 0 0; font-size: .95rem; }
.defcon-pied { font-size: .85rem; color: var(--ink-soft); margin-top: 16px; }
.defcon-note { font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin: 18px 0 0; }
.defcon-infos .mention { color: var(--navy-2); font-weight: 600; }
@media (max-width: 860px) { .defcon-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 16px; } }
@media (prefers-reduced-motion: reduce) { .defcon-puce { animation: none; } }

/* ===================== v20 — Lecteur de manuels intégrés ===================== */
[hidden] { display: none !important; }
.lec-progres { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; background: transparent; }
.lec-progres span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.lec-hero { background: linear-gradient(120deg, var(--navy-3), var(--navy) 60%, #1b3464); color: #fff; border-radius: 12px; padding: 22px 30px 26px;
  border-bottom: 3px solid var(--gold); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.lec-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(214,173,47,.16), transparent 70%); }
.lec-retour { color: var(--gold-light); text-decoration: none; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.lec-retour:hover { color: #fff; }
.lec-hero-corps { display: flex; gap: 26px; align-items: center; margin-top: 14px; position: relative; z-index: 1; }
.lec-hero-logo { width: 120px; height: 120px; object-fit: contain; flex: none; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.lec-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 4px; line-height: 1.15; }
.lec-sous { color: #d4dcea; margin: 0; font-size: 1rem; }
.lec-devise { color: var(--gold-light); font-style: italic; margin: 6px 0 0; }
.lec-chiffres { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #c9d3e5; font-size: .88rem; }
.lec-chiffres strong { color: #fff; font-family: "Oswald", sans-serif; font-size: 1.05rem; }
.lec-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.lec-actions .btn-mini { background: var(--gold); color: var(--navy-3); border: 0; cursor: pointer; }
.lec-actions .btn-mini.clair { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); font: inherit; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; padding: 8px 14px; border-radius: 5px; margin: 0; }
.lec-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 20px 0 0; position: relative; z-index: 1; }
.lec-infos div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 9px 12px; }
.lec-infos dt { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--gold-light); }
.lec-infos dd { margin: 2px 0 0; font-size: .86rem; color: #e6ebf4; }

.lec { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; margin-top: 26px; align-items: start; }
.lec-toc { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  scrollbar-width: thin; }
.lec-toc-boite > summary { list-style: none; cursor: default; padding: 14px 16px 6px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; color: var(--red); }
.lec-toc-boite > summary::-webkit-details-marker { display: none; }
.lec-recherche { padding: 4px 12px 10px; border-bottom: 1px solid var(--line); }
.lec-recherche input { width: 100%; margin: 0; padding: 8px 10px; font-size: .88rem; border-radius: 6px; }
.lec-recherche small { display: block; font-size: .76rem; color: var(--ink-soft); margin-top: 4px; min-height: 1em; }
.lec-toc-liste, .lec-toc-liste ol { list-style: none; margin: 0; padding: 0; }
.lec-toc-liste { padding: 8px 6px 12px; }
.lec-toc-liste > li > a { display: flex; gap: 8px; padding: 7px 10px; border-radius: 6px; text-decoration: none; color: var(--navy); font-size: .84rem; line-height: 1.3;
  font-family: "Oswald", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.lec-toc-liste > li > a b { flex: none; min-width: 28px; color: var(--gold-deep, #a9821f); font-weight: 600; }
.lec-toc-liste > li > a:hover { background: #f1f4f9; }
.lec-toc-liste > li.actif > a { background: var(--navy); color: #fff; }
.lec-toc-liste > li.actif > a b { color: var(--gold-light); }
.lec-toc-liste ol { display: none; padding: 2px 0 6px 18px; border-left: 2px solid var(--line); margin-left: 20px; }
.lec-toc-liste li.actif ol { display: block; }
.lec-toc-liste ol a { display: block; padding: 4px 8px; font-size: .8rem; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.lec-toc-liste ol a:hover { color: var(--navy); }
.lec-toc-liste ol a i { font-style: normal; color: var(--navy-2); font-weight: 600; }

.lec-texte { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 40px 30px; box-shadow: var(--shadow);
  font-family: var(--police, "Inter", system-ui, sans-serif); font-size: 1.04rem; line-height: 1.68; color: var(--ink); }
.lec-texte p { margin: 0 0 12px; }
.lec-chap { padding-top: 30px; scroll-margin-top: 16px; }
.lec-chap + .lec-chap { border-top: 1px solid var(--line); margin-top: 18px; }
.lec-chap-tete { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; padding: 18px 20px; background: linear-gradient(100deg, #f6f1e2, #fbf9f3);
  border-left: 5px solid var(--navy); border-radius: 8px; }
.lec-chap-num { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--navy); min-width: 58px; text-align: center; }
.lec-chap-kicker { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--red); }
.lec-chap-tete h2 { margin: 2px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; color: var(--navy-3); }
.lec-sec { scroll-margin-top: 16px; }
.lec-sec h3 { display: flex; align-items: baseline; gap: 10px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.08rem; color: var(--navy); margin: 26px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #eef1f6; }
.lec-sec-num { flex: none; font-size: .78rem; background: var(--navy); color: var(--gold-light); padding: 2px 8px; border-radius: 4px; letter-spacing: .06em; }
.lec-texte .doc-liste { padding-left: 24px; }
.lec-texte .doc-liste li { margin: 5px 0; }
.lec-texte .doc-liste li::marker { color: var(--gold); }
.doc-etapes { list-style: none; counter-reset: etape; padding: 0; margin: 6px 0 14px; }
.doc-etapes li { counter-increment: etape; position: relative; padding: 8px 12px 8px 50px; margin: 6px 0; background: #f7f9fc; border-radius: 8px; }
.doc-etapes li::before { content: counter(etape); position: absolute; left: 10px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy);
  color: var(--gold-light); font-family: "Oswald", sans-serif; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.doc-petit { font-size: .9rem; color: var(--ink-soft); }
.doc-kicker { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--red); margin: 20px 0 4px !important; }
.lec-texte .doc-sous-titre { font-size: .9rem; color: var(--red-deep); margin: 18px 0 8px; }
.lec-texte .doc-table { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.lec-texte .doc-table td { line-height: 1.45; }
.lec-texte .doc-table td:first-child { font-weight: 600; color: var(--navy); }
.lec-texte .doc-table code, .lec-texte code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .86em; background: #eef2f8; color: var(--navy); padding: 1px 5px; border-radius: 4px; }
.doc-badge { display: inline-block; font-family: "Oswald", sans-serif; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; background: #fbe3c4; color: #8a4b0f;
  padding: 1px 7px; border-radius: 10px; vertical-align: middle; margin-left: 4px; }
.lec-texte .doc-encadre { background: #f3f6fb; border: 1px solid #d6e0ef; border-left: 4px solid var(--navy-2); font-size: .98rem; }
.lec-texte .doc-encadre p:last-child { margin-bottom: 0; }
.lec-texte .doc-encadre.alerte { background: #fff6ec; border-color: #f0d3ad; border-left-color: #c46a14; }
.lec-texte .doc-encadre.citation { background: #fbf8ef; border-color: #eadfbe; border-left-color: var(--gold); font-style: italic; font-size: 1.06rem; text-align: center; padding: 18px 26px; }
.doc-cartes { display: grid; gap: 12px; margin: 12px 0 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.doc-cartes.cols-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.doc-carte { background: #fbfcfe; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; padding: 13px 15px; font-size: .93rem; line-height: 1.5; }
.doc-carte strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); font-size: .92rem; margin-bottom: 4px; font-weight: 600; }
.doc-carte p { margin: 0 0 6px !important; }
.doc-carte p:last-child { margin-bottom: 0 !important; }
.doc-carte .carte-mono { font-family: system-ui, "Segoe UI", sans-serif; font-size: .86rem; color: var(--ink-soft); }
.doc-carte .carte-fort { font-weight: 600; }
.doc-carte.avec-img { text-align: center; border-top-color: var(--navy-2); }
.doc-carte.avec-img img { display: block; margin: 0 auto 8px; max-width: 100%; height: auto; border-radius: 6px; }
.doc-carte-entete { grid-column: 1 / -1; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #fff;
  background: var(--navy); padding: 8px 14px; border-radius: 6px; }
.doc-fig { margin: 18px auto 20px; text-align: center; }
.doc-fig a { display: inline-block; max-width: 100%; }
.doc-fig img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.doc-fig.schema img { box-shadow: var(--shadow); }
.doc-fig figcaption { font-size: .86rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; max-width: 70ch; margin-left: auto; margin-right: auto; }
.doc-fig figcaption strong { color: var(--navy); font-family: "Oswald", sans-serif; letter-spacing: .03em; font-weight: 500; }
mark.lec-m { background: #ffe58a; color: inherit; border-radius: 2px; padding: 0 1px; }
.lec-suite { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; font-family: "Oswald", sans-serif; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
.lec-suite a { color: var(--navy-2); text-decoration: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; max-width: 48%; }
.lec-suite a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.lec-suite .suiv { margin-left: auto; text-align: right; }
.lec-fin { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 30px !important; }
.lec-haut { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.3rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.lec-haut.visible { opacity: 1; pointer-events: auto; }
.man-doc[data-lien] { cursor: pointer; }
.man-doc[data-lien]:hover { border-color: var(--gold); }
@media (max-width: 980px) {
  .lec { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lec-toc { position: sticky; top: 52px; z-index: 5; max-height: 70vh; box-shadow: var(--shadow); }
  .lec-toc-boite > summary { cursor: pointer; padding: 12px 16px; }
  .lec-toc-boite > summary::after { content: " ▾"; }
  .lec-toc-liste ol { display: block; }
}
@media (max-width: 700px) {
  .lec-hero { padding: 18px 18px 20px; }
  .lec-hero-corps { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lec-hero-logo { width: 80px; height: 80px; }
  .lec-texte { padding: 4px 16px 20px; font-size: 1rem; }
  .lec-chap-tete { padding: 14px; gap: 12px; }
  .lec-chap-num { font-size: 1.9rem; min-width: 40px; }
  .lec-suite { flex-direction: column; } .lec-suite a { max-width: 100%; }
}
@media print {
  .intra-top, .intra-nav, .lec-toc, .lec-progres, .lec-haut, .lec-actions, .lec-retour, .lec-suite { display: none !important; }
  .intra-shell, .lec { display: block; } .intra-main { padding: 0; max-width: none; }
  .lec-hero { background: none; color: #000; box-shadow: none; border: 0; } .lec-hero h1 { color: #000; }
  .lec-texte { border: 0; box-shadow: none; padding: 0; }
  .lec-chap { break-before: page; } .doc-fig, .doc-carte, .doc-table tr { break-inside: avoid; }
}
.lec-toc { top: 76px; max-height: calc(100vh - 90px); }
.lec-chap, .lec-sec { scroll-margin-top: 80px; }
@media (max-width: 980px) { .lec-toc { top: 58px; } .lec-chap, .lec-sec { scroll-margin-top: 130px; } }
.lec-sec-badge { margin-left: auto; flex: none; font-size: .66rem; letter-spacing: .1em; padding: 3px 9px; border-radius: 10px; background: #fbe3c4; color: #8a4b0f; }

/* ===================== v21 — En-tête public : bannière officielle ===================== */
.site-header { background: #fff; border-bottom: 3px solid var(--gold); box-shadow: 0 2px 10px rgba(7,23,48,.12); }
.site-header-inner { padding: 8px 20px; }
.site-brand img.site-banniere { width: auto; height: 74px; object-fit: contain; }
.site-nav a { color: var(--navy); }
.site-nav a:hover { background: #eef2f8; color: var(--navy-3); }
.site-nav a.nav-cta { background: var(--navy); border: 1px solid var(--navy); color: #fff; }
.site-nav a.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
@media (max-width: 600px) {
  .site-brand img.site-banniere { height: 44px; }
  .site-header-inner { padding: 6px 14px; }
}
.site-brand { gap: 16px; }
.site-serveur { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; font-weight: 600;
  color: var(--navy); padding-left: 16px; border-left: 2px solid var(--red); line-height: 1.1; white-space: nowrap; }
.site-serveur b { color: var(--red); font-weight: 700; }
@media (max-width: 600px) { .site-brand { gap: 10px; } .site-serveur { font-size: .72rem; padding-left: 10px; letter-spacing: .1em; } }

/* ===================== v22 — fond de bannière + bandeau photos réduit ===================== */
.site-header { background: linear-gradient(180deg, #eef2f7 0%, #dde4ee 100%); }
.site-nav a:hover { background: rgba(12,34,71,.08); }
.diaporama { aspect-ratio: 21 / 9; max-height: 46vh; }
@media (max-width: 760px) { .diaporama { aspect-ratio: 16 / 10; max-height: 42vh; } }

/* ===================== v23 — Bandeau DEFCON mis en avant ===================== */
.defcon-bande { display: block; padding: 0; text-decoration: none; position: relative; overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--dc) 38%, #071730) 0%, #0b1a33 55%, color-mix(in srgb, var(--dc) 22%, #071730) 100%);
  border-top: 4px solid var(--dc); border-bottom: 4px solid var(--dc); box-shadow: inset 0 0 40px rgba(0,0,0,.35); }
.defcon-bande::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background: repeating-linear-gradient(-45deg, var(--dc) 0 14px, transparent 14px 28px); }
.defcon-bande-inner { position: relative; max-width: 1140px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 22px; }
.defcon-bloc { display: flex; align-items: center; gap: 10px; flex: none; }
.defcon-etiquette { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; line-height: 1.25; color: #c9d3e5; }
.defcon-puce { width: 14px; height: 14px; }
.defcon-badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 96px; padding: 6px 14px 4px;
  background: var(--dc); color: #fff; border-radius: 10px; box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 6px 22px color-mix(in srgb, var(--dc) 55%, transparent);
  font-family: "Oswald", sans-serif; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.defcon-badge small { font-size: .72rem; letter-spacing: .28em; font-weight: 600; }
.defcon-badge b { font-size: 2.5rem; font-weight: 700; }
.defcon-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.defcon-texte strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 1.45rem; color: #fff; line-height: 1.1; }
.defcon-texte span { font-family: var(--police, "Inter", system-ui, sans-serif); color: #d5dcea; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.defcon-mini-jauge { flex: none; display: flex; gap: 4px; }
.defcon-mini-jauge i { font-style: normal; width: 26px; height: 26px; border-radius: 5px; display: flex; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif; font-size: .8rem; color: #fff; background: var(--c); opacity: .3; }
.defcon-mini-jauge i.on { opacity: 1; transform: scale(1.2); box-shadow: 0 0 0 2px #fff; }
.defcon-go { flex: none; font-style: normal; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  color: #0b1a33; background: var(--gold); padding: 9px 16px; border-radius: 5px; transition: background .2s; }
.defcon-bande:hover .defcon-go { background: #fff; }
.defcon-bande:hover .defcon-go span { display: inline-block; transform: translateX(4px); }
@media (max-width: 900px) { .defcon-mini-jauge { display: none; } }
@media (max-width: 640px) {
  .defcon-bande-inner { flex-wrap: wrap; gap: 12px 14px; padding: 14px 16px; }
  .defcon-bloc { width: 100%; }
  .defcon-etiquette br { display: none; }
  .defcon-badge { min-width: 78px; } .defcon-badge b { font-size: 2rem; }
  .defcon-texte strong { font-size: 1.15rem; }
  .defcon-texte span { font-size: .88rem; }
  .defcon-go { width: 100%; text-align: center; }
}
.defcon-bande em.defcon-go { color: #0b1a33; font-size: .85rem; font-weight: 600; }

/* ===================== v24 — En-tête de l'espace agents : bannière officielle ===================== */
.intra-top { background: linear-gradient(180deg, #eef2f7 0%, #dde4ee 100%); color: var(--navy); padding: 8px 20px;
  box-shadow: 0 2px 10px rgba(7,23,48,.14); min-height: 80px; }
.intra-brand { gap: 16px; color: var(--navy); }
.intra-brand img.intra-banniere { width: auto; height: 64px; }
.intra-espace { padding-left: 16px; border-left: 2px solid var(--red); }
.intra-espace strong { font-size: 1.05rem; letter-spacing: .1em; color: var(--navy); }
.intra-espace small { color: var(--navy-2); letter-spacing: .16em; font-size: .7rem; font-weight: 600; }
.intra-espace small b { color: var(--red); }
.intra-user-txt strong { color: var(--navy-3); }
.intra-user-txt small { color: var(--ink-soft); }
.intra-logout { border-color: rgba(12,34,71,.3); color: var(--navy); }
.intra-top .insigne-generique { color: var(--navy); }
.intra-top .insigne:not(.insigne-generique) { background: transparent; }
.lec-toc { top: 98px; max-height: calc(100vh - 112px); }
.lec-chap, .lec-sec { scroll-margin-top: 104px; }
@media (max-width: 980px) { .lec-toc { top: 58px; } .lec-chap, .lec-sec { scroll-margin-top: 130px; } }
@media (max-width: 700px) {
  .intra-top { min-height: 0; padding: 6px 12px; }
  .intra-brand { gap: 10px; }
  .intra-brand img.intra-banniere { height: 44px; }
  .intra-espace { padding-left: 10px; }
  .intra-espace strong { font-size: .82rem; letter-spacing: .06em; }
  .intra-espace small { font-size: .6rem; }
}

/* ===================== v25 — DEFCON : section détaillée supprimée, consignes dans le bandeau ===================== */
section.defcon-bande { scroll-margin-top: 100px; }
.defcon-texte small { color: #9fb0cb; font-size: .78rem; font-family: var(--police, "Inter", system-ui, sans-serif); }
button.defcon-go { border: 0; cursor: pointer; margin: 0; color: #0b1a33; font-weight: 600; }
button.defcon-go:hover { background: #fff; }
button.defcon-go span { display: inline-block; transition: transform .2s; }
button.defcon-go.ouvert span { transform: rotate(180deg); }
.defcon-details { position: relative; border-top: 1px solid rgba(255,255,255,.12); background: rgba(3,10,24,.35); }
.defcon-details-inner { max-width: 1140px; margin: 0 auto; padding: 16px 20px 20px; color: #e3e9f3; font-family: var(--police, "Inter", system-ui, sans-serif); }
.defcon-details-inner > p { margin: 0 0 10px; line-height: 1.55; }
.defcon-details dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0; }
.defcon-details dl div { background: rgba(255,255,255,.06); border-left: 3px solid var(--dc); border-radius: 6px; padding: 10px 12px; }
.defcon-details dt { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: #fff; }
.defcon-details dd { margin: 4px 0 0; font-size: .92rem; }
.defcon-details .defcon-pied { font-size: .82rem; color: #9fb0cb; margin: 10px 0 0; }
.defcon-details .mention { color: var(--gold-light); }
.defcon-texte small { text-transform: none; letter-spacing: 0; }
.defcon-details strong { color: #fff; font-family: inherit; font-size: inherit; letter-spacing: 0; }
.defcon-details span { text-transform: none; font-size: inherit; }

/* v26 — deux postes de police */
.postes { display: grid; gap: 14px; }
.postes > .btn-mini { justify-self: start; }
.poste .poste-zones { margin-bottom: 0; }

/* ===================== v27 — Page DEFCON (consignes aux citoyens) ===================== */
.defcon-actions { flex: none; display: flex; gap: 8px; }
a.defcon-go { text-decoration: none; }
.defcon-bande .defcon-go.secondaire { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.defcon-bande .defcon-go.secondaire:hover { background: rgba(255,255,255,.12); }
.defcon-bande a.defcon-go:hover span { display: inline-block; transform: translateX(4px); }
@media (max-width: 640px) { .defcon-actions { width: 100%; } .defcon-actions .defcon-go { flex: 1; text-align: center; } }

.dc-hero { background: linear-gradient(115deg, var(--navy-3), var(--navy) 55%, color-mix(in srgb, var(--dc) 35%, var(--navy-3))); color: #fff; border-bottom: 4px solid var(--dc); }
.dc-hero-inner { max-width: 1140px; margin: 0 auto; padding: 52px 20px; display: flex; gap: 36px; align-items: center; }
.dc-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.dc-hero .eyebrow { color: var(--gold-light); }
.dc-hero .lede { color: #dbe2ef; max-width: 64ch; margin: 12px 0 0; }
.dc-hero .lede strong { color: #fff; }
.dc-actuel { margin: 14px 0 0; color: #dbe2ef; }
.dc-actuel strong { color: #fff; }
.dc-hero .hero-cta { margin-top: 18px; }
.dc-hero-badge { flex: none; width: 150px; height: 150px; border-radius: 22px; background: var(--dc); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif; line-height: 1; box-shadow: 0 0 0 5px rgba(255,255,255,.12), 0 18px 40px rgba(0,0,0,.4); text-shadow: 0 2px 4px rgba(0,0,0,.3); }
.dc-hero-badge small { font-size: 1rem; letter-spacing: .3em; font-weight: 600; }
.dc-hero-badge b { font-size: 5.2rem; font-weight: 700; }
.dc-echelle-section { padding-bottom: 0 !important; }
.dc-echelle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dc-echelle a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 10px; text-decoration: none;
  background: color-mix(in srgb, var(--c) 14%, #fff); border: 2px solid transparent; color: var(--navy); text-align: center; position: relative; }
.dc-echelle b { font-family: "Oswald", sans-serif; font-size: 1.9rem; color: var(--c); line-height: 1; }
.dc-echelle span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; }
.dc-echelle em { font-style: normal; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; background: var(--c); color: #fff; padding: 2px 8px; border-radius: 10px; }
.dc-echelle li.actif a { border-color: var(--c); background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); }
.dc-echelle a:hover { border-color: var(--c); }
.dc-echelle-legende { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-soft); margin: 8px 2px 0; }
.dc-niveaux { display: grid; gap: 18px; }
.dc-niveau { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: 12px; padding: 22px 26px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.dc-niveau.actif { box-shadow: 0 0 0 3px var(--c), var(--shadow); }
.dc-niveau > header { display: flex; gap: 18px; align-items: flex-start; }
.dc-num { flex: none; width: 74px; height: 74px; border-radius: 12px; background: var(--c); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif; font-size: 2.3rem; font-weight: 700; line-height: 1; }
.dc-num small { font-size: .6rem; letter-spacing: .22em; font-weight: 600; }
.dc-niveau h2 { font-size: 1.5rem; color: var(--navy); }
.dc-niveau header p { margin: 6px 0 0; color: var(--ink-soft); }
.dc-en-vigueur { margin-left: auto; flex: none; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; background: var(--c); color: #fff; padding: 5px 12px; border-radius: 12px; }
.dc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.dc-col { background: #f6f8fb; border-radius: 10px; padding: 14px 18px; }
.dc-col.consignes { background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); }
.dc-col h3 { font-size: .95rem; color: var(--navy); letter-spacing: .06em; margin-bottom: 8px; }
.dc-col ul { margin: 0; padding-left: 20px; }
.dc-col li { margin: 5px 0; line-height: 1.45; font-family: var(--police, "Inter", system-ui, sans-serif); }
.dc-col li::marker { color: var(--c); }
.dc-col.consignes li { font-weight: 600; color: var(--ink); }
.dc-annonce { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.dc-annonce > strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.dc-annonce dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 0; }
.dc-annonce dt { font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: .8rem; color: var(--navy); }
.dc-annonce dd { margin: 2px 0 0; }
.dc-reflexes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dc-reflexes div { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow); }
.dc-reflexes strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 1.4rem; color: var(--navy); }
.dc-reflexes span { font-family: var(--police, "Inter", system-ui, sans-serif); font-size: .95rem; color: var(--ink-soft); }
.dc-note { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .dc-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 16px; }
  .dc-hero-badge { width: 100px; height: 100px; border-radius: 16px; } .dc-hero-badge b { font-size: 3.4rem; } .dc-hero-badge small { font-size: .7rem; }
  .dc-echelle { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .dc-echelle a { padding: 10px 2px; } .dc-echelle span { font-size: .6rem; } .dc-echelle b { font-size: 1.4rem; } .dc-echelle em { font-size: .5rem; padding: 1px 4px; }
  .dc-niveau { padding: 18px 16px; }
  .dc-niveau > header { flex-wrap: wrap; gap: 12px; }
  .dc-num { width: 58px; height: 58px; font-size: 1.8rem; }
  .dc-en-vigueur { margin-left: 0; }
  .dc-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== v28 — Tableau de bord commun, communication, Staff ===================== */
.tdb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; align-items: start; }
.tdb-carte { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 16px 18px; min-width: 0; }
.tdb-carte > header { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid #eef1f6; padding-bottom: 8px; margin-bottom: 12px; }
.tdb-carte h2 { font-size: 1rem !important; letter-spacing: .08em; color: var(--navy); margin: 0; }
.tdb-sous { font-size: .78rem; color: var(--ink-soft); }
.tdb-lien { margin-left: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; color: var(--navy-2); text-decoration: none; }
.tdb-lien:hover { color: var(--red); }
.tdb-vide { color: var(--ink-soft); font-size: .9rem; margin: 6px 0; }
.tdb-actus { grid-column: span 2; grid-row: span 2; }
.tdb-comm { grid-column: span 1; }
.actus { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 720px; overflow-y: auto; padding-right: 4px; }
.actu { border-left: 4px solid var(--navy-2); background: #f7f9fc; border-radius: 6px; padding: 10px 14px; }
.actu.type-dispatch { border-left-color: var(--red); }
.actu-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .78rem; color: var(--ink-soft); }
.actu-type { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; background: var(--navy-2); color: #fff; padding: 2px 8px; border-radius: 10px; }
.type-dispatch .actu-type { background: var(--red); }
.type-evenement .actu-type { background: #a9821f; }
.type-formation .actu-type { background: #2f9e5b; }
.actu-titre { display: block; font-family: "Oswald", sans-serif; letter-spacing: .02em; color: var(--navy-3); font-size: 1.02rem; margin-top: 4px; }
.actu-texte { font-size: .93rem; line-height: 1.5; margin-top: 4px; overflow-wrap: anywhere; }
.actu-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 6px; margin: 8px 0 0; }
.actu-champs dt { font-family: "Oswald", sans-serif; font-size: .74rem; text-transform: uppercase; color: var(--navy); }
.actu-champs dd { margin: 0; font-size: .88rem; }
.actu-img { max-width: 100%; border-radius: 6px; margin-top: 8px; }
.avenir { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.avenir li { display: flex; gap: 12px; align-items: flex-start; }
.avenir-date { flex: none; width: 50px; text-align: center; background: var(--navy); color: #fff; border-radius: 8px; padding: 6px 0 5px; font-family: "Oswald", sans-serif; line-height: 1; }
.avenir-date b { display: block; font-size: 1.4rem; }
.avenir-date small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); }
.avenir li.type-formation .avenir-date { background: #2f9e5b; }
.avenir li.type-formation .avenir-date small { color: #d9f2e2; }
.avenir-type { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--red); font-family: "Oswald", sans-serif; }
.avenir strong { display: block; font-family: "Oswald", sans-serif; color: var(--navy-3); letter-spacing: .02em; }
.avenir-lieu { display: block; font-size: .82rem; color: var(--ink-soft); }
.avenir details summary { cursor: pointer; font-size: .8rem; color: var(--navy-2); }
.avenir details p { font-size: .88rem; margin: 4px 0 0; }
.tdb-compteur { margin-left: auto; min-width: 30px; text-align: center; font-family: "Oswald", sans-serif; background: #e7ebf2; color: var(--navy); border-radius: 12px; padding: 1px 9px; }
.tdb-compteur.actif { background: #2f9e5b; color: #fff; }
.patrouille, .mdit, .chat-apercu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 330px; overflow-y: auto; }
.patrouille li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px solid #eef1f6; }
.patrouille img, .pat-vide { width: 30px; height: 30px; flex: none; object-fit: contain; }
.patrouille strong { display: block; font-size: .92rem; color: var(--navy-3); }
.patrouille small { display: block; font-size: .76rem; color: var(--ink-soft); }
.pat-depuis { margin-left: auto; flex: none; font-size: .72rem; color: #2f9e5b; font-family: "Oswald", sans-serif; letter-spacing: .03em; }
.mdit li { padding: 8px 10px; border-left: 3px solid var(--gold); background: #fbf9f3; border-radius: 5px; }
.mdit strong { display: block; font-size: .92rem; color: var(--navy-3); }
.mdit small { display: block; font-size: .75rem; color: var(--ink-soft); }
.mdit-tags i { font-style: normal; display: inline-block; font-size: .66rem; font-family: "Oswald", sans-serif; text-transform: uppercase; background: #e7ebf2; color: var(--navy); border-radius: 8px; padding: 1px 7px; margin: 4px 4px 0 0; }
.chat-apercu li { font-size: .88rem; line-height: 1.4; overflow-wrap: anywhere; }
.chat-apercu b { color: var(--navy); font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .02em; }
.chat-apercu span { color: var(--ink); }
.comm-liens { margin-top: 12px; }
.comm-demandes { display: flex; align-items: center; gap: 8px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem;
  color: var(--navy); text-decoration: none; background: #f1f4f9; border-radius: 6px; padding: 8px 12px; }
.comm-demandes:hover { background: var(--navy); color: #fff; }
.pastille { margin-left: auto; background: var(--red); color: #fff; border-radius: 10px; font-size: .72rem; padding: 1px 8px; }
@media (max-width: 1100px) { .tdb { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tdb-actus { grid-column: span 2; grid-row: auto; } }
@media (max-width: 700px) { .tdb { grid-template-columns: minmax(0, 1fr); } .tdb-actus { grid-column: auto; } }

/* Communication */
.comm-onglets { display: flex; gap: 6px; margin: 14px 0 10px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.comm-onglets a { padding: 9px 16px; text-decoration: none; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  color: var(--ink-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.comm-onglets a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); margin-top: 14px; display: flex; flex-direction: column; }
.chat-fil { height: min(62vh, 620px); overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.chat-charge { color: var(--ink-soft); text-align: center; margin: auto; }
.chat-jour { align-self: center; font-size: .72rem; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); background: #eef1f6; border-radius: 10px; padding: 2px 10px; margin: 6px 0; }
.chat-msg { max-width: 78%; background: #f3f6fa; border-radius: 10px 10px 10px 2px; padding: 8px 12px; align-self: flex-start; }
.chat-msg.moi { align-self: flex-end; background: #e4ecf8; border-radius: 10px 10px 2px 10px; }
.chat-tete { display: flex; align-items: center; gap: 6px; font-size: .8rem; }
.chat-tete img { width: 22px; height: 22px; object-fit: contain; }
.chat-tete strong { color: var(--navy); font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .02em; }
.chat-tete time { color: var(--ink-soft); font-size: .72rem; }
.chat-suppr { margin: 0 0 0 auto; background: none; border: 0; color: var(--ink-soft); font-size: .7rem; cursor: pointer; padding: 0 2px; opacity: 0; }
.chat-msg:hover .chat-suppr { opacity: 1; }
.chat-suppr:hover { color: var(--red); }
.chat-msg p { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; font-size: .95rem; }
.chat-saisie { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-saisie textarea { flex: 1; margin: 0; resize: none; min-height: 42px; max-height: 160px; font: inherit; padding: 9px 12px; border-radius: 8px; }
.chat-saisie button { margin: 0; flex: none; }
.chat-erreur { color: var(--red); font-size: .85rem; margin: 0 12px 10px; }
.demandes-grille { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; margin-top: 14px; align-items: start; }
.demandes-liste { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 6px; max-height: 70vh; overflow-y: auto; }
.demandes-filtres { display: flex; gap: 4px; }
.demandes-filtres a { flex: 1; text-align: center; font-size: .78rem; font-family: "Oswald", sans-serif; text-transform: uppercase; padding: 6px; border-radius: 5px; text-decoration: none; color: var(--ink-soft); background: #f1f4f9; }
.demandes-filtres a.actif { background: var(--navy); color: #fff; }
.demande-nouvelle { display: block; text-align: center; padding: 9px; border: 1px dashed var(--navy-2); border-radius: 6px; text-decoration: none; color: var(--navy-2); font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: .8rem; letter-spacing: .05em; }
.demande-nouvelle.actif, .demande-nouvelle:hover { background: #e4ecf8; }
.demande-item { display: block; padding: 9px 11px; border-radius: 6px; text-decoration: none; color: var(--ink); border: 1px solid transparent; position: relative; }
.demande-item:hover { background: #f5f7fb; }
.demande-item.actif { background: #e4ecf8; border-color: #c8d6ee; }
.demande-item strong { display: block; font-size: .9rem; color: var(--navy-3); padding-right: 70px; }
.demande-item small { font-size: .74rem; color: var(--ink-soft); }
.demande-item.close { opacity: .7; }
.etiq { position: absolute; right: 8px; top: 9px; font-style: normal; font-size: .62rem; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; border-radius: 8px; padding: 1px 6px; }
.etiq.nouveau { background: var(--red); color: #fff; }
.etiq.close { background: #e7ebf2; color: var(--ink-soft); }
.demande-zone { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 18px 20px; min-width: 0; }
.demande-tete { display: flex; gap: 12px; align-items: flex-start; border-bottom: 2px solid #eef1f6; padding-bottom: 10px; }
.demande-tete h2 { font-size: 1.15rem !important; }
.demande-tete small { color: var(--ink-soft); }
.demande-tete form { margin: 0 0 0 auto; }
.demande-fil { display: grid; gap: 10px; margin: 14px 0; max-height: 55vh; overflow-y: auto; }
.dmsg { background: #f3f6fa; border-radius: 8px; padding: 10px 14px; }
.dmsg.dmsg-grade { background: #fbf6e6; border-left: 3px solid var(--gold); }
.dmsg-tete { display: flex; gap: 8px; align-items: center; font-size: .82rem; }
.dmsg-tete strong { color: var(--navy); font-family: "Oswald", sans-serif; font-weight: 500; }
.dmsg-tete i { font-style: normal; font-size: .62rem; text-transform: uppercase; background: var(--gold); color: var(--navy-3); border-radius: 8px; padding: 1px 6px; font-family: "Oswald", sans-serif; }
.dmsg-tete time { margin-left: auto; color: var(--ink-soft); font-size: .74rem; }
.dmsg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.demande-reponse, .demande-form { display: grid; gap: 8px; }
.demande-reponse textarea, .demande-form textarea, .demande-form input { margin: 0; font: inherit; }
.demande-reponse button, .demande-form button { justify-self: start; margin: 0; border: 0; cursor: pointer; }
.demande-form h2 { font-size: 1.1rem !important; }
.demande-form label { margin: 6px 0 0; }
@media (max-width: 800px) { .demandes-grille { grid-template-columns: minmax(0, 1fr); } .demandes-liste { max-height: 260px; } .chat-msg { max-width: 92%; } }

/* Staff */
.info-ok { background: #e8f6ee; border: 1px solid #9fd4b4; color: #1d5a36; padding: 10px 14px; border-radius: 6px; margin-top: 14px; }
.info-ok.attention { background: #fff6dc; border-color: var(--gold); color: #6b5314; }
.staff-form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 18px 22px; margin-top: 16px; display: grid; gap: 4px; }
.staff-form input, .staff-form textarea { margin: 0 0 6px; font: inherit; }
.staff-form label { margin: 8px 0 4px; }
.staff-types { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.staff-types legend { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--ink-soft); margin-bottom: 6px; }
.staff-type { margin: 0 !important; cursor: pointer; }
.staff-type input { position: absolute; opacity: 0; }
.staff-type span { display: block; text-align: center; padding: 11px 8px; border: 2px solid var(--line); border-radius: 8px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.staff-type span small { display: block; font-size: .6rem; color: var(--ink-soft); letter-spacing: .02em; text-transform: none; font-family: system-ui, sans-serif; }
.staff-type input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.staff-type input:checked + span small { color: #c9d3e5; }
.staff-type input:focus-visible + span { outline: 3px solid var(--gold); }
.staff-avenir { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.staff-case { display: flex !important; align-items: center; gap: 8px; font-weight: 500; }
.staff-case input { width: auto; margin: 0; }
.staff-case.petit { font-size: .76rem; margin: 0 !important; }
.staff-form > button { justify-self: start; margin-top: 8px; border: 0; cursor: pointer; }
.staff-h2 { margin-top: 30px !important; }
.staff-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.staff-liste li { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.staff-liste li > div { flex: 1; min-width: 0; }
.staff-liste strong { display: block; color: var(--navy-3); margin-top: 3px; }
.staff-liste small { color: var(--ink-soft); font-size: .78rem; }
.staff-liste form { margin: 0; display: flex; gap: 8px; align-items: center; flex: none; }
.staff-liste button { margin: 0; cursor: pointer; }
@media (max-width: 700px) { .staff-avenir { grid-template-columns: 1fr; } .staff-liste li { flex-direction: column; align-items: flex-start; } }
.staff-type { position: relative; }
.chat-fil { height: max(320px, calc(100vh - 430px)); }
.pastille { min-width: 20px; text-align: center; line-height: 1.5; }

/* ===================== v29 — Publications au format Discord + signatures ===================== */
.actu img.emoji, .actu-titre img.emoji { width: 1.25em; height: 1.25em; vertical-align: -0.25em; object-fit: contain; }
.actu-mentions { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.actu-mentions span, .dc-mention { display: inline-block; background: rgba(88,101,242,.15); color: #3b46c4; border-radius: 4px; padding: 0 5px; font-size: .84rem; font-family: system-ui, "Segoe UI", sans-serif; }
.actu-signature { margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.staff-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 16px; }
.staff-grille .staff-form { margin-top: 0; }
.aide { display: block; color: var(--ink-soft); font-size: .78rem; margin: -2px 0 6px; }
.aide code { font-size: .78rem; background: #eef1f6; padding: 0 4px; border-radius: 3px; }
.emoji-choix { display: flex; flex-wrap: wrap; gap: 4px; max-height: 132px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfd; margin-bottom: 6px; }
.emoji-choix label { margin: 0 !important; position: relative; cursor: pointer; }
.emoji-choix input { position: absolute; opacity: 0; }
.emoji-choix span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 2px solid transparent; font-size: 1.3rem; background: #fff; }
.emoji-choix span img { width: 26px; height: 26px; object-fit: contain; }
.emoji-choix span.aucun { font-size: 1rem; color: var(--ink-soft); }
.emoji-choix input:checked + span { border-color: var(--navy); background: #e4ecf8; }
.emoji-choix input:focus-visible + span { outline: 2px solid var(--gold); }
.mentions-choix { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.mentions-choix label { margin: 0 !important; position: relative; cursor: pointer; font-weight: 400; }
.mentions-choix input { position: absolute; opacity: 0; }
.mentions-choix span { display: inline-block; padding: 4px 10px; border-radius: 14px; border: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); background: #fff; }
.mentions-choix input:checked + span { background: rgba(88,101,242,.15); border-color: #5865f2; color: #3b46c4; }
.mentions-choix input:focus-visible + span { outline: 2px solid var(--gold); }
.staff-apercu { position: sticky; top: 100px; }
.apercu-lbl { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--ink-soft); margin-bottom: 6px; }
.dc-msg { display: flex; gap: 14px; background: #313338; color: #dbdee1; border-radius: 10px; padding: 16px 18px; font-family: "gg sans", "Noto Sans", system-ui, "Segoe UI", sans-serif; font-size: .95rem; line-height: 1.375; max-height: 78vh; overflow-y: auto; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; background: #1e1f22; }
.dc-corps { min-width: 0; flex: 1; }
.dc-nom { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.dc-nom strong { color: #f2f3f5; font-weight: 600; }
.dc-bot { background: #5865f2; color: #fff; font-size: .62rem; font-weight: 600; border-radius: 3px; padding: 1px 4px; }
.dc-nom time { color: #949ba4; font-size: .74rem; }
.dc-titre { font-size: 1.55rem; font-weight: 700; color: #f2f3f5; line-height: 1.3; margin: 4px 0 6px; overflow-wrap: anywhere; }
.dc-p { margin-top: 10px; overflow-wrap: anywhere; }
.dc-p strong { color: #f2f3f5; }
.dc-msg .dc-mention { background: rgba(88,101,242,.3); color: #c9cdfb; font-size: inherit; font-weight: 500; }
.dc-emoji { width: 1.375em; height: 1.375em; vertical-align: -0.3em; object-fit: contain; }
.dc-titre .dc-emoji { width: 1.6em; height: 1.6em; }
@media (max-width: 1100px) { .staff-grille { grid-template-columns: minmax(0, 1fr); } .staff-apercu { position: static; } }

/* ===================== v30 — Communication intégrée au tableau de bord ===================== */
.tdb-comm-rangee { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; scroll-margin-top: 100px; }
.tdb-chat .chat { margin-top: 0; border: 0; box-shadow: none; border-radius: 0; }
.tdb-chat .chat-fil { padding: 6px 4px; }
.tdb-chat .chat-saisie { padding: 10px 0 0; }
.tdb-cs .cs-intro { font-size: .86rem; color: var(--ink-soft); margin: 0 0 10px; }
.tdb-cs > header .pastille { margin-left: auto; }
.cs-liste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.cs-liste a { display: block; position: relative; padding: 9px 12px; border-radius: 7px; background: #f5f7fb; border-left: 3px solid var(--line); text-decoration: none; color: var(--ink); }
.cs-liste a:hover { background: #e9eef7; }
.cs-liste a.nouveau { border-left-color: var(--red); background: #fdf1f1; }
.cs-liste a.close { opacity: .65; }
.cs-liste strong { display: block; font-size: .9rem; color: var(--navy-3); padding-right: 70px; }
.cs-liste small { font-size: .74rem; color: var(--ink-soft); }
.cs-liste i { position: absolute; right: 8px; top: 9px; font-style: normal; font-size: .62rem; font-family: "Oswald", sans-serif; text-transform: uppercase; background: var(--red); color: #fff; border-radius: 8px; padding: 1px 7px; }
.cs-nouveau { border: 1px dashed var(--navy-2); border-radius: 8px; padding: 8px 12px; margin-top: 6px; }
.cs-nouveau summary { cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--navy-2); }
.cs-nouveau form { display: grid; gap: 8px; margin-top: 10px; }
.cs-nouveau input, .cs-nouveau textarea { margin: 0; font: inherit; }
.cs-nouveau button { justify-self: start; margin: 0; border: 0; cursor: pointer; }
.cs-tout { display: inline-block; margin-top: 10px; }
.retour-tdb { margin: 4px 0 0; } .retour-tdb a { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--navy-2); text-decoration: none; }
@media (max-width: 1000px) { .tdb-comm-rangee { grid-template-columns: minmax(0, 1fr); } }

/* ===================== v30 — Espace Staff regroupé ===================== */
.staff-onglets { display: flex; gap: 6px; margin: 14px 0 6px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.staff-onglets a { padding: 9px 16px; text-decoration: none; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  color: var(--ink-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.staff-onglets a small { font-size: .6rem; letter-spacing: .04em; background: #fbe3e4; color: var(--red-deep); border-radius: 8px; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.staff-onglets a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.staff-onglets a:hover { color: var(--navy); }
.staff-resume { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.staff-resume a.compteur { text-decoration: none; color: inherit; }
.staff-resume a.compteur:hover { border-color: var(--gold); }
.staff-sous-titre { margin-top: 22px !important; font-size: 1.15rem !important; }

/* ===================== v30 — Effectifs sur la droite du tableau de bord ===================== */
.tdb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 22px; align-items: start; }
.tdb-principal { min-width: 0; }
.tdb-principal > .tdb { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tdb-principal .tdb-actus { grid-column: span 2; grid-row: auto; }
.tdb-principal .tdb-comm-rangee { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1500px) { .tdb-principal .tdb-comm-rangee { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.tdb-effectifs { position: sticky; top: 98px; max-height: calc(100vh - 112px); display: flex; flex-direction: column; padding-bottom: 8px; }
.tdb-effectifs > header .tdb-compteur { background: var(--navy); color: #fff; }
.eff-filtre { margin: 0 0 8px; padding: 7px 10px; font-size: .86rem; border-radius: 6px; }
.eff-legende { display: grid; grid-template-columns: minmax(0, 1fr) 62px 76px; gap: 6px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em;
  font-size: .64rem; color: var(--ink-soft); padding: 0 4px 4px 36px; border-bottom: 1px solid var(--line); }
.eff-liste { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.eff-liste li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 62px 76px; gap: 6px 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid #eef1f6; }
.eff-liste li:hover { background: #f5f7fb; }
.eff-liste img, .eff-sans { width: 26px; height: 26px; object-fit: contain; }
.eff-nom { min-width: 0; }
.eff-nom strong { display: flex; align-items: center; gap: 5px; font-size: .86rem; color: var(--navy-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eff-nom small { display: block; font-size: .7rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eff-service { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 2px #d9f2e2; }
.eff-mat, .eff-ind { font-family: ui-monospace, Consolas, monospace; font-size: .76rem; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eff-ind { color: var(--red-deep); }
@media (max-width: 1250px) {
  .tdb-layout { grid-template-columns: minmax(0, 1fr); }
  .tdb-effectifs { position: static; max-height: 520px; }
}
@media (max-width: 700px) { .tdb-principal > .tdb { grid-template-columns: minmax(0, 1fr); } .tdb-principal .tdb-actus { grid-column: auto; } }
.intra-main:has(.tdb-layout) { max-width: 1520px; }

/* ===================== v31 — Staff : modération & demandes citoyennes ===================== */
.btn-mini.danger { background: var(--red); color: #fff; border: 0; cursor: pointer; }
.btn-mini.danger:hover { background: var(--red-deep); }
.demande-boutons { margin-left: auto; display: flex; gap: 6px; }
.demande-boutons form { margin: 0 !important; }
.mod-barre { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.mod-barre .staff-case { margin: 0 auto 0 0 !important; }
.mod-barre button { margin: 0; cursor: pointer; }
.mod-liste { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; max-height: 60vh; overflow-y: auto; }
.mod-liste li { border-bottom: 1px solid #eef1f6; }
.mod-liste label { display: grid; grid-template-columns: 20px 180px 140px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 12px; margin: 0; font-weight: 400; cursor: pointer; }
.mod-liste label:hover { background: #f5f7fb; }
.mod-liste input { margin: 3px 0 0; width: auto; }
.mod-auteur { font-family: "Oswald", sans-serif; color: var(--navy); font-size: .88rem; }
.mod-liste time { font-size: .76rem; color: var(--ink-soft); }
.mod-texte { font-size: .9rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.mod-table td form { margin: 0; }
.mod-table td a { color: var(--navy-2); font-weight: 600; }
.statut-d { display: inline-block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .66rem; padding: 2px 8px; border-radius: 10px; background: #e7ebf2; color: var(--navy); white-space: nowrap; }
.statut-d.ouverte, .statut-d.en_attente { background: #fff1d6; color: #7a5a0c; }
.statut-d.en_cours { background: #e3ecf8; color: var(--navy-2); }
.statut-d.accepte { background: #e2f4ea; color: #1d6b3f; }
.statut-d.refuse { background: #fbe3e4; color: var(--red-deep); }
.statut-d.close, .statut-d.clos { background: #eceef2; color: var(--ink-soft); }
.cit-types { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 10px; }
.cit-types a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); text-decoration: none;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--navy); }
.cit-types a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cit-types .pastille { margin-left: 0; }
.cit-filtres { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.cit-filtres a { font-size: .78rem; padding: 4px 10px; border-radius: 12px; text-decoration: none; color: var(--ink-soft); background: #eef1f6; }
.cit-filtres a.actif { background: var(--gold); color: var(--navy-3); }
.cit-liste { display: grid; gap: 8px; }
.cit-item { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; }
.cit-item.st-accepte { border-left-color: #2f9e5b; } .cit-item.st-refuse { border-left-color: var(--red); } .cit-item.st-clos { border-left-color: #b9c0cc; opacity: .85; }
.cit-item.st-en_cours { border-left-color: var(--navy-2); }
.cit-item summary { display: grid; grid-template-columns: 110px 170px minmax(0, 1fr) auto 150px; gap: 12px; align-items: center; padding: 10px 14px; cursor: pointer; list-style: none; }
.cit-item summary::-webkit-details-marker { display: none; }
.cit-ref { font-family: ui-monospace, Consolas, monospace; font-size: .78rem; color: var(--ink-soft); }
.cit-item summary strong { color: var(--navy-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cit-resume { font-size: .88rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cit-item summary time { font-size: .76rem; color: var(--ink-soft); text-align: right; }
.cit-form { padding: 4px 16px 14px; border-top: 1px solid #eef1f6; }
.cit-champs, .cit-suivi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin-top: 10px; }
.cit-form label { margin: 0; font-weight: 400; }
.cit-form label.long { grid-column: 1 / -1; }
.cit-form label span { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; color: var(--ink-soft); margin-bottom: 3px; }
.cit-form input, .cit-form textarea, .cit-form select { margin: 0; font: inherit; font-size: .92rem; width: 100%; }
.cit-meta { font-size: .78rem; color: var(--ink-soft); margin: 10px 0 0; }
.cit-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cit-actions button { margin: 0; cursor: pointer; }
@media (max-width: 800px) {
  .cit-item summary { grid-template-columns: minmax(0, 1fr) auto; }
  .cit-ref, .cit-resume, .cit-item summary time { display: none; }
  .cit-champs, .cit-suivi { grid-template-columns: minmax(0, 1fr); }
  .mod-liste label { grid-template-columns: 20px minmax(0, 1fr); }
  .mod-liste time, .mod-texte { grid-column: 2; }
}

/* ===================== v31 — Plaque de grade (bandeau de bienvenue) ===================== */
.plaque-grade { flex: none; min-width: 190px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 18px 12px;
  border-radius: 14px; position: relative; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #e9edf3 55%, #cfd7e3 100%);
  border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(214,173,47,.18), 0 10px 26px rgba(0,0,0,.35); }
.plaque-grade::before { content: ""; position: absolute; inset: 5px; border-radius: 10px; border: 1px solid rgba(12,34,71,.12); pointer-events: none; }
.plaque-insigne { height: 78px; width: 150px; display: flex; align-items: center; justify-content: center; }
.plaque-insigne img { max-height: 78px; max-width: 150px; width: auto; height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.plaque-grade strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-3); font-size: 1rem; line-height: 1.1; margin-top: 4px; }
.plaque-grade small { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: #8a6d16; }
.plaque-anc { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(12,34,71,.15); font-size: .72rem; color: var(--ink-soft); }
.plaque-anc img { width: 30px; height: 30px; object-fit: contain; }
@media (max-width: 700px) { .plaque-grade { min-width: 0; width: 100%; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; text-align: left; }
  .plaque-insigne { width: 90px; height: 54px; } .plaque-insigne img { max-width: 90px; max-height: 54px; } .plaque-grade small { display: none; } .plaque-anc { display: none; } }
.intra-insigne { height: 34px; width: auto; max-width: 74px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

/* v31 — statuts des enquêtes MDIT */
.mdit-compteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.mdit-compteurs span { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 4px; border-radius: 7px; font-size: .66rem;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; background: #f3f5f9; color: var(--ink-soft); }
.mdit-compteurs b { font-size: 1.3rem; color: var(--navy); }
.mdit-compteurs .en_cours b { color: var(--navy-2); } .mdit-compteurs .doj b { color: #7a4fc2; }
.mdit-compteurs .avec_suite b { color: #2f9e5b; } .mdit-compteurs .sans_suite b { color: #8a93a8; }
.mdit li { position: relative; border-left-color: var(--navy-2); background: #f5f7fb; }
.mdit li.st-doj { border-left-color: #7a4fc2; background: #f6f1fd; }
.mdit li.st-avec_suite { border-left-color: #2f9e5b; background: #f0f9f4; }
.mdit li.st-sans_suite, .mdit li.st-close { border-left-color: #b9c0cc; background: #f5f6f8; }
.mdit-statut { display: inline-block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .6rem; padding: 1px 7px; border-radius: 8px; margin-bottom: 3px;
  background: var(--navy-2); color: #fff; }
.st-doj .mdit-statut { background: #7a4fc2; } .st-avec_suite .mdit-statut { background: #2f9e5b; } .st-sans_suite .mdit-statut, .st-close .mdit-statut { background: #8a93a8; }
@media (max-width: 500px) { .mdit-compteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===================== v32 — Navigation groupée ===================== */
.intra-nav .nav-groupe { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: #7f8ba3; padding: 12px 14px 4px; }
.intra-nav .nav-groupe:first-child { padding-top: 0; }
@media (max-width: 980px) { .intra-nav .nav-groupe { display: none; } }

/* ===================== v32 — Tables communes ===================== */
.table-defile { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.tab-sasp { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tab-sasp th { text-align: left; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: var(--ink-soft); background: #f3f5f9; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tab-sasp td { padding: 9px 12px; border-bottom: 1px solid #eef1f6; vertical-align: top; }
.tab-sasp tbody tr:last-child td { border-bottom: 0; }
.tab-sasp tfoot td { font-weight: 700; background: #f7f9fc; border-top: 2px solid var(--line); }
.tab-sasp td small { display: block; color: var(--ink-soft); font-size: .76rem; }
.tab-sasp .montant { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--navy); white-space: nowrap; }
.tab-sasp .ligne-active td { background: #eef8f1; }
.tab-sasp .ligne-annulee td { color: #8a90a0; } .tab-sasp .ligne-annulee .montant { text-decoration: line-through; color: #8a90a0; }
.cel-notes { max-width: 360px; }
.sous-titre { font-size: .95rem; color: var(--navy); margin: 22px 0 8px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.mini-action summary { cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; color: var(--red); list-style: none; white-space: nowrap; }
.mini-action summary::-webkit-details-marker { display: none; }
.mini-action form { display: flex; gap: 6px; margin-top: 6px; min-width: 240px; }
.mini-action input { padding: 6px 8px; font-size: .82rem; }
.mini-action .btn-mini, .avis-actions .btn-mini, .res-detail .btn-mini, .paie-actions .btn-mini { margin: 0; }
.sous-onglets, .frais-filtres, .avis-filtres { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.sous-onglets a, .frais-filtres a, .avis-filtres a { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; padding: 7px 14px; border-radius: 20px; text-decoration: none; color: var(--navy); background: #e9edf4; }
.sous-onglets a[aria-current="page"], .frais-filtres a.actif, .avis-filtres a.actif { background: var(--navy); color: #fff; }
.avis-filtres a b { background: rgba(255,255,255,.25); border-radius: 10px; padding: 0 7px; margin-left: 4px; }
.form-etat { margin: 8px 0 0; font-size: .86rem; color: var(--ink-soft); } .form-etat.ko { color: var(--red); font-weight: 600; }
.apercu-img img { max-width: 100%; max-height: 180px; border-radius: 8px; border: 1px solid var(--line); margin-top: 8px; }

/* ===================== v32 — Prise de service ===================== */
.svc-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.svc-console { border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #0c2247, #071730); color: #e7ecf5; box-shadow: var(--shadow); }
.svc-unite { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.svc-unite strong { display: block; font-family: "Oswald", sans-serif; font-size: 1.15rem; letter-spacing: .03em; color: #fff; }
.svc-unite small { color: #9fb0cc; font-size: .8rem; }
.svc-indicatif { display: inline-block; font-family: "Oswald", sans-serif; letter-spacing: .12em; font-size: .8rem; color: var(--gold-light); }
.svc-voyant { width: 16px; height: 16px; border-radius: 50%; flex: none; background: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.25); }
.en-service .svc-voyant { background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,.25), 0 0 14px #2ecc71; animation: voyant 2s infinite; }
@keyframes voyant { 50% { box-shadow: 0 0 0 7px rgba(46,204,113,.12), 0 0 18px #2ecc71; } }
.svc-etat { margin-left: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; padding: 5px 12px; border-radius: 20px; background: rgba(192,57,43,.2); color: #ffb3aa; }
.en-service .svc-etat { background: rgba(46,204,113,.18); color: #8ff0b8; }
.svc-chrono { padding: 18px 20px 8px; text-align: center; }
.svc-chrono span { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #9fb0cc; }
.svc-chrono b { display: block; font-family: "Oswald", sans-serif; font-size: 3rem; line-height: 1.1; color: #fff; letter-spacing: .04em; }
.svc-chrono small { color: #9fb0cc; }
.svc-fin, .svc-debut { padding: 16px 20px 20px; }
.svc-debut p { margin: 0 0 6px; color: #c6d1e3; }
.svc-fin h2 { font-size: .95rem !important; color: var(--gold-light); letter-spacing: .1em; margin: 6px 0 0; }
.svc-fin label { color: #c6d1e3; margin: 12px 0 4px; font-size: .82rem; } .svc-fin label em { font-style: normal; color: var(--gold-light); font-weight: 400; font-size: .72rem; }
.svc-fin input, .svc-fin textarea { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.svc-fin input::placeholder, .svc-fin textarea::placeholder { color: #7f8ba3; }
.svc-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; width: 100%; padding: 14px 18px; border: 0; border-radius: 8px; cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; text-decoration: none; color: #fff; }
.svc-bouton.debut { background: #1f9d55; } .svc-bouton.debut:hover { background: #178046; }
.svc-bouton.fin { background: var(--red); } .svc-bouton.fin:hover { background: var(--red-deep); }
.svc-heures b { display: block; font-family: "Oswald", sans-serif; font-size: 2.2rem; color: var(--navy); line-height: 1.1; }
.svc-heures span { color: var(--ink-soft); font-size: .85rem; }
.palier-barre { position: relative; height: 12px; background: #e7ebf2; border-radius: 6px; margin: 18px 0 22px; }
.palier-rempli { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), #e8c55a); }
.palier-barre i { position: absolute; top: 15px; transform: translateX(-50%); font-style: normal; font-size: .66rem; color: var(--ink-soft); font-family: "Oswald", sans-serif; }
.palier-barre i::before { content: ""; position: absolute; left: 50%; top: -15px; width: 2px; height: 12px; background: #fff; }
.palier-barre i:last-child { transform: translateX(-100%); } .palier-barre i:last-child::before { left: auto; right: 0; }
.svc-palier { font-size: .85rem; margin: 0 0 12px; color: var(--ink-soft); }
.svc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.svc-stats div { background: #f5f7fb; border-radius: 8px; padding: 8px 10px; }
.svc-stats dt { font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.svc-stats dd { margin: 0; font-family: "Oswald", sans-serif; font-size: 1.15rem; color: var(--navy); }
.svc-liens { display: flex; gap: 14px; margin: 12px 0 0; } .svc-liens a { font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: .78rem; letter-spacing: .05em; color: var(--navy-2); text-decoration: none; }
.svc-unites { margin-top: 16px; } .svc-unites .patrouille { max-height: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pat-depuis { margin-left: auto; font-family: "Oswald", sans-serif; font-size: .8rem; color: #1f9d55; white-space: nowrap; }
.ajust-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; }
.ajust-liste b { font-family: "Oswald", sans-serif; } .ajust-liste b.plus { color: #1f9d55; } .ajust-liste b.moins { color: var(--red); } .ajust-liste span { color: var(--ink-soft); }
/* bandeau tableau de bord */
.svc-bandeau { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: linear-gradient(120deg, #0c2247, #13336a); color: #e7ecf5; box-shadow: var(--shadow); }
.svc-b-etat strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.svc-b-etat small { color: #9fb0cc; font-size: .8rem; }
.svc-b-chiffre { border-left: 1px solid rgba(255,255,255,.15); padding-left: 16px; }
.svc-b-chiffre b { display: block; font-family: "Oswald", sans-serif; font-size: 1.25rem; color: var(--gold-light); line-height: 1.1; }
.svc-b-chiffre small { color: #9fb0cc; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.svc-b-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-b-actions form { margin: 0; }
.svc-b-actions .svc-bouton { width: auto; margin: 0; padding: 10px 18px; font-size: .88rem; }
.svc-b-actions > a:not(.svc-bouton) { color: #c6d1e3; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; text-decoration: none; }
.svc-b-actions > a:not(.svc-bouton):hover { color: #fff; }
/* staff */
.staff-svc-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.svc-staff-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-staff-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 10px; background: #f5f7fb; border-radius: 8px; border-left: 3px solid #1f9d55; }
.svc-staff-liste li.alerte-longue { border-left-color: var(--red); background: #fdf1f1; }
.svc-staff-liste strong { display: block; font-size: .9rem; color: var(--navy-3); } .svc-staff-liste small { font-size: .78rem; color: var(--ink-soft); }
.svc-staff-liste details { margin-left: auto; }
.heures-ligne { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 10px; }
.staff-heures label, .frais-form label, .noter-form label, .avis-form label { margin: 12px 0 4px; font-size: .82rem; }
.staff-heures .btn-mini, .frais-form .btn-mini, .noter-form .btn-mini, .avis-form .btn-mini { margin-top: 16px; }
.paie-bloc { margin-bottom: 16px; } .paie-bloc header .statut-d { margin-left: auto; }

/* ===================== v32 — Fiches de paie ===================== */
.paie-resume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.paie-resume div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow); }
.paie-resume span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.paie-resume b { display: block; font-family: "Oswald", sans-serif; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.paie-resume small { color: var(--ink-soft); font-size: .8rem; }
.paie-onglets { display: flex; gap: 6px; margin-bottom: 10px; }
.paie-onglets button { margin: 0; padding: 7px 14px; border-radius: 20px; background: #e9edf4; color: var(--navy); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; font-weight: 400; }
.paie-onglets button[aria-selected="true"] { background: var(--navy); color: #fff; }
.paie-actions { margin: 10px 0 0; }
.paie-bareme { margin-top: 22px; } .paie-bareme summary { cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-2); }
.bareme-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; align-items: start; }
.bareme-grille table { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.bulletin { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-width: 820px; overflow: hidden; }
.bul-tete { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(120deg, #0c2247, #1d4f8f); color: #fff; }
.bul-tete h2 { margin: 0; font-size: 1.4rem !important; color: #fff; letter-spacing: .08em; }
.bul-org { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--gold-light); }
.bul-periode { font-size: .85rem; color: #c6d1e3; }
.bul-cachet { margin-left: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; padding: 6px 12px; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-4deg); color: #8ff0b8; }
.bul-cachet.estimation { color: var(--gold-light); } .bul-cachet.a_venir { color: #9fc5ff; }
.bul-identite { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.bul-identite div { padding: 10px 16px; border-right: 1px solid #eef1f6; } .bul-identite div:last-child { border-right: 0; }
.bul-identite span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.bul-identite strong { color: var(--navy-3); font-size: .95rem; }
.bul-lignes { width: 100%; border-collapse: collapse; font-size: .9rem; }
.bul-lignes th { text-align: right; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; color: var(--ink-soft); padding: 8px 16px; background: #f7f9fc; }
.bul-lignes th:first-child, .bul-lignes td:first-child { text-align: left; }
.bul-lignes td { text-align: right; padding: 8px 16px; border-bottom: 1px dashed #e3e7ee; }
.bul-lignes td small { color: var(--ink-soft); margin-left: 6px; font-size: .76rem; }
.bul-lignes .bul-sous td { font-weight: 600; background: #fbfcfe; }
.bul-lignes tfoot td { font-family: "Oswald", sans-serif; font-size: 1.25rem; color: #fff; background: var(--navy); border: 0; padding: 12px 16px; letter-spacing: .04em; }
.bul-bas { padding: 14px 22px 4px; display: grid; gap: 12px; }
.bul-palier > span, .bul-detail > span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; color: var(--ink-soft); }
.bul-palier .palier-barre { margin: 10px 0 24px; }
.bul-detail ul { margin: 6px 0 0; padding-left: 18px; font-size: .85rem; }
.bul-pied { padding: 10px 22px 16px; font-size: .78rem; color: var(--ink-soft); border-top: 1px solid #eef1f6; }

/* ===================== v32 — Notes de frais ===================== */
.frais-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.frais-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frais-total { display: block; font-family: "Oswald", sans-serif; font-size: 2rem; color: var(--navy); }
.frais-semaine > span { color: var(--ink-soft); font-size: .88rem; }
.justif img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }

/* ===================== v32 — Divisions ===================== */
.div-onglets { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 2px 10px; margin: 14px 0 6px; scrollbar-width: thin; }
.div-onglets a { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 8px 4px; border-radius: 10px; text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; text-align: center; }
.div-onglets a img { width: 34px; height: 34px; object-fit: contain; }
.div-onglets a:hover { border-color: var(--navy-2); color: var(--navy); }
.div-onglets a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(12,34,71,.7); }
.div-mienne { position: absolute; top: 6px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.div-banniere { display: flex; align-items: center; gap: 22px; padding: 20px 24px; margin-top: 12px; border-radius: 12px; background: linear-gradient(120deg, #0c2247, #1d4f8f); color: #fff; box-shadow: var(--shadow); }
.div-banniere img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); flex: none; }
.div-banniere h2 { margin: 2px 0 6px; font-size: 1.6rem !important; color: #fff; }
.div-tag { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold-light); }
.div-accroche { margin: 0 0 10px; color: #d6deeb; max-width: 720px; }
.div-chiffres { display: flex; flex-wrap: wrap; gap: 8px; }
.div-chiffres span { background: rgba(255,255,255,.1); border-radius: 20px; padding: 3px 12px; font-size: .8rem; color: #c6d1e3; }
.div-chiffres b { color: #fff; font-family: "Oswald", sans-serif; }
.div-grille { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.div-col { display: grid; gap: 16px; min-width: 0; }
.div-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.div-h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--red); margin: 14px 0 6px; }
.div-puces { margin: 0; padding-left: 18px; font-size: .92rem; display: grid; gap: 4px; }
.div-puces.coche { list-style: none; padding: 0; } .div-puces.coche li::before { content: "✔"; color: #1f9d55; margin-right: 8px; }
.div-etapes { margin: 0; padding: 0; list-style: none; counter-reset: e; display: grid; gap: 8px; font-size: .9rem; }
.div-etapes li { counter-increment: e; display: flex; gap: 10px; align-items: baseline; }
.div-etapes li::before { content: counter(e); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-family: "Oswald", sans-serif; font-size: .76rem; display: grid; place-items: center; }
.div-manuels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.div-manuels li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--navy-2); }
.div-manuels li.formateur { border-top-color: var(--gold); } .div-manuels li.verrou { opacity: .75; background: #f7f8fb; }
.div-manuels strong { color: var(--navy-3); font-size: .95rem; } .div-manuels small { color: var(--ink-soft); font-size: .8rem; flex: 1; }
.div-manuels .btn-mini { align-self: flex-start; margin-top: 6px; }
.div-man-type { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; color: var(--red); }
.div-verrou { font-size: .76rem; color: var(--ink-soft); }
.div-poste { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--red); margin: 10px 0 4px; }
.div-poste:first-of-type { margin-top: 0; }
.div-chef { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.div-chef img { width: 36px; height: 36px; object-fit: contain; }
.div-chef strong { display: flex; align-items: center; gap: 6px; color: var(--navy-3); } .div-chef small { color: var(--ink-soft); font-size: .78rem; }
.div-vacant { font-size: .82rem; color: var(--ink-soft); font-style: italic; margin: 2px 0 6px; }
.div-eff { max-height: 420px; }
.exam-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.exam-type { margin-left: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; padding: 2px 9px; border-radius: 10px; background: #e3ecf8; color: var(--navy-2); }
.exam-type.pratique { background: #fbf0d6; color: #7a5a0c; }
.exam-bareme td:last-child, .exam-bareme th:last-child { text-align: right; width: 70px; }
.exam-seuil { margin: 10px 0 0; font-size: .85rem; color: var(--ink-soft); }
.noter-form { max-width: 820px; }
.noter-ligne { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.noter-grille { display: grid; gap: 6px; margin-top: 14px; }
.noter-grille label { display: grid; grid-template-columns: 1fr 80px 40px; gap: 10px; align-items: center; margin: 0; padding: 6px 10px; background: #f5f7fb; border-radius: 8px; font-weight: 400; color: var(--ink); }
.noter-grille input { padding: 6px 8px; text-align: right; } .noter-grille em { font-style: normal; color: var(--ink-soft); font-size: .85rem; }
.noter-total { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 8px; }
.noter-total span:first-child { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: #9fb0cc; }
.noter-total b { font-family: "Oswald", sans-serif; font-size: 1.5rem; } .noter-total .statut-d { margin-left: auto; }
.resultats { display: grid; gap: 8px; }
.resultat { background: #fff; border: 1px solid var(--line); border-left: 4px solid #8a90a0; border-radius: 8px; box-shadow: var(--shadow); }
.resultat.admis { border-left-color: #1f9d55; } .resultat.ajourne { border-left-color: var(--red); }
.resultat summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; list-style: none; }
.resultat summary::-webkit-details-marker { display: none; }
.resultat summary img { width: 30px; height: 30px; object-fit: contain; }
.res-exam { flex: 1; min-width: 0; } .res-exam strong { display: block; color: var(--navy-3); } .res-exam small { color: var(--ink-soft); font-size: .8rem; }
.res-note { font-family: "Oswald", sans-serif; font-size: 1.4rem; color: var(--navy); } .res-note small { font-size: .75rem; color: var(--ink-soft); }
.res-detail { padding: 0 14px 14px; } .res-detail table { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.res-detail p { font-size: .85rem; color: var(--ink-soft); margin: 6px 0; }
.res-com { margin: 6px 0 10px; padding: 8px 12px; border-left: 3px solid var(--gold); background: #fbf7ea; font-style: italic; font-size: .9rem; }

/* ===================== v32 — Messages Discord (essentiels, avis) ===================== */
.ess-grille { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.ess-onglets { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; position: sticky; top: 90px; box-shadow: var(--shadow); }
.ess-onglets a { padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
.ess-onglets a:hover { background: #f1f4f9; color: var(--navy); }
.ess-onglets a[aria-current="page"] { background: var(--navy); color: #fff; } .ess-onglets a[aria-current="page"] .ess-diese { color: var(--gold-light); }
.ess-diese { color: #9aa3b5; margin-right: 4px; font-weight: 700; }
.ess-tete { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.ess-tete h2 { margin: 0; font-size: 1.2rem !important; } .ess-tete p { margin: 4px 0 0; color: var(--ink-soft); font-size: .88rem; }
.ess-contenu { display: grid; gap: 12px; min-width: 0; }
.ess-fil { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.ess-fil summary { cursor: pointer; font-family: "Oswald", sans-serif; letter-spacing: .03em; color: var(--navy); font-size: 1.02rem; }
.dmsg-bloc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow); min-width: 0; }
.dmsg-bloc.epingle { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, var(--shadow); }
.dmsg-bloc > header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .82rem; }
.dmsg-bloc > header img { border-radius: 50%; } .dmsg-bloc > header strong { color: var(--navy-3); } .dmsg-bloc > header time { color: var(--ink-soft); }
.dmsg-pin { margin-left: auto; font-size: .72rem; color: #7a5a0c; background: #fbf0d6; border-radius: 10px; padding: 1px 8px; }
.md { font-size: .93rem; line-height: 1.55; overflow-wrap: anywhere; }
.md p { margin: 0; } .md .md-vide { display: block; height: .6em; }
.md .md-titre { margin: .5em 0 .25em; color: var(--navy); font-family: "Oswald", sans-serif; letter-spacing: .02em; }
.md h3.md-titre { font-size: 1.25rem; } .md h4.md-titre { font-size: 1.08rem; } .md h5.md-titre { font-size: .98rem; }
.md ul, .md ol { margin: .2em 0 .4em; padding-left: 22px; }
.md blockquote { margin: .2em 0; padding: 2px 10px; border-left: 4px solid #c9d0dc; color: #3a4154; }
.md .md-petit { display: block; font-size: .78rem; color: var(--ink-soft); }
.md code { background: #eef1f6; padding: 1px 5px; border-radius: 4px; font-size: .85em; }
.md .mention { background: #e6ecfb; color: #3b55b8; border-radius: 4px; padding: 0 3px; }
.md img.emoji { width: 1.3em; height: 1.3em; vertical-align: -.3em; }
.dembed { position: relative; margin-top: 8px; border-left: 4px solid #c9d0dc; background: #f5f7fb; border-radius: 6px; padding: 10px 14px; }
.dembed-mini { float: right; width: 72px; height: 72px; object-fit: contain; margin-left: 10px; border-radius: 6px; }
.dembed-auteur { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.dembed-titre { display: block; color: var(--navy-3); margin-bottom: 4px; }
.dembed-champs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.dembed-champs > div { flex: 1 1 100%; } .dembed-champs > div.inline { flex: 1 1 150px; }
.dembed-champs b { display: block; font-size: .82rem; color: var(--navy-3); }
.dembed-img { max-width: 100%; max-height: 420px; border-radius: 6px; margin-top: 8px; display: block; }
.dembed-pied { display: block; clear: both; margin-top: 8px; font-size: .74rem; color: var(--ink-soft); }
.dmsg-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .dmsg-images img { max-width: 100%; max-height: 360px; border-radius: 6px; border: 1px solid var(--line); }
.dmsg-fichiers { margin: 6px 0 0; padding-left: 0; list-style: none; font-size: .86rem; }

/* ===================== v32 — Avis de recherche ===================== */
.avis-nouveau { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.avis-nouveau > summary { cursor: pointer; padding: 12px 18px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--red); border-radius: 10px; list-style: none; }
.avis-nouveau[open] > summary { border-radius: 10px 10px 0 0; }
.avis-form { padding: 6px 18px 18px; }
.avis-form-grille { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
.avis-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.avis-form label.case { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink); margin-top: 14px; }
.avis-form label.case input { width: auto; }
.avis-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.avis-carte { position: relative; background: #fffdf6; border: 1px solid #e3d9bd; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.avis-bandeau { background: var(--red); color: #fff; text-align: center; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .3em; font-size: 1.05rem; padding: 6px; }
.avis-carte.st-apprehende .avis-bandeau { background: #1f9d55; } .avis-carte.st-annule .avis-bandeau { background: #6b7280; }
.avis-carte.st-apprehende .avis-photo img, .avis-carte.st-annule .avis-photo img { filter: grayscale(1); opacity: .8; }
.avis-photo { aspect-ratio: 4 / 3; background: #e9e4d6; display: grid; place-items: center; overflow: hidden; }
.avis-photo img { width: 100%; height: 100%; object-fit: cover; }
.avis-silhouette { display: block; width: 90px; height: 110px; background: radial-gradient(circle at 50% 28%, #b9b19b 0 24%, transparent 25%), radial-gradient(ellipse at 50% 100%, #b9b19b 0 48%, transparent 49%); }
.avis-silhouette.petit { width: 46px; height: 46px; flex: none; border-radius: 6px; background-color: #e9e4d6; background-size: 100% 100%; }
.avis-corps { padding: 12px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.avis-corps h2 { margin: 0; font-size: 1.3rem !important; color: var(--navy-3); text-transform: uppercase; letter-spacing: .04em; }
.avis-alias { color: var(--ink-soft); font-style: italic; font-size: .88rem; }
.avis-danger { align-self: flex-start; margin: 6px 0; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; padding: 2px 10px; border-radius: 10px; background: #fbf0d6; color: #7a5a0c; }
.d-faible .avis-danger { background: #e2f4ea; color: #1d6b3f; } .d-elevee .avis-danger { background: #fde5d2; color: #8a3b0f; } .d-extreme .avis-danger { background: var(--red); color: #fff; }
.avis-corps dl { margin: 4px 0 8px; display: grid; gap: 6px; font-size: .88rem; }
.avis-corps dt { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; color: var(--ink-soft); }
.avis-corps dd { margin: 0; }
.avis-consigne dd { font-weight: 600; color: var(--red-deep); }
.avis-meta { color: var(--ink-soft); font-size: .76rem; margin-top: auto; }
.avis-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .avis-actions form { margin: 0; }
.avis-discord { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.avis-mini { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.avis-mini li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; background: #fffdf6; border-left: 3px solid var(--gold); }
.avis-mini li.d-elevee, .avis-mini li.d-extreme { border-left-color: var(--red); }
.avis-mini img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; flex: none; }
.avis-mini div { min-width: 0; flex: 1; } .avis-mini strong { display: block; font-size: .9rem; color: var(--navy-3); text-transform: uppercase; }
.avis-mini small { display: block; font-size: .76rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avis-mini .avis-danger { margin: 0; font-size: .62rem; }
.tdb-compteur.alerte { background: var(--red); color: #fff; }

/* ===================== v32 — Responsive & impression ===================== */
@media (max-width: 1100px) {
  .svc-grille, .frais-grille, .div-grille, .staff-svc-grille { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ess-grille, .avis-form-grille, .div-deux, .bareme-grille, .noter-ligne, .avis-ligne { grid-template-columns: 1fr; }
  .ess-onglets { position: static; flex-direction: row; overflow-x: auto; } .ess-onglets a { white-space: nowrap; }
  .paie-resume { grid-template-columns: 1fr; }
  .bul-identite { grid-template-columns: 1fr 1fr; }
  .heures-ligne { grid-template-columns: 1fr 1fr; }
  .div-banniere { flex-direction: column; text-align: center; } .div-chiffres { justify-content: center; }
  .svc-b-chiffre { border-left: 0; padding-left: 0; } .svc-b-actions { margin-left: 0; }
  .bul-tete { flex-wrap: wrap; } .bul-cachet { margin-left: 0; }
}
@media print {
  .paie-onglets, .paie-actions, .paie-resume, .paie-histo, .paie-bareme, .staff-sous-titre, .table-defile, .retour-tdb, .eyebrow, .lede-intra, .intra-section > h1 { display: none !important; }
  .paie-panneau[hidden] { display: none !important; }
  .bulletin { box-shadow: none; border: 1px solid #999; max-width: none; }
  .bul-tete, .bul-lignes tfoot td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 760px) { .div-onglets { flex-wrap: nowrap; overflow-x: auto; } }

/* ===================== v33 — Codes 10 (fin de service) ===================== */
.codes10 { border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 10px 12px 12px; margin: 14px 0 0; }
.codes10 legend { padding: 0 6px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--gold-light); }
.codes10 legend small { text-transform: none; letter-spacing: 0; color: #9fb0cc; font-family: inherit; margin-left: 6px; }
.codes10-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.code10 { display: flex; align-items: stretch; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); overflow: hidden; transition: background .15s, border-color .15s; }
.code10.actif { background: rgba(214,173,47,.16); border-color: var(--gold); }
.code10-btn { flex: 1; margin: 0; padding: 7px 9px; background: none; border: 0; border-radius: 0; color: #dbe2ef; text-align: left; font-weight: 400; display: flex; flex-direction: column; gap: 1px; cursor: pointer; min-width: 0; }
.code10-btn b { font-family: "Oswald", sans-serif; font-size: .92rem; color: #fff; letter-spacing: .04em; }
.code10-btn span { font-size: .74rem; line-height: 1.2; color: #b7c3d8; }
.code10.actif .code10-btn b { color: var(--gold-light); }
.code10-nb { display: none; align-items: center; gap: 2px; padding: 0 4px; background: rgba(0,0,0,.18); }
.code10.actif .code10-nb { display: flex; }
.code10-nb button { margin: 0; width: 22px; height: 22px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: .95rem; line-height: 1; }
.code10-nb button:hover { background: var(--gold); color: var(--navy-3); }
.code10-nb output { min-width: 18px; text-align: center; font-family: "Oswald", sans-serif; color: #fff; }
.codes10-resume { margin: 8px 0 0; font-size: .8rem; color: #c6d1e3; }
.paie-envoi { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fbf7ea; border: 1px solid #ead7a0; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
.paie-envoi p { margin: 0; flex: 1 1 320px; font-size: .86rem; color: #5b4a17; }
.paie-envoi .btn-mini { margin: 0; background: var(--gold); color: var(--navy-3); border: 0; cursor: pointer; }

/* ===================== v33 — Onglets « Mon dossier RH » ===================== */
.rh-onglets { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.rh-onglets a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; }
.rh-onglets a:hover { background: #f1f4f9; color: var(--navy); }
.rh-onglets a[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(12,34,71,.8); }

/* ===================== v33 — Onglets « Mon dossier RH » ===================== */
.rh-onglets { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.rh-onglets a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; }
.rh-onglets a:hover { background: #f1f4f9; color: var(--navy); }
.rh-onglets a[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(12,34,71,.8); }

/* ===================== v33 — Onglets divisions (grands, nom complet) ===================== */
.div-onglets { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.div-onglets a { width: auto !important; flex-direction: row !important; align-items: center; gap: 12px !important; padding: 10px 14px !important; text-align: left !important; text-transform: none !important; letter-spacing: 0 !important; font-family: inherit !important; font-size: .9rem !important; min-height: 76px; }
.div-onglets a img { width: 54px !important; height: 54px !important; flex: none; }
.div-o-txt { display: flex; flex-direction: column; min-width: 0; }
.div-o-txt strong { font-family: "Oswald", sans-serif; font-weight: 500; font-size: .98rem; line-height: 1.15; color: var(--navy-3); letter-spacing: .01em; }
.div-o-txt small { font-size: .74rem; color: var(--ink-soft); margin-top: 2px; }
.div-onglets a[aria-current="page"] .div-o-txt strong { color: #fff; } .div-onglets a[aria-current="page"] .div-o-txt small { color: var(--gold-light); }
.div-onglets a:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
@media (max-width: 760px) { .div-onglets { grid-template-columns: 1fr 1fr; } .div-onglets a { min-height: 64px; } .div-onglets a img { width: 40px !important; height: 40px !important; } }
.div-exam-tete { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.div-exam-tete h2 { margin: 0; } .div-exam-tete .btn-mini { margin: 0 0 0 auto; }
.badge-fto { font-family: "Oswald", sans-serif; font-size: .64rem; letter-spacing: .08em; background: #fbf0d6; color: #7a5a0c; border-radius: 10px; padding: 2px 9px; vertical-align: 3px; }
.res-ico { width: 30px; height: 30px; display: grid; place-items: center; font-size: 1.2rem; }
.res-type { font-style: normal; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .64rem; padding: 1px 7px; border-radius: 8px; background: #e3ecf8; color: var(--navy-2); }
.res-type.t-habilitation { background: #fde5d2; color: #8a3b0f; } .res-type.t-academy { background: #e2f4ea; color: #1d6b3f; }

/* ===================== v33 — Sessions de formation (FTO) ===================== */
.fo-nouvelle { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 18px 20px; margin-top: 18px; }
.fo-nouvelle h2 { margin: 0 0 12px; font-size: 1.05rem !important; }
.fo-nouvelle label { margin: 12px 0 4px; font-size: .82rem; }
.fo-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fo-type { margin: 0 !important; cursor: pointer; }
.fo-type { position: relative; }
.fo-type input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 10px; top: 10px; }
.fo-type-carte { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px; background: #f7f9fc; transition: .15s; font-weight: 400; }
.fo-type-carte strong { font-family: "Oswald", sans-serif; font-size: 1.05rem; color: var(--navy); font-weight: 500; }
.fo-type-carte small { color: var(--ink-soft); font-size: .8rem; line-height: 1.35; }
.fo-ico { font-size: 1.6rem; }
.fo-type input:checked + .fo-type-carte { border-color: var(--navy); background: #eef3fb; box-shadow: 0 8px 18px -12px rgba(12,34,71,.6); }
.fo-type input:focus-visible + .fo-type-carte { outline: 3px solid var(--gold); }
.fo-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fo-apercu { margin-top: 8px; font-size: .82rem; color: var(--ink-soft); background: #f5f7fb; border-radius: 8px; padding: 8px 12px; }
.fo-apercu:empty { display: none; }
.fo-compte { font-weight: 400; color: var(--navy-2); margin-left: 6px; }
.fo-filtre { margin-bottom: 6px; }
.fo-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.fo-agent { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 6px 8px; border-radius: 6px; background: #f7f9fc; font-weight: 400 !important; cursor: pointer; }
.fo-agent input { width: auto; } .fo-agent img, .fo-sans { width: 24px; height: 24px; object-fit: contain; flex: none; }
.fo-agent strong { display: block; font-size: .86rem; color: var(--navy-3); } .fo-agent small { display: block; font-size: .72rem; color: var(--ink-soft); }
.fo-agent.cadet { border-left: 3px solid #1f9d55; }
.fo-agent:has(input:checked) { background: #e7eefb; box-shadow: inset 0 0 0 1px var(--navy-2); }
.fo-nouvelle > .btn-mini { margin-top: 16px; }
.fo-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.fo-session { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy-2); border-radius: 10px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .15s; }
.fo-session:hover { transform: translateY(-2px); }
.fo-session.t-academy { border-left-color: #1f9d55; } .fo-session.t-habilitation { border-left-color: #e07b24; }
.fo-session.cloturee { opacity: .8; }
.fo-session-type { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--red); }
.fo-session strong { color: var(--navy-3); font-size: 1rem; } .fo-session small { color: var(--ink-soft); font-size: .8rem; }
.fo-session-bas { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: .8rem; }
.fo-tete { display: flex; align-items: center; gap: 18px; margin-top: 10px; padding: 18px 22px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, #0c2247, #1d4f8f); box-shadow: var(--shadow); }
.fo-tete.t-academy { background: linear-gradient(120deg, #0c2247, #1c6b47); } .fo-tete.t-habilitation { background: linear-gradient(120deg, #0c2247, #8a3b0f); }
.fo-tete h1 { color: #fff; margin: 2px 0 4px; font-size: 1.5rem; } .fo-tete p { margin: 0; color: #c6d1e3; font-size: .88rem; }
.fo-tete-ico { font-size: 2.6rem; } .fo-tete .statut-d { margin-left: auto; }
.fo-rappel { font-size: .88rem; color: var(--ink-soft); }
.fo-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; }
.fo-carte { background: #fff; border: 1px solid var(--line); border-top: 4px solid #c9d0dc; border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow); }
.fo-carte.admis { border-top-color: #1f9d55; } .fo-carte.ajourne { border-top-color: var(--red); } .fo-carte.absent { opacity: .7; }
.fo-carte header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fo-carte header img { width: 34px; height: 34px; object-fit: contain; }
.fo-carte header strong { display: block; color: var(--navy-3); } .fo-carte header small { color: var(--ink-soft); font-size: .78rem; }
.fo-score { margin-left: auto; font-family: "Oswald", sans-serif; } .fo-score b { font-size: 1.5rem; color: var(--navy); } .fo-score small { color: var(--ink-soft); }
.fo-criteres { display: grid; gap: 4px; }
.fo-criteres label { display: grid; grid-template-columns: 1fr 70px 34px; gap: 8px; align-items: center; margin: 0; padding: 4px 8px; background: #f5f7fb; border-radius: 6px; font-weight: 400; font-size: .84rem; color: var(--ink); }
.fo-criteres input { padding: 5px 7px; text-align: right; } .fo-criteres em { font-style: normal; color: var(--ink-soft); font-size: .8rem; }
.fo-pied { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.fo-pied input[name^="c_"] { flex: 1; padding: 7px 9px; font-size: .84rem; }
.fo-absent { display: flex !important; align-items: center; gap: 4px; margin: 0 !important; font-weight: 400 !important; font-size: .8rem; white-space: nowrap; } .fo-absent input { width: auto; }
.fo-retirer { margin: 0; padding: 5px 9px; font-size: .74rem; background: none; color: var(--red); border: 1px solid #f0c7c9; }
.fo-enregistrer { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--navy); border-radius: 10px; position: sticky; bottom: 10px; box-shadow: 0 10px 24px -10px rgba(7,23,48,.7); }
.fo-enregistrer .btn-mini { margin: 0; background: var(--gold); color: var(--navy-3); border: 0; cursor: pointer; } .fo-enregistrer span { color: #c6d1e3; font-size: .84rem; }
.fo-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; } .fo-actions form { margin: 0; display: flex; gap: 6px; } .fo-actions .btn-mini { margin: 0; }
.fo-ajout select { width: auto; min-width: 260px; }
@media (max-width: 760px) { .fo-types, .fo-ligne { grid-template-columns: 1fr; } .fo-notes { grid-template-columns: 1fr; } .fo-tete { flex-wrap: wrap; } }

/* ===================== v33 — Essentiels en patrouille (fiches natives) ===================== */
.ess2-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 14px 28px; align-items: center; padding: 26px 28px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, #071730 0%, #0c2247 55%, #1d4f8f 100%); box-shadow: var(--shadow); }
.ess2-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold), var(--navy-2)); }
.ess2-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.ess2-hero p { margin: 0; color: #c6d1e3; max-width: 56ch; }
.ess2-recherche { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 4px 6px 4px 14px; background: #fff; border-radius: 30px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.ess2-recherche input { border: 0; padding: 12px 10px; font-size: .98rem; border-radius: 30px; }
.ess2-recherche input:focus { outline: none; }
.ess2-chiffres { grid-column: 1 / -1; display: flex; gap: 8px; }
.ess2-chiffres span { background: rgba(255,255,255,.1); border-radius: 20px; padding: 3px 12px; font-size: .8rem; color: #c6d1e3; } .ess2-chiffres b { color: var(--gold-light); font-family: "Oswald", sans-serif; }
.ess2-grille { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.ess2-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; }
.ess2-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy-3); font-family: "Oswald", sans-serif; font-size: .98rem; transition: .15s; }
.ess2-nav a small { display: block; font-family: var(--police, "Inter", system-ui, sans-serif); font-size: .74rem; color: var(--ink-soft); }
.ess2-nav a:hover { border-color: var(--navy-2); transform: translateX(2px); }
.ess2-nav a.actif { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(12,34,71,.8); } .ess2-nav a.actif small { color: var(--gold-light); }
.ess2-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; font-size: 1.25rem; background: #eef2f8; border-radius: 9px; }
.ess2-nav a.actif .ess2-ico { background: rgba(255,255,255,.12); }
.ess2-fiche { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 0 0 8px; overflow: hidden; }
.ess2-fiche + .ess2-fiche { margin-top: 16px; }
.ess2-fiche-tete { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: linear-gradient(180deg, #f5f7fb, #fff); border-bottom: 1px solid #eef1f6; }
.ess2-grosse-ico { width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.9rem; background: var(--navy); border-radius: 14px; box-shadow: inset 0 -3px 0 var(--gold); }
.ess2-fiche-tete h2 { margin: 0; font-size: 1.45rem !important; color: var(--navy); }
.ess2-fiche-tete p { margin: 2px 0 0; color: var(--ink-soft); font-size: .9rem; }
.ess2-section { padding: 6px 24px 10px; }
.ess2-section h3 { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-family: "Oswald", sans-serif; font-size: 1.12rem; color: var(--navy); letter-spacing: .02em; }
.ess2-section h3::before { content: ""; width: 5px; height: 1.15em; border-radius: 3px; background: var(--gold); }
.ess2-section h3.niv-1 { font-size: 1.3rem; } .ess2-section h3.niv-3 { font-size: 1rem; color: var(--navy-2); } .ess2-section h3.niv-3::before { background: var(--navy-2); }
.ess2-section h4 { margin: 14px 0 8px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--red); }
.ess2-texte { margin: 6px 0; line-height: 1.6; }
.ess2-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 8px 0; }
.ess2-code { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; background: #f5f7fb; border: 1px solid #e3e8f0; transition: .15s; }
.ess2-code:hover { border-color: var(--navy-2); background: #eef3fb; }
.ess2-code b { flex: none; min-width: 58px; text-align: center; font-family: "Oswald", sans-serif; font-size: 1rem; letter-spacing: .03em; color: #fff; background: var(--navy); border-radius: 7px; padding: 4px 8px; box-shadow: inset 0 -2px 0 var(--gold); }
.ess2-code span { font-size: .9rem; line-height: 1.3; }
.ess2-defs { display: grid; gap: 6px; margin: 8px 0; }
.ess2-defs > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 14px; padding: 9px 14px; border-radius: 9px; background: #f7f9fc; border-left: 3px solid var(--navy-2); }
.ess2-defs dt { font-weight: 700; color: var(--navy-3); } .ess2-defs dd { margin: 0; }
.ess2-liste { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.ess2-liste li { position: relative; padding: 7px 12px 7px 34px; background: #f7f9fc; border-radius: 8px; line-height: 1.45; }
.ess2-liste li::before { content: "✔"; position: absolute; left: 12px; top: 7px; color: #1f9d55; font-weight: 700; }
.ess2-etapes { list-style: none; padding: 0; margin: 8px 0; counter-reset: et; display: grid; gap: 8px; }
.ess2-etapes li { counter-increment: et; position: relative; padding: 8px 12px 8px 50px; background: #f7f9fc; border-radius: 8px; min-height: 38px; line-height: 1.45; }
.ess2-etapes li::before { content: counter(et); position: absolute; left: 10px; top: 7px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: "Oswald", sans-serif; font-size: .88rem; }
.ess2-alerte { display: flex; gap: 10px; margin: 10px 0; padding: 12px 16px; border-radius: 10px; background: #fff6dc; border: 1px solid var(--gold); color: #5b4a17; font-weight: 600; }
.ess2-note { margin: 4px 0; font-size: .8rem; color: var(--ink-soft); }
.ess2-fig { margin: 10px 0; } .ess2-fig img { max-width: 100%; max-height: 480px; border-radius: 10px; border: 1px solid var(--line); display: block; }
.ess2-fichier { font-weight: 600; }
.ess2-maj { margin: 8px 24px 6px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--ink-soft); }
.ess2-vide { padding: 20px; text-align: center; color: var(--ink-soft); background: #fff; border-radius: 12px; border: 1px dashed var(--line); }
.ess-masque { display: none !important; }
.ess-cherche .ess2-nav a.actif { background: #fff; color: var(--navy-3); border-color: var(--line); } .ess-cherche .ess2-nav a.actif small { color: var(--ink-soft); }
@media (max-width: 900px) {
  .ess2-hero { grid-template-columns: 1fr; }
  .ess2-grille { grid-template-columns: 1fr; }
  .ess2-nav { position: static; flex-direction: row; overflow-x: auto; } .ess2-nav a { flex: none; }
  .ess2-defs > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ===================== v33 — Bandeau « Le SASP recrute » ===================== */
.recru { position: relative; overflow: hidden; color: #eef2fa; background: #071730; isolation: isolate; }
.recru-fond { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 12% 50%, rgba(29,79,143,.55), transparent 70%),
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(179,39,44,.55), transparent 65%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
    linear-gradient(120deg, #06132b 0%, #0c2247 48%, #3a1420 100%); }
.recru-balayage { position: absolute; top: -50%; bottom: -50%; width: 32%; left: -40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: recru-balayage 7s ease-in-out infinite; }
@keyframes recru-balayage { 0%, 25% { left: -40%; } 70%, 100% { left: 130%; } }
.recru-gyro { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: .0; }
.recru-gyro.g1 { background: #2d6cdf; top: -260px; right: 18%; animation: gyro-bleu 2.4s infinite; }
.recru-gyro.g2 { background: #e0282f; top: -260px; right: -6%; animation: gyro-rouge 2.4s infinite; }
@keyframes gyro-bleu { 0%, 45%, 100% { opacity: .05; } 10%, 30% { opacity: .5; } }
@keyframes gyro-rouge { 0%, 50%, 95%, 100% { opacity: .05; } 60%, 80% { opacity: .5; } }
.recru-inner { max-width: 1180px; margin: 0 auto; padding: 56px 22px 34px; display: grid; grid-template-columns: 300px 1fr; gap: 54px; align-items: center; }
.recru-embleme { position: relative; display: grid; place-items: center; width: 300px; height: 300px; }
.recru-embleme img { position: relative; width: 230px; height: auto; filter: drop-shadow(0 20px 36px rgba(0,0,0,.6)); animation: flotte 6s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-8px); } }
.recru-anneau { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold), transparent 30%, #2d6cdf 50%, transparent 70%, var(--red), transparent 95%); -webkit-mask: radial-gradient(circle, transparent 64%, #000 65%, #000 67%, transparent 68%); mask: radial-gradient(circle, transparent 64%, #000 65%, #000 67%, transparent 68%); animation: tourne 14s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.recru-tampon { position: absolute; right: -6px; bottom: 22px; transform: rotate(-12deg); padding: 7px 14px; border: 3px solid var(--gold); border-radius: 8px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; line-height: 1.15; text-align: center; color: var(--gold-light); background: rgba(7,23,48,.85); box-shadow: 0 8px 20px -8px rgba(0,0,0,.7); }
.recru-tampon b { font-size: 1.05rem; color: #fff; }
.recru-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; background: rgba(214,173,47,.14); border: 1px solid rgba(214,173,47,.5); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold-light); }
.recru-badge i { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.7); animation: pulse-vert 1.8s infinite; }
@keyframes pulse-vert { 70% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
.recru-titre { margin: 14px 0 10px; font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: .95; font-size: clamp(2.6rem, 7vw, 5.2rem); color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.recru-titre span { display: inline-block; background: linear-gradient(100deg, #f7e3a1 0%, var(--gold) 45%, #fff3c4 55%, var(--gold) 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: or-brille 4s linear infinite; }
@keyframes or-brille { to { background-position: -220% 0; } }
.recru-accroche { max-width: 60ch; font-size: 1.1rem; color: #d3dbea; margin: 0; }
.recru-accroche strong { color: #fff; }
.recru-atouts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.recru-atouts li { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.recru-atouts li span { grid-row: span 2; font-size: 1.5rem; }
.recru-atouts b { font-family: "Oswald", sans-serif; font-weight: 500; color: #fff; letter-spacing: .02em; }
.recru-atouts small { color: #9fb0cc; font-size: .78rem; }
.recru-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.recru-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 15px 28px; border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: 1.02rem; font-weight: 600; color: var(--navy-3); background: linear-gradient(180deg, #f2d36b, var(--gold)); box-shadow: 0 12px 28px -10px rgba(214,173,47,.8), inset 0 -3px 0 rgba(0,0,0,.18); transition: transform .15s, box-shadow .15s; }
.recru-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: brille-btn 3.2s ease-in-out infinite; }
@keyframes brille-btn { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.recru-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(214,173,47,.9), inset 0 -3px 0 rgba(0,0,0,.18); color: var(--navy-3); }
.recru-btn.clair { color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.4); box-shadow: none; }
.recru-btn.clair::after { display: none; } .recru-btn.clair:hover { background: rgba(255,255,255,.14); color: #fff; }
.recru-chiffres { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; font-size: .88rem; color: #9fb0cc; }
.recru-chiffres b { font-family: "Oswald", sans-serif; font-size: 1.35rem; color: var(--gold-light); margin-right: 4px; } .recru-chiffres b.vert { color: #5ee29a; }
.recru-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); background: rgba(3,10,24,.55); }
.recru-etapes li { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 22px; }
.recru-etapes li + li { border-left: 1px solid rgba(255,255,255,.08); }
.recru-etapes li:not(:last-child)::after { content: "›"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); z-index: 1; width: 16px; height: 16px; font-size: 1.2rem; line-height: 14px; text-align: center; color: var(--gold); }
.recru-etapes b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: "Oswald", sans-serif; font-size: 1.05rem; color: var(--navy-3); background: var(--gold); }
.recru-etapes span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: #fff; }
.recru-etapes small { display: block; text-transform: none; letter-spacing: 0; font-family: var(--police, "Inter", system-ui, sans-serif); font-size: .78rem; color: #9fb0cc; }
.recru::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red-deep), var(--gold), var(--navy-2)); }
@media (max-width: 900px) {
  .recru-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; padding-top: 36px; }
  .recru-embleme { width: 220px; height: 220px; margin: 0 auto; } .recru-embleme img { width: 170px; }
  .recru-atouts { grid-template-columns: 1fr; text-align: left; } .recru-cta, .recru-chiffres { justify-content: center; }
  .recru-accroche { margin: 0 auto; }
  .recru-etapes { grid-template-columns: 1fr 1fr; } .recru-etapes li:nth-child(3) { border-left: 0; } .recru-etapes li::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .recru *, .recru *::after { animation: none !important; } }
/* page /recrutement */
.recru-corps { padding-top: 48px; }
.recru-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.recru-form-carte { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 14px; padding: 26px 28px; box-shadow: var(--shadow); }
.recru-form-carte h2 { margin: 0 0 6px; color: var(--navy); }
.recru-intro { color: var(--ink-soft); margin: 0 0 6px; }
.recru-form label em { color: var(--red); font-style: normal; } .recru-form label small { font-weight: 400; color: var(--ink-soft); }
.recru-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.recru-form .recru-btn { margin-top: 22px; }
.recru-merci { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: #e8f6ee; border: 1px solid #9fd4b4; border-radius: 12px; color: #1d5a36; }
.recru-merci-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; font-size: 1.3rem; }
.recru-merci p { margin: 4px 0 0; }
.recru-aside { display: grid; gap: 14px; }
.recru-bloc { background: linear-gradient(160deg, #0c2247, #13336a); color: #d6deeb; border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); }
.recru-bloc h3 { margin: 0 0 10px; color: var(--gold-light); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.recru-bloc ul, .recru-bloc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; } .recru-bloc b { color: #fff; }
.recru-lien { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--navy-2); text-decoration: none; }
@media (max-width: 900px) { .recru-grille, .recru-deux { grid-template-columns: 1fr; } }

/* ===================== v34 — Registre médical en galerie ===================== */
.sec-tete { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .sec-tete h2 { margin-bottom: 14px; }
.med-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.med-doc { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.med-doc:hover { transform: translateY(-3px); border-color: var(--gold); }
.med-vignette { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; display: block; width: 100%; }
.med-vignette img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .35s; }
.med-doc:hover .med-vignette img { transform: scale(1.04); }
.med-zoom { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(7,23,48,.75); color: #fff; font-size: .9rem; opacity: 0; transition: opacity .2s; }
.med-doc:hover .med-zoom { opacity: 1; }
.med-doc figcaption, .med-fic, .med-note { padding: 10px 12px; }
.med-doc figcaption strong, .med-fic strong, .med-note > strong { display: block; font-size: .88rem; color: var(--t-titre, var(--navy)); line-height: 1.25; }
.med-doc small { display: block; font-size: .74rem; color: var(--ink-soft); margin-top: 2px; }
.med-fic { text-decoration: none; justify-content: center; align-items: flex-start; gap: 4px; min-height: 120px; } .med-fic > span { font-size: 1.6rem; }
.med-note { grid-column: span 2; } .med-note .med-texte { font-size: .88rem; }
.med-plus { margin-top: 10px; } .med-plus a { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: var(--t-lien, var(--navy-2)); text-decoration: none; }
@media (max-width: 600px) { .med-galerie { grid-template-columns: 1fr 1fr; } .med-note { grid-column: 1 / -1; } }
.arrestes { border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 10px 12px 12px; margin: 14px 0 0; }
.arrestes legend { padding: 0 6px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--gold-light); }
.arrestes legend small { text-transform: none; letter-spacing: 0; color: #9fb0cc; font-family: inherit; margin-left: 6px; }
.arreste { display: grid; grid-template-columns: 26px 1fr 1.2fr 30px; gap: 6px; align-items: center; margin-bottom: 6px; }
.arreste-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(214,173,47,.2); color: var(--gold-light); font-family: "Oswald", sans-serif; font-size: .8rem; }
.arreste input { padding: 8px 10px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; font-size: .88rem; }
.arreste-suppr { margin: 0; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #ffb3aa; font-size: .8rem; }
.arreste-suppr:hover { background: var(--red); color: #fff; }
.arreste-ajout { margin: 4px 0 0; padding: 7px 14px; border-radius: 20px; background: rgba(214,173,47,.15); border: 1px dashed var(--gold); color: var(--gold-light); font-size: .82rem; font-weight: 500; }
.arreste-ajout:hover { background: rgba(214,173,47,.28); }
@media (max-width: 600px) { .arreste { grid-template-columns: 24px 1fr 30px; } .arreste input[name=motif_arrest] { grid-column: 2; } }
