/*
  Caravane 2026 - feuille institutionnelle SPIP
  Usage : /squelettes/css/caravane2026.css
*/

/* 1. Design tokens et base */
:root {
  --ct-green-950: #12301d;
  --ct-green-900: #1b5e20;
  --ct-green-800: #2e7d32;
  --ct-green-700: #347a3f;
  --ct-green-100: #eaf4ec;
  --ct-water: #0d47a1;
  --ct-earth: #b9823d;
  --ct-sand-50: #faf9f6;
  --ct-sand-100: #f2efe7;
  --ct-ink: #1c281e;
  --ct-muted: #5f6b61;
  --ct-white: #ffffff;
  --ct-border: rgba(28, 40, 30, 0.14);
  --ct-shadow: 0 12px 30px rgba(28, 40, 30, 0.08);
  --ct-radius-xl: 8px;
  --ct-radius-lg: 6px;
  --ct-container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ct-sand-50);
  color: var(--ct-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
.spip_logo {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.ct-container,
.container,
.container-fluid {
  width: min(var(--ct-container), calc(100% - 48px));
  margin-inline: auto;
}

.ct-shell {
  min-height: 100vh;
  background: var(--ct-sand-50);
}

/* 2. En-tete */
.ct-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(28, 40, 30, 0.05);
}

.ct-nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ct-brand {
  min-width: 220px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ct-green-950);
  font-weight: 850;
  line-height: 1.1;
}

.ct-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ct-green-900);
  color: var(--ct-white);
}

.ct-brand-title {
  display: block;
}

.ct-brand small {
  display: block;
  margin-top: 3px;
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 700;
}

.ct-brand-logo,
.ct-brand.ct-brand-has-logo .spip_logo {
  width: auto;
  max-width: 240px;
  max-height: 62px;
  object-fit: contain;
}

.ct-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: var(--ct-radius-lg);
  color: #374151;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.18s ease;
}

.ct-nav-links a:hover,
.ct-nav-links a:focus-visible {
  color: var(--ct-green-700);
  outline: none;
}

.ct-nav-links .ct-nav-cta {
  background: var(--ct-green-900);
  color: var(--ct-white);
}

/* 3. Boutons et primitives */
.ct-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-lg);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  margin-bottom: 5px;
}

.ct-btn:hover,
.ct-btn:focus-visible {
  box-shadow: 0 10px 22px rgba(28, 40, 30, 0.1);
  outline: none;
}

.ct-btn-primary {
  background: var(--ct-earth);
  color: #172018;
}

.ct-btn-secondary {
  background: var(--ct-white);
  border-color: var(--ct-border);
  color: var(--ct-green-900);
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ct-label,
.ct-eyebrow,
.ct-type,
.ct-edition-tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ct-green-900);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ct-section-title,
.ct-card-title,
.ct-cta h2 {
  margin: 0 0 12px;
  color: var(--ct-green-950);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.16;
}

.ct-card-title {
  max-width: 760px;
  font-size: clamp(26px, 3vw, 36px);
}

.ct-section-text,
.ct-panel p {
  max-width: 600px;
  margin: 0;
  color: var(--ct-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ct-block {
  padding: 15px 0;
}

.ct-block + .ct-block {
  border-top: 1px solid rgba(28, 40, 30, 0.07);
}

.ct-section-head {
  max-width: 760px;
  margin: 0 0 40px;
}

.ct-section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

.ct-section-head.is-centered .ct-section-text {
  margin-inline: auto;
}

.ct-reveal {
  opacity: 1;
  transform: none;
}

/* 4. Accueil institutionnel */
.ct-2026-top {
  padding: 0;
}

.ct-institutional-hero {
  padding: 1rem 0;
  background:
    linear-gradient(rgba(18, 48, 29, 0.85), rgba(16, 36, 25, 0.92)),
    url("../images/fondhead2026.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ct-institutional-hero .ct-container {
  width: 100%;
  max-width: none;
}

.ct-2026-banner {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 42px;
  padding: 0 max(24px, calc((100vw - var(--ct-container)) / 2));
  background: transparent;
  color: var(--ct-white);
}

.ct-2026-content {
  max-width: 860px;
}

.ct-2026-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #c8f5d2;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ct-2026-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ct-earth);
}

.ct-2026-title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(35px, 4.5vw, 57px);
  font-weight: 850;
  line-height: 1.12;
}

.ct-2026-text {
  max-width: 720px;
  margin: 22px 0 0;
  color: #e8f5e9;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
}

.ct-2026-actions .ct-btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.76);
  color: var(--ct-white);
}

.ct-2026-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.ct-2026-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ct-radius-lg);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.ct-2026-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--ct-radius-xl);
  background: rgba(255, 255, 255, 0.12);
}

.ct-2026-year {
  width: fit-content;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: var(--ct-radius-lg);
  background: var(--ct-white);
  color: var(--ct-green-900);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.ct-2026-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.ct-2026-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.6;
}

.ct-2026-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ct-2026-mini {
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ct-radius-xl);
  background: rgba(255, 255, 255, 0.1);
}

.ct-2026-mini strong,
.ct-impact-item strong {
  display: block;
  color: var(--ct-green-900);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 950;
  line-height: 1;
}

.ct-2026-mini strong {
  color: var(--ct-white);
  font-size: 22px;
}

.ct-2026-mini span,
.ct-impact-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.ct-impact {
  background: var(--ct-sand-100);
  border-bottom: 1px solid #e5e7eb;
}

.ct-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 32px 0;
  text-align: center;
}

.ct-impact-item span {
  color: #4b5563;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* 5. Grilles, cartes et listes */
.ct-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ct-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.ct-panel,
.ct-card,
.ct-cta,
.ct-route {
  border: 1px solid #e5e7eb;
  border-radius: var(--ct-radius-xl);
  background: var(--ct-white);
  box-shadow: var(--ct-shadow);
}

.ct-panel {
  padding: 34px;
}

.ct-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
}

.ct-side-dark {
  padding: 26px;
  border-radius: var(--ct-radius-xl);
  background: #1f2933;
  color: var(--ct-white);
}

.ct-side-dark h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.ct-side-dark ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-side-dark li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.45;
}

.ct-side-dark li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ct-earth);
}

.ct-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.ct-card .ct-link {
  margin-top: auto;
}

.ct-card:hover,
.ct-card:focus-within {
  box-shadow: 0 10px 24px rgba(28, 40, 30, 0.08);
  transform: translateY(-2px);
}

.ct-card h3,
.ct-article-tile h3 {
  margin: 0 0 10px;
  color: var(--ct-green-950);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.ct-card p,
.ct-article-tile p {
  margin: 0 0 16px;
  color: var(--ct-ink);
  font-size: 15px;
  line-height: 1.6;
}

.ct-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ct-green-100);
  font-size: 40px;
  line-height: 1;
  margin: 0 auto 16px;
}

.ct-link {
  color: var(--ct-green-900);
  font-size: 14px;
  font-weight: 850;
}

.ct-news {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 24px;
  align-items: stretch;
}

.ct-feature {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 48, 29, 0.1), rgba(18, 48, 29, 0.9)), var(--ct-green-900);
  color: var(--ct-white);
}

.ct-feature-img {
  width: calc(100% + 48px);
  max-height: 320px;
  margin: -24px 0 20px;
  overflow: hidden;
  border-radius: var(--ct-radius-xl) var(--ct-radius-xl) 0 0;
  background: var(--ct-sand-100);
}

.ct-feature-img img,
.ct-feature-img .spip_logo {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.ct-feature-body {
  padding: 0;
}

.ct-feature h3,
.ct-feature p,
.ct-feature .ct-link {
  color: var(--ct-white);
}

.ct-feature small,
.ct-list-date,
.ct-article-tile-date {
  display: block;
  margin-bottom: 8px;
  color: var(--ct-earth);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-list {
  display: grid;
  gap: 12px;
}

.ct-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-xl);
  background: var(--ct-white);
}

.ct-list-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--ct-radius-lg);
  background: var(--ct-sand-100);
}

.ct-list-thumb img,
.ct-list-thumb .spip_logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-list-text {
  min-width: 0;
  flex: 1 1 auto;
}

.ct-list-item strong {
  display: block;
  color: var(--ct-green-950);
  line-height: 1.25;
}

.ct-doc {
  min-height: 178px;
  display: flex;
  flex-direction: column;
}

.ct-cta {
  padding: 42px;
  background: #1f2933;
  color: var(--ct-white);
}

.ct-cta h2 {
  color: var(--ct-white);
}

.ct-cta p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.68;
}

.ct-cta .ct-btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ct-white);
}

/* 6. Footer */
.ct-footer {
  padding: 48px 0 34px;
  background: #1c1d1f;
  border-top: 4px solid var(--ct-green-900);
  color: #c7c7c7;
}

.ct-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  align-items: start;
}

.ct-footer strong {
  color: var(--ct-white);
}

.ct-footer span,
.ct-footer a,
.ct-footer-meta {
  color: #b8b8b8;
  font-size: 13px;
}

.ct-footer-links {
  display: grid;
  gap: 8px;
}

.ct-footer-links strong {
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-footer a:hover,
.ct-footer a:focus-visible {
  color: var(--ct-white);
  outline: none;
}

/* 7. Articles et rubriques */
.ct-article-hero {
  padding: 42px 0 34px;
  background: var(--ct-sand-100);
  border-bottom: 1px solid var(--ct-border);
}

.ct-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ct-muted);
  font-size: 13px;
  font-weight: 700;
}

.ct-breadcrumb a {
  color: var(--ct-green-900);
}

.ct-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: center;
}

.ct-article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ct-article-rubrique,
.ct-article-date,
.ct-article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--ct-radius-lg);
  background: var(--ct-white);
  color: var(--ct-green-900);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ct-article-title {
  max-width: 900px;
  margin: 0;
  color: var(--ct-green-950);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 850;
  line-height: 1.12;
}

.ct-article-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ct-muted);
  font-size: 18px;
  line-height: 1.7;
}

.ct-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--ct-muted);
  font-size: 13px;
  font-weight: 700;
}

.ct-article-cover {
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ct-radius-xl);
  background: var(--ct-green-950);
}

.ct-article-cover img,
.ct-article-cover .spip_logo {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.ct-article-cover-fallback {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--ct-white);
  text-align: center;
}

.ct-article-cover-fallback strong {
  display: block;
  color: var(--ct-earth);
  font-size: 44px;
  line-height: 1;
}

.ct-article-main {
  padding: 44px 0 54px;
}

.ct-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.ct-article-body {
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: var(--ct-radius-xl);
  background: var(--ct-white);
  box-shadow: var(--ct-shadow);
}

.ct-chapo {
  margin-bottom: 24px;
  color: var(--ct-green-950);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
}

.ct-article-texte {
  color: var(--ct-ink);
  font-size: 17px;
  line-height: 1.78;
}

.ct-article-texte > *:first-child {
  margin-top: 0;
}

.ct-article-texte h2,
.ct-article-texte h3,
.ct-article-texte h4 {
  color: var(--ct-green-950);
  line-height: 1.22;
}

.ct-article-texte h2 {
  margin: 42px 0 16px;
  font-size: clamp(26px, 3.5vw, 38px);
}

.ct-article-texte h3 {
  margin: 34px 0 13px;
  font-size: clamp(22px, 3vw, 30px);
}

.ct-article-texte h4 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.ct-article-texte p {
  margin: 0 0 1.15em;
}

.ct-article-texte a,
.ct-article-body a {
  color: var(--ct-water);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ct-article-texte ul,
.ct-article-texte ol {
  margin: 0 0 1.25em 1.3em;
  padding: 0;
}

.ct-article-texte blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--ct-earth);
  background: var(--ct-sand-100);
  color: var(--ct-green-950);
}

.ct-article-body iframe,
.ct-article-body video,
.ct-article-body embed,
.ct-article-body object {
  max-width: 100%;
}

.ct-article-body iframe[src*="youtube"],
.ct-article-body iframe[src*="youtu.be"],
.ct-article-body iframe[src*="vimeo"] {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--ct-radius-xl);
}

.ct-article-documents {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--ct-border);
}

.ct-article-documents h2 {
  margin: 0 0 16px;
  color: var(--ct-green-950);
  font-size: 24px;
}

.ct-article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.ct-aside-card {
  padding: 20px;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-xl);
  background: var(--ct-white);
}

.ct-aside-card.is-green {
  background: var(--ct-green-950);
  color: var(--ct-white);
}

.ct-aside-card h3 {
  margin: 0 0 10px;
  color: var(--ct-green-950);
  font-size: 18px;
}

.ct-aside-card.is-green h3 {
  color: var(--ct-earth);
}

.ct-aside-card p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ct-aside-card.is-green p {
  color: rgba(255, 255, 255, 0.78);
}

.ct-aside-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-aside-list a,
.ct-share-btn {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  background: var(--ct-sand-50);
  color: var(--ct-green-950);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ct-aside-list small {
  display: block;
  margin-top: 4px;
  color: var(--ct-muted);
  font-size: 11px;
}

.ct-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ct-article-related {
  padding: 8px 0 58px;
}

.ct-article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ct-article-tile {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: var(--ct-radius-xl);
  background: var(--ct-white);
  box-shadow: var(--ct-shadow);
}

.ct-article-tile-img {
  height: 190px;
  background: var(--ct-green-950);
}

.ct-article-tile-img img,
.ct-article-tile-img .spip_logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-article-tile-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ct-earth);
  font-size: 34px;
  font-weight: 950;
}

.ct-article-tile-body {
  padding: 18px;
}

/* 8. Composants SPIP */
.spip_documents {
  max-width: 100%;
  margin: 24px 0;
}

.spip_documents_center {
  text-align: center;
}

.spip_documents_left {
  float: left;
  max-width: 45%;
  margin: 6px 24px 18px 0;
}

.spip_documents_right {
  float: right;
  max-width: 45%;
  margin: 6px 0 18px 24px;
}

.spip_doc_titre {
  margin-top: 8px;
  color: var(--ct-green-950);
  font-size: 14px;
  font-weight: 850;
}

.spip_doc_descriptif {
  margin-top: 4px;
  color: var(--ct-muted);
  font-size: 13px;
}

.spip_doc_taille,
.spip_doc_type {
  color: var(--ct-earth);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

table.spip {
  width: 100%;
  margin: 28px 0;
  border: 1px solid var(--ct-border);
  border-collapse: collapse;
  background: var(--ct-white);
  font-size: 15px;
}

table.spip th,
table.spip td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ct-border);
  text-align: left;
  vertical-align: top;
}

table.spip th,
table.spip tr.row_first {
  background: var(--ct-green-950);
  color: var(--ct-white);
}

.spip_code {
  padding: 2px 5px;
  border: 1px solid var(--ct-border);
  border-radius: 4px;
  background: var(--ct-green-100);
  color: var(--ct-green-950);
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
}

.spip_cadre {
  margin: 24px 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: var(--ct-radius-xl);
  background: #172018;
  color: #e8f2eb;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
}

.spip_surligne {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(185, 130, 61, 0.2);
}

.ct-article-notes {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--ct-border);
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ct-article-notes .spip_notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-article-notes li {
  margin-bottom: 10px;
}

.spip_note_ref,
.spip_note_retour {
  color: var(--ct-earth);
  font-size: 0.82em;
  font-weight: 900;
  text-decoration: none;
}

.ct-article-meta span {
  display: inline-flex;
  align-items: center;
}

/* 9. Carte interactive isolee */
.carte-spip-embed {
  --sahel: #b95718;
  --niger: #d98b19;
  --coast: #1d6f9f;
  --central: #6d4c8d;
  --junction: #9d2f24;
  --arrival: #24835b;
  width: 100%;
  background: var(--ct-sand-50);
  color: var(--ct-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.carte-spip-embed * {
  box-sizing: border-box;
}

.carte-spip-embed .page-shell {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.carte-spip-embed .map-card,
.carte-spip-embed .visitor-guide,
.carte-spip-embed .route-panel,
.carte-spip-embed .side-panel,
.carte-spip-embed .stat,
.carte-spip-embed .guide-card,
.carte-spip-embed .route-card,
.carte-spip-embed .map-wrap {
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-xl);
  background: var(--ct-white);
}

.carte-spip-embed .map-card {
  overflow: hidden;
}

.carte-spip-embed .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 34px;
  background: var(--ct-green-950);
  color: var(--ct-white);
}

.carte-spip-embed .eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: var(--ct-radius-lg);
  background: var(--ct-earth);
  color: #172018;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.carte-spip-embed h1 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.12;
}

.carte-spip-embed .lead {
  max-width: 840px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.65;
}

.carte-spip-embed .hero-meta,
.carte-spip-embed .summary-row,
.carte-spip-embed .guide-grid,
.carte-spip-embed .route-panel,
.carte-spip-embed .map-section,
.carte-spip-embed .legend-list {
  display: grid;
  gap: 14px;
}

.carte-spip-embed .hero-meta {
  align-content: start;
}

.carte-spip-embed .meta-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ct-radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

.carte-spip-embed .meta-label {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.carte-spip-embed .meta-value {
  margin: 0;
  color: var(--ct-white);
  font-weight: 800;
}

.carte-spip-embed .summary-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 20px;
  background: var(--ct-sand-100);
}

.carte-spip-embed .stat,
.carte-spip-embed .guide-card,
.carte-spip-embed .route-card {
  padding: 18px;
}

.carte-spip-embed .stat strong,
.carte-spip-embed .guide-title,
.carte-spip-embed .route-card h2,
.carte-spip-embed .side-panel h3 {
  margin: 0 0 8px;
  color: var(--ct-green-950);
}

.carte-spip-embed .stat span,
.carte-spip-embed .guide-lead,
.carte-spip-embed .guide-card p,
.carte-spip-embed .route-card p,
.carte-spip-embed .source-note,
.carte-spip-embed .legend-note-mobile {
  margin: 0;
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.55;
}

.carte-spip-embed .visitor-guide,
.carte-spip-embed .route-panel {
  margin: 20px;
  padding: 20px;
}

.carte-spip-embed .guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.carte-spip-embed .mini-badge,
.carte-spip-embed .chip,
.carte-spip-embed .map-focus-link {
  display: inline-flex;
  align-items: center;
  border-radius: var(--ct-radius-lg);
  font-size: 12px;
  font-weight: 850;
}

.carte-spip-embed .mini-badge {
  margin-bottom: 10px;
  padding: 5px 8px;
  background: var(--ct-sand-100);
  color: var(--ct-green-950);
}

.carte-spip-embed .map-focus-link {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.carte-spip-embed .map-focus-hint,
.carte-spip-embed .route-hint,
.carte-spip-embed .stage-note,
.carte-spip-embed .instruction-box {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: var(--ct-radius-lg);
  background: var(--ct-sand-100);
  color: var(--ct-green-950);
  font-size: 14px;
}

.carte-spip-embed .route-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.carte-spip-embed .route-card {
  border-top: 4px solid var(--route-color, var(--ct-green-900));
}

.carte-spip-embed .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.carte-spip-embed .chip {
  padding: 7px 10px;
  border: 1px solid var(--ct-border);
  background: var(--ct-white);
  color: var(--ct-green-950);
  cursor: pointer;
}

.carte-spip-embed .stage-note {
  margin: 20px;
}

.carte-spip-embed .map-section {
  grid-template-columns: minmax(0, 1fr) 340px;
  padding: 20px;
}

.carte-spip-embed .map-wrap {
  position: relative;
  padding: 12px;
}

.carte-spip-embed #map {
  width: 100%;
  min-height: 620px;
  height: 70vh;
  border-radius: var(--ct-radius-lg);
  background: #dfe8df;
}

.carte-spip-embed .side-panel {
  padding: 18px;
}

.carte-spip-embed .legend-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.carte-spip-embed .legend-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--ct-radius-lg);
  color: var(--ct-muted);
  font-size: 13px;
}

.carte-spip-embed .legend-section + .legend-section {
  margin-top: 18px;
}

.carte-spip-embed .legend-section-title {
  margin: 0 0 10px;
  color: var(--ct-green-950);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.carte-spip-embed .legend-line {
  width: 36px;
  height: 4px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--c);
}

.carte-spip-embed .legend-line.dashed {
  background: repeating-linear-gradient(90deg, var(--c) 0 7px, transparent 7px 13px);
}

.carte-spip-embed .legend-mini-pin,
.carte-spip-embed .legend-info-dot,
.carte-spip-embed .legend-fsm-dot,
.carte-spip-embed .legend-special-pin {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c);
  color: var(--ct-white);
  font-size: 10px;
  font-weight: 900;
}

.carte-spip-embed .map-touch-toggle,
.carte-spip-embed .mobile-help {
  display: none;
}

.carte-spip-embed .leaflet-container {
  font-family: inherit;
}

.carte-spip-embed .leaflet-popup-content-wrapper {
  border-radius: var(--ct-radius-xl);
}

.carte-spip-embed .pin,
.carte-spip-embed .pin-special {
  position: relative;
  width: 34px;
  height: 46px;
}

.carte-spip-embed .pin-shape {
  position: absolute;
  inset: 6px 7px auto;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  background: var(--pin-color, var(--ct-green-900));
  transform: rotate(-45deg);
}

.carte-spip-embed .step-badge {
  position: absolute;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ct-white);
  color: var(--ct-green-950);
  font-size: 10px;
  font-weight: 900;
}

.carte-spip-embed .pin-label {
  position: absolute;
  top: 34px;
  left: 50%;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--ct-white);
  color: var(--ct-green-950);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  transform: translateX(-50%);
}

.carte-spip-embed .info-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ct-green-950);
  color: var(--ct-white);
  font-weight: 900;
}

.carte-spip-embed .text-sahel {
  color: var(--sahel);
}

.carte-spip-embed .text-niger {
  color: var(--niger);
}

.carte-spip-embed .text-coast {
  color: var(--coast);
}

.carte-spip-embed .text-central {
  color: var(--central);
}

.carte-spip-embed .text-junction {
  color: var(--junction);
}

.carte-spip-embed .text-arrival {
  color: var(--arrival);
}

/* 10. Responsive */
@media (min-width: 768px) {
  .ct-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .ct-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ct-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .ct-nav-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
  }

  .ct-nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .ct-nav-links a {
    flex: 0 0 auto;
  }

  .ct-2026-banner,
  .ct-two,
  .ct-news,
  .ct-article-hero-grid,
  .ct-article-layout,
  .carte-spip-embed .hero,
  .carte-spip-embed .map-section,
  .carte-spip-embed .route-panel {
    grid-template-columns: 1fr;
  }

  .ct-impact-grid,
  .ct-article-related-grid,
  .carte-spip-embed .summary-row,
  .carte-spip-embed .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-article-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .ct-list-thumb {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .ct-feature-img,
  .ct-feature-img img,
  .ct-feature-img .spip_logo {
    max-height: 240px;
  }

  .ct-feature-img img,
  .ct-feature-img .spip_logo {
    height: 240px;
  }
}

@media (max-width: 620px) {
  .ct-container,
  .container,
  .container-fluid {
    width: min(var(--ct-container), calc(100% - 28px));
  }

  .ct-nav-inner {
    min-height: 66px;
  }

  .ct-brand {
    min-width: 0;
  }

  .ct-brand-logo,
  .ct-brand.ct-brand-has-logo .spip_logo {
    max-width: 180px;
    max-height: 54px;
  }

  .ct-2026-banner {
    min-height: auto;
    gap: 28px;
    padding: 44px 18px;
  }

  .ct-2026-title {
    font-size: 33px;
    line-height: 1.14;
  }

  .ct-2026-mini-grid,
  .ct-impact-grid,
  .ct-article-related-grid,
  .carte-spip-embed .summary-row,
  .carte-spip-embed .guide-grid {
    grid-template-columns: 1fr;
  }

  .ct-block {
    padding: 48px 0;
  }

  .ct-panel,
  .ct-cta,
  .ct-article-body {
    padding: 24px;
  }

  .ct-section-title {
    font-size: 29px;
  }

  .ct-article-title {
    font-size: 34px;
  }

  .ct-article-cover,
  .ct-article-cover img,
  .ct-article-cover .spip_logo,
  .ct-article-cover-fallback {
    min-height: 260px;
  }

  .ct-article-body iframe[src*="youtube"],
  .ct-article-body iframe[src*="youtu.be"],
  .ct-article-body iframe[src*="vimeo"] {
    min-height: 210px;
  }

  .spip_documents_left,
  .spip_documents_right {
    float: none;
    max-width: 100%;
    margin: 20px 0;
  }

  .carte-spip-embed .hero,
  .carte-spip-embed .visitor-guide,
  .carte-spip-embed .route-panel,
  .carte-spip-embed .map-section {
    margin: 0;
    padding: 16px;
  }

  .carte-spip-embed #map {
    min-height: 520px;
    height: 72vh;
  }

  .carte-spip-embed .map-touch-toggle {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: inline-flex;
    justify-content: center;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--ct-radius-lg);
    background: var(--ct-green-900);
    color: var(--ct-white);
    font-weight: 850;
  }

  .carte-spip-embed .mobile-help {
    display: block;
    margin: 10px 0 0;
    color: var(--ct-muted);
    font-size: 13px;
  }
}

.ct-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ct-white, #ffffff);
  border-bottom: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow-sm, 0 2px 10px rgba(28, 40, 30, 0.06));
}

.ct-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ct-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ct-green-950, #12301d);
  text-decoration: none;
}

.ct-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ct-brand-title {
  color: var(--ct-green-950, #12301d);
  font-size: 16px;
  font-weight: 850;
}

.ct-brand-subtitle {
  margin-top: 3px;
  color: var(--ct-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cache l'input de contrôle du menu */
.ct-menu-toggle {
  display: none;
}

/* Cache le bouton burger sur PC */
.ct-burger-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.ct-nav {
  min-width: 0;
}

.ct-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--ct-radius-md, 6px);
  color: var(--ct-ink, #2d3748);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.ct-nav-link:hover,
.ct-nav-link:focus-visible,
.ct-nav-link.active {
  background: var(--ct-green-100);
  color: var(--ct-green-950, #12301d);
  outline: none;
}

.ct-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--ct-radius-md, 6px);
  background: var(--ct-green-950, #12301d);
  color: var(--ct-white, #ffffff);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}

.ct-nav-cta:hover,
.ct-nav-cta:focus-visible {
  color: var(--ct-white, #ffffff);
  opacity: 0.9;
  outline: none;
}

/* ==========================================================================
   MENU MOBILE (ÉCRANS JUSQU'À 1024px POUR SÉCURISER TOUS LES LIENS)
   ========================================================================== */
@media (max-width: 1024px) {
  .ct-header-inner {
    min-height: 66px;
    flex-wrap: nowrap; /* Conserve logo et burger alignés sur une seule ligne */
  }

  /* Rendu et affichage du bouton burger */
  .ct-burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    z-index: 102;
  }

  /* Dessin des 3 barres du burger */
  .ct-burger-icon,
  .ct-burger-icon::before,
  .ct-burger-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ct-green-950, #12301d);
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .ct-burger-icon::before,
  .ct-burger-icon::after {
    content: '';
    position: absolute;
  }
  .ct-burger-icon::before { top: -7px; }
  .ct-burger-icon::after { bottom: -7px; }

  /* Transformation du burger en "X" quand le menu est coché */
  .ct-menu-toggle:checked ~ .ct-burger-btn .ct-burger-icon {
    background: transparent;
  }
  .ct-menu-toggle:checked ~ .ct-burger-btn .ct-burger-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  .ct-menu-toggle:checked ~ .ct-burger-btn .ct-burger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  /* Transformation de la Navigation en rideau vertical masqué par défaut */
  .ct-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--ct-white, #ffffff);
    border-bottom: 1px solid var(--ct-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-in-out;
    z-index: 101;
  }

  /* Structure verticale de la liste interne */
  .ct-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
  }

  .ct-nav-link {
    width: 100%;
    min-height: 44px; /* Plus large sur mobile pour le clic tactile */
    padding: 0 16px;
    border-radius: 4px;
  }
  
  .ct-nav-cta {
    margin: 8px 16px;
    min-height: 44px;
  }

  /* APPARITION DU MENU : Quand l'input invisible est coché */
  .ct-menu-toggle:checked ~ .ct-nav {
    max-height: 80vh; /* Permet un déploiement fluide vers le bas */
    overflow-y: auto;
  }
}

/* ---------------- PARTENAIRES — VERSION LONGUE ---------------- */

.ct-partners-row{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
    align-items:stretch;
    padding:clamp(22px,4vw,36px);
    border:1px solid var(--ct-border);
    border-radius:var(--ct-radius-xl);
    background:
        radial-gradient(circle at 8% 10%, rgba(255,223,49,.14), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,253,247,.82));
    box-shadow:0 16px 45px rgba(16,36,25,.08);
    overflow:hidden;
}

.ct-partners-intro{
    max-width:900px;
}

.ct-partners-intro .ct-section-title{
    margin-bottom:8px;
}

.ct-partners-carousel{
    width:100%;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) 46px;
    gap:14px;
    align-items:center;
}

.ct-partners-viewport{
    width:100%;
    overflow:hidden;
    min-width:0;
}

.ct-partners-track{
    display:flex;
    align-items:center;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -ms-overflow-style:none;
    padding:6px 2px 10px;
}

.ct-partners-track::-webkit-scrollbar{
    display:none;
}

.ct-partner-card{
    flex:0 0 170px;
    min-height:104px;
    margin:0;
    padding:14px 16px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    scroll-snap-align:start;
    border:1px solid rgba(24,55,36,.12);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 24px rgba(16,36,25,.07);
    transition:transform .22s ease, box-shadow .22s ease;
}

.ct-partner-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 38px rgba(16,36,25,.12);
}

.ct-partner-card img{
    max-width:130px;
    max-height:56px;
    width:auto;
    height:auto;
    object-fit:contain;
}

.ct-partner-card figcaption{
    max-width:140px;
    color:var(--ct-muted);
    font-size:12px;
    font-weight:800;
    line-height:1.25;
    text-align:center;
}

.ct-partner-arrow{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border:1px solid rgba(24,55,36,.14);
    border-radius:999px;
    background:var(--ct-green-900);
    color:#fff;
    font-size:27px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
    box-shadow:0 12px 24px rgba(16,36,25,.14);
    transition:transform .2s ease, background .2s ease;
}

.ct-partner-arrow:hover{
    transform:translateY(-2px);
    background:var(--ct-green-700);
}

@media (max-width:760px){
    .ct-partners-row{
        gap:18px;
        padding:20px;
        border-radius:24px;
    }

    .ct-partners-carousel{
        grid-template-columns:38px minmax(0,1fr) 38px;
        gap:9px;
    }

    .ct-partner-arrow{
        width:38px;
        height:38px;
        font-size:23px;
    }

    .ct-partner-card{
        flex-basis:145px;
        min-height:96px;
        padding:13px;
    }

    .ct-partner-card img{
        max-width:112px;
        max-height:50px;
    }
}

@media (max-width:430px){
    .ct-partners-carousel{
        grid-template-columns:34px minmax(0,1fr) 34px;
        gap:7px;
    }

    .ct-partner-arrow{
        width:34px;
        height:34px;
        font-size:21px;
    }

    .ct-partner-card{
        flex-basis:132px;
    }
}
/* ---------------- PAGE RUBRIQUE ---------------- */

.ct-rubrique-page{
    overflow:hidden;
}

.ct-rubrique-hero{
    padding:34px 0 24px;
    position:relative;
}

.ct-rubrique-hero .ct-breadcrumb{
    margin-bottom:18px;
}

.ct-rubrique-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:28px;
    align-items:center;
    min-height:220px;
    padding:clamp(24px,4vw,38px);
    border:1px solid var(--ct-border);
    border-radius:var(--ct-radius-xl);
    background:
        radial-gradient(circle at 90% 0%, rgba(255,223,49,.16), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,253,247,.82));
    box-shadow:0 16px 45px rgba(16,36,25,.08);
}

.ct-rubrique-hero-grid--plain{
    grid-template-columns:1fr;
    min-height:190px;
}

.ct-rubrique-kicker{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    margin-bottom:14px;
}

.ct-rubrique-kicker span{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 11px;
    border-radius:999px;
    background:var(--ct-sand-100);
    color:var(--ct-green-900);
    font-size:12px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.ct-rubrique-kicker span:first-child{
    background:var(--ct-green-900);
    color:#fff;
}

.ct-rubrique-title{
    margin:0;
    max-width:860px;
    color:var(--ct-green-950);
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(38px,5.5vw,68px);
    line-height:.96;
    letter-spacing:-.055em;
}

.ct-rubrique-intro{
    max-width:760px;
    margin:16px 0 0;
    color:#4f5d50;
    font-size:clamp(16px,1.7vw,19px);
    line-height:1.65;
}

.ct-rubrique-cover{
    margin:0;
    overflow:hidden;
    border-radius:24px;
    min-height:190px;
    max-height:240px;
    background:linear-gradient(135deg,var(--ct-green-950),var(--ct-green-700));
    box-shadow:0 14px 34px rgba(16,36,25,.14);
}

.ct-rubrique-cover img,
.ct-rubrique-cover .spip_logo{
    width:100%;
    height:100%;
    min-height:190px;
    object-fit:cover;
}

.ct-rubrique-subsections{
    padding-top:34px;
}

.ct-rubrique-subgrid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.ct-rubrique-subcard{
    display:flex;
    flex-direction:column;
    min-height:190px;
    padding:21px;
    border:1px solid var(--ct-border);
    border-radius:var(--ct-radius-lg);
    background:rgba(255,255,255,.82);
    box-shadow:0 16px 45px rgba(16,36,25,.07);
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.ct-rubrique-subcard:hover{
    transform:translateY(-4px);
    background:#fff;
    box-shadow:var(--ct-shadow);
}

.ct-rubrique-subcard-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:14px;
}

.ct-sub-count{
    color:var(--ct-muted);
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}

.ct-rubrique-subcard h3{
    margin:0 0 10px;
    color:var(--ct-green-950);
    font-size:22px;
    line-height:1.14;
    letter-spacing:-.025em;
}

.ct-rubrique-subcard p{
    margin:0 0 18px;
    color:var(--ct-muted);
    line-height:1.55;
}

.ct-rubrique-subcard .ct-link{
    margin-top:auto;
}

.ct-empty{
    padding:clamp(26px,5vw,44px);
    border:1px solid var(--ct-border);
    border-radius:var(--ct-radius-xl);
    background:rgba(255,255,255,.78);
    box-shadow:0 16px 45px rgba(16,36,25,.07);
}

@media (max-width:960px){
    .ct-rubrique-hero{
        padding-top:24px;
    }

    .ct-rubrique-hero-grid{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .ct-rubrique-cover{
        max-height:260px;
    }

    .ct-rubrique-subgrid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:620px){
    .ct-rubrique-hero{
        padding:18px 0 14px;
    }

    .ct-rubrique-hero-grid{
        padding:22px;
        border-radius:24px;
    }

    .ct-rubrique-title{
        font-size:38px;
    }

    .ct-rubrique-intro{
        font-size:15.5px;
    }

    .ct-rubrique-cover{
        display:none;
    }

    .ct-rubrique-subgrid{
        grid-template-columns:1fr;
    }

    .ct-rubrique-subcard{
        min-height:auto;
    }

    .ct-rubrique-subcard-top{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* ---------------- PAGINATION SPIP ---------------- */

.ct-pagination-wrap{
    display:flex;
    justify-content:center;
    margin-top:34px;
}

.ct-pagination{
    display:flex;
    justify-content:center;
    width:100%;
}

/* Conteneur généré par SPIP */
.ct-pagination .pagination,
.ct-pagination ul,
.pagination{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}

/* Items SPIP */
.ct-pagination li,
.ct-pagination .pagination-item{
    margin:0;
    padding:0;
}

/* Liens et états */
.ct-pagination a,
.ct-pagination strong,
.ct-pagination span,
.ct-pagination .on,
.ct-pagination .lien_pagination,
.ct-pagination .pagination-item-label{
    min-width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border-radius:999px;
    border:1px solid var(--ct-border);
    background:rgba(255,255,255,.82);
    color:var(--ct-green-900);
    font-size:14px;
    font-weight:900;
    line-height:1;
    box-shadow:0 8px 18px rgba(16,36,25,.06);
    transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

/* Page active */
.ct-pagination strong,
.ct-pagination .on,
.ct-pagination .pagination-item.active span,
.ct-pagination .pagination-item.active a{
    background:var(--ct-green-900);
    border-color:var(--ct-green-900);
    color:#fff;
    box-shadow:0 12px 26px rgba(16,36,25,.16);
}

/* Hover */
.ct-pagination a:hover,
.ct-pagination .lien_pagination:hover{
    transform:translateY(-2px);
    background:var(--ct-green-700);
    border-color:var(--ct-green-700);
    color:#fff;
}

/* Précédent / Suivant */
.ct-pagination .prev,
.ct-pagination .next,
.ct-pagination .page_precedente,
.ct-pagination .page_suivante{
    padding-inline:17px;
}

/* Points de suspension ou séparateurs */
.ct-pagination .sep,
.ct-pagination .pagination-sep{
    min-width:auto;
    border:0;
    background:transparent;
    box-shadow:none;
    color:var(--ct-muted);
    padding:0 4px;
}

/* Pagination inactive */
.ct-pagination .disabled,
.ct-pagination .pagination-disabled,
.ct-pagination .page_precedente.disabled,
.ct-pagination .page_suivante.disabled{
    opacity:.45;
    pointer-events:none;
}

/* Variante dans blocs sombres si nécessaire */
.ct-route .ct-pagination a,
.ct-route .ct-pagination strong,
.ct-route .ct-pagination span,
.ct-cta .ct-pagination a,
.ct-cta .ct-pagination strong,
.ct-cta .ct-pagination span{
    border-color:rgba(255,255,255,.18);
    background:rgba(255,255,255,.10);
    color:#fff;
}

/* Mobile */
@media (max-width:620px){
    .ct-pagination-wrap{
        margin-top:26px;
    }

    .ct-pagination .pagination,
    .ct-pagination ul,
    .pagination{
        gap:6px;
    }

    .ct-pagination a,
    .ct-pagination strong,
    .ct-pagination span,
    .ct-pagination .on,
    .ct-pagination .lien_pagination,
    .ct-pagination .pagination-item-label{
        min-width:38px;
        height:38px;
        padding:0 11px;
        font-size:13px;
    }

    .ct-pagination .prev,
    .ct-pagination .next,
    .ct-pagination .page_precedente,
    .ct-pagination .page_suivante{
        padding-inline:13px;
    }
}
/* ---------------- HERO — EN CHIFFRES ---------------- */

.ct-2026-card--numbers{
    justify-content:flex-start;
    gap:20px;
    min-height:auto;
    padding:24px;
    border-radius:20px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 18px 44px rgba(0,0,0,.16);
    backdrop-filter:blur(10px);
}

.ct-2026-numbers-intro{
    margin:0;
    color:#fff;
    font-size:clamp(18px,2vw,24px);
    font-weight:650;
    line-height:1.25;
    text-align:justify;
    text-wrap:balance;
}

.ct-2026-numbers-title{
    width:100%;
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:14px;
    background:#fff;
    color:#050505;
    font-size:clamp(26px,3vw,36px);
    font-weight:950;
    line-height:1;
    letter-spacing:.02em;
    text-transform:uppercase;
    box-shadow:0 14px 26px rgba(0,0,0,.12);
}

.ct-2026-card--numbers .ct-2026-mini-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:0;
}

.ct-2026-card--numbers .ct-2026-mini{
    min-height:104px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:18px;
    border-radius:12px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.24);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}

.ct-2026-card--numbers .ct-2026-mini strong{
    display:block;
    color:#fff;
    font-size:clamp(24px,3.1vw,32px);
    font-weight:1000;
    line-height:.95;
    letter-spacing:-.04em;
    text-shadow:0 3px 10px rgba(0,0,0,.28);
}

.ct-2026-card--numbers .ct-2026-mini span{
    display:block;
    margin-top:10px;
    color:#fff;
    font-size:clamp(13px,1.4vw,16px);
    font-weight:950;
    line-height:1.18;
    text-transform:uppercase;
    text-shadow:0 3px 10px rgba(0,0,0,.24);
}

.ct-2026-card--numbers .ct-2026-mini:nth-child(6) strong{
    font-size:clamp(22px,2.5vw,30px);
    text-transform:none;
}

.ct-2026-card--numbers .ct-2026-mini:nth-child(6) span{
    text-transform:none;
    font-size:clamp(13px,1.4vw,16px);
}

@media (min-width:1101px){
    .ct-2026-banner{
        grid-template-columns:minmax(0,1fr) 430px;
    }
}

@media (max-width:620px){
    .ct-2026-card--numbers{
        padding:18px;
        gap:16px;
    }

    .ct-2026-numbers-intro{
        font-size:18px;
        text-align:left;
    }

    .ct-2026-numbers-title{
        min-height:50px;
        font-size:25px;
    }

    .ct-2026-card--numbers .ct-2026-mini-grid{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .ct-2026-card--numbers .ct-2026-mini{
        min-height:92px;
        padding:14px;
    }

    .ct-2026-card--numbers .ct-2026-mini strong{
        font-size:25px;
    }

    .ct-2026-card--numbers .ct-2026-mini span{
        font-size:12px;
    }
}

@media (max-width:420px){
    .ct-2026-card--numbers .ct-2026-mini-grid{
        grid-template-columns:1fr;
    }
}