/* =========================================================
   Cœur d'Ambon — styles.css
   Site mono-page, vanilla, RGPD-clean. Aucune dépendance.
   ========================================================= */

/* ---------------------------------------------------------
   1. Polices (auto-hébergées, font-display: swap)
   --------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------
   2. Tokens — palette, typo, espacements
   --------------------------------------------------------- */
:root {
  /*
   * NUANCIER AMBON — dérivé du logo municipal (bleu marine + vert pomme + olive).
   * Les noms de variables sont conservés depuis la version précédente
   * (terracotta / breton / gold) pour ne pas casser tous les usages dans le code ;
   * leur RÔLE reste identique (primaire / secondaire / accent) mais les couleurs
   * sont désormais alignées sur la charte municipale d'Ambon.
   *
   * Contrastes vérifiés sur fond crème (#F4EFE6) — WCAG 2.1 AA :
   *  - slate / texte principal : 12,5:1  ✓
   *  - navy / boutons          :  9,4:1  ✓
   *  - vert-deep / accent text :  5,2:1  ✓
   *  - or / accent éditorial   :  5,0:1  ✓
   */

  /* PRIMAIRE — bleu marine d'Ambon (héritier de --color-terracotta) */
  --color-terracotta: #1b3f8a;       /* navy Ambon */
  --color-terracotta-soft: #5278b5;  /* navy clair pour tints */
  --color-terracotta-deep: #112c66;  /* navy sombre pour hover/bordures */

  /* SECONDAIRE — vert pomme d'Ambon (héritier de --color-breton) */
  --color-breton: #6fa13a;           /* vert Ambon */
  --color-breton-soft: #9dc76a;      /* vert clair pour tints */
  --color-breton-deep: #4a6e20;      /* vert sombre pour text/hover */

  /* SURFACE — crème (conservée, légèrement plus cool) */
  --color-cream: #f4efe6;
  --color-cream-soft: #fbf7f0;
  --color-cream-deep: #eae2d2;

  /* TEXTE — ardoise neutre dérivée du navy (plus froide, harmonise avec bleu) */
  --color-slate: #142840;
  --color-slate-soft: #344a6e;
  --color-slate-mute: #647593;

  /* ACCENT — olive/or subtil (héritier de --color-gold) */
  --color-gold: #b5b26a;             /* olive doré pour surlignages */
  --color-gold-soft: #d2d08a;        /* olive clair pour tints */

  /* BLEU CIEL — nouveau token, dérivé de l'ovale clair du logo */
  --color-sky: #b8c9e0;
  --color-sky-soft: #dce5f0;

  /* Typo */
  --font-serif: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Échelle fluide */
  --text-display: clamp(2.5rem, 1.1rem + 5.2vw, 5.25rem);
  --text-h2: clamp(2.25rem, 1.3rem + 3vw, 3.75rem);
  --text-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --text-lede: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-body: clamp(1.125rem, 1.05rem + 0.2vw, 1.1875rem);

  /* Rayons */
  --radius-card: 1rem;
  --radius-pill: 999px;

  /* Largeur de contenu max */
  --container: 78rem;
}

/* ---------------------------------------------------------
   3. Reset accessible
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--color-cream);
  color: var(--color-slate);
  scroll-padding-top: 5rem; /* compense le header sticky lors d'un saut d'ancre */
}

body {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
iframe { border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-slate);
  margin: 0 0 0.75em;
}

p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }

a {
  color: var(--color-terracotta-deep);
  text-underline-offset: 0.2em;
  transition: color 180ms ease;
}
a:hover { color: var(--color-terracotta); }

::selection {
  background: var(--color-gold-soft);
  color: var(--color-slate);
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@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;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------
   4. Utilitaires globaux
   --------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-slate);
  color: var(--color-cream);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: var(--color-cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-slate-mute);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  background: var(--color-terracotta);
  color: var(--color-cream-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.eyebrow__sep {
  color: var(--color-slate-mute);
  opacity: 0.6;
}

.section-title {
  font-size: var(--text-h2);
  margin: 0 0 1rem;
  max-width: 22ch;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-title__em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-terracotta);
  position: relative;
  white-space: nowrap;
  isolation: isolate;
}
.section-title__em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.32em;
  background: color-mix(in srgb, var(--color-gold) 35%, transparent);
  z-index: -1;
  border-radius: 2px;
}
.section-title__accent {
  color: var(--color-terracotta);
  font-style: italic;
}

.section-intro {
  font-size: var(--text-lede);
  color: var(--color-slate-soft);
  max-width: 60ch;
  margin: 0 0 3rem;
  line-height: 1.55;
}

/* Ornement entre sections : trait sinueux + point central (dessin éditorial) */
.section-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  background: var(--color-cream);
}
.section-ornament__mark {
  width: clamp(5rem, 10vw, 7rem);
  height: auto;
  color: var(--color-terracotta);
  opacity: 0.6;
}

/* ---------------------------------------------------------
   5. Header sticky
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-cream) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-slate) 8%, transparent);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--color-cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------------------------------------------------------
   6. Wordmark (logo typographique)
   --------------------------------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-slate);
  text-decoration: none;
  line-height: 1;
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
}
/* Badge symbole (cœur + figures) accolé au wordmark.
   Affichage circulaire via border-radius pour masquer le rectangle blanc autour
   du logo et donner un effet "pastille". Taille en em pour qu'elle suive le
   font-size : compact dans le header, plus grand dans le footer. */
.wordmark__badge {
  width: 2em;
  height: 2em;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-slate) 8%, transparent);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.wordmark:hover .wordmark__badge {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-slate) 14%, transparent),
    0 6px 14px -6px rgba(44, 62, 80, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .wordmark__badge { transition: none; }
  .wordmark:hover .wordmark__badge { transform: none; }
}
.wordmark:hover { color: var(--color-terracotta); }
.wordmark__heart {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: var(--color-terracotta);
  transition: transform 220ms ease;
}
.wordmark:hover .wordmark__heart {
  transform: scale(1.08) rotate(-4deg);
}
.wordmark__d {
  font-style: italic;
  font-weight: 400;
  color: var(--color-slate-soft);
}
.wordmark--footer {
  font-size: 1.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .wordmark__heart { transition: none; }
  .wordmark:hover .wordmark__heart { transform: none; }
}

/* ---------------------------------------------------------
   7. Navigation principale + bouton burger mobile
   --------------------------------------------------------- */

/* Bouton burger — caché sur desktop, visible sur mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--color-slate) 22%, transparent);
  border-radius: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--color-terracotta); }
.nav-toggle:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-slate);
  border-radius: 1px;
  transition: transform 220ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle span { transition: none; }
}

.site-nav ul {
  display: none;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .site-nav ul { display: flex; align-items: center; }
}

/* === Mobile (≤ 767px) : menu hamburger === */
@media (max-width: 767px) {

  /* Bouton toujours visible */
  .nav-toggle {
    display: inline-flex !important;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Nav cachée par défaut : sort du flux pour ne pas comprimer le bouton */
  .site-nav {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-100%) !important;
    transition: transform 200ms ease !important;
    z-index: 45 !important;
    background: #f5efe6 !important;
    border-bottom: 2px solid rgba(44,62,80,0.12) !important;
    box-shadow: 0 8px 24px rgba(44,62,80,0.15) !important;
    padding-top: 60px !important;
    pointer-events: none !important;
  }

  /* Panneau ouvert */
  .site-nav[data-open="true"] {
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Liste des liens */
  .site-nav ul {
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0.5rem 0 1.5rem !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .site-nav ul li a {
    display: block !important;
    padding: 1rem 1.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(44,62,80,0.08) !important;
  }

  .site-nav ul li:last-child a { border-bottom: none !important; }
  .site-nav ul li a::after { display: none !important; }
}

/* Le header reste au-dessus du panneau */
.site-header { z-index: 50 !important; overflow: visible !important; }

/* Position relative sur le conteneur du header pour ancrer le menu déroulant */
.site-header__inner { position: relative; }
.site-nav a {
  color: var(--color-slate);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  border-radius: 0.375rem;
  position: relative;
  transition: color 180ms ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}
.site-nav a:hover { color: var(--color-terracotta); }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .site-nav a, .site-nav a::after { transition: none; }
}

/* ---------------------------------------------------------
   8. Boutons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.btn--primary {
  background: var(--color-terracotta);
  color: var(--color-cream-soft);
}
.btn--primary:hover {
  background: var(--color-terracotta-deep);
  color: var(--color-cream-soft);
  transform: translateY(-1px);
}
.btn__icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 220ms ease;
}
.btn--primary:hover .btn__icon { transform: translateY(2px); }
.btn--ghost {
  background: transparent;
  color: var(--color-slate);
  border-color: color-mix(in srgb, var(--color-slate) 22%, transparent);
}
.btn--ghost:hover {
  border-color: var(--color-slate);
  color: var(--color-slate);
  background: color-mix(in srgb, var(--color-slate) 4%, transparent);
}
.section-adhesion-cta {
  position: absolute;
  left: 50%;
  bottom: clamp(1.1rem, 2.4vw, 1.8rem);
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--color-terracotta);
  color: var(--color-cream-soft);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px -18px rgba(44, 62, 80, 0.42);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.section-adhesion-cta:hover {
  background: var(--color-terracotta-deep);
  color: var(--color-cream-soft);
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(44, 62, 80, 0.5);
}
.section-adhesion-cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-gold) 70%, white);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__icon { transition: none; }
  .btn:hover, .btn:hover .btn__icon { transform: none; }
  .section-adhesion-cta { transition: none; }
  .section-adhesion-cta:hover { transform: translateX(-50%); }
}
@media (max-width: 520px) {
  .btn {
    max-width: 100%;
    min-height: 3.25rem;
    padding: 0.65rem 1.2rem;
    line-height: 1.2;
    white-space: normal;
  }
}

/* ---------------------------------------------------------
   9. Section Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--color-gold) 14%, transparent), transparent 40%),
    radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--color-breton) 10%, transparent), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}
.hero__content { max-width: 36rem; }
.hero__meta {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-slate-mute);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
}
.hero__meta::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: var(--color-terracotta);
}
.hero__title {
  font-size: var(--text-display);
  font-weight: 500;
  margin: 0 0 1.5rem;
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero__title-line {
  display: block;
  color: var(--color-slate);
  white-space: nowrap;
}
.hero__title-accent {
  display: block;
  color: var(--color-terracotta);
  font-style: italic;
  font-weight: 500;
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-bottom: 0.35em;
  white-space: nowrap;
}
.hero__title-bang {
  font-style: normal;
  display: inline-block;
  color: var(--color-gold);
  transform: translateY(-0.05em);
}
.hero__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.05em;
  width: 100%;
  height: auto;
  color: var(--color-gold);
  pointer-events: none;
}
.hero__lede {
  font-size: var(--text-lede);
  line-height: 1.55;
  color: var(--color-slate-soft);
  margin: 0 0 2rem;
  max-width: 32rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--color-slate-soft);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--color-slate) 12%, transparent);
  max-width: 30rem;
}
.hero__tagline-mark {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 600;
}

.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 30rem;
  justify-self: center;
}
.hero__visual-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-cream-soft);
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.06), 0 24px 56px -24px rgba(44, 62, 80, 0.30);
  transform: rotate(-1.5deg);
}
.hero__visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__visual-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.hero__visual-blob--terracotta {
  width: 38%; aspect-ratio: 1;
  background: var(--color-terracotta);
  top: -6%; right: -8%;
  opacity: 0.18;
}
.hero__visual-blob--breton {
  width: 28%; aspect-ratio: 1;
  background: var(--color-breton);
  bottom: -4%; left: -6%;
  opacity: 0.22;
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual-frame { transform: none; }
}

/* ---------------------------------------------------------
   10. Section Constat
   --------------------------------------------------------- */
.constat {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(4rem, 8vw, 7rem);
}
.constat__inner {
  /* Même largeur que .approche__inner / .actions__inner pour que le bloc
     démarre visuellement au même fer-à-gauche que les autres sections. */
  max-width: var(--container);
  margin: 0 auto;
}
.constat__title {
  max-width: none;
  margin-bottom: 1.5rem;
}
/* Le bloc body (paragraphes + photo flottée) garde une largeur de lecture
   confortable, aligné à gauche du container — pas centré. */
.constat__body,
.constat .pullquote {
  max-width: 56rem;
}

/* Photo d'habillage : façade de l'église d'Ambon (paysage) */
.constat__photo {
  float: right;
  width: min(55%, 23rem);
  margin: 0.25rem 0 1rem 1.75rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-cream-deep);
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.06), 0 14px 30px -18px rgba(44, 62, 80, 0.24);
  shape-outside: margin-box;
  shape-margin: 0.5rem;
}
.constat__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}
.constat__photo figcaption {
  padding: 0.75rem 1rem 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  background: var(--color-cream-soft);
  color: var(--color-slate-soft);
}
.constat__photo-credit {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-slate-mute);
}
.constat__photo-credit a {
  color: var(--color-terracotta-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color-terracotta) 35%, transparent);
}
.constat__photo-credit a:hover { color: var(--color-terracotta); }
.constat__photo-credit abbr {
  text-decoration: none;
  border-bottom: 1px dotted color-mix(in srgb, var(--color-slate-mute) 50%, transparent);
  cursor: help;
}
@media (max-width: 640px) {
  .constat__photo {
    float: none;
    width: 100%;
    margin: 0 0 1.75rem;
    shape-outside: none;
  }
}

.constat__body {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-slate-soft);
  margin: 0 0 1rem;
}
/* Clearfix : on s'assure que les éléments suivants passent sous la photo flottée */
.constat__body::after {
  content: "";
  display: block;
  clear: both;
}
.constat__body strong {
  color: var(--color-slate);
  font-weight: 600;
}
.constat__body p { margin: 0 0 1.25rem; }
.constat__body p:last-child { margin-bottom: 0; }
.constat__body strong {
  color: var(--color-slate);
  font-weight: 600;
}

.pullquote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
  margin: 0;
  padding: 2.25rem 0 0.75rem;
  overflow: visible;
}
.pullquote__mark {
  display: block;
  width: clamp(3.75rem, 8vw, 5.75rem);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(4.25rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--color-terracotta);
  opacity: 0.58;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0;
  transform: translateY(-0.1rem);
}
.pullquote__quote {
  margin: 0;
  position: relative;
  z-index: 1;
  border-left: 3px solid var(--color-terracotta);
  padding-left: 1.5rem;
}
.pullquote__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1rem + 2.4vw, 2.625rem);
  line-height: 1.25;
  color: var(--color-slate);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.pullquote__quote em {
  font-style: italic;
  color: var(--color-terracotta);
}
@media (max-width: 520px) {
  .pullquote {
    gap: 0.7rem;
  }
  .pullquote__mark {
    width: 3rem;
    font-size: 3.75rem;
  }
}

/* ---------------------------------------------------------
   11. Section Approche (3 piliers)
   --------------------------------------------------------- */
.approche {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  background: var(--color-cream-soft);
  border-top: 1px solid color-mix(in srgb, var(--color-slate) 6%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-slate) 6%, transparent);
}
.approche__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.pillar {
  --accent: var(--color-terracotta);
  --accent-deep: var(--color-terracotta-deep);
  position: relative;
  background: var(--color-cream);
  min-height: 17rem;
  padding: 2.35rem 1.65rem 1.55rem;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--color-slate) 8%, transparent);
  overflow: hidden;
  isolation: isolate;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
  z-index: 2;
}
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 45%),
    color-mix(in srgb, var(--color-cream-soft) 50%, transparent);
  z-index: 0;
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 18px 34px -22px color-mix(in srgb, var(--accent) 46%, transparent);
}
.pillar--terracotta { --accent: var(--color-terracotta); --accent-deep: var(--color-terracotta-deep); }
.pillar--breton { --accent: var(--color-breton); --accent-deep: var(--color-breton-deep); }
.pillar--gold { --accent: var(--color-gold); --accent-deep: #9f7041; }
.pillar__ghost {
  position: absolute;
  top: -1.75rem;
  right: -0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(8rem, 16vw, 12rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 240ms ease, transform 240ms ease;
}
.pillar:hover .pillar__ghost {
  opacity: 0.20;
  transform: translate(-2px, 4px);
}
.pillar__content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.pillar__title {
  font-size: var(--text-h3);
  margin: 0 0 0.75rem;
  color: var(--color-slate);
}
.pillar__body {
  color: var(--color-slate-soft);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.pillar__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 1.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 26%, var(--color-cream-soft));
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 1px 10px rgba(251, 247, 240, 0.62), 0 8px 18px -16px rgba(44, 62, 80, 0.42);
}
@media (prefers-reduced-motion: reduce) {
  .pillar, .pillar__ghost { transition: none; }
  .pillar:hover { transform: none; box-shadow: none; }
  .pillar:hover .pillar__ghost { transform: none; }
}

/* ---------------------------------------------------------
   12. Section Actions (4 cartes)
   --------------------------------------------------------- */
.actions {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}
.actions__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.action-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .action-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .action-grid { grid-template-columns: repeat(4, 1fr); }
}
.action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  padding: 1.55rem;
  background: #182015;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.04), 0 24px 42px -24px rgba(44, 62, 80, 0.34);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.action-card::before {
  content: none;
}
.action-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 29, 23, 0.04) 0%, rgba(19, 29, 23, 0.10) 28%, rgba(19, 29, 23, 0.64) 55%, rgba(19, 29, 23, 0.94) 100%),
    linear-gradient(0deg, rgba(9, 16, 11, 0.18), rgba(255, 255, 255, 0.04));
  z-index: 1;
}
.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 6px rgba(44, 62, 80, 0.08), 0 34px 56px -24px rgba(44, 62, 80, 0.44);
}
.action-card__cover-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  cursor: pointer;
}
.action-card__cover-link:focus-visible {
  outline: 4px solid var(--color-cream-soft);
  outline-offset: -6px;
}

.action-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--color-cream-deep);
  z-index: 0;
}
.action-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 320ms ease;
}
.action-card__image--repas {
  object-position: 22% center;
}
.action-card:hover .action-card__media img {
  transform: scale(1.035);
}
.action-card__title {
  position: relative;
  z-index: 2;
  font-size: clamp(1.65rem, 1.18rem + 1vw, 2.05rem);
  margin: auto 0 1rem;
  line-height: 1.08;
  color: var(--color-cream-soft);
  max-width: 15rem;
  text-shadow: 0 2px 18px rgba(8, 14, 10, 0.48);
}
.action-card__text {
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.action-card__body {
  color: rgba(251, 247, 240, 0.82);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 16px rgba(8, 14, 10, 0.55);
}
.action-card__body em {
  color: var(--color-cream-soft);
  font-style: italic;
}
.action-card__frequency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 1.35rem 0 1.15rem;
  padding: 0.58rem 0.86rem;
  border-radius: var(--radius-pill);
  background: rgba(251, 247, 240, 0.18);
  color: rgba(251, 247, 240, 0.84);
  border: 1px solid rgba(251, 247, 240, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(6px) saturate(0.9);
}
.action-card__cadence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 3.15rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--color-slate);
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--color-cream-soft);
  box-shadow: 0 16px 32px -18px rgba(8, 14, 10, 0.48);
  border-radius: var(--radius-pill);
  align-self: stretch;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.action-card__cadence:hover {
  background: #ffffff;
  color: var(--color-slate);
  transform: translateY(-1px);
}
@media (max-width: 639px) {
  .action-card {
    min-height: 29rem;
    border-radius: 1.7rem;
  }
  .action-card__title {
    max-width: 18rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .action-card, .action-card__media img, .action-card__cadence { transition: none; }
  .action-card:hover { transform: none; }
  .action-card:hover .action-card__media img { transform: none; }
  .action-card__cadence:hover { transform: none; }
}

/* ---------------------------------------------------------
   13. Transport solidaire
   --------------------------------------------------------- */
.transport-focus {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  background: color-mix(in srgb, var(--color-sky-soft) 42%, var(--color-cream));
}
.transport-focus__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) {
  .transport-focus__inner {
    grid-template-columns: minmax(15rem, 0.36fr) minmax(0, 1fr);
  }
}
.transport-focus__media {
  margin: 0;
  max-width: 20rem;
  justify-self: center;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-cream-deep);
  border: 1px solid color-mix(in srgb, var(--color-slate) 10%, transparent);
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.04), 0 18px 48px -28px rgba(44, 62, 80, 0.24);
}
.transport-focus__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.transport-focus__content {
  max-width: 50rem;
}
.transport-focus__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* Variante Donner / Échanger : même langage visuel, composition alternée. */
.exchange-focus__media {
  max-width: 30rem;
}
.exchange-focus__media img {
  aspect-ratio: 4 / 3;
  object-position: 64% center;
}
@media (min-width: 860px) {
  .exchange-focus__inner {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.48fr);
  }
  .exchange-focus__media {
    order: 2;
  }
}

/* ---------------------------------------------------------
   14. Section Rejoindre (3 options)
   --------------------------------------------------------- */
.rejoindre {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  background: var(--color-cream-soft);
  position: relative;
  overflow: hidden;
}
.rejoindre::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-terracotta) 12%, transparent);
  pointer-events: none;
  filter: blur(20px);
}
.rejoindre__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.rejoindre__title {
  margin: 0 0 3rem;
  max-width: none;
}
.join-options {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .join-options { grid-template-columns: repeat(3, 1fr); }
}
.join-card {
  --accent: var(--color-terracotta);
  --accent-deep: var(--color-terracotta-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 29rem;
  padding: 1.55rem;
  background: #182015;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.04), 0 24px 42px -24px rgba(44, 62, 80, 0.34);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.join-card::before {
  content: none;
}
.join-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 29, 23, 0.05) 0%, rgba(19, 29, 23, 0.12) 30%, rgba(19, 29, 23, 0.64) 58%, rgba(19, 29, 23, 0.95) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--accent-deep) 34%, rgba(9, 16, 11, 0.62)), rgba(255, 255, 255, 0.04));
  z-index: 1;
  pointer-events: none;
}
.join-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 6px rgba(44, 62, 80, 0.08), 0 34px 56px -24px rgba(44, 62, 80, 0.44);
}
.join-card--terracotta { --accent: var(--color-terracotta); --accent-deep: var(--color-terracotta-deep); }
.join-card--breton { --accent: var(--color-breton); --accent-deep: var(--color-breton-deep); }
.join-card--gold { --accent: var(--color-gold); --accent-deep: #9f7041; }
.join-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--color-cream-deep);
  z-index: 0;
}
.join-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 320ms ease, filter 180ms ease;
}
.join-card__media--benevole img {
  object-position: center 28%;
  transform: scale(1.08);
}
.join-card__media--adhesion img {
  object-position: center top;
  transform: scale(1);
}
.join-card__media--evenement img {
  object-position: center center;
  transform: scale(1.02);
}
.join-card:hover .join-card__media img {
  transform: scale(1.115);
  filter: saturate(1) contrast(1.04);
}
.join-card:hover .join-card__media--adhesion img {
  transform: scale(1.045);
}
.join-card__kicker {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 0.62rem 0.92rem;
  border-radius: var(--radius-pill);
  background: rgba(251, 247, 240, 0.9);
  color: var(--accent-deep);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px -18px rgba(8, 14, 10, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px) saturate(1.05);
}
.join-card__title {
  position: relative;
  z-index: 2;
  font-family: "Marker Felt", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: clamp(2.1rem, 1.25rem + 1.9vw, 3rem);
  font-weight: 700;
  margin: auto 0 1rem;
  line-height: 1;
  color: var(--color-cream-soft);
  max-width: none;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(8, 14, 10, 0.48);
}
.join-card__body {
  position: relative;
  z-index: 2;
  color: rgba(251, 247, 240, 0.82);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 16px rgba(8, 14, 10, 0.55);
}
.join-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 3.15rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--color-slate);
  text-decoration: none;
  margin: 1.35rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--color-cream-soft);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 32px -18px rgba(8, 14, 10, 0.48);
  align-self: stretch;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.join-card__cta span {
  transition: transform 220ms ease;
}
.join-card__cta:hover {
  background: #ffffff;
  color: var(--color-slate);
  transform: translateY(-1px);
}
.join-card__cta:hover span {
  transform: translateX(4px);
}
@media (max-width: 639px) {
  .join-card {
    min-height: 28rem;
    border-radius: 1.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .join-card, .join-card__media img, .join-card__cta, .join-card__cta span { transition: none; }
  .join-card:hover { transform: none; }
  .join-card:hover .join-card__media img { transform: none; }
  .join-card__cta:hover { transform: none; }
}

/* ---------------------------------------------------------
   14. Section Contact (texte + carte OSM)
   --------------------------------------------------------- */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) {
  .contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}
.contact__text {
  max-width: 32rem;
}
.contact__details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-slate) 10%, transparent);
}
.contact__row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__row dt {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-slate-mute);
  margin: 0;
  padding-top: 0.125rem;
}
.contact__row dd {
  margin: 0;
  line-height: 1.55;
  color: var(--color-slate);
}
.contact__row dd a {
  color: var(--color-terracotta-deep);
  font-weight: 500;
}
.contact__map {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-cream-deep);
  aspect-ratio: 4 / 3;
  border: 1px solid color-mix(in srgb, var(--color-slate) 10%, transparent);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
}
.contact__map-link {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: var(--color-cream);
  color: var(--color-slate);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.contact__map-link:hover {
  background: var(--color-cream-soft);
  color: var(--color-terracotta);
}

/* ---------------------------------------------------------
   16. Footer
   --------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-slate);
  color: var(--color-cream-soft);
  padding: clamp(3rem, 5vw, 5rem) 1.5rem 2.5rem;
}

/* Petite flèche "retour en haut" — discrète, tient dans le footer, n'en change pas la taille */
.back-to-top {
  position: absolute;
  top: 1.25rem;
  right: clamp(1.25rem, 3vw, 2rem);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--color-cream-soft) 35%, transparent);
  color: var(--color-cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
  z-index: 2;
}
.back-to-top:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}
.back-to-top svg {
  width: 16px;
  height: 16px;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
  .back-to-top:hover { transform: none; }
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.site-footer__brand .wordmark {
  color: var(--color-cream-soft);
}
.site-footer__brand .wordmark:hover {
  color: var(--color-gold);
}
.site-footer__brand .wordmark__d {
  color: color-mix(in srgb, var(--color-cream-soft) 60%, transparent);
}
.site-footer__brand .wordmark__heart {
  color: var(--color-terracotta-soft);
}
.site-footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  margin: 1rem 0 0;
  color: color-mix(in srgb, var(--color-cream-soft) 80%, transparent);
  max-width: 30rem;
}
.site-footer__legal {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-cream-soft) 80%, transparent);
}
.site-footer__legal p { margin: 0 0 0.25rem; }
.site-footer__legal a {
  color: var(--color-gold-soft);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
  text-underline-offset: 0.25em;
}
.site-footer__legal a:hover {
  color: var(--color-gold);
  text-decoration-color: var(--color-gold);
}
.site-footer__note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-cream-soft) 55%, transparent);
}

/* =========================================================
   17. Modernisation — texture, progress, lettrine, microinteractions
   ========================================================= */

/* Texture papier : bruit SVG très subtil, fixé en arrière-plan global.
   Donne un grain tactile sans modifier les couleurs. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17, 0 0 0 0 0.24, 0 0 0 0 0.31, 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.04;
  mix-blend-mode: multiply;
}
/* Le contenu doit passer au-dessus du grain */
body > * { position: relative; z-index: 1; }

/* Barre de progression de scroll en haut de page.
   Utilise les scroll-driven animations CSS (Chrome/Edge récents).
   Fallback gracieux : barre invisible si non supporté. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(to right, var(--color-terracotta), var(--color-gold));
  transform-origin: left center;
  transform: scaleX(0);
  animation: scrollProgressGrow linear;
  animation-timeline: scroll(root);
}
@keyframes scrollProgressGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* (lettrine éditoriale retirée pour rester homogène avec les autres blocs) */

.action-card__cadence {
  position: relative;
  transition: transform 240ms ease;
}

/* Petite respiration sur les éléments décoratifs survolés */
.hero__title-accent:hover .hero__underline {
  color: var(--color-terracotta);
  transition: color 320ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero__title-accent:hover .hero__underline { transition: none; }
}

/* Le header sticky doit rester au-dessus du grain */
.site-header { z-index: 50; }
.scroll-progress { z-index: 60; }
.skip-link { z-index: 100; }

/* =========================================================
   18. Rock'n'roll layout — marquee, polaroids, escalier
   ========================================================= */

/* MARQUEE — bandeau défilant dark slate avec gros italique Fraunces */
.marquee {
  display: block;
  background: var(--color-slate);
  color: var(--color-cream-soft);
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid color-mix(in srgb, var(--color-cream-soft) 10%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-cream-soft) 10%, transparent);
  position: relative;
}
.marquee--link {
  text-decoration: none;
}
.marquee--link:hover,
.marquee--link:focus-visible {
  color: var(--color-cream-soft);
  background: var(--color-terracotta-deep);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
  padding-left: 2.25rem;
  animation: marqueeScroll 24s linear infinite;
  will-change: transform;
}
.marquee__item {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.marquee__sep {
  color: var(--color-gold);
  font-size: clamp(1.125rem, 1.4vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  transform: translateY(-2px);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* PILIERS EN ESCALIER — désynchronisation verticale pour casser la grille */
@media (min-width: 720px) {
  .pillars { align-items: start; padding-top: 1rem; padding-bottom: 1.5rem; }
  .pillar:nth-child(1) { transform: translateY(0); }
  .pillar:nth-child(2) { transform: translateY(2.75rem); }
  .pillar:nth-child(3) { transform: translateY(-1.25rem); }
  .pillar:hover { transform: translateY(-6px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pillar { transform: none !important; }
  .pillar:hover { transform: none !important; }
}

/* CARTES ACTIONS — cartes immersives en escalier très léger */
@media (min-width: 640px) {
  .action-grid { align-items: start; padding-top: 0.5rem; }
  .action-card { transform-origin: center; }
  .action-card:nth-child(1) { transform: translateY(0); }
  .action-card:nth-child(2) { transform: translateY(0.875rem); }
  .action-card:nth-child(3) { transform: translateY(-0.25rem); }
  .action-card:nth-child(4) { transform: translateY(1rem); }
  .action-card:hover {
    transform: translateY(-8px) !important;
    z-index: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .action-card { transform: none !important; }
  .action-card:hover { transform: none !important; }
}
