/* ============================================================
   Espace de droits — pages d'accueil, hub, rubriques longues
   Compléments scopés (préfixés .home- / .hub- / .rubrique-)
   pour ne pas entrer en conflit avec les classes du CSS source
   (site.css) qui partagent des noms (.hero, .page, .hero__lede…).
   ============================================================ */

/* ============================================================
   PAGE WRAP (générique pour les pages hors-fiche)
   ============================================================ */
.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.page-wrap .section {
  padding: 64px 0;
  border-top: 1px solid var(--border-soft);
}
.page-wrap .section:first-child {
  border-top: 0;
  padding-top: 8px;
}

/* ============================================================
   ACCUEIL
   ============================================================ */
.home-hero {
  padding: 48px 0 56px;
}
.home-hero__inner {
  max-width: 980px;
}
.home-hero__manifest {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 32px;
}
.home-hero__lede {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 64ch;
  text-wrap: pretty;
  font-weight: 400;
}

/* Portes d'entrée (3 cards) */
.portes__head {
  margin-bottom: 32px;
  max-width: 62ch;
}
.portes__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.portes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.porte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.porte:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--ink);
}
.porte__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green);
}
.porte__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.porte__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  text-wrap: pretty;
  flex: 1;
}
.porte__actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.porte__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 700;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  transition: background .15s;
}
.porte:hover .porte__btn {
  background: var(--green-deep);
}

/* Pourquoi ce site */
.pourquoi__head {
  margin-bottom: 28px;
  max-width: 62ch;
}
.pourquoi__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pourquoi__body {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
}
.pourquoi__body p {
  text-wrap: pretty;
}
.pourquoi__body strong {
  font-weight: 700;
}

/* ============================================================
   COMPRENDRE HUB — Cartes & quiz
   ============================================================ */
.hub-hero {
  padding: 32px 0 12px;
}
.hub-hero__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 64ch;
}
.hub-hero__title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.hub-hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 60ch;
  text-wrap: pretty;
}
.hub-hero__sub strong {
  color: var(--ink);
  font-weight: 600;
}

.hub-intro {
  max-width: 62ch;
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}
.hub-intro p {
  /* même taille que .hub-hero__sub (relecture 10 juin, BugSmash point 2) */
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-dim);
  text-wrap: pretty;
}
.hub-intro p strong {
  color: var(--ink);
  font-weight: 600;
}

.hub-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.hub-section-head__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

/* Dual cards: fiche + quiz buttons */
.hub-themes { margin-bottom: 64px; }
.grid-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
  overflow: hidden;
}
.dual:hover {
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(20, 26, 18, 0.08);
  transform: translateY(-2px);
}
.dual__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.02em;
}
.dual__shape {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-pale);
  position: relative;
  flex-shrink: 0;
}
.dual__shape::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  top: 8px;
  left: 8px;
}
/* Variantes de couleur par carte (selon position) */
.dual:nth-child(2) .dual__shape { background: var(--sand); }
.dual:nth-child(2) .dual__shape::after { background: var(--yellow); }
.dual:nth-child(2) .dual__num { color: #9a7a18; }
.dual:nth-child(3) .dual__shape { background: #FBE9E3; }
.dual:nth-child(3) .dual__shape::after { background: #D24A2A; }
.dual:nth-child(3) .dual__num { color: #D24A2A; }
.dual:nth-child(4) .dual__shape { background: var(--green-pale); }
.dual:nth-child(4) .dual__shape::after { background: var(--green-deep); }
.dual:nth-child(4) .dual__num { color: var(--green-deep); }

.dual__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.dual__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  text-wrap: pretty;
  flex: 1;
}
.dual__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.dual__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  text-align: center;
  border: 1.5px solid transparent;
}
.dual__btn--fiche {
  background: var(--green);
  color: var(--white);
}
.dual__btn--fiche:hover {
  background: var(--green-deep);
}
.dual__btn--quiz {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.dual__btn--quiz:hover {
  background: var(--ink);
  color: var(--white);
}

/* ============================================================
   RUBRIQUE long-form (Jouer, Agir, Qui sommes-nous étendus)
   ============================================================ */
.rubrique {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.rubrique__hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}
.rubrique__title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-top: 8px;
}
.rubrique__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 65ch;
  text-wrap: pretty;
}
.rubrique__section {
  margin-bottom: 48px;
}
.rubrique__section-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
}
.rubrique__section p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.rubrique__bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.rubrique__bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}
.rubrique__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  background: var(--green);
  clip-path: polygon(20% 50%, 0 70%, 38% 100%, 100% 28%, 80% 12%, 38% 60%);
}

/* Game showcase: featured card + screenshot côte à côte */
.game-showcase {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  align-items: center;
}
.game-screenshot {
  margin: 0;
  display: flex;
  justify-content: center;
}
.game-screenshot__link {
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(20, 26, 18, 0.18);
}
.game-screenshot__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(20, 26, 18, 0.24);
}
.game-screenshot img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: var(--r-lg);
}
@media (max-width: 900px) {
  .game-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }
  .game-screenshot img { max-width: 160px; }
}

/* Game feature card (utilisé sur /jouer/) */
.game-feature {
  position: relative;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  overflow: hidden;
}
.game-feature::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(248, 193, 62, 0.18);
  pointer-events: none;
}
.game-feature::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: 80px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: none;
}
.game-feature > * { position: relative; z-index: 1; }
.game-feature__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.game-feature__title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
  text-wrap: balance;
}
.game-feature__lede {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  max-width: 56ch;
  text-wrap: pretty;
}
.game-feature__meta {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  max-width: 56ch;
  text-wrap: pretty;
}
.game-feature__meta-label {
  font-weight: 700;
  color: var(--yellow);
}
.game-feature .btn--primary {
  background: var(--yellow);
  color: var(--ink);
}
.game-feature .btn--primary:hover {
  background: var(--white);
  color: var(--ink);
}

/* Quiz list (sur /jouer/) — réutilise la card "quiz-link" du hub */
.quiz-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .12s;
  margin-bottom: 12px;
}
.quiz-link:hover {
  border-color: var(--green);
  box-shadow: 0 6px 20px rgba(14, 124, 74, 0.08);
  transform: translateY(-1px);
}
.quiz-link__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}
.quiz-link__body { flex: 1; min-width: 0; }
.quiz-link__label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
  display: block;
}
.quiz-link__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: pretty;
}
.quiz-link__arrow {
  color: var(--ink-light);
  transition: color .15s, transform .15s;
  font-size: 16px;
}
.quiz-link:hover .quiz-link__arrow {
  color: var(--green);
  transform: translateX(2px);
}

/* CTA bottom block */
.rubrique__cta-block {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin-top: 56px;
}
.rubrique__cta-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px;
  text-wrap: balance;
}
.rubrique__cta-lede {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.rubrique__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Relecture 15 juin — les libellés CTA longs (« Rejoignez la rubrique Agir… »)
   débordaient à droite sur mobile : le .btn source impose white-space:nowrap,
   on autorise ici le retour à la ligne du texte dans le bouton. */
.rubrique__cta-actions .btn {
  white-space: normal;
  text-align: center;
}

/* ============================================================
   QUI SOMMES-NOUS — quote + équipe
   ============================================================ */
.qsn-quote {
  margin: 22px 0 22px;
  padding: 24px 28px;
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.qsn-quote p {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 !important;
}
.qsn-quote__cite {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-dim);
}

.qsn-team {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.qsn-person {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  transition: border-color .15s, box-shadow .15s;
}
.qsn-person:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.qsn-person__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.qsn-person__role {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px !important;
  text-transform: none;
}
.qsn-person__bio {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--ink-dim);
  margin: 0 !important;
  text-wrap: pretty;
}
.qsn-person abbr {
  text-decoration-style: dotted;
  text-decoration-color: var(--green);
  text-underline-offset: 2px;
}
@media (max-width: 720px) {
  .qsn-team { grid-template-columns: 1fr; }
}

/* ============================================================
   AGIR — 3 piliers juridiques + 3 droits CAF
   ============================================================ */
.agir-piliers {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.agir-pilier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.agir-pilier:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.agir-pilier__law {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.agir-pilier__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.agir-pilier p {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--ink-dim);
  margin: 0 !important;
  text-wrap: pretty;
}

.agir-sanction {
  background: var(--sand);
  border-left: 4px solid var(--yellow);
  padding: 14px 18px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-top: 12px !important;
  font-size: 15.5px !important;
}

.agir-droits {
  list-style: none;
  padding: 0;
  margin: 24px 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.agir-droit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.agir-droit:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.agir-droit__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  line-height: 1.25;
}
.agir-droit__desc {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--ink);
  margin: 0 !important;
  text-wrap: pretty;
}
.agir-droit__why {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--ink-dim);
  margin-top: 4px !important;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  text-wrap: pretty;
}

@media (max-width: 960px) {
  .agir-piliers, .agir-droits { grid-template-columns: 1fr; }
}

/* Resources list — réutilisé depuis site.css pour la rubrique Agir */
.rubrique .resources__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .rubrique .resources__list { grid-template-columns: 1fr; }
}

/* ============================================================
   PLACEHOLDER pages (en construction)
   ============================================================ */
.placeholder {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.placeholder__title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 20px;
}
.placeholder__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin-bottom: 32px;
  max-width: 60ch;
  text-wrap: pretty;
}
.placeholder__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.placeholder__link:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--ink);
}
.placeholder__link-meta {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.placeholder__link-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.placeholder__link-arrow {
  font-size: 20px;
  color: var(--ink-light);
  transition: color .15s, transform .15s;
}
.placeholder__link:hover .placeholder__link-arrow {
  color: var(--green);
  transform: translate(2px, -2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hub-hero__title { font-size: clamp(32px, 4.4vw, 48px); }
}
@media (max-width: 960px) {
  .page-wrap { padding: 40px 24px 64px; }
  .page-wrap .section { padding: 48px 0; }
  .home-hero { padding: 24px 0 32px; }
  .portes__grid { grid-template-columns: 1fr; gap: 14px; }
  .porte { padding: 24px; }
  .grid-dual { grid-template-columns: 1fr; }
  .hub-section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .page-wrap { padding: 32px 20px 56px; }
  .home-hero__manifest { font-size: clamp(32px, 8vw, 44px); }
  .home-hero__lede { font-size: 17px; }
  .hub-hero__title { font-size: clamp(28px, 8vw, 38px); }
  .hub-hero__sub { font-size: 16px; }
  .hub-intro p { font-size: 16px; }
  .pourquoi__body { font-size: 16.5px; }
  .dual { padding: 22px; }
  .dual__actions { grid-template-columns: 1fr; }

  .rubrique { padding: 40px 20px 64px; }
  .game-feature { padding: 28px 24px; }
  .game-feature__title { font-size: 26px; }
  .rubrique__cta-block { padding: 24px 22px; }
  .rubrique__cta-actions { flex-direction: column; align-items: stretch; }
  .rubrique__cta-actions .btn { justify-content: center; }
}

/* ═══ ENCARTS DE FICHE (« Le saviez-vous ? », histoires vécues…) ═══
   Relecture 10 juin — encadrés présents dans les docs sources.
   Namespacé .fp-encart pour ne pas toucher au CSS source des fiches. */
.fp-encart {
  background: var(--sand);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0;
}
.fp-encart p { margin: 0 0 10px; }
.fp-encart p:last-child { margin-bottom: 0; }

/* ═══ PAGE AGIR — V2 relecture 10 juin ═══ */
.agir-toc {
  margin-top: 28px;
  padding: 16px 22px;
  background: var(--paper-soft);
  border-radius: 12px;
  max-width: 480px;
}
.agir-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.agir-toc a {
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.agir-toc a:hover { text-decoration: underline; }
.agir-subtitle {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 32px 0 12px;
  color: var(--ink);
}
/* Relecture 15 juin — titres de section Agir agrandis (taille « pourquoi » de l'accueil) */
.rubrique .pourquoi__title { margin-bottom: 18px; }

/* Logos des fondations sur Qui sommes-nous (relecture 10 juin) */
.qsn-fondations {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.qsn-fondations img {
  height: 160px;
  width: auto;
}
/* Le PNG Amnesty a une large marge transparente intégrée (son contenu ≈ 75 % du
   canevas), alors que le logo Fondation pour le Logement est détouré au plus près.
   À hauteur CSS égale, ce dernier paraissait donc bien plus gros → on réduit sa
   hauteur pour égaliser la taille VISIBLE des deux logos. (Scopé à QSN ; le footer,
   géré dans site.css, n'est pas affecté.) */
.qsn-fondations img[alt*="Logement"] {
  height: 122px;
}

/* Bloc « Soutenez le projet » sur Qui sommes-nous (ajout docx) */
.qsn-soutien {
  background: var(--green-pale);
  border-radius: var(--r-lg);
  padding: 32px 32px 36px;
}
.qsn-soutien__punch { margin-top: 4px; }
.qsn-soutien__cta { margin-top: 22px; }
