/* ================================================================
   GJKA CMS — styles des blocs (complète style.css)
   ================================================================ */

.container, .nav-inner, .footer-grid, .footer-bottom { max-width: var(--cms-container, 1260px); }

/* ── En-tête, menu et pied de page pilotés par le thème ── */
.site-header { background: var(--cms-header-bg, var(--dark)); }
.site-footer { background: var(--cms-footer-bg, var(--dark)); }
.nav-menu a:hover, .nav-menu a.active { color: var(--cms-nav-hover, var(--green)); border-bottom-color: var(--cms-nav-hover, var(--green)); }
.nav-cta { background: var(--cms-cta-bg, var(--green)) !important; color: var(--cms-cta-fg, #fff) !important; }
.nav-cta:hover { background: #fff !important; color: var(--cms-header-bg, var(--dark)) !important; }
.dropdown-menu a:hover { background: var(--light); color: var(--green); }
.footer-col a:hover, .footer-bottom a { color: var(--cms-nav-hover, var(--green)); }
@media (max-width: 900px) {
  .nav-menu { background: var(--cms-header-bg, var(--dark)); }
  .dropdown-menu a:hover { background: transparent; color: var(--cms-nav-hover, var(--green)); }
}

/* ── Boutons supplémentaires ─────────────────── */
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.hero-actions { margin-top: 28px; }
.cms-actions-left { justify-content: flex-start; }
.cms-align-left { justify-content: flex-start; }
.cms-align-center { justify-content: center; }
.cms-align-right { justify-content: flex-end; }
.cms-mt { margin-top: 24px; }
.cms-mt-sm { margin-top: 12px; }
.cms-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); color: var(--yellow);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 18px;
}

/* ── Texte riche ─────────────────────────────── */
.cms-rich > *:last-child { margin-bottom: 0; }
.cms-rich p { margin-bottom: 16px; }
.cms-rich ul, .cms-rich ol { margin: 8px 0 18px 22px; }
.cms-rich li { margin-bottom: 6px; }
.cms-rich h2 { font-size: 26px; color: var(--dark); margin: 26px 0 14px; }
.cms-rich h3 { font-size: 20px; color: var(--dark); margin: 22px 0 12px; }
.cms-rich a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.cms-rich img { border-radius: var(--radius); margin: 14px 0; height: auto; }
.cms-rich blockquote {
  background: var(--light); border-left: 5px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0;
  font-size: 18px; font-style: italic; color: var(--dark); line-height: 1.7;
}
.cms-rich table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.cms-rich td, .cms-rich th { border: 1px solid #e3e3e3; padding: 8px 12px; text-align: left; }
.histoire-conclusion .cms-rich a, .section-histoire-teaser .cms-rich a { color: var(--yellow); }

/* ── En-têtes de section ─────────────────────── */
.cms-sec-head { max-width: 720px; margin-bottom: 44px; }
.cms-sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.cms-sec-head h2 { font-size: 34px; color: var(--dark); margin-bottom: 14px; line-height: 1.25; }
.cms-sec-head p { font-size: 17px; color: #2a2a2a; line-height: 1.85; }

/* ── Grilles génériques ──────────────────────── */
.cms-grid { display: grid; gap: 24px; }
.cms-grid.cols-1 { grid-template-columns: 1fr; }
.cms-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cms-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cms-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cms-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cms-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ================================================================
   Sections de l'accueil (anciennement dans index.html)
   ================================================================ */
.section-intro { padding: 96px 0; background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.intro-grid.is-reverse > :first-child { order: 2; }
.intro-text h2 { font-size: 36px; color: var(--dark); margin-bottom: 20px; line-height: 1.25; }
.intro-text p  { font-size: 17px; line-height: 1.88; color: #2a2a2a; margin-bottom: 16px; }
.intro-quote {
  background: linear-gradient(135deg, var(--dark), color-mix(in srgb, var(--dark) 55%, var(--green))); color: #fff;
  border-radius: var(--radius); padding: 44px 40px; position: relative;
}
.intro-quote::before {
  content: '\201C'; font-size: 120px; line-height: 1; color: rgba(255,255,255,.12);
  position: absolute; top: -10px; left: 20px; font-family: Georgia, serif;
}
.intro-quote blockquote { font-size: 22px; font-style: italic; line-height: 1.6; color: #fff; margin-bottom: 18px; position: relative; z-index: 1; }
.intro-quote blockquote.is-small { font-size: 17px; }
.intro-quote cite { font-size: 14px; color: var(--yellow); font-style: normal; font-weight: 700; letter-spacing: 1px; }
.cms-quote-sep { border: none; border-top: 1px solid rgba(255,255,255,.18); margin: 24px 0; }

.section-movement { padding: 96px 0; }

.section-crise { padding: 96px 0; background: var(--dark); color: #fff; }
.section-crise .section-label { color: var(--yellow); }
.section-crise .cms-sec-head h2 { color: #fff; font-size: 36px; }
.section-crise .cms-sec-head p { color: rgba(255,255,255,.78); max-width: 700px; }
.section-crise .cms-sec-head { max-width: 760px; margin-bottom: 56px; }
.crise-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-top: 4px solid var(--green); border-radius: var(--radius); padding: 32px 28px;
}
.crise-card .crise-num { font-size: 48px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 14px; font-family: 'Barlow', system-ui; }
.crise-card h3 { font-size: 19px; color: #fff; margin-bottom: 12px; }
.crise-card p  { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.78; }

.section-mv { padding: 96px 0; background: var(--light); }
.section-mv .cms-sec-head { margin-bottom: 48px; }
.mv-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 40px; position: relative; overflow: hidden; }
.mv-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--green); }
.mv-card.vision::after { background: var(--dark); }
.mv-card .mv-icon { font-size: 42px; margin-bottom: 18px; }
.mv-card h3 { font-size: 22px; color: var(--dark); margin-bottom: 16px; }
.mv-card p  { font-size: 17px; line-height: 1.85; color: #2a2a2a; margin-bottom: 12px; }

.section-valeurs { padding: 96px 0; background: #fff; }
.valeur-card {
  border-radius: var(--radius); padding: 32px 28px; background: var(--light);
  border-bottom: 4px solid var(--green); transition: transform .22s, box-shadow .22s;
}
.valeur-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.valeur-card .valeur-icon { font-size: 36px; margin-bottom: 14px; }
.valeur-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.valeur-card p  { font-size: 15px; color: var(--muted); line-height: 1.7; }
.cms-cards-pilier .pilier-card { height: 100%; }
.cms-card-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--green); font-size: 15px; }
.section-crise .cms-card-link { color: var(--yellow); }

.cms-img-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.cms-img-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cms-img-card-body { padding: 22px 24px 26px; }
.cms-img-card h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; }
.cms-img-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

.section-ideo { padding: 96px 0; background: var(--light); }
.ideo-header { max-width: 720px; margin-bottom: 48px; }
.ideo-header h2 { font-size: 34px; color: var(--dark); margin-bottom: 14px; }
.ideo-header p  { font-size: 17px; color: #2a2a2a; line-height: 1.85; }

.section-histoire-teaser { padding: 96px 0; background: var(--dark); }
.histoire-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ht-text h2 { font-size: 36px; color: #fff; margin-bottom: 20px; line-height: 1.25; }
.ht-text p  { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.88; margin-bottom: 16px; }
.ht-text .section-label { color: var(--yellow); margin-bottom: 12px; }
.ht-timeline { display: flex; flex-direction: column; }
.ht-step { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.ht-step:last-child { padding-bottom: 0; }
.ht-dot-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.ht-dot { width: 14px; height: 14px; background: var(--green); border-radius: 50%; border: 3px solid var(--dark); box-shadow: 0 0 0 3px var(--green); flex-shrink: 0; margin-top: 4px; }
.ht-line { width: 2px; flex: 1; background: rgba(255,255,255,.15); margin-top: 8px; }
.ht-content h4 { font-size: 16px; color: var(--yellow); margin-bottom: 6px; }
.ht-content p  { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.72; }
.section-histoire-teaser.is-light { background: var(--light); }
.section-histoire-teaser.is-light .ht-text h2 { color: var(--dark); }
.section-histoire-teaser.is-light .ht-text p { color: #2a2a2a; }
.section-histoire-teaser.is-light .ht-text .section-label { color: var(--green); }
.section-histoire-teaser.is-light .ht-dot { border-color: var(--light); }
.section-histoire-teaser.is-light .ht-line { background: rgba(0,0,0,.12); }
.section-histoire-teaser.is-light .ht-content h4 { color: var(--dark); }
.section-histoire-teaser.is-light .ht-content p { color: var(--muted); }

.section-citation { padding: 96px 28px; background: var(--green); text-align: center; }
.section-citation.is-dark { background: var(--dark); }
.section-citation.is-light { background: var(--light); }
.section-citation.is-light blockquote { color: var(--dark); }
.section-citation.is-light cite { color: var(--muted); }
.citation-inner { max-width: 820px; margin: 0 auto; }
.citation-inner blockquote { font-size: 28px; font-style: italic; color: #fff; line-height: 1.55; margin-bottom: 24px; }
.citation-inner cite { font-size: 15px; color: rgba(255,255,255,.78); font-style: normal; font-weight: 700; letter-spacing: 1px; }

.section-appel { padding: 96px 0; background: #fff; }
.appel-inner { max-width: 860px; margin: 0 auto; }
.appel-inner.is-wide { max-width: none; }
.appel-inner h2 { font-size: 34px; color: var(--dark); margin-bottom: 24px; line-height: 1.25; }
.appel-inner p  { font-size: 17px; line-height: 1.9; color: #2a2a2a; margin-bottom: 18px; }
.appel-inner .appel-accent {
  background: var(--light); border-left: 5px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 28px 0; font-size: 18px; font-style: italic; color: var(--dark); line-height: 1.7;
}

/* ── Slider héro ─────────────────────────────── */
.home-hero { padding: 0 !important; background: var(--dark) !important; text-align: left !important; }
.vizyon-slider-wrap { position: relative; overflow: hidden; min-height: clamp(480px, 72vh, 760px); display: flex; }
.vizyon-track { display: flex; transition: transform 0.45s ease; width: 100%; }
.vizyon-slide {
  min-width: 100%; position: relative; color: #fff;
  padding: clamp(90px, 14vh, 140px) clamp(22px, 7vw, 100px) clamp(170px, 20vh, 220px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.08), transparent 45%), linear-gradient(120deg, color-mix(in srgb, var(--dark) 75%, #000) 0%, var(--dark) 42%, var(--green) 100%);
  isolation: isolate;
}
.vizyon-slide::before {
  content: ""; position: absolute; inset: 0; background-image: var(--wm, none);
  background-repeat: no-repeat; background-position: center; background-size: min(36vw, 420px);
  opacity: var(--wm-op, .26); z-index: -2;
}
.vizyon-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 70%); z-index: -1; }
.vizyon-slide > * { max-width: 920px; }
.vizyon-slide .eyebrow {
  display: inline-flex; width: auto; margin-bottom: 16px; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 6px 18px; border-radius: 50px;
}
.vizyon-kicker { display: inline-block; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; color: var(--yellow); margin-bottom: 14px; }
.vizyon-slide h3 { font-size: clamp(30px, 5.2vw, 58px); line-height: 1.05; margin-bottom: 22px; color: #fff; letter-spacing: .2px; text-wrap: balance; }
.vizyon-slide p { max-width: 820px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.72; color: rgba(255,255,255,.92); margin: 0 auto; }
.vizyon-controls { position: absolute; left: clamp(22px, 7vw, 100px); right: clamp(22px, 7vw, 100px); bottom: 30px; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vizyon-buttons { display: flex; gap: 10px; }
.vizyon-btn {
  border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.38); backdrop-filter: blur(4px); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.vizyon-btn:hover { transform: translateY(-2px); background: rgba(0,0,0,.62); border-color: rgba(255,255,255,.46); }
.vizyon-dots { display: flex; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.vizyon-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); border: 0; cursor: pointer; padding: 0; transition: transform .2s ease, background .2s ease; }
.vizyon-dot.active { background: var(--yellow); transform: scale(1.28); }

/* ── Bandeau de page ─────────────────────────── */
.page-hero.cms-hero-small { padding: 56px 28px 48px; }
.page-hero.cms-hero-small h1 { font-size: 36px; }
.page-hero.cms-hero-large { padding: 140px 28px 120px; }
.page-hero.cms-hero-large h1 { font-size: 60px; }
.page-hero .hero-actions { justify-content: center; }

/* ── Cartes de contenu (pages intérieures) ───── */
.cms-card-section { padding: 0; }
.cms-card-section .card, .cms-card-section .histoire-section, .cms-card-section .apropos-hero { margin-bottom: 28px; }
.cms-block:not(.cms-b-content_card) + .cms-b-content_card > .cms-card-section,
.cms-main > .cms-b-content_card:first-child > .cms-card-section { padding-top: 72px; }
.cms-b-content_card:last-child > .cms-card-section,
.cms-b-content_card:has(+ .cms-block:not(.cms-b-content_card)) > .cms-card-section { padding-bottom: 52px; }
.cms-plain-card { padding: 12px 0; }
.cms-plain-card .card-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--green); margin-bottom: 6px; }
.cms-plain-card h2 { font-size: 26px; color: var(--dark); margin-bottom: 18px; }
.apropos-hero .cms-rich p { color: rgba(255,255,255,.9); }

/* ── Image + texte ───────────────────────────── */
.cms-image-text { padding: 88px 0; }
.cms-it-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cms-it-grid.is-reverse .cms-it-media { order: 2; }
.cms-it-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.cms-it-body h2 { font-size: 34px; color: var(--dark); margin-bottom: 18px; line-height: 1.25; }

/* ── Image / galerie / vidéo ─────────────────── */
.cms-image { padding: 48px 0; }
.cms-image figure { margin: 0 auto; }
.cms-image img { width: 100%; height: auto; }
.cms-image img.is-rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.cms-image figcaption, .cms-gal-item figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.cms-gallery { padding: 80px 0; }
.cms-gal-item { margin: 0; }
.cms-gal-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.cms-gal-item a:hover img { transform: scale(1.02); box-shadow: var(--shadow); }
.cms-video { padding: 80px 0; }
.cms-video-frame { position: relative; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.cms-video-frame iframe, .cms-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Accordéon ───────────────────────────────── */
.cms-accordion-section { padding: 80px 0; }
.cms-narrow-inner { max-width: 900px; }
.cms-acc-item { background: #fff; border: 1px solid #e6e9ef; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.cms-acc-item summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--dark); position: relative; font-size: 17px; }
.cms-acc-item summary::-webkit-details-marker { display: none; }
.cms-acc-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--green); transition: transform .2s; }
.cms-acc-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cms-acc-body { padding: 0 22px 20px; }

/* ── Équipe / trombinoscope ──────────────────── */
.cms-team { padding: 80px 0; }
.cms-person { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.cms-person-photo { position: relative; aspect-ratio: 4/4.4; background: linear-gradient(135deg, var(--dark), var(--green)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cms-person-photo a { display: block; width: 100%; height: 100%; }
.cms-person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cms-person-photo a:hover img { transform: scale(1.04); }
.cms-person-initials { font: 700 54px/1 'Barlow', system-ui, sans-serif; color: rgba(255,255,255,.9); letter-spacing: 2px; }
.cms-person-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cms-person-tag { align-self: flex-start; background: var(--light); color: var(--green); border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; margin-bottom: 10px; }
.cms-person h3 { font-size: 19px; color: var(--dark); margin-bottom: 4px; }
.cms-person-role { font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.cms-person-desc { font-size: 15px; color: var(--muted); line-height: 1.7; }
.cms-person-contact { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.cms-person-contact a { color: var(--dark); font-weight: 600; }
.cms-person-contact a:hover { color: var(--green); }
.cms-team-round .cms-person { background: transparent; box-shadow: none; text-align: center; align-items: center; }
.cms-team-round .cms-person-photo { width: 170px; height: 170px; aspect-ratio: auto; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow); }
.cms-team-round .cms-person-body { padding: 16px 8px 0; align-items: center; }
.cms-team-round .cms-person-tag { align-self: center; }
.cms-team-round .cms-person-contact { justify-content: center; }
.cms-team-list .cms-person { flex-direction: row; }
.cms-team-list .cms-person-photo { width: 150px; flex-shrink: 0; aspect-ratio: auto; min-height: 170px; }
.cms-team-list .cms-person-initials { font-size: 38px; }
@media (max-width: 640px) {
  .cms-team-list .cms-person { flex-direction: column; }
  .cms-team-list .cms-person-photo { width: 100%; aspect-ratio: 4/3; }
}

/* ── Colonnes ────────────────────────────────── */
.cms-columns { padding: 80px 0; }
.cms-col h3 { font-size: 20px; color: var(--dark); margin-bottom: 12px; }
.cms-col.is-boxed { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; }

.cms-buttons { padding: 32px 0; }
.cms-buttons .hero-actions { margin-top: 0; }

/* ── Contact ─────────────────────────────────── */
.contact-grid.is-single { grid-template-columns: 1fr; max-width: 760px; }
.cms-contact-box { margin-top: 36px; padding: 28px 26px; background: var(--light); border-radius: var(--radius); border-left: 5px solid var(--green); }
.cms-contact-box h3 { font-size: 18px; color: var(--dark); margin-bottom: 12px; }
.cms-contact-box p { font-size: 16px; line-height: 1.8; color: #2a2a2a; margin: 0; }
.cms-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cms-form-msg { margin-top: 18px; padding: 16px 20px; background: var(--light); border-left: 4px solid var(--green); border-radius: 8px; color: var(--dark); font-weight: 600; }
.cms-form-msg.is-error { background: #fff3f3; border-left-color: var(--red); }
.contact-form .btn-outline { color: var(--dark); border-color: var(--dark); }

/* ── Contenus dynamiques ─────────────────────── */
.cms-dyn { padding: 72px 0; }
.cms-empty { padding: 32px; text-align: center; background: var(--light); border-radius: var(--radius); color: var(--muted); }
.cms-event { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.cms-event.is-cancelled { opacity: .7; }
.cms-event-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cms-event-body { padding: 22px 24px 26px; position: relative; }
.cms-event-date { float: right; text-align: center; background: var(--dark); color: #fff; border-radius: 10px; padding: 6px 12px; font-size: 12px; line-height: 1.3; margin: 0 0 8px 12px; }
.cms-event-date span { display: block; font-size: 24px; font-weight: 700; color: var(--yellow); }
.cms-event h3 { font-size: 19px; color: var(--dark); margin: 6px 0 8px; }
.cms-event p { font-size: 15px; color: #333; margin-bottom: 10px; line-height: 1.7; }
.cms-event .cms-meta { color: var(--muted); font-size: 14px; }
.cms-cancel { color: var(--red) !important; font-weight: 700; text-transform: uppercase; font-size: 13px !important; }
.cms-badge { display: inline-block; background: var(--light); color: var(--green); border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; }
.cms-post .cms-more summary { cursor: pointer; color: var(--green); font-weight: 700; margin: 6px 0 12px; }
.cms-media-item { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cms-media-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cms-media-item audio { width: 100%; padding: 16px; }
.cms-media-item .cms-video-frame { border-radius: 0; box-shadow: none; }
.cms-media-item figcaption { padding: 14px 18px 18px; font-size: 14px; color: var(--muted); }
.cms-media-item figcaption strong { display: block; color: var(--dark); font-size: 16px; margin-bottom: 4px; }
.cms-doc-link { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: var(--light); font-size: 22px; font-weight: 700; color: var(--green); }

/* ── Séparateur ──────────────────────────────── */
.cms-spacer { display: flex; align-items: center; }
.cms-spacer .container { width: 100%; }
.cms-hr { border: none; border-top: 1px solid rgba(0,0,0,.12); }
.cms-hr.is-thick { border-top: 4px solid var(--green); width: 80px; margin: 0 auto; border-radius: 4px; }
.cms-hr.is-dots { border-top: 3px dotted rgba(0,0,0,.2); }

/* ── Pied de page : réseaux sociaux ──────────── */
.cms-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cms-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; transition: background .2s; }
.cms-social a:hover { background: var(--green); }
.cms-logo-text { color: #fff; font-weight: 700; font-size: 20px; margin-left: 10px; font-family: 'Barlow', system-ui, sans-serif; }
.cms-nav-hl { color: var(--yellow) !important; font-weight: 700 !important; }

/* ================================================================
   Wrapper de bloc : réglages de style
   ================================================================ */
.cms-block { position: relative; background-clip: padding-box; }
.cms-block.has-bg > * { background: transparent !important; }
.cms-block.has-pt > * { padding-top: var(--cms-pt) !important; }
.cms-block.has-pb > * { padding-bottom: var(--cms-pb) !important; }
.cms-block.has-fg { color: var(--cms-fg); }
.cms-block.has-fg :is(h1,h2,h3,h4,p,li,blockquote,cite,figcaption,.section-label,.card-num,.hs-num,.stat-label,.stat-num) { color: var(--cms-fg) !important; }
.cms-block.has-bg > * > .container > .card,
.cms-block.has-bg .histoire-section:not(.histoire-conclusion) { background: #fff; }
.cms-w-narrow .container { max-width: 860px; }
.cms-w-wide .container { max-width: 1260px; }
.cms-w-full .container { max-width: none; }
.cms-ta-left > *, .cms-ta-left .cms-sec-head { text-align: left; }
.cms-ta-center > *, .cms-ta-center .cms-sec-head { text-align: center; }
.cms-ta-center .cms-sec-head, .cms-ta-center .ideo-header { margin-left: auto; margin-right: auto; }
.cms-ta-center .hero-actions { justify-content: center; }
.cms-ta-right > * { text-align: right; }
.cms-ta-right .hero-actions { justify-content: flex-end; }

.cms-anim { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.cms-anim-fade-up { transform: translateY(32px); }
.cms-anim-zoom { transform: scale(.96); }
.cms-anim.is-in { opacity: 1; transform: none; }
.cms-preview .cms-anim { opacity: 1; transform: none; }

@media (max-width: 900px) { .cms-hide-mobile { display: none !important; } }
@media (min-width: 901px) { .cms-hide-desktop { display: none !important; } }

/* ── Barre admin ─────────────────────────────── */
.cms-adminbar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 5000;
  display: flex; gap: 4px; align-items: center; background: #111827; border-radius: 999px;
  padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.35); font: 600 13px/1 system-ui, sans-serif;
}
.cms-adminbar a { color: #fff; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.cms-adminbar a:first-child { background: var(--green); }
.cms-adminbar a:hover { background: rgba(255,255,255,.14); }
.cms-adminbar .cms-draft { color: #fde68a; padding: 0 12px; }

/* ── Aperçu éditeur ──────────────────────────── */
.cms-preview .cms-block { cursor: pointer; }
.cms-preview .cms-block::after { content: ''; position: absolute; inset: 0; pointer-events: none; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .12s; z-index: 50; }
.cms-preview .cms-block:hover::after, .cms-preview .cms-block.cms-hovered::after { outline-color: rgba(31,111,235,.55); }
.cms-preview .cms-block.cms-selected::after { outline: 3px solid #1f6feb; }
.cms-preview .cms-block.cms-is-hidden { opacity: .35; }
.cms-empty-page { padding: 120px 28px; text-align: center; color: #64748b; font: 600 18px system-ui; background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 12px, #f1f5f9 12px, #f1f5f9 24px); }
.cms-error { padding: 20px; background: #fee2e2; color: #7f1d1d; font: 14px system-ui; }

/* ── Lightbox ────────────────────────────────── */
.cms-lightbox { position: fixed; inset: 0; z-index: 6000; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.cms-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
  .cms-grid.cols-4, .cms-grid.cols-5, .cms-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .intro-grid, .histoire-teaser-grid, .cms-it-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-grid.is-reverse > :first-child, .cms-it-grid.is-reverse .cms-it-media { order: 0; }
  .cms-grid.cols-3, .cms-grid.cols-2 { grid-template-columns: 1fr; }
  .cms-cards-valeur .cms-grid.cols-3, .cms-gallery .cms-grid.cols-3, .cms-mediatheque .cms-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .section-stats .cms-grid { grid-template-columns: 1fr !important; }
  .section-crise .cms-sec-head h2, .intro-text h2 { font-size: 28px; }
  .citation-inner blockquote { font-size: 22px; }
  .vizyon-slide { justify-content: center; padding: 110px 24px 145px; }
  .vizyon-slide::before { background-size: 260px; opacity: .12; }
  .vizyon-controls { left: 20px; right: 20px; bottom: 18px; }
  .vizyon-slide .hero-actions .btn { width: 100%; text-align: center; }
  .page-hero.cms-hero-large h1 { font-size: 40px; }
  .cms-adminbar { bottom: 10px; font-size: 12px; }
  .cms-adminbar a { padding: 8px 10px; }
}
@media (max-width: 640px) {
  .cms-grid.cols-4, .cms-grid.cols-5, .cms-grid.cols-6,
  .cms-cards-valeur .cms-grid.cols-3, .cms-gallery .cms-grid.cols-3, .cms-mediatheque .cms-grid.cols-3 { grid-template-columns: 1fr; }
  .mv-card { padding: 30px 24px; }
  .appel-inner h2, .cms-sec-head h2, .cms-it-body h2 { font-size: 26px; }
  .citation-inner blockquote { font-size: 18px; }
  .section-intro, .section-movement, .section-crise, .section-mv, .section-valeurs, .section-ideo,
  .section-histoire-teaser, .section-citation, .section-appel { padding-top: 64px; padding-bottom: 64px; }
}
