/* ============================================================
   LA BARAKA DU MOIS — ÉDITION 0
   Design system isolé (.ed0-) — compatible site existant
   ============================================================ */

:root {
  --ed0-g: #159957;
  --ed0-gd: #0f7a45;
  --ed0-gl: #e8f8ef;
  --ed0-b: #0f172a;
  --ed0-gr: #64748b;
  --ed0-l: #f8fafc;
  --ed0-w: #ffffff;
  --ed0-line: #e2e8f0;
  --ed0-sh: 0 4px 24px rgba(15, 23, 42, 0.06);
  --ed0-r: 16px;
  --ed0-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ed0-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.ed0-body {
  font-family: var(--ed0-font);
  color: var(--ed0-b);
  background: var(--ed0-w);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ed0-body.ed0-reading-mode .ed0-reveal,
.ed0-body.ed0-reading-mode .ed0-cover-line,
.ed0-body.ed0-reading-mode .ed0-stat-num,
.ed0-body.ed0-reading-mode .ed0-timeline-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- Layout ---------- */
.ed0-container {
  width: min(920px, 90%);
  margin: 0 auto;
}

.ed0-container-wide {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---------- Sticky progress (desktop) ---------- */
.ed0-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}

.ed0-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--ed0-g);
  transition: width 0.15s linear;
}

.ed0-nav-side {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ed0-nav-side .ed0-chapter-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ed0-gr);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  min-width: 42px;
  text-align: center;
}

.ed0-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ed0-line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.ed0-nav-dot:hover,
.ed0-nav-dot.ed0-active {
  background: var(--ed0-g);
  transform: scale(1.35);
}

.ed0-nav-dot:focus-visible {
  outline: 2px solid var(--ed0-g);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ed0-nav-side {
    display: none;
  }
}

/* ---------- Mobile top bar ---------- */
.ed0-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ed0-line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ed0-gr);
}

.ed0-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed0-topbar-left img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.ed0-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed0-topbar button,
.ed0-topbar a {
  background: none;
  border: none;
  font: inherit;
  color: var(--ed0-b);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.ed0-topbar button:hover,
.ed0-topbar a:hover {
  background: var(--ed0-gl);
  color: var(--ed0-gd);
}

.ed0-chapter-indicator {
  font-variant-numeric: tabular-nums;
  color: var(--ed0-g);
  font-weight: 700;
}

@media (min-width: 901px) {
  .ed0-topbar {
    display: none;
  }
}

/* ---------- Sommaire overlay ---------- */
.ed0-sommaire {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
}

.ed0-sommaire.ed0-open {
  display: flex;
}

.ed0-sommaire-panel {
  width: min(360px, 92vw);
  height: 100%;
  background: var(--ed0-w);
  padding: 28px 24px 40px;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  animation: ed0-slideIn 0.35s var(--ed0-ease);
}

@keyframes ed0-slideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.ed0-sommaire-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ed0-sommaire-header h2 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed0-g);
}

.ed0-sommaire-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ed0-gr);
  line-height: 1;
  padding: 4px;
}

.ed0-sommaire-list {
  list-style: none;
}

.ed0-sommaire-list li {
  border-bottom: 1px solid var(--ed0-line);
}

.ed0-sommaire-list a {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ed0-b);
  transition: color 0.2s;
}

.ed0-sommaire-list a:hover {
  color: var(--ed0-g);
}

.ed0-sommaire-list .ed0-num {
  font-weight: 800;
  color: var(--ed0-g);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}

/* ---------- Cover ---------- */
.ed0-cover {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(165deg, #0a3d2a 0%, #0f5c3a 35%, #159957 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ed0-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ed0-cover-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.ed0-cover-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.ed0-cover-logo img {
  width: 42px;
  height: 42px;
}

.ed0-cover-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 36px;
}

.ed0-cover-title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.ed0-cover-edition {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 8px;
}

.ed0-cover-fondatrice {
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 500;
  opacity: 0.88;
  margin-bottom: 28px;
}

.ed0-cover-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 420px;
  margin: 0 auto 36px;
}

.ed0-cover-meta {
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.7;
  margin-bottom: 28px;
}

.ed0-cover-signature {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.ed0-cover-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ed0-cover-scroll span {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.5);
  animation: ed0-pulse 1.8s ease-in-out infinite;
}

@keyframes ed0-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Cover reveal animation */
.ed0-cover-line {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ed0-ease), transform 0.9s var(--ed0-ease);
}

.ed0-cover.ed0-ready .ed0-cover-line {
  opacity: 1;
  transform: translateY(0);
}

.ed0-cover.ed0-ready .ed0-c1 {
  transition-delay: 0.15s;
}
.ed0-cover.ed0-ready .ed0-c2 {
  transition-delay: 0.35s;
}
.ed0-cover.ed0-ready .ed0-c3 {
  transition-delay: 0.55s;
}
.ed0-cover.ed0-ready .ed0-c4 {
  transition-delay: 0.75s;
}
.ed0-cover.ed0-ready .ed0-c5 {
  transition-delay: 0.95s;
}
.ed0-cover.ed0-ready .ed0-c6 {
  transition-delay: 1.15s;
}
.ed0-cover.ed0-ready .ed0-c7 {
  transition-delay: 1.35s;
}

/* ---------- Sections common ---------- */
.ed0-section {
  padding: 72px 0;
  position: relative;
}

.ed0-section-alt {
  background: var(--ed0-l);
}

.ed0-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed0-g);
  margin-bottom: 10px;
}

.ed0-title {
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ed0-b);
}

.ed0-lead {
  font-size: 1.08rem;
  color: var(--ed0-gr);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.ed0-text {
  font-size: 1.02rem;
  color: #334155;
  max-width: 620px;
  line-height: 1.75;
}

.ed0-text p + p {
  margin-top: 1em;
}

.ed0-quote {
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ed0-b);
  max-width: 540px;
  border-left: 3px solid var(--ed0-g);
  padding-left: 22px;
  margin: 32px 0;
}

.ed0-quote-center {
  text-align: center;
  border-left: none;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

.ed0-divider {
  width: 48px;
  height: 2px;
  background: var(--ed0-g);
  margin: 28px 0;
}

.ed0-divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* Reveal base */
.ed0-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ed0-ease), transform 0.7s var(--ed0-ease);
}

.ed0-reveal.ed0-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section 01 — Pourquoi ---------- */
.ed0-s01 .ed0-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .ed0-s01 .ed0-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.ed0-s01 .ed0-side-note {
  font-size: 0.85rem;
  color: var(--ed0-gr);
  line-height: 1.6;
  padding-top: 8px;
}

.ed0-s01 .ed0-side-note strong {
  display: block;
  color: var(--ed0-b);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* ---------- Section 02 — Qui ---------- */
.ed0-s02 {
  background: var(--ed0-b);
  color: #fff;
}

.ed0-s02 .ed0-label {
  color: #86efac;
}

.ed0-s02 .ed0-title {
  color: #fff;
}

.ed0-s02 .ed0-text {
  color: rgba(255, 255, 255, 0.82);
}

.ed0-s02 .ed0-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .ed0-s02 .ed0-highlight {
    grid-template-columns: 1fr;
  }
}

.ed0-s02 .ed0-hl-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ed0-r);
  padding: 24px 20px;
}

.ed0-s02 .ed0-hl-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #86efac;
}

.ed0-s02 .ed0-hl-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

/* ---------- Section 03 — Vision ---------- */
.ed0-vision-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
  margin: 40px 0 32px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.ed0-vision-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
}

.ed0-vision-step .ed0-v-box {
  background: var(--ed0-gl);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ed0-gd);
  text-align: center;
  letter-spacing: 0.02em;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ed0-vision-step.ed0-visible .ed0-v-box {
  transform: translateY(0);
}

.ed0-vision-arrow {
  color: var(--ed0-g);
  font-size: 1.1rem;
  align-self: center;
  margin: 0 2px;
  opacity: 0.7;
}

@media (max-width: 700px) {
  .ed0-vision-flow {
    flex-direction: column;
    align-items: center;
  }
  .ed0-vision-arrow {
    transform: rotate(90deg);
  }
}

/* ---------- Section 04 — Méthode ---------- */
.ed0-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.ed0-method-card {
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: var(--ed0-r);
  padding: 22px 20px;
  box-shadow: var(--ed0-sh);
  transition: border-color 0.25s, transform 0.25s;
}

.ed0-method-card:hover {
  border-color: #bbf7d0;
  transform: translateY(-3px);
}

.ed0-method-card .ed0-m-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ed0-g);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.ed0-method-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ed0-method-card p {
  font-size: 0.9rem;
  color: var(--ed0-gr);
  line-height: 1.5;
}

.ed0-method-quote {
  margin-top: 40px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ed0-b);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Timeline ---------- */
.ed0-timeline-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--ed0-l) 0%, #fff 100%);
}

.ed0-timeline {
  position: relative;
  max-width: 640px;
  margin: 48px auto 0;
  padding-left: 28px;
}

.ed0-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--ed0-g), #bbf7d0);
}

.ed0-timeline-item {
  position: relative;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s var(--ed0-ease), transform 0.6s var(--ed0-ease);
}

.ed0-timeline-item.ed0-visible {
  opacity: 1;
  transform: translateX(0);
}

.ed0-timeline-item:last-child {
  padding-bottom: 0;
}

.ed0-timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ed0-g);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ed0-g);
}

.ed0-tl-date {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed0-g);
  margin-bottom: 4px;
}

.ed0-tl-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.ed0-tl-text {
  font-size: 0.95rem;
  color: var(--ed0-gr);
  line-height: 1.55;
}

.ed0-tl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.ed0-tl-stat {
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  min-width: 72px;
}

.ed0-tl-stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ed0-g);
  line-height: 1.1;
}

.ed0-tl-stat span {
  font-size: 0.7rem;
  color: var(--ed0-gr);
}

/* ---------- Section 05 — Rentrée / Preuve ---------- */
.ed0-s05 {
  padding: 88px 0;
}

.ed0-proof-intro {
  text-align: center;
  margin-bottom: 48px;
}

.ed0-proof-intro .ed0-mega {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.ed0-proof-intro .ed0-mega span {
  color: var(--ed0-g);
}

.ed0-stats-monument {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 48px 0 40px;
}

@media (max-width: 700px) {
  .ed0-stats-monument {
    grid-template-columns: 1fr 1fr;
  }
}

.ed0-stat-block {
  text-align: center;
  padding: 28px 12px;
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: 18px;
  box-shadow: var(--ed0-sh);
}

.ed0-stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--ed0-g);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ed0-stat-label {
  font-size: 0.78rem;
  color: var(--ed0-gr);
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ed0-recit {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
}

.ed0-recit p + p {
  margin-top: 0.9em;
}

/* Distinction box */
.ed0-distinction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .ed0-distinction {
    grid-template-columns: 1fr;
  }
}

.ed0-dist-card {
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid var(--ed0-line);
}

.ed0-dist-card.ed0-dist-mag {
  background: var(--ed0-gl);
  border-color: #bbf7d0;
}

.ed0-dist-card.ed0-dist-rapport {
  background: var(--ed0-w);
}

.ed0-dist-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed0-g);
  margin-bottom: 10px;
}

.ed0-dist-card .ed0-dist-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.ed0-dist-card p {
  font-size: 0.92rem;
  color: var(--ed0-gr);
  line-height: 1.55;
  margin-bottom: 16px;
}

.ed0-dist-card ul {
  list-style: none;
  font-size: 0.88rem;
  color: #475569;
}

.ed0-dist-card ul li {
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}

.ed0-dist-card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ed0-g);
  font-weight: 800;
}

.ed0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.ed0-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.ed0-btn-primary {
  background: var(--ed0-g);
  color: #fff;
  box-shadow: 0 6px 22px rgba(21, 153, 87, 0.28);
}

.ed0-btn-outline {
  background: #fff;
  color: var(--ed0-b);
  border: 1.5px solid var(--ed0-line);
}

.ed0-btn-outline:hover {
  border-color: var(--ed0-g);
  color: var(--ed0-g);
}

.ed0-btn-white {
  background: #fff;
  color: var(--ed0-gd);
}

/* ---------- Section 06 — Construire ---------- */
.ed0-build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .ed0-build-grid {
    grid-template-columns: 1fr;
  }
}

.ed0-build-card {
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: var(--ed0-r);
  padding: 26px 22px;
  box-shadow: var(--ed0-sh);
}

.ed0-build-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ed0-b);
}

.ed0-build-card p {
  font-size: 0.92rem;
  color: var(--ed0-gr);
  line-height: 1.55;
}

/* ---------- Section 07 — Domaines ---------- */
.ed0-domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.ed0-domain-card {
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: var(--ed0-r);
  padding: 22px 18px;
  transition: border-color 0.25s, transform 0.25s;
}

.ed0-domain-card:hover {
  border-color: #bbf7d0;
  transform: translateY(-2px);
}

.ed0-domain-card .ed0-d-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ed0-g);
  margin-bottom: 8px;
}

.ed0-domain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ed0-domain-card p {
  font-size: 0.88rem;
  color: var(--ed0-gr);
  line-height: 1.5;
}

.ed0-domains-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--ed0-gr);
  font-style: italic;
}

/* ---------- Section 08 — Valeurs ---------- */
.ed0-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

@media (max-width: 700px) {
  .ed0-values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .ed0-values-grid {
    grid-template-columns: 1fr;
  }
}

.ed0-value-card {
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: var(--ed0-r);
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ed0-value-card:hover {
  border-color: #bbf7d0;
  box-shadow: var(--ed0-sh);
}

.ed0-value-card .ed0-v-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ed0-g);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.ed0-value-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.ed0-value-card p {
  font-size: 0.85rem;
  color: var(--ed0-gr);
  line-height: 1.5;
}

/* ---------- Section 09 — Communiquer ---------- */
.ed0-comm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .ed0-comm-grid {
    grid-template-columns: 1fr;
  }
}

.ed0-comm-col {
  border-radius: 18px;
  padding: 28px 24px;
}

.ed0-comm-show {
  background: var(--ed0-gl);
  border: 1px solid #bbf7d0;
}

.ed0-comm-refuse {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.ed0-comm-col h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ed0-comm-show h3 {
  color: var(--ed0-gd);
}

.ed0-comm-refuse h3 {
  color: #b91c1c;
}

.ed0-comm-col ul {
  list-style: none;
}

.ed0-comm-col li {
  font-size: 0.92rem;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  color: #334155;
}

.ed0-comm-show li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ed0-g);
  font-weight: 700;
}

.ed0-comm-refuse li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #b91c1c;
  font-weight: 700;
}

.ed0-comm-quote {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

/* ---------- Section 10 — Transparence ---------- */
.ed0-trans-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 36px 0 32px;
}

.ed0-trans-item {
  background: var(--ed0-w);
  border: 1px solid var(--ed0-line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ed0-gd);
  letter-spacing: 0.02em;
}

.ed0-trans-arrow {
  color: var(--ed0-g);
  align-self: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (max-width: 700px) {
  .ed0-trans-flow {
    flex-direction: column;
    align-items: center;
  }
  .ed0-trans-arrow {
    transform: rotate(90deg);
  }
}

/* ---------- Section 11 — Promesses ---------- */
.ed0-s11 {
  text-align: center;
  padding: 88px 0;
}

.ed0-s11 .ed0-text {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  max-width: 520px;
}

.ed0-promises {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.ed0-promise {
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ed0-b);
  max-width: 520px;
  line-height: 1.3;
}

.ed0-promise span {
  color: var(--ed0-g);
}

/* ---------- Section 12 — Rejoindre ---------- */
.ed0-gates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.ed0-gate {
  background: var(--ed0-w);
  border: 1.5px solid var(--ed0-line);
  border-radius: var(--ed0-r);
  padding: 28px 16px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 140px;
  justify-content: center;
}

.ed0-gate:hover {
  border-color: var(--ed0-g);
  transform: translateY(-3px);
  box-shadow: var(--ed0-sh);
}

.ed0-gate strong {
  font-size: 1rem;
  font-weight: 800;
}

.ed0-gate span {
  font-size: 0.82rem;
  color: var(--ed0-gr);
}

/* ---------- Section 13 + Manifeste ---------- */
.ed0-s13 {
  padding: 72px 0 40px;
}

.ed0-manifeste {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 100px;
  background: var(--ed0-b);
  color: #fff;
}

.ed0-manifeste .ed0-man-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 36px;
}

.ed0-manifeste .ed0-man-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.ed0-manifeste .ed0-man-text p + p {
  margin-top: 0.9em;
}

.ed0-manifeste .ed0-man-final {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  color: #86efac;
}

.ed0-manifeste .ed0-man-colophon {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.ed0-manifeste .ed0-man-colophon strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.ed0-manifeste .ed0-man-sig {
  margin-top: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Footer edition ---------- */
.ed0-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.65);
  padding: 36px 0 28px;
  font-size: 0.82rem;
  text-align: center;
}

.ed0-footer a {
  color: #86efac;
}

.ed0-footer a:hover {
  text-decoration: underline;
}

.ed0-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* ---------- Utility ---------- */
.ed0-center {
  text-align: center;
}

.ed0-center .ed0-lead,
.ed0-center .ed0-text {
  margin-left: auto;
  margin-right: auto;
}

.ed0-mt {
  margin-top: 32px;
}

.ed0-mb {
  margin-bottom: 24px;
}

/* ---------- Print ---------- */
@media print {
  .ed0-progress,
  .ed0-nav-side,
  .ed0-topbar,
  .ed0-sommaire,
  .ed0-cover-scroll,
  .ed0-footer-actions {
    display: none !important;
  }

  .ed0-cover {
    min-height: auto;
    padding: 40px 20px;
    page-break-after: always;
  }

  .ed0-section {
    padding: 32px 0;
    page-break-inside: avoid;
  }

  .ed0-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  body.ed0-body {
    font-size: 11pt;
    color: #000;
  }

  a {
    text-decoration: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ed0-reveal,
  .ed0-cover-line,
  .ed0-timeline-item,
  .ed0-stat-num {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .ed0-cover-scroll span {
    animation: none;
  }
}

/* Focus visible */
.ed0-body :focus-visible {
  outline: 2px solid var(--ed0-g);
  outline-offset: 3px;
}
/* V2 — Manifeste quote + back-top */
.ed0-manifeste .ed0-man-quote {
  max-width: 520px;
  margin: 0 auto 48px;
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.ed0-manifeste .ed0-man-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: #86efac;
  letter-spacing: 0.02em;
}
.ed0-back-top {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 140;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #159957;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21, 153, 87, 0.35);
}
.ed0-back-top.ed0-show {
  display: flex;
}

/* ========== V2 FINALE — CTA hierarchy + footer ========== */
.ed0-cta-block {
  margin-top: 36px;
}
.ed0-cta-cat {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #159957;
  margin-bottom: 14px;
}
.ed0-cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .ed0-cta-cards { grid-template-columns: 1fr; }
}
.ed0-cta-cards-single {
  grid-template-columns: 1fr;
  max-width: 420px;
}
.ed0-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  width: 100%;
}
.ed0-cta-card:hover {
  border-color: #159957;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.ed0-cta-card.ed0-cta-primary {
  background: #e8f8ef;
  border-color: #bbf7d0;
}
.ed0-cta-card.ed0-cta-primary:hover {
  border-color: #159957;
  background: #dcfce7;
}
.ed0-cta-card.ed0-cta-secondary {
  border-color: #cbd5e1;
}
.ed0-cta-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 4px;
}
.ed0-cta-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.ed0-cta-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 4px;
}
.ed0-cta-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #159957;
  margin-top: 4px;
}
.ed0-propose {
  margin-top: 36px;
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
}
.ed0-propose a {
  color: #159957;
  font-weight: 700;
  margin-left: 6px;
}
.ed0-propose a:hover {
  text-decoration: underline;
}

/* Footer editorial */
.ed0-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 700px) {
  .ed0-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.ed0-footer-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 12px;
}
.ed0-footer-col a,
.ed0-footer-col button {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  padding: 5px 0;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.ed0-footer-col a:hover,
.ed0-footer-col button:hover {
  color: #86efac;
}
.ed0-footer-share {
  color: rgba(255, 255, 255, 0.75) !important;
}
.ed0-footer-colophon {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ed0-footer-colophon strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.ed0-footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== Section 12 — composition éditoriale ========== */
.ed0-s12 {
  padding-top: 88px;
  padding-bottom: 88px;
}
.ed0-part-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .ed0-part-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.ed0-part-item {
  padding: 0;
  border: none;
  background: none;
}
.ed0-part-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #159957;
  margin-bottom: 8px;
}
.ed0-part-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 8px;
}
.ed0-part-text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 280px;
}
.ed0-part-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.ed0-part-choices a,
.ed0-part-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #159957;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline;
}
.ed0-part-choices a:hover,
.ed0-part-link:hover {
  text-decoration: underline;
}
.ed0-part-don .ed0-part-choices a:first-child {
  color: #0f7a45;
}
.ed0-part-share {
  text-align: left;
}
.ed0-propose {
  margin-top: 56px;
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}
.ed0-propose a {
  color: #159957;
  font-weight: 700;
  text-decoration: none;
}
.ed0-propose a:hover {
  text-decoration: underline;
}

/* Logo cover — PNG official */
.ed0-cover-logo {
  background: #fff;
  overflow: hidden;
}
.ed0-cover-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
