.projects__frame { border-radius: calc(var(--radius) * 1.5); background: var(--c-white); padding: var(--space-4) var(--space-3); }
.projects__frame h2 { text-align: center; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .35rem; margin-bottom: var(--space-4); }
.filters__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .8rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; background: transparent; color: var(--c-blue-ink); font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; cursor: pointer; }
.filters__btn svg { width: 1.5rem; height: 1.5rem; stroke: var(--c-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.filters__btn:hover { border-color: var(--c-blue-grey); background: var(--c-white); }
.filters__btn[aria-pressed="true"] { background: var(--c-blue-ink); color: var(--c-white); border-color: var(--c-blue-ink); }
.filters__btn[aria-pressed="true"] svg { stroke: var(--c-white); }
.filters__sep { width: 1px; background: var(--c-blue-grey); align-self: stretch; margin-inline: .25rem; }

.projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.project-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: .75rem .75rem var(--space-3);
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card[hidden] { display: none; }
.project-card__media { position: relative; margin: 0 0 var(--space-2); border-radius: 1.6rem var(--radius-sm) var(--radius-sm) var(--radius-sm); overflow: hidden; }
.project-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge { position: absolute; top: .75rem; left: .75rem; padding: .35rem .8rem; border-radius: var(--radius-sm); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }
.badge--blue { background: var(--c-blue-ink); color: var(--c-white); }
.badge--terracotta { background: var(--c-terracotta); color: var(--c-black); }
.project-card h3 { padding-inline: .5rem; }
.project-card p { padding-inline: .5rem; font-size: 1rem; }
.project-card__more { margin: auto .5rem 0; font-weight: 700; }
.project-card__themes { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .5rem; margin: 0 0 var(--space-2); }
.chip { font-size: .8rem; padding: .15rem .6rem; border-radius: var(--radius-pill); background: var(--c-bg-light); color: var(--c-blue-ink); font-weight: 700; }

.impact-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); }
.impact-card svg.globe { width: 3rem; height: 3rem; stroke: var(--c-blue-ink); fill: none; stroke-width: 1.5; }
.impact-card h3 { text-transform: uppercase; margin-top: var(--space-1); }

.projects__status { text-align: center; margin: 0 0 var(--space-2); font-size: .95rem; }
.projects__empty { text-align: center; padding: var(--space-4); background: var(--c-white); border-radius: var(--radius); grid-column: 1 / -1; }
.projects__empty[hidden] { display: none; }

@media (max-width: 1000px) { .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projects__grid { grid-template-columns: 1fr; } .projects__frame { padding: var(--space-3) var(--space-2); } .filters__sep { display: none; } }


/* Cadres vides à remplir */
.project-card--empty { border-style: dashed; background: var(--c-bg-soft); }
.project-card--empty:hover { transform: none; box-shadow: none; }
.project-card__media--empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--c-white); border: 2px dashed var(--c-blue-grey); }
.project-card__ph { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); }
.chip--todo { background: #FCEFE7; color: #8A4A2B; }
.project-card--empty h3, .project-card--empty p { color: #5C6E78; }
.project-card__todo { margin: auto .5rem 0; font-weight: 700; color: #8A4A2B; }
.project-page__todo { padding: .8rem 1rem; border-radius: var(--radius-sm); border: 2px dashed var(--c-blue-grey); background: var(--c-bg-soft); }
.project-page__sub { margin: var(--space-4) 0 var(--space-1); font-size: 1.4rem; }
.project-page__list { margin: 0 0 var(--space-2); padding-left: 1.2rem; }
.project-page__list li { margin-bottom: .35rem; }

/* Lien « Voir tous les projets » (accueil) */
.projects__more { display: flex; justify-content: center; margin: 2rem 0 0; }
.projects .breadcrumb { margin-bottom: 1rem; }
.projects__more .btn--ghost { background: transparent; color: var(--c-blue-ink); border-color: var(--c-blue-ink); }
.projects__more .btn--ghost:hover { background: var(--c-blue-ink); color: var(--c-white); }
.zone__antenne { margin: 0 0 1.5rem; }
.project-page .btn--ghost { background: transparent; color: var(--c-blue-ink); border-color: var(--c-blue-ink); }
.project-page .btn--ghost:hover { background: var(--c-blue-ink); color: var(--c-white); }

/* Salles et espaces réservables (fiche La Rampe) */
.priv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: var(--space-2); }
.priv-card { padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); }
.priv-card h3 { margin: 0 0 var(--space-1); }
.priv-price { margin: 0 0 .4rem; font-size: 1.5rem; font-weight: 700; color: var(--c-blue-ink); line-height: 1.15; }
.priv-price small { display: block; font-size: .92rem; font-weight: 400; color: inherit; }
.priv-card ul { margin: var(--space-2) 0 0; padding-left: 1.1rem; }
.priv-card ul { list-style: disc; }
.priv-card li::marker { color: var(--c-primary); }
.spaces { scroll-margin-top: calc(var(--header-h) + 1rem); margin-top: var(--space-5); }
.spaces__note { margin: var(--space-2) 0; }

.pcard__img--ph { display: grid; place-items: center; min-height: 7rem; background: var(--c-bg-soft); color: var(--c-primary); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Choix d'un équipement à réserver */
.machines__title{margin:22px 0 8px;font-size:1.05rem}
.machines__list{display:flex;flex-wrap:wrap;gap:10px}
.machines__list .btn{min-height:44px}

/* ---- Titre de page + petit cœur, partenaires ---- */
.titlerow { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.titlerow h1 { margin: 0; }
.partner-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: 0 0 var(--space-3); }
.partner-list li { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.partner-list__logo { height: 2.5rem; width: auto; }

/* ---- Mise en avant : 2 cartes, puis 1 carte large, puis le reste (bouton « Dévoiler le reste ») ---- */
.project-card__summary { display: none; }
.projects__grid.is-featured { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.projects__grid.is-featured .project-card { grid-column: span 2; }
.projects__grid.is-featured .project-card.is-half { grid-column: span 3; }
.projects__grid.is-featured .project-card.is-wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-3); align-content: start; }
.is-feature .project-card__summary { display: block; }
.is-feature h3 { font-size: 1.5rem; }
.is-half .project-card__media img, .is-half .project-card__media--empty { aspect-ratio: 16 / 10; }
.is-wide .project-card__media { grid-column: 1; grid-row: 1 / span 6; margin: 0; height: 100%; }
.is-wide .project-card__media img { height: 100%; min-height: 16rem; aspect-ratio: auto; }
.is-wide .project-card__media--empty { min-height: 16rem; aspect-ratio: auto; }
.is-wide > :not(.project-card__media) { grid-column: 2; }
.projects__reveal { display: flex; justify-content: center; margin: var(--space-3) 0 0; }
@media (max-width: 800px) {
  .projects__grid.is-featured .project-card, .projects__grid.is-featured .project-card.is-half { grid-column: span 6; }
  .projects__grid.is-featured .project-card.is-wide { display: flex; flex-direction: column; }
  .is-wide .project-card__media { height: auto; margin: 0 0 var(--space-2); }
  .is-wide .project-card__media img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---- Pages antenne ---- */
.antenne__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.antenne__tabs a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1.1rem; border-radius: var(--radius-pill); border: 2px solid var(--c-blue-ink); color: var(--c-blue-ink); font-weight: 700; text-decoration: none; }
.antenne__tabs a[aria-current="page"] { background: var(--c-blue-ink); color: var(--c-white); }
.antenne__lead { max-width: 46rem; }
.antenne__lead p { font-size: 1.1rem; }
.antenne__more { margin-top: var(--space-3); }
.projects__reveal .btn--ghost { background: transparent; color: var(--c-blue-ink); border-color: var(--c-blue-ink); }
.projects__reveal .btn--ghost:hover { background: var(--c-blue-ink); color: var(--c-white); }

/* Accueil (ordinateur) : rapproche le bloc « Projets » de la section suivante */
@media (min-width: 901px) {
  .projects { padding-bottom: 0; }
  .projects + .photos { padding-top: 2rem; }
}

/* Fiche projet : sous-titres de groupes et calendrier */
.project-page__group { margin: var(--space-2) 0 .4rem; font-size: 1.1rem; color: var(--c-blue-ink); }
.phase-list { list-style: none; margin: 0 0 var(--space-2); padding: 0; border-left: 3px solid var(--c-primary); }
.phase-list li { display: grid; gap: .15rem; padding: .6rem 0 .6rem var(--space-2); position: relative; }
.phase-list li::before { content: ""; position: absolute; left: -.55rem; top: 1.05rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--c-white); border: 3px solid var(--c-primary); }
.phase-list__period { color: var(--c-blue-ink); }
.phase-list__who { color: var(--c-text); opacity: .8; }

/* Pages antenne (statut, projets, contacts) et galerie des fiches projet */
.antenne__status { margin: 0 0 var(--space-2); }
.antenne__projects { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: .6rem; max-width: 46rem; }
.antenne__projects a { font-weight: 700; }
.antenne__contacts { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: .5rem; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-3); }
.project-gallery figure { margin: 0; max-width: 34rem; }
.project-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.project-gallery figcaption { margin-top: .4rem; font-size: .9rem; color: var(--c-slate); }

/* Galerie de l'antenne : deux photos à 50 % / 50 %, puis l'image large en dessous */
.antenne-gallery { margin: var(--space-3) 0; }
.antenne-gallery figure { margin: 0; }
.antenne-gallery img { display: block; width: 100%; border-radius: .5rem; }
.antenne-gallery figcaption { margin-top: .4rem; font-size: .9rem; color: var(--c-slate); }
.antenne-gallery__duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.antenne-gallery__duo img { aspect-ratio: 4 / 3; object-fit: cover; }
.antenne-gallery__wide img { height: auto; max-height: 32rem; object-fit: cover; }
@media (max-width: 560px) { .antenne-gallery__duo { grid-template-columns: 1fr; } }

/* Encarts de texte entre les projets : 6 styles tirés au hasard + 4 effets d'apparition (page « Tous les projets ») */
.interlude { grid-column: 1 / -1; box-sizing: border-box; width: min(100%, 46rem); margin: var(--space-2) auto; padding: var(--space-3); text-align: center; position: relative; transform: translateX(var(--shift, 0)); }
.interlude[hidden] { display: none; }
.interlude__eyebrow { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-magenta); }
.interlude__text { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.35; font-family: var(--font-display, inherit); color: var(--c-slate); }
.interlude__link { margin: .8rem 0 0; font-weight: 700; }
.interlude--quote .interlude__text::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--c-terracotta); }
.interlude--quote .interlude__text { font-style: italic; }
.interlude--band { width: 100%; text-align: left; background: var(--c-bg-light, #EAF2FA); border-left: 6px solid var(--c-primary); border-radius: .5rem; }
.interlude--tilt { background: var(--c-white); border: 2px dashed var(--c-terracotta); border-radius: .75rem; transform: translateX(var(--shift, 0)) rotate(var(--tilt, -1deg)); }
.interlude--arch { background: var(--c-bg-light, #EAF2FA); border-radius: 999px 999px 1rem 1rem; padding-top: calc(var(--space-3) + 2rem); }
.interlude--marker .interlude__text { display: inline; background: linear-gradient(transparent 58%, rgba(188, 43, 108, .22) 58%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .2em; }
.interlude--outline { border: 2px solid var(--c-primary); border-radius: 2rem .5rem 2rem .5rem; }
@media (prefers-reduced-motion: no-preference) {
  .interlude { opacity: 0; transition: opacity .7s var(--ease, ease), transform .8s var(--ease, ease), filter .7s var(--ease, ease); }
  .interlude[data-fx="rise"] { translate: 0 28px; }
  .interlude[data-fx="slide"] { translate: -48px 0; }
  .interlude[data-fx="zoom"] { scale: .92; }
  .interlude[data-fx="blur"] { filter: blur(8px); }
  .interlude.is-in { opacity: 1; translate: 0 0; scale: 1; filter: none; }
}
@media (max-width: 640px) { .interlude { transform: none; padding: var(--space-2); } .interlude--tilt { transform: rotate(calc(var(--tilt, -1deg) / 2)); } }

/* Page « Antennes » */
.antennes__intro { max-width: 46rem; margin: 0 0 var(--space-3, 1.5rem); color: var(--c-blue-ink); }
.antennes__grid .project-card__themes .chip { white-space: normal; text-align: left; }

/* Carte horizontale : image au format fixe (évite qu'une photo portrait étire la carte) */
.is-wide .project-card__media { aspect-ratio: 16 / 10; height: auto; align-self: start; width: 100%; min-width: 0; overflow: hidden; }
.is-wide .project-card__media img { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 800px) { .is-wide .project-card__media { aspect-ratio: auto; } .is-wide .project-card__media img { height: auto; aspect-ratio: 16 / 10; } }
/* Page Antennes : carte + liste à dévoiler (Suite 94) */
.antennes__map { margin-bottom: 0; }
.antennes__map #antennes-map { position: absolute; inset: 0; }
.antennes__grid[hidden] { display: none; }
.antennes__grid { margin-top: var(--space-3, 1.5rem); }

/* Suite 120 — fiche La Rampe : présentation allégée (volets repliables, chiffres en pastilles, peu de bordures) */
.project-page--light { max-width: 46rem !important; }
.project-page--light .project-page__img { aspect-ratio: 21 / 9; border-radius: 1.2rem; box-shadow: none; }
.project-page--light .project-page__meta { gap: .4rem; }
.project-page--light .chip { background: transparent; border: 1px solid var(--c-border); font-weight: 400; }
.project-page--light .rampe-lead { font-size: 1.2rem; line-height: 1.6; color: var(--c-blue-ink); }
.project-page--light .project-page__sub { font-size: 1.15rem; text-transform: none; letter-spacing: 0; margin-top: var(--space-4); }
.rampe-acc { border-bottom: 1px solid var(--c-border); }
.rampe-acc:first-of-type { border-top: 1px solid var(--c-border); }
.rampe-acc > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 3rem; padding: .6rem 0; font-size: 1.1rem; font-weight: 700; color: var(--c-blue-ink); }
.rampe-acc > summary::-webkit-details-marker { display: none; }
.rampe-acc > summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--c-bg-light); font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.rampe-acc[open] > summary::after { content: "–"; }
.rampe-acc > summary:focus-visible { outline: 2px solid var(--c-blue-ink); outline-offset: 2px; }
.rampe-acc > :not(summary) { margin-bottom: var(--space-2); }
.rampe-figs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 var(--space-3); }
.rampe-figs li { padding: .5rem .95rem; border-radius: var(--radius-pill); background: var(--c-bg-light); color: var(--c-blue-ink); font-weight: 700; }
.project-page--light .phase-list { border-left-width: 2px; }
.project-page--light .partner-list { gap: .5rem 1.25rem; }
.rampe-links { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Suite 124 — fiche La Rampe : distinctions illustrées, lieu + carte */
.rampe-prix { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: var(--space-2); padding: 0; margin: 0 0 var(--space-3); }
.rampe-prix__item { display: grid; gap: .5rem; align-content: start; font-size: .92rem; line-height: 1.35; color: var(--c-blue-ink); }
.rampe-prix__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--c-white); border: 1px solid var(--c-border); border-radius: .6rem; padding: .35rem; }
.rampe-lieu { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); align-items: start; margin-bottom: var(--space-3); }
.rampe-lieu .project-page__list { margin: 0; }
.rampe-lieu__map { position: relative; }
.rampe-lieu #espace-map { height: 18rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-blue-grey); }
.rampe-lieu__link { display: inline-block; margin-top: .4rem; }
@media (max-width: 700px) { .rampe-lieu { grid-template-columns: 1fr; } .rampe-lieu #espace-map { height: 14rem; } }
.rampe-lieu__map { isolation: isolate; z-index: 0; }

/* Suite 125 — fiche La Rampe pleine largeur, en bandes */
.project-rampe { width: 100%; padding-top: var(--header-h); }
.rampe-band { padding-block: var(--space-5); }
.rampe-band--tint { background: var(--c-bg-light); }
.rampe-h2 { margin: 0 0 var(--space-3); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.rampe-h2::after { content: ""; display: block; width: 3.2rem; height: .3rem; margin-top: .6rem; border-radius: 99px; background: var(--c-magenta); }
.rampe-intro { margin: 0 0 var(--space-3); max-width: 46rem; }
.rampe-hero { padding-block: var(--space-4) var(--space-5); background: linear-gradient(180deg, var(--c-bg-light), var(--c-white)); }
.rampe-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); align-items: center; }
/* Suite 146 : les deux paragraphes de présentation ont la même police (taille, interligne, couleur) */
.rampe-hero__text .rampe-lead, .rampe-hero__text .rampe-lead ~ p { font-size: 1.2rem; line-height: 1.6; color: var(--c-blue-ink);  text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.rampe-hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3rem .8rem 3rem .8rem; }
.rampe-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-2); margin: 0; padding: 0; }
.rampe-stats li { display: grid; gap: .25rem; padding: var(--space-3); background: var(--c-white); border-radius: var(--radius); border-top: 4px solid var(--c-terracotta); }
.rampe-stats strong { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; color: var(--c-primary); }
.rampe-stats span { color: var(--c-blue-ink); }
.rampe-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: var(--space-3); }
.rampe-card { padding: var(--space-3); border: 1px solid var(--c-border); border-top: 4px solid var(--c-magenta); border-radius: var(--radius); background: var(--c-white); }
.rampe-card h3 { margin: 0 0 var(--space-1); font-size: 1.25rem; }
.rampe-card__intro { margin: 0 0 var(--space-1); font-style: italic; }
.rampe-card .project-page__list { margin: 0; }
/* Patchwork : grille de 6 colonnes carrées. wide = 4×3, land = 3×2, tall = 2×3 (ratios ≈ 4:3 et 3:4) */
/* Patchwork « bannière » : deux rangées horizontales compactes ; mobile : une bande qui défile */
.rampe-patch-wrap { max-width: 76rem; margin-inline: auto; }
.rampe-patch { display: flex; flex-direction: column; gap: .5rem; }
.rampe-patch__row { display: flex; gap: .5rem; height: clamp(7rem, 14vw, 10.5rem); }
.rampe-patch__item { position: relative; margin: 0; overflow: hidden; border-radius: .6rem; background: var(--c-mist, #EAF2FA); flex: 1.333 1 0; min-width: 0; }
.rampe-patch__item--tall { flex-grow: .75; }
.rampe-patch__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rampe-patch__item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(40,77,99,.85)); }
@media (hover: hover) { .rampe-patch__item:hover img { transform: scale(calc(var(--z, 1) * 1.05)); } }
.rampe-patch__item img { transform: scale(var(--z, 1)); } /* Suite 438 : « zoom » d'une photo de galerie (data.js, propriété zoom) */
@media (prefers-reduced-motion: reduce) { .rampe-patch__item img { transition: none; } .rampe-patch__item:hover img { transform: scale(var(--z, 1)); } }
@media (max-width: 759px) {
  .rampe-patch { flex-direction: row; gap: .5rem; height: 9rem; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: .3rem; }
  .rampe-patch__row { display: contents; }
  .rampe-patch__item { flex: 0 0 auto; height: 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .rampe-patch__item--tall { aspect-ratio: 3 / 4; }
}
.partners__list--prix li, .is-marquee .partners__list--prix li { height: auto; min-height: 11.5rem; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .5rem; padding: .7rem; text-align: left; }
.partners__list--prix img { width: 100%; height: 7rem; object-fit: contain; }
.partners__list--prix span { font-size: .88rem; line-height: 1.3; color: var(--c-blue-ink); }
.is-marquee .partners__list--prix li { flex-basis: 14rem; }
.partners__name { font-weight: 700; color: var(--c-blue-ink); text-align: center; }
.rampe-lieu { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: start; }
.rampe-lieu .project-page__list { margin: 0; }
.rampe-lieu__map { position: relative; isolation: isolate; z-index: 0; }
.rampe-lieu #espace-map { height: 22rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-blue-grey); }
.rampe-lieu__link { display: inline-block; margin-top: .4rem; }
.rampe-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
@media (max-width: 860px) { .rampe-hero__grid, .rampe-lieu { grid-template-columns: 1fr; } .rampe-hero__img { order: -1; } .rampe-lieu #espace-map { height: 15rem; } }

/* Suite 127 — cartes repliables (contenu masqué, dévoilé au clic) + puces */
.rampe-cards { align-items: start; }
.rampe-card > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 2.75rem; font-size: 1.25rem; font-weight: 700; color: var(--c-blue-ink); }
.rampe-card > summary::-webkit-details-marker { display: none; }
.rampe-card > summary::after { content: "+"; flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--c-bg-light); font-size: 1.3rem; line-height: 1; }
.rampe-card[open] > summary::after { content: "–"; }
.rampe-card > summary:hover::after, .rampe-card > summary:focus-visible::after { background: var(--c-bg-soft); }
.rampe-card > summary:focus-visible { outline: 2px solid var(--c-blue-ink); outline-offset: 4px; border-radius: .4rem; }
.rampe-card[open] > summary { margin-bottom: var(--space-1); }
.rampe-card ul { list-style: disc; padding-left: 1.2rem; margin: 0; }
.rampe-card li { margin-bottom: .4rem; }
.rampe-card li::marker { color: var(--c-primary); }

/* Suite 128 — tableau des objectifs (charte : bleu #284D63, turquoise #167C8C, terracotta #D78F6B, magenta #BC2B6C) */
.obj__main { padding: var(--space-4); border-radius: var(--radius); background: linear-gradient(135deg, #6FBBC7, #4A7A94); color: var(--c-white); text-align: center; }
.obj__main h3 { margin: 0 0 var(--space-2); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); text-transform: uppercase; letter-spacing: .04em; color: var(--c-bg-light); }
.obj__lead { max-width: 60rem; margin: 0 auto var(--space-3); font-size: 1.1rem; line-height: 1.6; }
.obj__approach-title { margin: 0 0 .4rem; color: var(--c-blue-ink); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.obj__approach { list-style: none; margin: 0 auto; padding: 0; max-width: 80rem; display: grid; gap: .05rem; line-height: 1.35; }
.obj__grid { list-style: none; margin: 0; padding: var(--space-4) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-3); position: relative; }
.obj__card { position: relative; padding: var(--space-3); border-radius: var(--radius); background: var(--c-bg-light); border-top: 5px solid var(--oc); }
.obj__card::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--space-4) - 5px); height: var(--space-4); width: 2px; background: #284D63; }
.obj__card::after { content: ""; position: absolute; left: calc(50% - 5px); top: -9px; border: 5px solid transparent; border-top: 8px solid #284D63; border-bottom: 0; }
.obj__card h4 { margin: 0 0 var(--space-1); font-size: 1.2rem; color: var(--oc); }
.obj__card p { margin: 0; line-height: 1.6; }
.obj__card--1 { --oc: #284D63; } .obj__card--2 { --oc: #167C8C; } .obj__card--3 { --oc: #C26F45; } .obj__card--4 { --oc: #BC2B6C; }
@media (max-width: 600px) { .obj__main { padding: var(--space-3); text-align: left; } }

/* Suite 165 — cartes repliables ouvertes : dégradé du bleu clair de la charte (#EBF1F9, fond des sections claires) vers un bleu légèrement plus soutenu */
.rampe-card[open] { background: linear-gradient(170deg, #EBF1F9 0%, #D9E6F3 45%, #C3D8EC 100%); border-right-color: #B7CDE3; border-bottom-color: #B7CDE3; border-left-color: #B7CDE3; }
.rampe-card[open] > summary::after { background: rgba(255, 255, 255, .7); }
.rampe-card[open] > summary:hover::after, .rampe-card[open] > summary:focus-visible::after { background: var(--c-white); }

/* Suite 219 : cadres « À venir » des fiches projets d'Afrique (rubriques sans données) */
.rampe-empty { display: grid; place-items: center; min-height: 7rem; padding: var(--space-3); border: 1.5px dashed var(--c-blue-grey); border-radius: var(--radius); background: rgba(255,255,255,.55); color: var(--c-slate); }
.rampe-empty__t { font-style: italic; letter-spacing: .02em; }
.rampe-card--empty .rampe-card__t { margin: 0 0 var(--space-1); font-size: 1.25rem; font-weight: 700; color: var(--c-blue-ink); }
.rampe-card--empty .rampe-empty { min-height: 4.5rem; }

/* Suite 228 : fiches projets, la dernière bande rejoint directement le pied de page (plus de bande blanche) */
.project-page:has(.project-rampe) + .site-footer { margin-top: 0; }

/* Suite 234 : fiche Keur Massar — titre sur une seule ligne ; encadré bleu : 1er paragraphe en gras, 20 % plus grand que la suite */
.project-rampe[data-slug="tiers-lieu-keur-massar-senegal"] .rampe-hero__text h1 { white-space: nowrap; font-size: clamp(1.6rem, 3.1vw, 2.6rem); }
/* Suite 235 : encadré bleu des objectifs, même mise en forme sur toutes les fiches projets (1er paragraphe en gras, 20 % plus grand que la suite) */
.obj__approach-title, .obj__approach { font-size: 1rem; }
.obj__lead { font-size: 1.2rem; font-weight: 700; }
@media (max-width: 860px) { .project-rampe[data-slug="tiers-lieu-keur-massar-senegal"] .rampe-hero__text h1 { white-space: normal; } }

/* Suite 237 : moins de 3 partenaires = logos fixes, sans défilement */
.partners__marquee--static .partners__list { justify-content: flex-start; }
.partners__marquee--static .partners__list li { flex: 0 0 12.5rem; }

/* Suite 250 : bouton « Voir tous les projets » de l'accueil, couleurs inversées (bleu plein / texte blanc ; blanc / texte bleu au survol) */
#projects-all.btn--ghost { background: var(--c-blue-ink); color: var(--c-white); border-color: var(--c-blue-ink); }
#projects-all.btn--ghost:hover, #projects-all.btn--ghost:focus-visible { background: var(--c-white); color: var(--c-blue-ink); border-color: var(--c-blue-ink); }

/* Suite 251 : page La Rampe, section « Cinq distinctions » : plus de cartes blanches derrière les visuels (fond, bordure et ombre retirés) */
[data-slug="la-rampe"] #distinctions .partners__list--prix li,
[data-slug="la-rampe"] #distinctions .is-marquee .partners__list--prix li { background: transparent; border-color: transparent; box-shadow: none; }
/* le logo du concours de fleurissement a un fond blanc intégré à l'image : il se fond dans le fond de la section */
[data-slug="la-rampe"] #distinctions img[src*="concours-fleurissement"] { mix-blend-mode: multiply; }
#project-root[data-slug="action-chaise-du-ministere-france"] .rampe-patch__row:empty { display: none; } /* Suite 270 : pas de ligne vide sous les 4 photos */
#project-root[data-slug="action-chaise-du-ministere-france"] .rampe-patch__row { height: clamp(11rem, 22vw, 17.5rem); } /* Suite 277 : photos plus grandes pour bien voir chaises, tables et visages */
@media (max-width: 759px) { #project-root[data-slug="action-chaise-du-ministere-france"] .rampe-patch { height: 12rem; } }
/* Suite 284/286 : fiche Sénégal : fond de la section « Le lieu » ; bandeau « Objectifs » (chiffres) réduit de 30 % (texte et encadrements) */
#project-root[data-slug="tiers-lieu-keur-massar-senegal"] #lieu { background: var(--c-mist); }
#project-root[data-slug="tiers-lieu-keur-massar-senegal"] #chiffres .rampe-stats { zoom: 0.7; }
#project-root[data-slug="tiers-lieu-keur-massar-senegal"] #chiffres .rampe-stats span { text-wrap: balance; }
#project-root[data-slug="tiers-lieu-keur-massar-senegal"] #chiffres .rampe-stats span { font-size: 1.2em; } /* Suite 288 : libellés +20 % */
/* Suite 289 : bandeau « La Rampe en chiffres » aux mêmes proportions que celui de la fiche Sénégal */
#project-root[data-slug="la-rampe"] #chiffres .rampe-stats { zoom: 0.7; }
#project-root[data-slug="la-rampe"] #chiffres .rampe-stats span { font-size: 1.2em; text-wrap: balance; }
#project-root[data-slug="la-rampe"] #chiffres .rampe-stats li, #project-root[data-slug="tiers-lieu-keur-massar-senegal"] #chiffres .rampe-stats li { align-content: start; } /* chiffre et libellé restent collés quand une carte voisine est plus haute */
/* Suite 290 : fiche Sénégal : titres des cartes d'objectifs un peu plus petits pour que « compétences » et « ouvert » remontent sur la 1re ligne */
#project-root[data-slug="tiers-lieu-keur-massar-senegal"] #objectifs .obj__card h4 { font-size: 1.1rem; }

/* Suite 291 : dernière section de chaque fiche projet (avant le pied de page) : fond identique à la section « lieu » du Sénégal ; fiche Action chaise inchangée */
#project-root:not([data-slug="action-chaise-du-ministere-france"]) > section:last-child { background: var(--c-mist); }

/* Suite 292 : fiches à mise en page « bandes » : le bandeau d'introduction commence directement sous l'en-tête (plus de zone blanche) */
.project-page:has(> #project-root.project-rampe) { padding-top: var(--header-h); }
.project-rampe { padding-top: 0; }

/* Suite 304 : fiche Octobre rose : photos affichées en entier (format 4/3, sans recadrage) pour voir tous les visages et le panneau du mur */
@media (min-width: 760px) {
  #project-root[data-slug="octobre-rose-cameroun"] .rampe-patch__row { height: auto; }
  #project-root[data-slug="octobre-rose-cameroun"] .rampe-patch__item { aspect-ratio: 4 / 3; flex: 1 1 0; }
}

/* Suite 305 : galerie à proportions réelles (champ « ratio » des photos) : aucune photo recadrée, tous les visages visibles. Ordinateur : lignes justifiées ; mobile : défilement */
.rampe-patch__item[style*="--ar"] { flex-grow: var(--ar); aspect-ratio: var(--ar); }
@media (min-width: 760px) { .rampe-patch__row:has(> .rampe-patch__item[style*="--ar"]) { height: auto; } }

/* Suite 313 — objectifs sans « objectif principal » (aucun texte fourni) : pas de flèches vers un bloc absent */
.obj__main + .obj__grid { }
.obj:not(:has(> .obj__main)) .obj__grid { padding-top: 0; }
.obj:not(:has(> .obj__main)) .obj__card::before, .obj:not(:has(> .obj__main)) .obj__card::after { display: none; }

/* Suite 321 — objectifs aux titres courts (ex. « Expression et sensibilisation ») : sur grand écran (4 colonnes), chaque titre tient sur une seule ligne, la taille s'adapte à la largeur de la carte ; en dessous, retour à la ligne normal */
@media (min-width: 1280px) {
  .obj__grid--short .obj__card { container-type: inline-size; }
  .obj__grid--short .obj__card h4 { font-size: clamp(.95rem, 6.6cqi, 1.2rem); white-space: nowrap; }
}


/* Suite 436 : « Le lieu » : les lignes d'adresse sont alignées avec le titre (plus de retrait de liste) */
.rampe-lieu .project-page__list { padding-left: 0; list-style: none; }

/* Suite 437 : fiche Keur Massar : colonne « Thématiques principales » plus large, pour limiter les retours à la ligne */
@media (min-width: 1000px) { .project-rampe[data-slug="tiers-lieu-keur-massar-senegal"] .rampe-cards { grid-template-columns: 1fr 1.5fr 1fr; } }

/* Suite 471 : mobile — tiret devant chaque ligne de « Philosophie / approche » (retrait suspendu : le texte revient à la ligne sous le texte, pas sous le tiret) */
@media (max-width: 700px) {
  .obj__approach { gap: .45rem; }
  .obj__approach li { position: relative; padding-left: 1.15em; }
  .obj__approach li::before { content: "–"; position: absolute; left: 0; top: 0; font-weight: 700; }
}

/* Suite 474 : mobile — filtres de projets compacts (pastilles plus petites, moins de lignes) */
@media (max-width: 640px) {
  .filters { gap: .3rem .25rem; margin-bottom: var(--space-3); }
  .filters__btn { min-height: 2.3rem; padding: .2rem .5rem; gap: .3rem; font-size: .68rem; letter-spacing: .01em; line-height: 1.15; white-space: nowrap; border-width: 1.5px; }
  .filters__btn svg { width: 1.05rem; height: 1.05rem; }
}

/* Suite 477 : flèches de la bande « En images » (affichées par project.js seulement si la bande défile) */
.rampe-patch-wrap { position: relative; }
.patch-arrow { position: absolute; top: calc(50% - .15rem); transform: translateY(-50%); z-index: 3; width: 2.75rem; height: 2.75rem; padding: 0; border: 2px solid var(--c-white); border-radius: 50%; background: var(--c-blue-ink); color: var(--c-white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(20,40,55,.35); }
.patch-arrow[hidden] { display: none; }
.patch-arrow--prev { left: .35rem; }
.patch-arrow--next { right: .35rem; }
.patch-arrow svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.patch-arrow:hover { background: var(--c-primary); }
.patch-arrow:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 2px; }
