/* ==========================================================================
   ICCI — Système de design public (icci.css)
   Source de vérité : icci_brand_board_v2. Aucun style inline ailleurs (CSP stricte).
   Polices chargées via <link> Google Fonts dans le <head> : Fraunces + Hanken Grotesk.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette de marque */
  --green: #15553F;
  --green-dk: #0E3B2B;
  --gold: #D29B36;
  --terre: #C0452F;
  --ivory: #F7F3EA;
  --paper: #EEEADF;
  --surface: #FFFFFF;
  --ink: #24302A;
  --ink-soft: #5E6B62;
  --line: #E6DECF;

  /* Dérivés utiles */
  --green-soft: #EAF1ED;
  --gold-soft: #F6ECD8;
  --terre-soft: #F6E2DD;
  --focus: #D29B36;

  /* Typographie */
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Mesures */
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 18px 48px rgba(15, 30, 24, .12);
  --shadow-sm: 0 6px 18px rgba(15, 30, 24, .08);
  --gap: clamp(20px, 4vw, 40px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.dot { color: var(--gold); font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: 0;
}
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: clamp(19px, 2.4vw, 23px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Accessibilité : focus toujours visible */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--green); color: var(--ivory);
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--green { background: var(--green); color: var(--ivory); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--ivory); }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--highlight { background: var(--gold-soft); }
.section--network {
  background:
    linear-gradient(135deg, rgba(246, 236, 216, .78), rgba(255, 255, 255, .92) 48%, rgba(234, 241, 237, .95));
}
.section--credibility {
  background: var(--green-dk);
  color: rgba(247, 243, 234, .86);
}
.section--partner {
  position: relative;
  background: #1b2a24;
  color: rgba(247, 243, 234, .86);
}
.section--credibility h2,
.section--partner h2 { color: var(--ivory); }
.section--credibility .eyebrow,
.section--partner .eyebrow { color: var(--gold); }
.section--credibility .lead,
.section--partner .lead { color: rgba(247, 243, 234, .78); }

.section-head { max-width: 64ch; margin-bottom: clamp(24px, 4vw, 40px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase;
  color: var(--green); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--green .eyebrow { color: var(--gold); }
.section--green .eyebrow::before { background: var(--gold); }

.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-soft); max-width: 64ch; }
.section--green .lead { color: rgba(247, 243, 234, .82); }

/* Grilles génériques */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- 4. En-tête + navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(238, 234, 223, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand__emblem { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__wm { font-family: var(--font-title); font-weight: 600; font-size: 22px; color: var(--green); letter-spacing: 0; }
.brand__dom { font-size: 10.5px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.brand__dom .dot { color: var(--gold); margin: 0 .35em; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  padding: 9px 14px; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  white-space: nowrap;
}
.site-nav a:hover { background: var(--green-soft); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.site-nav .nav-cta { margin-left: 6px; }
.site-nav .nav-login {
  margin-left: 6px; border: 1.5px solid var(--green); color: var(--green);
  border-radius: var(--radius-pill); padding: 7px 14px; font-weight: 600;
}
.site-nav .nav-login:hover { background: var(--green); color: var(--ivory); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px clamp(18px, 4vw, 32px) 18px;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin: 8px 0 0; }
}

/* ---------- 5. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: var(--green-dk); }
.btn--primary:hover { background: #c08f2f; }

.btn--green { background: var(--green); color: var(--ivory); }
.btn--green:hover { background: var(--green-dk); }

.btn--terre { background: var(--terre); color: #fff; }
.btn--terre:hover { background: #a83a28; }

.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--ivory); }

.section--green .btn--ghost { color: var(--ivory); border-color: rgba(247, 243, 234, .6); }
.section--green .btn--ghost:hover { background: var(--ivory); color: var(--green); }
.section--partner .btn--ghost,
.section--credibility .btn--ghost { color: var(--ivory); border-color: rgba(247, 243, 234, .58); }
.section--partner .btn--ghost:hover,
.section--credibility .btn--ghost:hover { background: var(--ivory); color: var(--green); }

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(680px, calc(100vh - 92px));
  min-height: min(680px, calc(100svh - 92px));
  color: var(--ivory);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(14, 59, 43, .94) 0%, rgba(14, 59, 43, .82) 38%, rgba(14, 59, 43, .44) 66%, rgba(14, 59, 43, .12) 100%),
    linear-gradient(0deg, rgba(14, 59, 43, .2), rgba(14, 59, 43, .04)),
    url("../assets/img/hero-community-icci.png") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(0deg, rgba(238, 234, 223, .98), rgba(238, 234, 223, 0));
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  padding: clamp(72px, 11vw, 118px) 0 clamp(64px, 9vw, 104px);
}
.hero__content { width: min(650px, 100%); }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 {
  color: var(--ivory);
  font-size: clamp(34px, 6vw, 64px);
  max-width: 15ch;
}
.hero h1 span {
  text-decoration: none;
  border-bottom: 4px solid var(--terre);
  padding-bottom: 2px;
}
.hero p {
  color: rgba(247, 243, 234, .9);
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 58ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn--ghost { color: var(--ivory); border-color: rgba(247, 243, 234, .68); background: rgba(14, 59, 43, .28); }
.hero .btn--ghost:hover { background: var(--ivory); color: var(--green); }
.hero__verbs {
  margin-top: 24px;
  font-family: var(--font-title);
  font-style: italic;
  color: rgba(247, 243, 234, .94);
}
.hero__signals {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0 0; padding: 0;
}
.hero__signals li {
  display: inline-flex; align-items: center;
  min-height: 34px; padding: 7px 14px;
  border: 1px solid rgba(247, 243, 234, .34);
  border-radius: var(--radius-pill);
  background: rgba(247, 243, 234, .12);
  color: var(--ivory);
  font-size: 13px; font-weight: 700;
}
@media (max-width: 820px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(14, 59, 43, .95), rgba(14, 59, 43, .72)),
      url("../assets/img/hero-community-icci.png") 62% center / cover no-repeat;
  }
  .hero__inner { padding: clamp(56px, 12vw, 84px) 0 clamp(50px, 10vw, 76px); }
  .hero h1 { max-width: 12ch; }
}

/* ---------- 7. Repères ---------- */
.proofs {
  background: #1b2a24;
  color: rgba(247, 243, 234, .9);
}
.proofs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.proof {
  display: grid;
  gap: 4px;
  min-height: 82px;
  align-content: center;
  padding: 10px 18px;
  text-align: center;
  border-right: 1px solid rgba(247, 243, 234, .14);
}
.proof:last-child { border-right: 0; }
.proof b {
  font-family: var(--font-title);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  color: var(--gold);
}
.proof span {
  color: rgba(247, 243, 234, .72);
  font-size: 13.5px;
}
@media (max-width: 820px) {
  .proofs__grid { grid-template-columns: repeat(2, 1fr); }
  .proof:nth-child(2) { border-right: 0; }
  .proof:nth-child(-n+2) { border-bottom: 1px solid rgba(247, 243, 234, .14); }
}
@media (max-width: 520px) {
  .proofs__grid { grid-template-columns: 1fr; gap: 0; }
  .proof { border-right: 0; border-bottom: 1px solid rgba(247, 243, 234, .14); }
  .proof:last-child { border-bottom: 0; }
}

/* ---------- 8. Cartes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px; height: 100%;
}
.card--form { gap: 0; }
.card--link { transition: transform .15s ease, box-shadow .15s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: var(--gold); }
.card__title { font-family: var(--font-title); font-weight: 600; font-size: 20px; color: var(--ink); margin: 0; }
.card__text { color: var(--ink-soft); font-size: 14.5px; }
.card__meta { margin-top: auto; font-size: 13px; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.card__media { margin: calc(-1 * clamp(20px, 3vw, 28px)); margin-bottom: 4px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 9. Chips / pastilles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--green);
  background: var(--green-soft); border: 1px solid transparent;
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.chip--gold { color: #8a6516; background: var(--gold-soft); }
.chip--terre { color: var(--terre); background: var(--terre-soft); }
.chip--prep { color: #8a6516; background: var(--gold-soft); }
.chip--mobil { color: var(--terre); background: var(--terre-soft); }
.chip--cours { color: var(--green); background: var(--green-soft); }
.chip--veille { color: var(--ink-soft); background: #ece8dd; }

/* Badges de statut / niveau (urgences, contenus) */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0;
  padding: 4px 10px; border-radius: var(--radius-pill); text-transform: uppercase;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--info { color: #2f6f88; background: #e3eef2; }
.badge--modere { color: #8a6516; background: var(--gold-soft); }
.badge--eleve { color: var(--terre); background: var(--terre-soft); }
.badge--veille { color: var(--ink-soft); background: #ece8dd; }
.badge--preparation { color: #2f6f88; background: #e3eef2; }
.badge--en_cours { color: var(--terre); background: var(--terre-soft); }
.badge--clos { color: var(--green); background: var(--green-soft); }

/* ---------- 10. Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field .hint { font-size: 12.5px; color: var(--ink-soft); }
.field .req { color: var(--terre); }

.input, .textarea, .select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(210, 155, 54, .25);
}
.textarea { min-height: 140px; resize: vertical; }

/* Pot de miel : caché visuellement ET aux lecteurs d'écran */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 13px; color: var(--ink-soft); }

.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; margin-bottom: 20px; border: 1px solid transparent; }
.alert--ok { color: var(--green-dk); background: var(--green-soft); border-color: #bcd6c8; }
.alert--err { color: #7a2517; background: var(--terre-soft); border-color: #e6b6ac; }
.alert--info { color: #2f6f88; background: #e3eef2; border-color: #bcd6e0; }

/* ---------- 11. Pied de page ---------- */
.site-footer { background: var(--green-dk); color: rgba(247, 243, 234, .82); }
.site-footer a { color: var(--ivory); }
.site-footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap);
  padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-footer__brand svg, .site-footer__brand img { width: 46px; height: 46px; }
.site-footer__brand img { background: #fff; border-radius: 50%; padding: 4px; box-sizing: border-box; }
.site-footer__wm { font-family: var(--font-title); font-weight: 600; font-size: 22px; color: var(--ivory); }
.site-footer h4 { color: var(--ivory); font-family: var(--font-body); font-size: 13px; letter-spacing: 0; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.site-footer__bottom {
  border-top: 1px solid rgba(247, 243, 234, .14);
  padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px;
}
.site-footer__devise { font-family: var(--font-title); font-style: italic; color: var(--gold); }

/* ---------- 12. Axes ---------- */
.axes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.axe {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.axe--urgence { border-left-color: var(--terre); }
.axe--dev { border-left-color: var(--green); }
.axe h3,
.axe__name { font-family: var(--font-title); font-weight: 600; font-size: 20px; color: var(--green); margin: 0; }
.axe__name span { color: var(--gold); }
.axe p,
.axe__text { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 13. Projets phares ---------- */
.featured-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 8px;
}
.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 24px;
}
.project-card h3 { font-size: 24px; margin: 0; }
.project-card p { color: var(--ink-soft); font-size: 15px; }
.project-card__objective {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.project-card__objective b {
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1;
  color: var(--terre);
}
.project-card--insertion .project-card__objective b { color: var(--green); }
.project-card__objective span { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.project-card__foot { margin-top: auto; padding-top: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.tag--social { color: #8a6516; background: var(--gold-soft); }
.tag--insertion { color: var(--green); background: var(--green-soft); }

/* ---------- 14. Terrain ---------- */
.terrain {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.situation {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.situation__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.situation__lieu { font-size: 13px; color: var(--ink-soft); }
.situation h3 { font-size: 20px; margin: 0; }
.situation p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 15. Crédibilité ---------- */
.credibility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.credibility p { color: rgba(247, 243, 234, .78); }
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(247, 243, 234, .2);
  background: rgba(247, 243, 234, .1);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 700;
}
.promise {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.promise li {
  position: relative;
  padding-left: 34px;
  color: rgba(247, 243, 234, .82);
}
.promise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 5px rgba(14, 59, 43, .28);
}
.promise b { color: var(--ivory); }

/* ---------- 16. Partenaire ---------- */
.partner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--gap);
  align-items: center;
}
.partner__copy { max-width: 580px; }
.partner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.partner__form {
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.anchor-target {
  position: absolute;
  top: -90px;
  left: 0;
  width: 1px;
  height: 1px;
}
@media (max-width: 900px) {
  .axes,
  .featured-projects,
  .terrain,
  .credibility,
  .partner { grid-template-columns: 1fr; }
}

/* ---------- 17. Animations d'apparition (activées par JS) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 18. Utilitaires ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.cta-row { margin-top: 24px; }
.card__meta--top { margin-top: 0; }
.textarea--sm { min-height: 90px; }

/* Accueil v2 — style repris de docs/accueil_icci_v2.html */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

body {
  background: #F7F3EA;
  color: #26352E;
}

.site-header {
  z-index: 50;
  background: rgba(247, 243, 234, .92);
  border-bottom: 1px solid #EFE9DB;
  backdrop-filter: blur(8px);
}
.site-header__inner {
  max-width: 1180px;
  min-height: auto;
  padding: .7rem 24px;
}
.brand__emblem {
  width: 48px;
  height: 48px;
}
.brand__wm {
  font-weight: 700;
  font-size: 1.35rem;
}
.brand__dom {
  font-size: .64rem;
  font-weight: 600;
}
.site-nav {
  gap: 1.6rem;
}
.site-nav a {
  color: #26352E;
  font-size: .92rem;
  font-weight: 500;
  padding: 0;
}
.site-nav a:hover {
  background: transparent;
  color: #15553F;
}
.site-nav a[aria-current="page"] {
  color: #15553F;
  font-weight: 700;
}
.site-nav .nav-cta {
  margin-left: 0;
  padding: .85rem 1.5rem;
}

.btn {
  gap: .5rem;
  font-size: .95rem;
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn--or,
.btn--primary {
  background: #E68A2B;
  color: #1B2A24;
}
.btn--or:hover,
.btn--primary:hover {
  transform: translateY(-2px);
  background: #F2982F;
}
.btn--vert {
  background: #15553F;
  color: #FFFFFF;
}
.btn--vert:hover {
  transform: translateY(-2px);
  background: #0F3E2E;
}
.btn--ligne {
  background: transparent;
  border-color: #15553F;
  color: #15553F;
  padding: .6rem 1.2rem;
  font-size: .9rem;
}
.btn--ligne:hover {
  background: #15553F;
  color: #FFFFFF;
}

/* Bouton « campagne » — mis en évidence (hero / projet phare) */
.btn--campagne {
  background: linear-gradient(135deg, #E68A2B 0%, #D29B36 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(201, 79, 26, .34);
}
.btn--campagne:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #d97e22 0%, #c8901f 100%);
  box-shadow: 0 12px 28px rgba(201, 79, 26, .46);
  color: #fff;
}
.btn--campagne::after { content: "\2192"; font-weight: 700; transition: transform .2s ease; }
.btn--campagne:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .btn--campagne { animation: btnCampagneGlow 2.8s ease-in-out infinite; }
}
@keyframes btnCampagneGlow {
  0%, 100% { box-shadow: 0 8px 20px rgba(201, 79, 26, .30); }
  50%      { box-shadow: 0 11px 28px rgba(210, 155, 54, .52); }
}

/* Liens insérés dans des contenus / titres : héritent la couleur, soulignés or */
.hero__card a,
.preuve a,
.projet__body h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.hero__card a:hover,
.preuve a:hover,
.projet__body h3 a:hover { color: var(--gold); text-decoration-color: currentColor; }

/* Page « Vérifier un certificat » — présentation en carte soignée */
.verif-wrap { max-width: 640px; margin: 0 auto; }
.verif-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
}
.verif-icon {
  width: 66px; height: 66px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-soft); font-size: 1.9rem;
}
.verif-card h1 { margin: 6px 0 10px; }
.verif-card form { margin-top: 22px; text-align: left; }
.verif-card .field { margin-bottom: 14px; }
.verif-result { margin-top: 22px; text-align: left; }

.hero {
  min-height: auto;
  color: #EAF1EC;
  background:
    linear-gradient(100deg, rgba(15, 62, 46, .96) 0%, rgba(15, 62, 46, .88) 36%, rgba(15, 62, 46, .56) 68%, rgba(15, 62, 46, .28) 100%),
    url("../assets/img/hero-community-icci.png") center / cover no-repeat;
}
.hero::after {
  display: none;
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.5rem 24px;
}
.hero .eyebrow,
.credi .eyebrow,
.appel .eyebrow {
  color: #E68A2B;
}
.hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  max-width: none;
  margin: .7rem 0 1rem;
}
.hero h1 u {
  text-decoration: none;
  border-bottom: 4px solid #C0452F;
  padding-bottom: 2px;
}
.hero p.intro {
  color: #D7E3DB;
  font-size: 1.12rem;
  max-width: 48ch;
}
.hero__verbs {
  margin-top: 1.4rem;
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.15rem;
  color: #EAF1EC;
  opacity: .95;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.hero .btn--ghost,
.appel .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #FFFFFF;
}
.hero .btn--ghost:hover,
.appel .btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #FFFFFF;
}
.hero__card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 1.6rem;
  backdrop-filter: blur(2px);
}
.hero__card h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: .8rem;
}
.hero__card ul {
  list-style: none;
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
}
.hero__card li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #D7E3DB;
  font-size: .95rem;
}
.hero__card li b {
  color: #E68A2B;
  font-family: var(--font-title);
}

.preuves {
  background: #1B2A24;
  color: #EAF1EC;
}
.preuves__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.2rem 24px;
  text-align: center;
}
.preuve b {
  display: block;
  font-family: var(--font-title);
  font-size: 1.9rem;
  line-height: 1.1;
  color: #E68A2B;
}
.preuve span {
  color: #B9C7BF;
  font-size: .85rem;
}

section.bloc {
  padding: 5rem 0;
}
.bloc--ivoire {
  background: #F7F3EA;
}
.bloc--ivoire2 {
  background: #EFE9DB;
}
.bloc--blanc {
  background: #FFFFFF;
}
.tete {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}
.tete h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: .5rem;
}
.tete p.lead {
  color: #5C6B63;
  font-size: 1.08rem;
  margin-top: .7rem;
}
.eyebrow {
  color: #B5651A;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0;
}
.eyebrow::before {
  content: none;
}

.axes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.axe {
  background: #FFFFFF;
  border: 0;
  border-left: 5px solid #E68A2B;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(27, 42, 36, .06);
  padding: 1.8rem;
}
.axe--urgence {
  border-left-color: #C0452F;
}
.axe--dev {
  border-left-color: #15553F;
}
.axe h3 {
  color: #1B2A24;
  font-size: 1.25rem;
  margin-bottom: .5rem;
}
.axe p {
  color: #5C6B63;
  font-size: .97rem;
}

.projets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.projet {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #EFE9DB;
  border-radius: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.projet:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(27, 42, 36, .12);
}
.projet__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.6rem .4rem;
}
.tag {
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}
.tag--social {
  background: rgba(230, 138, 43, .16);
  color: #A85D12;
}
.tag--insertion {
  background: rgba(21, 85, 63, .12);
  color: #15553F;
}
.projet__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .7rem;
  padding: 0 1.6rem 1.6rem;
}
.projet h3 {
  font-size: 1.4rem;
  margin: 0;
}
.projet p {
  color: #5C6B63;
  font-size: .98rem;
}
.projet__obj {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-top: .3rem;
}
.projet__obj b {
  color: #C0452F;
  font-family: var(--font-title);
  font-size: 1.6rem;
  line-height: 1;
}
.projet--insertion .projet__obj b {
  color: #15553F;
}
.projet__obj span {
  color: #5C6B63;
  font-size: .85rem;
}
.projet__foot {
  margin-top: auto;
  padding-top: .6rem;
}

.terrain {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.situation {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  background: #F7F3EA;
  border: 1px solid #EFE9DB;
  border-radius: 14px;
  box-shadow: none;
  padding: 1.6rem;
}
a.situation:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(27, 42, 36, .1);
}
.situation__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
}
.situation__lieu {
  color: #5C6B63;
  font-size: .85rem;
}
.situation h3 {
  color: #1B2A24;
  font-size: 1.15rem;
  margin-bottom: .45rem;
}
.situation p {
  color: #5C6B63;
  font-size: .95rem;
}
.chip {
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}
.chip--prep {
  background: rgba(230, 138, 43, .18);
  color: #95560f;
}
.chip--mobil {
  background: rgba(192, 69, 47, .14);
  color: #C0452F;
}
.chip--cours {
  background: rgba(21, 85, 63, .14);
  color: #15553F;
}

.credi {
  background: #15553F;
  color: #EAF1EC;
}
.credi .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.credi h2 {
  color: #FFFFFF;
  font-size: 1.9rem;
}
.credi p {
  color: #CDDAD2;
  margin-top: .8rem;
}
.partenaires {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.3rem;
}
.pill {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #EAF1EC;
  font-size: .9rem;
  font-weight: 600;
  padding: .5rem 1rem;
}
.promesse {
  list-style: none;
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
}
.promesse li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #DCE6E0;
}
.promesse svg {
  flex: none;
  margin-top: 3px;
}
.promesse b {
  color: #FFFFFF;
}

.appel {
  background: #1B2A24;
  color: #EAF1EC;
}
.appel .wrap {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}
.appel h2 {
  max-width: 22ch;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.appel p {
  max-width: 54ch;
  margin: 1rem auto 0;
  color: #B9C7BF;
}
.appel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.site-footer {
  background: #0F3E2E;
  color: #CDDAD2;
}
.site-footer__top {
  max-width: 1180px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 3rem 24px 1.5rem;
}
.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 880px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .preuves__in {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .axes,
  .projets,
  .terrain {
    grid-template-columns: 1fr;
  }
  .credi .wrap {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .site-nav {
    gap: 0;
  }
  .site-nav a:not(.nav-cta) {
    padding: 12px;
  }
  .site-nav .nav-cta {
    margin-top: 8px;
  }
}
@media (max-width: 560px) {
  .preuves__in {
    grid-template-columns: 1fr;
  }
}

/* Article (détail d'actualité) */
.prose { max-width: 70ch; font-size: 17px; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.article-cover { width: 100%; max-width: 860px; border-radius: var(--radius); margin: 8px 0 4px; }

/* ============================================================
   Pages internes — harmonisation avec le design v2 de l'accueil
   ============================================================ */
.page-intro { padding: 3.5rem 0 2rem; }
.page-intro .tete h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .5rem 0 0; }

/* Filtres & pagination (pastilles cliquables) */
.filtres { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip-filtre {
  padding: .5rem 1rem; border-radius: 999px; background: #FFFFFF; border: 1px solid #EFE9DB;
  color: #5C6B63; font-size: .85rem; font-weight: 600; text-decoration: none; transition: .15s ease;
}
.chip-filtre:hover { border-color: #15553F; color: #15553F; }
.chip-filtre.is-active { background: #15553F; border-color: #15553F; color: #FFFFFF; }

/* Cartes « situation » : variantes pour pages internes */
.terrain--3 { grid-template-columns: repeat(3, 1fr); }
.situation__plus { color: #5C6B63; font-size: .9rem; }
.situation__tags { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: auto; padding-top: .8rem; }
.tag--niveau { background: rgba(21,85,63,.10); color: #15553F; padding: .28rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.situation__media { display: block; margin: -1.6rem -1.6rem 1rem; border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.situation__media img { width: 100%; height: 100%; object-fit: cover; }

/* Article (détail d'actualité) */
.article { max-width: 760px; }
.article__titre { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin: .6rem 0 .3rem; }
.article__date { color: #5C6B63; margin-bottom: 1.4rem; }
.article__cover { width: 100%; border-radius: 14px; margin: 0 0 1.6rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: start; }
.contact-infos h2 { font-size: 1.4rem; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; gap: .2rem; color: #26352E; }
.contact-list__k { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #B5651A; font-weight: 700; }
.contact-form { background: #FFFFFF; border: 1px solid #EFE9DB; border-radius: 16px; padding: 1.8rem; box-shadow: 0 1px 3px rgba(27,42,36,.06); }
/* Formulaire de contact replié derrière un bouton « Nous écrire » */
.contact-reveal__btn { display: inline-block; list-style: none; cursor: pointer; }
.contact-reveal__btn::-webkit-details-marker { display: none; }
.contact-reveal__btn::marker { content: ""; }
.contact-reveal[open] .contact-reveal__btn { margin-bottom: .4rem; }
.mt-1 { margin-top: .6rem; }

@media (max-width: 980px) { .terrain--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .terrain--3, .contact-grid { grid-template-columns: 1fr; } }

/* Galerie */
.galerie-intro {
  background:
    linear-gradient(135deg, rgba(239, 233, 219, .98), rgba(247, 243, 234, .92) 58%, rgba(234, 241, 237, .92));
}

.hero-galerie {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.hero-galerie__texte {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
}

.hero-galerie__media {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: clamp(360px, 34vw, 460px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 85, 63, .12);
  border-radius: 14px;
  background: #EFE9DB;
  box-shadow: 0 18px 42px rgba(27, 42, 36, .13);
}

.hero-galerie__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-galerie__banner {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: min(360px, calc(100% - 32px));
  margin: 0;
  padding: .55rem .72rem;
  color: #FFFFFF;
  background: rgba(14, 59, 43, .86);
  border: 1px solid rgba(247, 243, 234, .18);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(14, 59, 43, .22);
  backdrop-filter: blur(6px);
}

.hero-galerie__banner img {
  flex: none;
  width: 30px;
  height: 30px;
}

.hero-galerie__banner strong,
.hero-galerie__banner small {
  display: block;
}

.hero-galerie__banner strong {
  font-family: var(--font-title);
  font-size: .98rem;
  line-height: 1;
}

.hero-galerie__banner small {
  margin-top: 2px;
  color: rgba(247, 243, 234, .86);
  font-size: .7rem;
  line-height: 1.25;
}

.galerie-section {
  background: #F7F3EA;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.galerie-card {
  margin: 0;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #EFE9DB;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(27, 42, 36, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.galerie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(27, 42, 36, .12);
}

.galerie-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #EFE9DB;
}

.galerie-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.galerie-card:hover .galerie-card__media > img {
  transform: scale(1.035);
  opacity: .96;
}

.galerie-card__banner {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: .55rem;
  max-width: min(340px, calc(100% - 24px));
  padding: .48rem .68rem;
  color: #FFFFFF;
  background: rgba(14, 59, 43, .86);
  border: 1px solid rgba(247, 243, 234, .18);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(14, 59, 43, .22);
  backdrop-filter: blur(6px);
}

.galerie-card__banner img {
  flex: none;
  width: 28px;
  height: 28px;
}

.galerie-card__banner strong,
.galerie-card__banner small {
  display: block;
}

.galerie-card__banner strong {
  font-family: var(--font-title);
  font-size: .92rem;
  line-height: 1;
}

.galerie-card__banner small {
  margin-top: 2px;
  color: rgba(247, 243, 234, .84);
  font-size: .68rem;
  line-height: 1.22;
}

.galerie-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .85rem;
  padding: .82rem 1rem .95rem;
}

.galerie-card__label {
  color: #15553F;
  font-size: .94rem;
  font-weight: 700;
}

.galerie-card__place {
  color: #5C6B63;
  font-size: .82rem;
  text-align: right;
}

@media (max-width: 980px) {
  .hero-galerie {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero-galerie__media {
    height: clamp(300px, 54vw, 420px);
  }

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

@media (max-width: 620px) {
  .hero-galerie__media {
    height: 310px;
  }

  .hero-galerie,
  .hero-galerie__texte,
  .hero-galerie__media {
    max-width: calc(100vw - 48px);
  }

  .hero-galerie__texte .lead {
    max-width: 30ch;
  }

  .hero-galerie__media > img {
    object-position: center center;
  }

  .hero-galerie__banner {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: .44rem .58rem;
  }

  .hero-galerie__banner img {
    width: 26px;
    height: 26px;
  }

  .hero-galerie__banner small {
    font-size: .66rem;
  }

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

  .galerie-card figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
  }

  .galerie-card__place {
    text-align: left;
  }

  .galerie-card__banner {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: .42rem .58rem;
  }
}

/* ============================================================
   Page « Qui sommes-nous » (mission + domaines)
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: start; }
.mission-texte p { color: #5C6B63; margin-bottom: 1rem; font-size: 1.05rem; }
.mission-texte strong { color: #15553F; }
.mission-devise { background: #15553F; color: #EAF1EC; border-radius: 16px; padding: 2.2rem; text-align: center; }
.mission-devise img { margin: 0 auto 1rem; }
.mission-devise__txt { font-family: var(--font-title); font-style: italic; font-size: 1.3rem; color: #FFFFFF; margin: 0 0 .8rem; line-height: 1.3; }
.mission-devise__verbes { color: #E68A2B; font-weight: 600; letter-spacing: .04em; font-size: .9rem; margin: 0; }
.mission-devise .dot { color: #E68A2B; }

.domaines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.domaine { display: flex; gap: 1rem; background: #FFFFFF; border: 1px solid #EFE9DB; border-radius: 14px; padding: 1.4rem 1.5rem; box-shadow: 0 1px 3px rgba(27,42,36,.05); }
.domaine__num { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; color: #E68A2B; line-height: 1; flex: none; }
.domaine h3 { font-size: 1.05rem; margin: 0 0 .3rem; color: #1B2A24; }
.domaine p { color: #5C6B63; font-size: .92rem; margin: 0; }

@media (max-width: 820px) { .mission-grid, .domaines { grid-template-columns: 1fr; } }

/* ============================================================
   Sélecteur de langue FR | EN (bilingue) — liens purs, CSP-safe
   ============================================================ */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; }
.lang-switch a {
  font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  padding: 4px 7px; border-radius: 7px; color: #5C6B63; line-height: 1;
}
.lang-switch a:hover { background: var(--green-soft); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--green); background: var(--green-soft); cursor: default; }
.lang-switch a + a { position: relative; }
.lang-switch a + a::before {
  content: ""; position: absolute; left: -1px; top: 20%; height: 60%;
  border-left: 1px solid #D8E0DA;
}
.site-footer .lang-switch--footer a { color: #A9B8AF; }
.site-footer .lang-switch--footer a:hover,
.site-footer .lang-switch--footer a[aria-current="true"] { color: #FFFFFF; background: rgba(255,255,255,.12); }
@media (max-width: 900px) { .site-nav .lang-switch { margin: 6px 0; } }
