/* Pages informatives (footer) — typo, primitives & mise en page */

.static-page {
  --color-brand-50: #ecf1f8;
  --color-brand-100: #c1cad7;
  --color-brand-200: #98a4b6;
  --color-brand-300: #6f7e95;
  --color-brand-400: #465874;
  --color-brand-500: #1d3253;
  --color-brand-600: #172b47;
  --color-neutre-50: #fafafa;
  --color-neutre-100: #f5f5f5;
  --color-neutre-200: #e5e5e5;
  --color-neutre-500: #737373;
  --color-neutre-700: #404040;
  --color-neutre-800: #262626;
  --color-success-500: #00c951;
  --color-success-600: #00a63e;
  --static-page-width: 1120px;
  --static-page-gutter: 20px;
  --prose-width: 740px;
  --static-page-pad-top: 32px;
  --static-page-pad-bottom: 56px;
  --static-page-header-gap: 32px;
  --static-page-section-gap: 40px;
  --static-page-divider-pad: 36px;
  --text-h1: 32px;
  --text-h2: 24px;
  --text-h3: 20px;
  --text-h4: 18px;
  --text-body-lg: 16px;
  --text-body: 16px;
  --lh-heading: 1.15;
  --lh-body: 1.7;
  --tracking-body: -0.02em;
  --tracking-heading: -0.06em;
  --tracking-caps: 0.01em;
  color: var(--color-neutre-800);
  display: block;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  line-height: var(--lh-body);
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  padding: var(--static-page-pad-top) 0 var(--static-page-pad-bottom);
  width: 100%;
  --surface-radius: 12px;
  --surface-radius-sm: 10px;
  --surface-soft: var(--color-neutre-50);
  --surface-accent: var(--color-brand-50);
  --surface-border: var(--color-neutre-200);
  --surface-border-accent: var(--color-brand-100);
  --surface-pad: 24px;
}

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

/* Tablette */
@media (min-width: 768px) {
  .static-page {
    --static-page-gutter: 32px;
    --static-page-pad-top: 48px;
    --static-page-pad-bottom: 72px;
    --static-page-header-gap: 40px;
    --static-page-section-gap: 48px;
    --static-page-divider-pad: 44px;
    --text-h1: 40px;
    --text-h2: 28px;
    --text-h3: 22px;
    --text-h4: 18px;
    --text-body-lg: 17px;
    --text-body: 17px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .static-page {
    --static-page-gutter: 40px;
    --static-page-pad-top: 64px;
    --static-page-pad-bottom: 88px;
    --static-page-header-gap: 48px;
    --static-page-section-gap: 56px;
    --static-page-divider-pad: 48px;
    --text-h1: 44px;
    --text-h2: 32px;
    --text-h3: 24px;
    --text-h4: 18px;
    --text-body-lg: 18px;
    --text-body: 18px;
    --prose-width: 860px;
  }
}

.static-page__container {
  margin: 0 auto;
  max-width: var(--static-page-width);
  min-width: 0;
  padding-left: var(--static-page-gutter);
  padding-right: var(--static-page-gutter);
  width: 100%;
}

/* En-tête de page */
.static-page__header {
  margin-bottom: var(--static-page-header-gap);
  max-width: 100%;
  padding-bottom: 24px;
  position: relative;
}

.static-page__header::after {
  background: var(--color-brand-400);
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 72px;
}

@media (min-width: 1024px) {
  .static-page__header {
    padding-bottom: 32px;
  }

  .static-page__header::after {
    width: 96px;
  }
}

.static-page__header h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-heading);
  max-width: min(var(--prose-width), 100%);
}

.static-page__body {
  max-width: min(var(--prose-width), 100%);
  min-width: 0;
}

.static-page__meta {
  color: var(--color-neutre-500);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: var(--text-body-lg);
  margin-top: 12px;
}

/* Titres */
.static-page h1,
.static-page h2,
.static-page h3,
.static-page h4 {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  hyphens: auto;
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
  max-width: 100%;
  overflow-wrap: break-word;
}

.static-page h1 {
  font-size: var(--text-h1);
  margin: 0;
}

.static-page h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  margin: 0 0 16px;
}

.static-page h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  margin: 0 0 12px;
}

.static-page h4 {
  font-size: var(--text-h4);
  margin: 20px 0 10px;
}

/* Corps de texte */
.static-page p,
.static-page li,
.static-page blockquote cite {
  font-family: "Roboto", system-ui, sans-serif;
}

.static-page p {
  margin: 0 0 1.1em;
  max-width: min(var(--prose-width), 100%);
}

.static-page p:last-child {
  margin-bottom: 0;
}

.static-page ul,
.static-page ol {
  margin: 0 0 1.25em;
  max-width: min(var(--prose-width), 100%);
  padding-left: 1.35em;
}

.static-page ul {
  list-style: disc;
}

.static-page ol {
  list-style: decimal;
}

.static-page li {
  margin-bottom: 0.45em;
  padding-left: 0.15em;
}

.static-page li:last-child {
  margin-bottom: 0;
}

.static-page a {
  color: var(--color-brand-500);
  font-weight: 500;
  overflow-wrap: break-word;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.static-page a:hover {
  color: var(--color-brand-400);
}

.static-page a.text-success {
  color: var(--color-success-500);
}

.static-page a.text-success:hover {
  color: var(--color-success-600);
}

.static-page strong,
.static-page b {
  font-weight: 700;
}

.static-page em,
.static-page i {
  font-style: italic;
}

/* Sections */
.static-page__section {
  margin-bottom: var(--static-page-section-gap);
  max-width: 100%;
  min-width: 0;
}

.static-page__section:last-child {
  margin-bottom: 0;
}

.static-page__section > h2:first-child,
.static-page__section > h3:first-child {
  margin-top: 0;
}

.static-page__section--divider {
  border-top: 1px solid var(--color-neutre-200);
  margin-top: 0;
  padding-top: var(--static-page-divider-pad);
}

/* Citation — sobre */
.static-page blockquote {
  border-left: 3px solid var(--color-brand-400);
  color: var(--color-neutre-800);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: var(--text-body-lg);
  font-style: italic;
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  line-height: var(--lh-body);
  margin: var(--static-page-section-gap) 0;
  max-width: 100%;
  padding: 0 0 0 18px;
}

.static-page blockquote p {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  max-width: none;
}

.static-page blockquote cite {
  color: var(--color-neutre-700);
  display: block;
  font-size: var(--text-body);
  font-style: normal;
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  line-height: var(--lh-body);
  margin-top: 12px;
}

/* Médias */
.static-page__media {
  margin: 28px 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.static-page__media video,
.static-page__media iframe,
.static-page__media img {
  border-radius: 6px;
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.static-page__media iframe {
  border: none;
  max-width: 100%;
}

.static-page__media--video iframe {
  aspect-ratio: 16 / 9;
  border: none;
}

/* Étapes numérotées */
.static-page__steps {
  list-style: none;
  margin: 0 0 0.5em;
  max-width: min(var(--prose-width), 100%);
  padding: 0;
}

.static-page__step {
  border-left: 3px solid var(--color-brand-200);
  margin-bottom: 12px;
  padding: 12px 0 12px 16px;
}

.static-page__step:last-child {
  margin-bottom: 0;
}

.static-page__step-num {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 700;
}

/* Navigation « aller plus loin » */
.static-page__nav-links {
  border-top: 1px solid var(--color-neutre-200);
  margin-top: var(--static-page-section-gap);
  padding-top: var(--static-page-divider-pad);
}

.static-page__nav-links h2 {
  font-size: var(--text-h3);
  margin: 0 0 16px;
}

.static-page__nav-links ul {
  list-style: none;
  margin: 0;
  max-width: none;
  padding: 0;
}

.static-page__nav-links li {
  margin-bottom: 10px;
}

.static-page__nav-links li:last-child {
  margin-bottom: 0;
}

/* Signature */
.static-page__signoff {
  color: var(--color-neutre-700);
  margin-top: 24px;
}

.static-page__signoff p {
  max-width: min(var(--prose-width), 100%);
}

/* Pages légales (CGVU) */
.static-page--legal .static-page__legal-content {
  text-align: left;
  color: var(--color-neutre-800);
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: var(--text-body);
  min-width: 0;
  line-height: 1.78;
  max-width: min(var(--legal-content-width), 100%);
}

/* Titre principal — même échelle, variante capitales */
.static-page--legal .static-page__header--legal h1 {
  font-size: var(--text-h1);
  letter-spacing: var(--tracking-caps);
  line-height: var(--lh-heading);
  text-transform: uppercase;
}

/* Encart date CGVU — texte simple */
.static-page--legal .static-page__legal-intro {
  margin-top: 12px;
  max-width: min(var(--prose-width), 100%);
  padding: 0;
}

.static-page--legal .static-page__legal-intro .static-page__meta {
  background: var(--surface-accent);
  border: 1px solid var(--surface-border-accent);
  border-radius: 999px;
  color: var(--color-brand-500);
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 6px 14px;
}

/* Articles */
.static-page--legal .static-page__legal-article {
  margin: 0;
  max-width: min(var(--prose-width), 100%);
  padding: 0;
  color: var(--color-neutre-800);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  overflow-wrap: break-word;
  word-break: break-word;
  scroll-margin-top: 120px;
}

.static-page--legal .static-page__legal-article--lexique {
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  border-radius: var(--surface-radius);
  margin-bottom: 24px;
  padding: 24px 28px;
}

.static-page--legal .static-page__legal-article > h2 {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
  margin: 0 0 20px;
}

.static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) > h2 {
  margin-top: 0;
  padding: var(--static-page-divider-pad) 0 0;
  border-top: 1px solid var(--surface-border);
  color: var(--color-brand-500);
  font-size: clamp(22px, 2.3vw, 28px);
  margin-bottom: 20px;
  padding-top: 48px;
}

@media (min-width: 768px) {
  .static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) > h2 {
    margin-bottom: 24px;
  }
}

.static-page--legal .static-page__legal-article--lexique > h2 {
  margin-bottom: 16px;
  font-size: var(--text-h2);
}

/* Sous-sections (ex. 8.1, 8.2) */
.static-page--legal .static-page__legal-subheading {
  hyphens: none;
  margin: 32px 0 14px;
}

.static-page--legal .static-page__legal-subheading b {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
  display: block;
}

.static-page--legal .static-page__legal-article ul {
  list-style: none;
  margin: 1em 0 1.25em;
  max-width: 100%;
  padding: 0;
  line-height: 1.72;
}

.static-page--legal .static-page__legal-article ul li {
  margin-bottom: 0.85em;
  padding-left: 0;
  position: relative;
}

.static-page--legal .static-page__legal-article--lexique ul li {
  margin-bottom: 0.85em;
  padding-bottom: 0;
}

.static-page--legal .static-page__legal-article--lexique ul li:last-child {
  margin-bottom: 0;
}

.static-page--legal .static-page__legal-article--lexique ul li b {
  color: var(--color-brand-500);
  font-weight: 700;
}

.static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) > ul {
  margin: 1em 0 1.25em;
  padding-left: 1.25em;
}

.static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) > ul > li {
  list-style: disc;
  margin-bottom: 0.65em;
  padding-left: 0.2em;
}

.static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) > ul > li::marker {
  color: inherit;
}

.static-page--legal .static-page__legal-article b {
  font-weight: 700;
}

.static-page--legal .static-page__legal-article a {
  color: var(--color-brand-500);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.static-page--legal .static-page__legal-article a:hover {
  color: var(--color-brand-400);
}

/* Conditions générales : document juridique long */
.static-page--legal {
  --legal-toc-width: 240px;
  --legal-content-width: 720px;
}

.static-page--legal .static-page__container {
  max-width: var(--static-page-width);
}

.static-page--legal .static-page__header--legal {
  max-width: min(var(--legal-content-width), 100%);
}

.static-page--legal .static-page__legal-layout {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
}

.static-page--legal .static-page__legal-toc {
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  border-radius: var(--surface-radius);
  max-width: 100%;
  padding: 18px 18px;
}

.static-page--legal .static-page__legal-toc-title {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h4);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
  margin: 0 0 10px;
}

.static-page--legal .static-page__legal-toc ol {
  list-style: none;
  margin: 0;
  max-width: none;
  padding: 0;
}

.static-page--legal .static-page__legal-toc li {
  break-inside: avoid;
  margin: 0;
  padding: 0;
}

.static-page--legal .static-page__legal-toc a {
  border-left: 2px solid transparent;
  color: var(--color-neutre-700);
  display: block;
  font-size: 14px;
  line-height: 1.35;
  padding: 7px 0 7px 12px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.static-page--legal .static-page__legal-toc a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  border-left-color: var(--color-brand-400);
  color: var(--color-brand-500);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .static-page--legal .static-page__legal-layout {
    gap: 0;
    align-items: start;
    column-gap: 40px;
    grid-template-columns: minmax(0, var(--legal-toc-width)) minmax(0, var(--legal-content-width));
    row-gap: 0;
  }

  .static-page--legal .static-page__legal-toc {
    max-width: none;
    max-height: calc(100vh - 120px);
    overflow: auto;
    position: sticky;
    top: 96px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .static-page--legal {
    --legal-toc-width: 220px;
  }

  .static-page--legal .static-page__legal-layout {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .static-page--legal .static-page__legal-layout {
    gap: 28px;
  }

  .static-page--legal .static-page__legal-toc {
    padding: 16px;
  }

  .static-page--legal .static-page__legal-toc a {
    font-size: 14px;
    padding: 8px 0;
  }

  .static-page--legal .static-page__legal-content {
    line-height: 1.72;
  }

  .static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) > h2 {
    margin-bottom: 16px;
    padding-top: 28px;
  }

  .static-page--legal .static-page__legal-subheading {
    margin: 20px 0 10px;
  }
}

/* Guide : médias et grilles pleine largeur du container */
.static-page--guide .static-page__media {
  max-width: 100%;
}

.static-page--guide .static-page__figure {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  margin: calc(var(--static-page-section-gap) + 8px) auto 0;
  max-width: 560px;
  padding: 28px;
  width: 100%;
}

.static-page--guide .static-page__hero {
  max-width: 100%;
  display: grid;
  align-items: center;
  gap: 32px;
  margin-bottom: var(--static-page-section-gap);
}

.static-page--guide .static-page__examples {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 24px 0 0;
  max-width: 100%;
  padding: 0;
}

.static-page--guide p,
.static-page--guide .static-page__signoff p {
  max-width: min(var(--prose-width), 100%);
}

/* Colonne de lecture */
.static-page--editorial .static-page__body {
  max-width: min(var(--prose-width), 100%);
  text-align: left;
}

.static-page--editorial .static-page__body p,
.static-page--editorial .static-page__body li,
.static-page--editorial .static-page__body ul,
.static-page--editorial .static-page__body ol {
  max-width: 100%;
}

/* Titres de section */
.static-page--editorial .static-page__section > h2 {
  border-bottom: 1px solid var(--color-neutre-200);
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  margin: 0 0 20px;
  padding-bottom: 12px;
}

.static-page--editorial .static-page__subsection {
  margin-bottom: 28px;
}

.static-page--editorial .static-page__subsection:last-child {
  margin-bottom: 0;
}

.static-page--editorial .static-page__subsection h3 {
  color: var(--color-brand-500);
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  margin: 0 0 8px;
}

.static-page--editorial .static-page__subsection p {
  margin-bottom: 0;
}

/* Listes — puces standard */
.static-page--editorial ul {
  list-style: disc;
  margin: 0.5em 0 1.25em;
  padding-left: 1.35em;
}

.static-page--editorial ul li {
  margin-bottom: 0.5em;
  padding-left: 0.15em;
}

.static-page--editorial ul li::before {
  display: none;
}

.static-page--editorial ul li b {
  font-weight: 700;
}

.static-page--editorial ul li:last-child {
  margin-bottom: 0;
}

/* Citation philosophie */
.static-page--editorial .static-page__quote {
  border-left: 3px solid var(--color-brand-400);
  margin: var(--static-page-section-gap) 0;
  max-width: 100%;
  padding: 0 0 0 18px;
}

.static-page--editorial .static-page__quote p {
  color: var(--color-neutre-800);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: var(--text-body-lg);
  font-style: italic;
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  line-height: var(--lh-body);
  margin-bottom: 0;
}

.static-page--editorial .static-page__quote cite {
  color: var(--color-neutre-700);
  margin-top: 12px;
}

/* Charte : principes sans cartes */
.static-page--editorial .static-page__section.static-page__principle {
  margin-bottom: 0;
}

.static-page--editorial .static-page__principle {
  border-bottom: 1px solid var(--color-neutre-200);
  margin-bottom: 0;
  padding-bottom: var(--static-page-divider-pad);
}

.static-page--editorial .static-page__principle:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.static-page--editorial .static-page__principle h2 {
  border-bottom: none;
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  margin: 0 0 10px;
  padding: 0;
}

.static-page--editorial .static-page__principle h2::before {
  display: none;
}

.static-page--editorial .static-page__principle p {
  margin-bottom: 0;
}

.static-page--editorial .static-page__signoff {
  border-top: 1px solid var(--color-neutre-200);
  color: var(--color-neutre-700);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  margin-bottom: 0;
  margin-top: var(--static-page-section-gap);
  padding-top: var(--static-page-divider-pad);
}

/* Navigation « aller plus loin » — éditorial */
.static-page--editorial .static-page__nav-links {
  max-width: 100%;
}

.static-page--editorial .static-page__nav-links h2 {
  border-bottom: none;
  font-size: var(--text-h3);
  margin-bottom: 16px;
  padding-bottom: 0;
}

.static-page--editorial .static-page__nav-links ul li::before {
  display: none;
}

.static-page--editorial .static-page__nav-links li {
  padding-left: 0;
}

/* --------------------------------------------------------------------------
   Page « Charte du bon voisin »
   -------------------------------------------------------------------------- */

.static-page--charter .static-page__body {
  max-width: 100%;
  padding-bottom: clamp(28px, 5vw, 56px);
}

.static-page--charter .static-page__charter-hero {
  max-width: min(var(--prose-width), 100%);
}

.static-page--charter .static-page__charter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  gap: 22px;
}

.static-page--charter .static-page__principle {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  margin: 0;
  min-width: 0;
  padding: 28px 28px;
}

.static-page--charter .static-page__principle h2 {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h4);
  margin-bottom: 14px;
}

.static-page--charter .static-page__principle p {
  color: var(--color-neutre-700);
  line-height: var(--lh-body);
  margin-bottom: 0;
}

.static-page--charter .static-page__body .static-page__signoff {
  background: var(--surface-accent);
  border: 1px solid var(--surface-border-accent);
  border-radius: 16px;
  color: var(--color-neutre-800);
  font-size: var(--text-body-lg);
  line-height: 1.6;
  margin-bottom: 8px;
  margin-top: calc(var(--static-page-section-gap) + 8px);
  max-width: min(var(--prose-width), 100%);
  padding: 32px 36px;
}

@media (min-width: 768px) {
  .static-page--charter .static-page__charter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .static-page--charter .static-page__charter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .static-page--charter .static-page__principle {
    padding: 22px 20px;
  }

  .static-page--charter .static-page__signoff {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   Page « Notre philosophie »
   -------------------------------------------------------------------------- */

.static-page--philosophy {
  --static-page-width: 1320px;
  background: linear-gradient(180deg, var(--color-neutre-50) 0%, transparent 900px);
}

.static-page--philosophy .static-page__body {
  max-width: 100%;
}

.static-page--philosophy .static-page__section {
  max-width: 100%;
}

/* ---------------------------------------------------------------------- */
/* Hero — bandeau + illustration                                          */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__philosophy-hero {
  background: var(--color-neutre-50);
  margin-bottom: var(--static-page-header-gap);
  max-width: 100%;
  padding: 40px 0;
}

.static-page--philosophy .static-page__philosophy-hero::after {
  content: none;
}

.static-page--philosophy .static-page__philosophy-hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .static-page--philosophy .static-page__philosophy-hero {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .static-page--philosophy .static-page__philosophy-hero {
    padding: 96px 0;
  }

  .static-page--philosophy .static-page__philosophy-hero-grid {
    gap: 44px;
    grid-template-columns: minmax(0, 576px) minmax(0, 1fr);
  }
}

.static-page--philosophy .static-page__philosophy-eyebrow {
  background: var(--surface-accent);
  border-radius: 999px;
  color: var(--color-brand-500);
  display: inline-block;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0 0 20px;
  padding: 8px 16px;
}

.static-page--philosophy .static-page__philosophy-hero h1 {
  font-size: 60px;
  line-height: 60px;
  margin-bottom: 20px;
  max-width: 100%;
}

.static-page--philosophy .static-page__philosophy-hero-highlight {
  background: linear-gradient(14.036208915080138deg, #F907FC 0%, #0779FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
  padding-right: 0.05em;
}

.static-page--philosophy .static-page__philosophy-hero-content .static-page__lede {
  color: var(--color-brand-400);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .static-page--philosophy .static-page__philosophy-hero h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .static-page--philosophy .static-page__philosophy-hero-highlight {
    background-image: linear-gradient(15.524073127229443deg, #F907FC 0%, #0779FF 100%);
  }

  .static-page--philosophy .static-page__philosophy-hero-content .static-page__lede {
    font-size: 16px;
    line-height: 24px;
  }

  .static-page--philosophy .static-page__lede-break {
    display: none;
  }
}

.static-page--philosophy .static-page__philosophy-hero-visual {
  margin: 0 auto;
  max-width: 560px;
  padding-bottom: 32px;
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .static-page--philosophy .static-page__philosophy-hero-visual {
    margin: 0;
    max-width: none;
    padding-bottom: 0;
  }
}

.static-page--philosophy .static-page__philosophy-hero-scene {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .static-page--philosophy .static-page__philosophy-hero-scene {
    aspect-ratio: auto;
    border-radius: 32px;
    height: 369px;
  }
}

.static-page--philosophy .static-page__philosophy-hero-illustration {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.static-page--philosophy .static-page__philosophy-hero-card {
  align-items: center;
  background: #fff;
  border-radius: 16px;
  bottom: 10%;
  box-shadow: 0 10px 7.5px rgba(0, 0, 0, 0.1), 0 4px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  left: 50%;
  max-width: min(199px, 78%);
  padding: 17px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .static-page--philosophy .static-page__philosophy-hero-card {
    bottom: 0;
    left: -48px;
    transform: none;
  }
}

.static-page--philosophy .static-page__philosophy-hero-card-icon {
  color: var(--color-brand-500);
  flex: none;
  height: 24px;
  width: 24px;
}

.static-page--philosophy .static-page__philosophy-hero-card p {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}

@media (max-width: 1023px) {
  .static-page--philosophy .static-page__philosophy-hero-content {
    text-align: center;
  }

  .static-page--philosophy .static-page__philosophy-hero-visual {
    margin-top: 4px;
    max-width: 480px;
  }
}

@media (max-width: 480px) {
  .static-page--philosophy .static-page__philosophy-hero-card {
    max-width: calc(100% - 24px);
    padding: 14px 16px;
  }
}

/* ---------------------------------------------------------------------- */
/* Section « Pourquoi changer notre façon de consommer ? »                */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__philosophy-why {
  text-align: center;
}

.static-page--philosophy .static-page__philosophy-why > h2 {
  border-bottom: 0;
  margin: 0 auto 28px;
  max-width: min(560px, 100%);
  padding-bottom: 0;
}

.static-page--philosophy .static-page__philosophy-why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.static-page--philosophy .static-page__philosophy-why-card {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: var(--surface-radius);
  padding: 28px 24px;
}

.static-page--philosophy .static-page__philosophy-why-icon {
  background-color: var(--surface-accent);
  border-radius: 50%;
  display: block;
  height: 52px;
  margin-bottom: 18px;
  position: relative;
  width: 52px;
}

.static-page--philosophy .static-page__philosophy-why-icon::before {
  background-color: var(--color-brand-500);
  content: "";
  height: 24px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
}

.static-page--philosophy .static-page__philosophy-why-icon--objects::before {
  -webkit-mask-image: url("/img/icone/bricolage.png");
  mask-image: url("/img/icone/bricolage.png");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.static-page--philosophy .static-page__philosophy-why-icon--money::before {
  -webkit-mask-image: url("/img/icons/euro.svg");
  mask-image: url("/img/icons/euro.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.static-page--philosophy .static-page__philosophy-why-icon--neighbors::before {
  -webkit-mask-image: url("/img/pictos/group.svg");
  mask-image: url("/img/pictos/group.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.static-page--philosophy .static-page__philosophy-why-card h3 {
  color: var(--color-brand-500);
  font-size: var(--text-h4);
  margin-bottom: 8px;
}

.static-page--philosophy .static-page__philosophy-why-card p {
  color: var(--color-neutre-700);
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------- */
/* Section « Notre conviction »                                           */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__philosophy-conviction {
  background: #fafafa;
  margin-bottom: 0;
  padding: 40px 0;
}

.static-page--philosophy .static-page__philosophy-conviction-card {
  display: flex;
  flex-direction: column;
}

.static-page--philosophy .static-page__philosophy-conviction-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.static-page--philosophy .static-page__philosophy-conviction-header h2 {
  border-bottom: 0;
  font-size: 24px;
  letter-spacing: normal;
  line-height: 32px;
  margin: 0;
  padding-bottom: 0;
  text-align: left;
}

.static-page--philosophy .static-page__philosophy-conviction-header p {
  color: var(--color-brand-400);
  margin: 0;
}

.static-page--philosophy .static-page__philosophy-conviction-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 32px 0 0;
  padding: 16px 0 0;
}

.static-page--philosophy .static-page__philosophy-conviction-list li {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.static-page--philosophy .static-page__philosophy-conviction-list li p {
  color: var(--color-brand-400);
  margin: 0;
}

.static-page--philosophy .static-page__philosophy-conviction-icon {
  align-items: center;
  border-radius: 999px;
  display: flex;
  flex: none;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.static-page--philosophy .static-page__philosophy-conviction-icon svg {
  height: 16px;
  width: 16px;
}

.static-page--philosophy .static-page__philosophy-conviction-icon--brand {
  background: var(--color-brand-50);
  color: var(--color-brand-500);
}

.static-page--philosophy .static-page__philosophy-conviction-icon--success {
  background: #f0fdf4;
  color: var(--color-success-500);
}

.static-page--philosophy .static-page__philosophy-conviction-icon--warning {
  background: #fefce8;
  color: #f0b100;
}

@media (min-width: 768px) {
  .static-page--philosophy .static-page__philosophy-conviction {
    background: none;
    padding: 80px 0;
  }

  .static-page--philosophy .static-page__philosophy-conviction-card {
    background: var(--surface-soft);
    border: 1px solid var(--color-brand-50);
    border-radius: 40px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    padding: 48px;
  }

  .static-page--philosophy .static-page__philosophy-conviction-header {
    gap: 24px;
  }

  .static-page--philosophy .static-page__philosophy-conviction-header h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .static-page--philosophy .static-page__philosophy-conviction-list {
    margin-top: 24px;
  }

  .static-page--philosophy .static-page__philosophy-conviction-icon {
    height: 36px;
    width: 36px;
  }

  .static-page--philosophy .static-page__philosophy-conviction-icon svg {
    height: 20px;
    width: 20px;
  }
}

/* ---------------------------------------------------------------------- */
/* Section « Kiwiiz c'est Gagnant Gagnant »                               */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__philosophy-win {
  margin-bottom: 0;
  padding-bottom: 40px;
  padding-top: 40px;
  text-align: center;
}

.static-page--philosophy .static-page__philosophy-win > h2 {
  border-bottom: 0;
  margin: 0 auto 32px;
  max-width: min(560px, 100%);
  padding-bottom: 0;
  position: relative;
}

.static-page--philosophy .static-page__philosophy-win > h2::after {
  background: linear-gradient(90deg, #F907FC 0%, #0779FF 100%);
  border-radius: 999px;
  bottom: -16px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 32px;
}

.static-page--philosophy .static-page__philosophy-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-cards {
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.static-page--philosophy .static-page__philosophy-cards-card {
  align-items: center;
  background: var(--card-bg, #fff);
  border: 1px solid var(--color-brand-50);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 33px;
  position: relative;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-cards-card {
    gap: 16px;
  }
}

.static-page--philosophy .static-page__philosophy-cards-card--1 {
  --card-bg: var(--color-neutre-50);
}

.static-page--philosophy .static-page__philosophy-cards-card--2 {
  --card-bg: #f0fdf4;
}

.static-page--philosophy .static-page__philosophy-cards-card--3 {
  --card-bg: #fefce8;
}

.static-page--philosophy .static-page__philosophy-cards-badge {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  left: 22px;
  line-height: 1;
  position: absolute;
  top: 21px;
  width: 40px;
}

.static-page--philosophy .static-page__philosophy-cards-card--1 .static-page__philosophy-cards-badge {
  background: var(--color-brand-500);
}

.static-page--philosophy .static-page__philosophy-cards-card--2 .static-page__philosophy-cards-badge {
  background: var(--color-success-500);
}

.static-page--philosophy .static-page__philosophy-cards-card--3 .static-page__philosophy-cards-badge {
  background: #f0b100;
}

.static-page--philosophy .static-page__philosophy-cards-avatar {
  display: block;
  height: 140px;
  width: 128px;
}

.static-page--philosophy .static-page__philosophy-cards h3 {
  color: var(--color-brand-500);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-cards h3 {
    font-size: 20px;
  }
}

.static-page--philosophy .static-page__philosophy-cards-highlight {
  color: var(--color-brand-500);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

.static-page--philosophy .static-page__philosophy-cards-highlight--success {
  color: var(--color-success-500);
}

.static-page--philosophy .static-page__philosophy-cards-text {
  color: var(--color-neutre-700);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-cards-highlight,
  .static-page--philosophy .static-page__philosophy-cards-text {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ---------------------------------------------------------------------- */
/* Section « Kiwiiz, votre tiers de confiance »                           */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__philosophy-trust {
  margin-bottom: 0;
  padding-bottom: 40px;
  padding-top: 40px;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-trust {
    padding-bottom: 80px;
    padding-top: 80px;
  }
}

.static-page--philosophy .static-page__philosophy-trust-card {
  background: var(--color-neutre-50);
  border: 1px solid var(--color-brand-50);
  border-radius: 24px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.static-page--philosophy .static-page__philosophy-trust-card > h2 {
  margin: 0 0 24px;
  text-align: left;
}

.static-page--philosophy .static-page__philosophy-trust-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.static-page--philosophy .static-page__philosophy-trust-item {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.static-page--philosophy .static-page__philosophy-trust-icon {
  align-items: center;
  background: var(--trust-icon-bg);
  border-radius: 50%;
  display: flex;
  flex: none;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.static-page--philosophy .static-page__philosophy-trust-icon svg {
  color: var(--trust-icon-color);
  height: 32px;
  width: 32px;
}

.static-page--philosophy .static-page__philosophy-trust-icon--verify {
  --trust-icon-bg: var(--color-brand-50);
  --trust-icon-color: var(--color-brand-500);
}

.static-page--philosophy .static-page__philosophy-trust-icon--engage {
  --trust-icon-bg: #F0FDF4;
  --trust-icon-color: #16A34A;
}

.static-page--philosophy .static-page__philosophy-trust-icon--review {
  --trust-icon-bg: #FEFCE8;
  --trust-icon-color: #F2A900;
}

.static-page--philosophy .static-page__philosophy-trust-content h3 {
  color: #1F2937;
  font-size: var(--text-h4);
  margin: 0 0 8px;
}

.static-page--philosophy .static-page__philosophy-trust-content p {
  color: #4B5563;
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .static-page--philosophy .static-page__philosophy-trust-card {
    border-radius: 40px;
    padding: 48px;
  }

  .static-page--philosophy .static-page__philosophy-trust-card > h2 {
    text-align: center;
  }

  .static-page--philosophy .static-page__philosophy-trust-grid {
    flex-direction: row;
    gap: 16px;
  }

  .static-page--philosophy .static-page__philosophy-trust-item {
    flex: 1;
    flex-direction: row;
    gap: 16px;
  }

  .static-page--philosophy .static-page__philosophy-trust-icon {
    height: 96px;
    width: 96px;
  }

  .static-page--philosophy .static-page__philosophy-trust-icon svg {
    height: 48px;
    width: 48px;
  }

  .static-page--philosophy .static-page__philosophy-trust-content h3 {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ---------------------------------------------------------------------- */
/* Citation fondateur                                                     */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__quote {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: calc(var(--static-page-section-gap) + 16px) auto;
  max-width: min(760px, 100%);
  padding: 48px 24px 0;
  position: relative;
  text-align: center;
}

.static-page--philosophy .static-page__quote::before {
  color: var(--color-brand-100);
  content: "\201C";
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 80px;
  font-weight: 700;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.static-page--philosophy .static-page__quote p {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: clamp(21px, 2.6vw, 28px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  line-height: 1.4;
  position: relative;
}

.static-page--philosophy .static-page__quote-signature {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.static-page--philosophy .static-page__quote-avatar {
  align-items: center;
  background: var(--color-brand-500);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  width: 44px;
}

.static-page--philosophy .static-page__quote cite {
  color: var(--color-neutre-700);
  font-style: normal;
}

/* ---------------------------------------------------------------------- */
/* « Aller plus loin »                                                    */
/* ---------------------------------------------------------------------- */

.static-page--philosophy .static-page__nav-links {
  background: var(--surface-accent);
  border: 1px solid var(--surface-border-accent);
  border-radius: 16px;
  max-width: min(var(--prose-width), 100%);
  padding: 32px 34px;
}

.static-page--philosophy .static-page__nav-links h2 {
  margin-bottom: 6px;
}

.static-page--philosophy .static-page__nav-links ul {
  gap: 6px;
  display: block;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.static-page--philosophy .static-page__nav-links li {
  border-top: 1px solid var(--surface-border-accent);
  margin: 0;
  padding: 0;
}

.static-page--philosophy .static-page__nav-links li::before {
  content: none;
}

.static-page--philosophy .static-page__nav-links li:first-child {
  border-top: 0;
}

.static-page--philosophy .static-page__nav-links a {
  align-items: center;
  border-radius: 8px;
  color: var(--color-brand-500);
  display: flex;
  font-weight: 500;
  gap: 12px;
  justify-content: space-between;
  padding: 15px 12px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.static-page--philosophy .static-page__nav-links a:hover {
  background: #fff;
}

.static-page--philosophy .static-page__nav-links a::after {
  align-items: center;
  background: var(--color-brand-500);
  border-radius: 50%;
  color: #fff;
  content: "\2192";
  display: inline-flex;
  flex: none;
  font-size: 14px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.15s ease;
  width: 28px;
}

.static-page--philosophy .static-page__nav-links a:hover::after {
  background: var(--color-brand-400);
  transform: translateX(3px);
}

/* ---------------------------------------------------------------------- */
/* Responsive — mobile (≤767px)                                          */
/* ---------------------------------------------------------------------- */

@media (max-width: 767px) {
  .static-page--philosophy .static-page__philosophy-why-card {
    padding: 22px 20px;
  }

  .static-page--philosophy .static-page__nav-links {
    padding: 24px 20px;
  }

  .static-page--philosophy .static-page__nav-links a {
    min-height: 44px;
  }

  .static-page--philosophy .static-page__quote {
    padding: 40px 16px 0;
  }

  .static-page--philosophy .static-page__quote::before {
    font-size: 56px;
  }

  .static-page--philosophy .static-page__quote p {
    font-size: var(--text-body-lg);
  }
}

/* --------------------------------------------------------------------------
   Page « Économie collaborative »
   -------------------------------------------------------------------------- */

.static-page--economy .static-page__body {
  max-width: 100%;
  padding-bottom: clamp(24px, 4vw, 48px);
}

.static-page--economy .static-page__economy-hero {
  max-width: min(var(--prose-width), 100%);
}

.static-page--economy .static-page__economy-context {
  max-width: min(var(--prose-width), 100%);
  border-top-color: var(--color-neutre-200);
}

.static-page--economy .static-page__economy-strategies {
  max-width: min(var(--prose-width), 100%);
  border-top-color: var(--color-neutre-200);
}

.static-page--economy .static-page__economy-conclusion {
  background: var(--surface-accent);
  border: 1px solid var(--surface-border-accent);
  border-radius: 16px;
  max-width: min(var(--prose-width), 100%);
  padding: 30px 32px;
}

.static-page--economy .static-page__economy-intro {
  max-width: min(var(--prose-width), 100%);
  color: var(--color-neutre-800);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.static-page--economy .static-page__economy-sectors {
  max-width: 100%;
}

.static-page--economy .static-page__economy-sectors > h2 {
  border-bottom: 0;
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h4);
  font-weight: 600;
  hyphens: none;
  letter-spacing: inherit;
  line-height: var(--lh-body);
  margin-bottom: 4px;
  max-width: min(var(--prose-width), 100%);
  padding-bottom: 0;
}

.static-page--economy .static-page__economy-sectors dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 20px 0 0;
  max-width: 100%;
  padding: 0;
  gap: 18px;
}

.static-page--economy .static-page__economy-sectors dl > div {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-left: 3px solid var(--color-brand-300);
  border-radius: 12px;
  margin: 0;
  min-width: 0;
  padding: 20px 22px;
}

.static-page--economy .static-page__economy-sectors dt {
  color: var(--color-brand-500);
  display: block;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h4);
  font-weight: 700;
  margin: 0 0 6px;
}

.static-page--economy .static-page__economy-sectors dd {
  margin: 0;
}

.static-page--economy .static-page__economy-strategies > h2 {
  border-bottom: 0;
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h4);
  font-weight: 700;
  hyphens: none;
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
  margin-bottom: 16px;
  padding-bottom: 0;
}

.static-page--economy .static-page__economy-conclusion p:first-child {
  color: var(--color-brand-500);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
}

@media (min-width: 768px) {
  .static-page--economy .static-page__economy-sectors dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .static-page--economy .static-page__economy-sectors dl > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .static-page--economy .static-page__economy-sectors dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .static-page--economy .static-page__economy-sectors dl {
    gap: 14px;
  }

  .static-page--economy .static-page__economy-conclusion {
    padding: 24px 22px;
  }

  .static-page--economy .static-page__economy-sectors dl > div {
    padding: 18px 18px;
  }
}

/* Média 16:9 */
.static-page--guide .static-page__media--ratio {
  aspect-ratio: 16 / 9;
  background: var(--color-neutre-100);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.static-page--guide .static-page__media--ratio video,
.static-page--guide .static-page__media--ratio iframe {
  border: none;
  border-radius: 0;
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Hero — même traitement que l'en-tête éditorial */

.static-page--guide .static-page__hero-text {
  min-width: 0;
  max-width: 100%;
  padding-bottom: 24px;
  position: relative;
  margin-bottom: 0;
}

.static-page--guide .static-page__hero-media {
  min-width: 0;
  width: 100%;
  margin: 0;
  align-self: center;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .static-page--guide .static-page__hero {
    align-items: center;
    gap: 40px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (min-width: 1024px) {
  .static-page--guide .static-page__hero {
    gap: 48px;
  }
}

.static-page--guide .static-page__hero-text::after {
  background: var(--color-brand-400);
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 72px;
}

@media (min-width: 1024px) {
  .static-page--guide .static-page__hero-text {
    padding-bottom: 32px;
  }

  .static-page--guide .static-page__hero-text::after {
    width: 96px;
  }
}

.static-page--guide .static-page__hero h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-heading);
  margin: 0 0 16px;
}

.static-page--guide .static-page__hero-lead {
  color: var(--color-neutre-700);
  font-size: var(--text-body-lg);
  line-height: var(--lh-body);
  margin: 0;
  max-width: min(var(--prose-width), 100%);
}

/* Section principale */
.static-page--guide .static-page__guide-intro > h2 {
  border-bottom: 1px solid var(--color-neutre-200);
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  margin: 0 0 20px;
  padding-bottom: 12px;
}

.static-page--guide .static-page__steps-block {
  max-width: 100%;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .static-page--guide .static-page__steps-block {
    margin-top: 40px;
  }
}

.static-page--guide .static-page__steps-block h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  margin: 0 0 20px;
}

/* Étapes — liste numérotée simple */
.static-page--guide .static-page__steps--visual {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  max-width: 100%;
  padding: 0;
}

.static-page--guide .static-page__steps--visual .static-page__step {
  gap: 4px 14px;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  column-gap: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0;
  min-width: 0;
  padding: 20px 22px;
  row-gap: 0;
}

.static-page--guide .static-page__steps--visual .static-page__step:last-child {
  margin-bottom: 0;
}

.static-page--guide .static-page__steps--visual .static-page__step-num {
  margin: 0;
  min-width: 0;
  align-items: center;
  background: var(--color-brand-500);
  border-radius: 14px;
  box-shadow: 0 0 0 4px var(--color-brand-50);
  color: #fff;
  display: inline-flex;
  flex: none;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.static-page--guide .static-page__step-text {
  line-height: var(--lh-body);
  min-width: 0;
}

/* Vidéo Facebook */
.static-page--guide .static-page__media--video {
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  margin: calc(var(--static-page-section-gap) + 8px) auto;
  max-width: 820px;
  overflow: hidden;
  padding: 0;
}

@media (min-width: 768px) {
  .static-page--guide .static-page__media--video {
    margin: 44px auto;
    max-width: 720px;
  }
}

/* Image tutoriel */

.static-page--guide .static-page__figure img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 450px;
  width: 100%;
}

/* Exemples — liste de liens */

.static-page--guide .static-page__examples li {
  margin: 0;
  min-width: 0;
  padding: 0;
}

.static-page--guide .static-page__examples li:last-child {
  margin-bottom: 0;
}

.static-page--guide .static-page__examples a {
  text-underline-offset: 3px;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  color: var(--color-brand-500);
  display: flex;
  font-weight: 600;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
  line-height: 1.4;
  padding: 18px 18px;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.static-page--guide .static-page__examples a:hover {
  background: var(--surface-accent);
  border-color: var(--surface-border-accent);
  color: var(--color-brand-500);
  text-decoration: none;
}

.static-page--guide .static-page__section h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  margin: 28px 0 16px;
}

/* Ancien h3 « Quelques exemples… » promu en h2 de section — même rendu que
   les autres h3 génériques du guide, hors section .guide-intro déjà stylée. */
.static-page--guide .static-page__section:not(.static-page__guide-intro) > h2 {
  border-bottom: 0;
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  margin: 28px 0 16px;
  padding-bottom: 0;
}

.static-page--guide .static-page__guide-intro > p {
  max-width: min(var(--prose-width), 100%);
}

.static-page--guide .static-page__signoff {
  margin-top: 0;
  color: var(--color-neutre-800);
  background: var(--surface-accent);
  border: 1px solid var(--surface-border-accent);
  border-radius: 16px;
  max-width: min(var(--prose-width), 100%);
  padding: 26px 28px;
}

.static-page__nav-links a {
  display: inline-block;
  line-height: 1.45;
  padding: 10px 0;
}

/* Très petit mobile (~360px) */
@media (max-width: 389px) {
  .static-page {
    --static-page-gutter: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .static-page {
    --static-page-pad-top: 24px;
    --static-page-pad-bottom: 44px;
    --static-page-header-gap: 28px;
    --static-page-section-gap: 32px;
    --static-page-divider-pad: 28px;
    --prose-width: 100%;
    --text-h1: 28px;
    --text-h2: 22px;
    --text-h3: 18px;
  }

  /* Anti-débordement global */
  .static-page__container,
  .static-page__body,
  .static-page__section,
  .static-page__legal-content,
  .static-page__legal-article {
    min-width: 0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }

  /* Titres lisibles sans déborder */
  .static-page__header h1,
  .static-page--guide .static-page__hero h1 {
    font-size: clamp(26px, 7.2vw, var(--text-h1));
    line-height: 1.2;
  }

  .static-page--legal .static-page__header--legal h1 {
    font-size: clamp(18px, 4.6vw, 24px);
    letter-spacing: 0.02em;
    line-height: 1.25;
  }

  .static-page h2 {
    font-size: clamp(20px, 5.2vw, var(--text-h2));
    line-height: 1.2;
  }

  .static-page--legal .static-page__legal-article > h2 {
    font-size: clamp(20px, 5.2vw, var(--text-h2));
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .static-page h3,
  .static-page--legal .static-page__legal-subheading b {
    font-size: clamp(17px, 4.4vw, var(--text-h3));
    line-height: 1.25;
  }

  .static-page__header {
    padding-bottom: 20px;
  }

  .static-page blockquote,
  .static-page--editorial .static-page__quote {
    padding-left: 14px;
  }

  .static-page--editorial .static-page__section > h2 {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .static-page--economy .static-page__economy-sectors > h2 {
    margin-bottom: 4px;
    padding-bottom: 0;
  }

  .static-page--economy .static-page__economy-strategies > h2 {
    margin-bottom: 16px;
    padding-bottom: 0;
  }

  .static-page--editorial .static-page__subsection {
    margin-bottom: 22px;
  }

  .static-page--editorial .static-page__principle {
    padding-bottom: 24px;
  }

  /* CGVU */
  .static-page--legal .static-page__legal-intro {
    margin-top: 10px;
  }

  .static-page--legal .static-page__legal-article ul li {
    margin-bottom: 0.75em;
  }

  /* FAQ — médias fluides */
  .static-page--guide .static-page__hero {
    gap: 24px;
  }

  .static-page--guide .static-page__hero-text {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .static-page--guide .static-page__media {
    margin: 24px 0;
  }

  .static-page--guide .static-page__media--video {
    max-width: 100%;
    margin: 32px 0;
    margin-top: var(--static-page-section-gap);
  }

  .static-page--guide .static-page__figure {
    max-width: 100%;
    margin-top: var(--static-page-section-gap);
    padding: 18px;
  }

  .static-page--guide .static-page__steps-block {
    margin-top: 28px;
  }

  .static-page--guide .static-page__section h3 {
    margin: 24px 0 14px;
  }

  .static-page--guide .static-page__section:not(.static-page__guide-intro) > h2 {
    margin: 24px 0 14px;
  }

  /* Liens navigation — zone tactile */
  .static-page__nav-links a {
    min-height: 44px;
    padding: 12px 0;
  }

  .static-page--guide .static-page__examples li {
    margin-bottom: 0.65em;
    padding: 4px 0;
  }
}

/* Tablette (~768px) */
@media (min-width: 768px) and (max-width: 1279px) {
  .static-page--guide .static-page__hero {
    gap: 36px;
  }

  .static-page--guide .static-page__media--video {
    margin: 40px auto;
    max-width: 100%;
  }

  .static-page--guide .static-page__figure {
    max-width: min(450px, 100%);
  }
}

/* Desktop large (~1280px) */
@media (min-width: 1280px) {
  .static-page {
    --static-page-pad-bottom: 96px;
  }

  .static-page--guide .static-page__media--video {
    max-width: 720px;
  }
}

/* --------------------------------------------------------------------------
   Page « Comment ça marche ? » — structure pédagogique
   -------------------------------------------------------------------------- */

.static-page--guide .static-page__hero-media video {
  object-fit: cover;
}

.static-page--guide .static-page__guide-intro {
  margin-top: 0;
}

.static-page--guide .static-page__step-text a {
  font-weight: 700;
}

@media (min-width: 600px) {
  .static-page--guide .static-page__examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .static-page--guide .static-page__examples li:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .static-page--guide .static-page__hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .static-page--guide .static-page__hero {
    align-items: center;
    gap: 44px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .static-page--guide .static-page__steps--visual {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .static-page--guide .static-page__examples {
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .static-page--guide .static-page__steps--visual .static-page__step {
    padding: 16px 16px;
  }

  .static-page--guide .static-page__examples a {
    min-height: 44px;
    padding: 15px 16px;
  }

  .static-page--guide .static-page__signoff {
    padding: 20px 20px;
  }
}

/* Pages éditoriales : on supprime les filets horizontaux redondants,
   l'espacement et les fonds de blocs assurent la séparation. Placé tôt
   pour que les cartes/encarts définis ensuite gardent leur bordure. */
.static-page--editorial .static-page__section--divider {
  border-top: 0;
  padding-top: 0;
}

.static-page--guide .static-page__steps--visual .static-page__step-text {
  align-self: center;
  line-height: var(--lh-body);
  min-width: 0;
}

@media (max-width: 767px) {
  .static-page--charter .static-page__charter-grid {
    gap: 16px;
  }

  .static-page--charter .static-page__body .static-page__signoff {
    padding: 24px 22px;
  }
}

/* Lexique : encart de définitions mis en avant */

@media (max-width: 767px) {
  .static-page--legal .static-page__legal-article--lexique {
    padding: 18px 18px;
  }
}

/* Respiration générale : on remplace les filets fins par de l'espace */
.static-page--guide .static-page__section--divider {
  border-top: 0;
  padding-top: 0;
}

.static-page--guide .static-page__section {
  margin-bottom: calc(var(--static-page-section-gap) + 8px);
}

/* — Étapes : cartes pédagogiques numérotées — */

@media (min-width: 768px) {
  .static-page--guide .static-page__steps--visual {
    gap: 18px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .static-page--guide .static-page__steps--visual .static-page__step:last-child {
    grid-column: 1 / -1;
  }
}

/* — Exemples : vraies cartes de cas d'usage — */

.static-page--guide .static-page__examples a::after {
  color: var(--color-brand-400);
  content: "\2192";
  flex: none;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.static-page--guide .static-page__examples a:hover::after {
  transform: translateX(3px);
}

/* — Responsive mobile (≤767px : 360/390) — */
@media (max-width: 767px) {
  .static-page--guide .static-page__steps--visual .static-page__step-num {
    font-size: 16px;
    height: 36px;
    width: 36px;
  }
}

.static-page--charter .static-page__body .static-page__signoff i {
  font-style: italic;
}

/* Respiration accrue entre les grandes idées éditoriales */
.static-page--economy .static-page__section {
  margin-bottom: calc(var(--static-page-section-gap) + 6px);
}

/* Sommaire : encart de navigation sobre */

.static-page--legal .static-page__legal-toc a[aria-current="true"] {
  border-left-color: var(--color-brand-400);
  color: var(--color-brand-500);
  font-weight: 600;
}

/* Hiérarchie des titres d'article renforcée + plus d'air entre articles */
.static-page--legal .static-page__legal-article:not(.static-page__legal-article--lexique) {
  margin-top: 10px;
}

/* Tablette / mobile : sommaire en haut, compact, dans le flux normal de la
   page (pas de scroll interne : un bloc scrollable dans la page scrollable
   est inconfortable, surtout au clavier/tactile). Les 2 colonnes réduisent
   la hauteur totale du bloc de moitié par rapport à une liste sur 1 colonne. */
@media (max-width: 1023px) {
  .static-page--legal .static-page__legal-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }

  .static-page--legal .static-page__legal-toc {
    margin-bottom: 4px;
  }

  .static-page--legal .static-page__legal-toc ol {
    columns: 2;
    column-gap: 20px;
  }
}

/* Focus clavier visible sur tous les liens (utile en particulier pour les
   liens sans soulignement : cartes d'exemples, « aller plus loin », sommaire CGVU) */
.static-page a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--color-brand-400);
  outline-offset: 2px;
}

.static-page--guide .static-page__examples a:focus-visible,
.static-page__nav-links a:focus-visible,
.static-page--legal .static-page__legal-toc a:focus-visible {
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .static-page *,
  .static-page *::before,
  .static-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Retire le padding vertical du <main> sur la page philosophie : le hero
   gère lui-même sa respiration verticale (voir .static-page__philosophy-hero). */
.static-page--philosophy {
  --static-page-pad-top: 0px;
  --static-page-pad-bottom: 0px;
}
