/* ============ Tokens (alignés charte Open-Capture) ============ */
:root {
  --topbar-h: 72px;
  --green: #01ae5e;
  --green-dark: #15803d;
  --green-deep: #0e5a2a;
  --green-soft: #d2fbd0;
  --green-softer: #ecfdf3;
  --ink: #004e25;
  --ink-2: #11331f;
  --muted: #345244;
  --muted-light: #5c7268;
  --white: #ffffff;
  --surface: #f8faf9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(14, 90, 42, 0.12);
  --maxw: 1180px;
  --focus-ring: 3px solid #0a3d1c;
  --focus-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  width: min(200px, 48vw);
  height: auto;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.g {
  color: var(--green);
}

/* ============ Top bar & navigation ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid rgba(1, 174, 94, 0.2);
  box-shadow: var(--shadow);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand svg {
  width: min(200px, 42vw);
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--green-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-backdrop {
  display: none;
}

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

.nav-principale a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}

.nav-principale a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.nav-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 1100px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 16px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-shrink: 0;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--topbar-h, 72px);
    bottom: 0;
    z-index: 150;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(14, 42, 28, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: pointer;
  }

  .nav-principale {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--topbar-h, 72px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(380px, calc(100vw - 24px));
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 0 28px;
    background: var(--white);
    border-top: 1px solid rgba(1, 174, 94, 0.12);
    border-left: 1px solid rgba(1, 174, 94, 0.18);
    box-shadow: -10px 0 40px rgba(14, 90, 42, 0.14);
    z-index: 160;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s;
  }

  .nav-principale.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-principale ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 0 16px;
  }

  .nav-principale li {
    width: 100%;
  }

  .nav-principale a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
  }

  .nav-principale a:hover {
    background: var(--green-softer);
    text-decoration: none;
  }

  .nav-ctas {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-content: stretch;
  }

  .nav-ctas .btn {
    flex: 1;
    min-width: 0;
    text-align: center;
  }

  html.nav-open,
  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn .ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Boutons principaux (même logique que le hero : primaire plein, secondaire contour) */
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(1, 174, 94, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--green-dark);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--green-softer);
  color: var(--ink);
  border-color: var(--green-deep);
}

/* Tertiaire : header, liens discrets */
.btn-outline {
  background: var(--green-softer);
  color: var(--ink);
  border-color: #b6e7c4;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--green-soft);
  color: var(--ink);
}

.btn-nav {
  padding: 10px 16px;
  font-size: 14px;
}

/* Bandeau CTA foncé : primaire inversé, secondaire fil blanc */
.cta-band .btn-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-primary:hover {
  background: #ecfdf3;
  border-color: #ecfdf3;
  color: var(--ink);
}

.cta-band .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding: clamp(64px, 11vw, 120px) 0 clamp(72px, 12vw, 128px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fbf8 38%, #eef6f1 100%);
  border-bottom: 1px solid rgba(1, 174, 94, 0.12);
}

/* Voile diagonal : structure la zone sans bloc vert uniforme */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 42%,
    rgba(1, 174, 94, 0.07) 42.5%,
    rgba(14, 90, 42, 0.09) 72%,
    rgba(1, 174, 94, 0.04) 100%
  );
  pointer-events: none;
}

/* Halo et grain léger côté visuel */
.hero::after {
  content: '';
  position: absolute;
  width: min(85vw, 720px);
  height: min(85vw, 720px);
  right: -18%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(1, 174, 94, 0.22) 0%,
    rgba(1, 174, 94, 0.08) 42%,
    transparent 68%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero::after {
    right: -35%;
    top: -8%;
    transform: none;
    width: min(100vw, 480px);
    height: min(100vw, 480px);
    opacity: 0.85;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--white);
  border: 1px solid rgba(1, 174, 94, 0.35);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(14, 90, 42, 0.06);
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-2);
}

.hero-title .accent {
  color: var(--green);
}

.hero-lead {
  margin: 0 0 22px;
  font-size: clamp(17px, 2.1vw, 19px);
  max-width: 38em;
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-meta {
  margin: 0 0 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.5;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid #b6e7c4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  box-shadow: 0 1px 3px rgba(14, 90, 42, 0.06);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 36em;
  line-height: 1.55;
}

.hero-note a {
  color: var(--green-deep);
  font-weight: 700;
}

/* Hero visual : schéma flux produit */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illus {
  margin: 0;
  width: 100%;
  max-width: 460px;
  padding: 18px 16px;
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(1, 174, 94, 0.22);
  box-shadow:
    0 4px 6px rgba(14, 90, 42, 0.04),
    0 24px 48px rgba(14, 90, 42, 0.1);
}

.hero-illus-svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-illus img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-illus-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: var(--muted);
}

.hero-illus-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  fill: var(--green-deep);
}

.hero-illus-sub {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 600;
  fill: var(--muted);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============ Stats ============ */
.stats {
  padding: clamp(72px, 10vw, 112px) 0 clamp(64px, 9vw, 96px);
  background: var(--surface);
  border-bottom: 1px solid #e2efe8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat-ico {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
}

.stat-num {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  max-width: 14em;
  margin: 0 auto;
}

/* ============ Sections génériques ============ */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.section-head--intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 28px;
  max-width: none;
}

.intro-aside-note {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.intro-aside-note--tight {
  margin-top: 12px;
}

.ia-outro-link {
  text-align: center;
  margin: 28px 0 0;
  font-size: 15px;
}

.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

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

/* ============ Intro ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.intro-text p {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--ink-2);
}

.intro-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.intro-list li {
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.intro-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Parcours (remplace le schéma SVG) ============ */
.parcours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 28px);
  counter-reset: step;
}

.parcours-step {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid #b6e7c4;
  box-shadow: var(--shadow);
}

.parcours-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parcours-step h3 {
  margin: 8px 0 10px;
  font-size: 17px;
  color: var(--green-deep);
}

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

@media (max-width: 900px) {
  .parcours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .parcours-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Blocs IA ============ */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 32px);
}

.ai-card {
  padding: 28px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
}

.ai-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}

.ai-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.ai-card .badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  background: var(--green-softer);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Fonctionnalités ============ */
.features {
  text-align: center;
}

.features .section-head-features {
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.features-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.features-sub {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  text-align: left;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 24px 22px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
  box-shadow: 0 2px 12px rgba(14, 90, 42, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  border-color: #9fd9b0;
  box-shadow: 0 8px 28px rgba(14, 90, 42, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--green-softer) 0%, #dff7e8 100%);
  border: 1px solid #b6e7c4;
  color: var(--green-dark);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-2);
  line-height: 1.3;
}

.feature p {
  margin: 0;
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ Modules (cartes) ============ */
#modules {
  scroll-margin-top: 88px;
}

#communaute {
  scroll-margin-top: 88px;
}

#editeur-doc {
  scroll-margin-top: 88px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 24px);
}

.module-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.module-card:hover {
  border-color: var(--green);
  box-shadow: 0 10px 32px rgba(14, 90, 42, 0.08);
}

.module-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-softer);
  color: var(--green-deep);
  border: 1px solid #b6e7c4;
}

.module-card-icon svg {
  width: 22px;
  height: 22px;
}

.module-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.module-card p {
  margin: 0 0 16px;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.module-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
}

.module-card-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.module-card-link::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 1px;
}

@media (max-width: 900px) {
  .modules-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 560px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Communauté (forum NodeBB) ============ */
/* Communauté : bandeau fond distinct, padding réduit (évite double aération) */
.section-community {
  background: var(--surface);
  border-top: 1px solid #e2efe8;
  border-bottom: 1px solid #e2efe8;
  padding: clamp(28px, 4vw, 44px) 0;
}

.community-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 28px);
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
  box-shadow: 0 2px 12px rgba(14, 90, 42, 0.06);
  max-width: 920px;
  margin: 0 auto;
}

.community-panel-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid #b6e7c4;
  color: var(--green-dark);
}

.community-panel-icon svg {
  width: 28px;
  height: 28px;
}

.community-panel-body {
  flex: 1;
  min-width: 220px;
}

.community-panel-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.community-panel-lead {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.community-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  align-items: center;
}

/* ============ Crédibilité ============ */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

.cred-card {
  padding: 24px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
}

.cred-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--green-deep);
}

.cred-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.cred-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 14px;
  color: var(--ink-2);
}

.cred-card li {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .cred-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Éditeur + doc (dans références) ============ */
.ref-extra {
  margin-top: clamp(40px, 6vw, 28px);
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.publisher-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 32px);
  align-items: center;
  padding: clamp(24px, 4vw, 32px);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #d4eadc;
  box-shadow: 0 4px 20px rgba(14, 90, 42, 0.06);
  text-align: left;
}

.publisher-panel-logo {
  width: min(200px, 42vw);
  flex-shrink: 0;
  padding: 16px 20px 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid #e2efe8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.publisher-panel-logo svg {
  width: 100%;
  height: auto;
  max-height: 72px;
}

.publisher-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--ink);
}

.publisher-panel p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.publisher-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 4px;
}

.publisher-panel-actions a:not(.btn) {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
}

.publisher-panel-actions a:not(.btn):hover {
  text-decoration: underline;
  color: var(--ink);
}

.doc-panel {
  padding: clamp(24px, 4vw, 32px);
  background: linear-gradient(135deg, #f0fdf6 0%, var(--white) 55%);
  border-radius: var(--radius);
  border: 1px solid #b6e7c4;
  text-align: center;
}

.doc-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--ink);
}

.doc-panel-lead {
  margin: 0 auto 22px;
  max-width: 520px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.doc-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 700px) {
  .publisher-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .publisher-panel-logo {
    margin: 0 auto;
  }

  .publisher-panel-actions {
    justify-content: center;
  }
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list details {
  margin-bottom: 12px;
  padding: 0;
  background: var(--white);
  border: 1px solid #d4eadc;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-list summary {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 48px 16px 20px;
  line-height: 1.35;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: '';
}

.faq-list summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  margin-top: -2px;
  transform: rotate(225deg);
}

@media (prefers-reduced-motion: reduce) {
  .faq-list summary::after {
    transition: none;
  }
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ CTA bandeau ============ */
.cta-band {
  background: var(--green-deep);
  color: var(--white);
  padding: clamp(72px, 11vw, 120px) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 24px;
  font-size: 16px;
  opacity: 0.95;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* ============ Footer ============ */
.footer {
  padding: 32px 0 40px;
  font-size: 14px;
  color: var(--white);
  background-color: var(--green);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.footer a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
}

.footer a:hover {
  color: #e8fff0;
}

.footer-copy {
  margin: 0;
  opacity: 0.95;
}

/* ============ Responsive stats / features ============ */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}
