/* Rubrique ONG Bidossessi 2ABA — identité propre, distincte de la clinique, sur le même socle graphique. */
:root { --ong: #cf4722; --ong-deep: #8f2c12; --ong-soft: #fff0df; --earth: #2b1d14; }

/* ---------- En-tête ONG ---------- */
.ong-page .header .container { min-height: 4.6rem; }
.ong-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
.ong-emblem { flex: 0 0 auto; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: .4rem; border-radius: 50%; background: #fff; color: var(--ong); box-shadow: inset 0 0 0 2px rgba(207,71,34,.28), 0 2px 10px rgba(43,29,20,.10); overflow: hidden; }
.ong-emblem img { width: 100%; height: 100%; object-fit: contain; }
.ong-brand-text { display: grid; line-height: 1.05; }
.ong-brand-text strong { font-size: .92rem; letter-spacing: .02em; }
.ong-brand-text em { font-family: var(--display); color: var(--ong); font-size: .95rem; }
.ong-nav { display: flex; align-items: center; gap: clamp(.4rem, 1.1vw, 1.15rem); font-weight: 700; font-size: .82rem; }
.ong-nav a { text-decoration: none; white-space: nowrap; position: relative; padding-block: .3rem; }
.ong-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.15rem; height: 2px; background: var(--ong); transition: right .3s var(--motion-ease, ease); }
.ong-nav a:hover::after, .ong-nav a[aria-current="true"]::after, .ong-nav a[aria-current="page"]::after { right: 0; }
.ong-nav a[aria-current="true"], .ong-nav a[aria-current="page"] { color: var(--ong); }
.ong-nav .nav-cta { padding: .55rem .85rem; background: var(--ong); color: #fff; }
.ong-nav .nav-cta:hover { background: var(--ink); }
.menu-toggle { display: none; align-items: center; gap: .5rem; padding: .55rem .8rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.menu-toggle span { display: block; width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.ong-page .header { position: sticky; top: 0; z-index: 20; }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .ong-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(16,46,54,.12); font-size: 1rem; }
  .ong-nav.is-open { display: flex; }
  .ong-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .ong-nav a::after { display: none; }
  .ong-nav .nav-cta { margin-top: .9rem; text-align: center; border: 0; }
  .ong-page .header .container { flex-wrap: nowrap; }
}

/* ---------- Héros ONG ---------- */
.ong-hero { position: relative; isolation: isolate; overflow: clip; color: #fff; background: var(--earth); padding: clamp(3.5rem, 8vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.ong-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(43,29,20,.96) 0%, rgba(43,29,20,.86) 42%, rgba(43,29,20,.25) 100%), var(--hero-img) center/cover no-repeat; }
.ong-hero::after { content: ""; position: absolute; z-index: -1; width: min(60vw, 720px); aspect-ratio: 1; right: -18vw; bottom: -45%; border: clamp(40px, 7vw, 90px) solid var(--ong); border-radius: 50%; opacity: .55; }
.ong-hero .section-id { color: var(--sun); }
.ong-hero .section-id::before { background: var(--sun); }
.ong-hero h1 { max-width: 12ch; color: #fff; }
.ong-hero h1 em { color: var(--sun); }
.ong-motto { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--sun); }
.ong-motto::before { content: ""; width: 2.2rem; height: 2px; background: currentColor; }
.ong-hero .lead { color: #f2e6dc; max-width: 52ch; }
.ong-hero .button { border-color: #fff; color: #fff; }
.ong-hero .button:hover { background: #fff; color: var(--ink); }
.ong-hero .button.primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 860px; border: 1px solid rgba(255,255,255,.22); }
.hero-facts div + div { border-left: 1px solid rgba(255,255,255,.22); }
.hero-facts div { padding: 1.1rem 1.2rem; background: rgba(43,29,20,.72); backdrop-filter: blur(6px); }
.hero-facts strong { display: block; font: italic 2.4rem/1 var(--display); color: var(--sun); }
.hero-facts span { font-size: .84rem; color: #f2e6dc; }

/* ---------- Sous-navigation de rubrique (sommaire) ---------- */
.rubric-index { background: var(--ink); color: #fff; }
.rubric-index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.rubric-index li { border-right: 1px solid rgba(255,255,255,.14); }
.rubric-index li:last-child { border-right: 0; }
.rubric-index a { display: block; height: 100%; padding: 1.2rem 1.1rem; text-decoration: none; transition: background .25s ease; }
.rubric-index a:hover { background: rgba(255,255,255,.07); }
.rubric-index b { display: block; color: var(--sun); font: italic 1.5rem/1 var(--display); margin-bottom: .35rem; }
.rubric-index span { font-size: .84rem; color: #d5e3df; }

/* ---------- Qui sommes-nous ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-grid .lead + p { max-width: 60ch; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.vm-card { padding: 1.6rem; background: #fff; border-top: 4px solid var(--ong); box-shadow: var(--shadow); }
.vm-card:nth-child(2) { border-top-color: var(--aqua); }
.vm-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; }
.vm-card p { margin: 0; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.value { padding: 1.4rem 1.2rem; background: var(--paper); min-height: 13rem; position: relative; overflow: hidden; }
.value:nth-child(2n) { background: var(--ong-soft); }
.value svg { width: 2.2rem; height: 2.2rem; color: var(--ong); margin-bottom: 1rem; }
.value h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.value p { font-size: .88rem; margin: 0; }
.pull-quote { margin: 3.5rem 0 0; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--ong); color: #fff; font: italic clamp(1.4rem, 3vw, 2.3rem)/1.2 var(--display); position: relative; }
.pull-quote::before { content: "“"; position: absolute; top: -2.2rem; left: 1rem; font-size: 7rem; color: var(--sun); line-height: 1; }
.pull-quote footer { margin-top: 1rem; font: 700 .8rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ong-soft); }
.distinct { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.distinct div { padding: 1.3rem; border: 1px solid var(--line); background: #fff; }
.distinct h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--aqua-dark); }
.distinct div:first-child h3 { color: var(--ong); }
.distinct p { margin: 0; font-size: .9rem; }

/* ---------- Domaines ---------- */
.domains { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.domain { display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.domain-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink); }
.domain-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--motion-ease, ease); }
.domain:hover .domain-media img { transform: scale(1.06); }
.domain-media .num { position: absolute; left: 1rem; top: .6rem; color: #fff; font: italic 3rem/1 var(--display); text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.domain-media.illustrated { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #f7b63c 0 18%, transparent 19%), radial-gradient(circle at 75% 70%, rgba(255,255,255,.18) 0 22%, transparent 23%), linear-gradient(135deg, var(--aqua) 0%, var(--ink) 100%); }
.domain-media.illustrated svg { width: 42%; height: auto; color: #fff; }
.domain-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.domain-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 0; }
.domain-body p { margin: 0; font-size: .94rem; }
.domain-body ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .88rem; color: #425b60; }
.sectors.ong-tags span { background: var(--ong); }

/* ---------- Projets ---------- */
.feature-project { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; margin-top: 2.5rem; background: var(--earth); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.feature-project figure { margin: 0; position: relative; min-height: 420px; }
.feature-project figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-project figure figcaption { position: absolute; left: 0; bottom: 0; padding: .55rem .8rem; font-size: .74rem; background: rgba(0,0,0,.55); }
.feature-body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.feature-body .kicker { color: var(--sun); margin: 0; }
.feature-body h3 { font: 400 clamp(2rem, 3.6vw, 3.1rem)/1 var(--display); letter-spacing: -.04em; margin: 0; }
.feature-body h3 em { color: var(--sun); }
.feature-body p { color: #f2e6dc; margin: 0; }
.feature-body dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: .4rem 0 0; font-size: .88rem; }
.feature-body dt { color: var(--sun); font-weight: 700; }
.feature-body dd { margin: 0; color: #f2e6dc; }
.feature-body .button { align-self: flex-start; background: var(--sun); border-color: var(--sun); color: var(--ink); margin-top: auto; }
.mini-projects { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 1.25rem; background: var(--line); border: 1px solid var(--line); }
.mini-project { padding: 1.5rem; background: #fff; }
.mini-project .status { margin-bottom: .9rem; }
.mini-project h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; }
.mini-project p { font-size: .9rem; margin: 0; }

/* ---------- Réalisations ---------- */
/* Séparateurs peints en bordures : un gap de 1px arrondi à 0 disparaît selon la largeur d'écran. */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 0; margin-top: 2.5rem; border: 1px solid rgba(255,255,255,.22); }
.stat { padding: 1.6rem 1.3rem; background: var(--ink); border-left: 1px solid rgba(255,255,255,.22); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: italic clamp(2.8rem, 5vw, 4.4rem)/1 var(--display); color: var(--sun); }
.stat span { display: block; margin-top: .6rem; font-weight: 700; }
.stat small { display: block; margin-top: .35rem; color: #b9cfca; font-size: .76rem; }
.dark-section { background: var(--ink); color: #fff; }
.dark-section .section-id { color: var(--mint); }
.dark-section .section-id::before { background: var(--sun); }
.dark-section h2 em { color: var(--sun); }
.dark-section .lead { color: #d5e3df; }
.dark-section .timeline::before { background: rgba(255,255,255,.22); }
.dark-section .timeline-content { border-bottom-color: rgba(255,255,255,.18); }
.dark-section .timeline-content p { color: #d5e3df; }
.dark-section .timeline-year { color: var(--sun); }
.dark-section .timeline-content::before { background: var(--ong); }
.dark-section .status.historic { color: var(--mint); }
.source { display: block; margin-top: .4rem; font-size: .76rem; color: #8fa9a3; }
.section:not(.dark-section) .source { color: #5f767b; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.news-card { display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); text-decoration: none; overflow: hidden; transition: transform .35s var(--motion-ease, ease); }
.news-card:hover { transform: translateY(-6px); }
.news-card figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.news-card figure img { width: 100%; height: 100%; object-fit: cover; }
.news-card figure.press img { object-fit: cover; object-position: top; }
.news-card .news-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card time { color: var(--ong); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin: 0; }
.news-card p { font-size: .88rem; margin: 0; color: #425b60; }
.news-card b { margin-top: auto; padding-top: .6rem; font-size: .85rem; }

/* ---------- Partenaires ---------- */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.partner { padding: 1.5rem; background: #fff; min-height: 11rem; }
.partner .role { display: inline-block; margin-bottom: .8rem; padding: .25rem .55rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--aqua); }
.partner.financial .role { background: var(--blue); }
.partner.ops .role { background: var(--ong); }
.partner h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.partner p { margin: 0; font-size: .88rem; }
.partner-logos { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 2rem; align-items: center; }
.partner-logos img { width: 100%; height: auto; box-shadow: var(--shadow); background: #fff; }

/* ---------- Soutenir ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.support-card { padding: 1.8rem 1.6rem; background: #fff; border-bottom: 5px solid var(--ong); box-shadow: var(--shadow); }
.support-card:nth-child(2) { border-color: var(--aqua); }
.support-card:nth-child(3) { border-color: var(--sun); }
.support-card svg { width: 2.4rem; height: 2.4rem; color: var(--ong); }
.support-card h3 { margin-top: 1rem; font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.support-card ul { margin: .8rem 0 0; padding-left: 1.1rem; font-size: .9rem; }
.support-card li + li { margin-top: .3rem; }

/* ---------- Formulaires (sans serveur : envoi via WhatsApp ou e-mail) ---------- */
.form-panel { padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.form-panel h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .35rem; font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .85rem; border: 1.5px solid rgba(16,46,54,.28); background: var(--paper); color: var(--ink); border-radius: 0; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.form-actions button { cursor: pointer; }
.form-note { margin: .9rem 0 0; font-size: .78rem; color: #5f767b; }
.form-error { display: none; margin: .8rem 0 0; padding: .6rem .8rem; background: #fde3dc; color: #7c2410; font-size: .85rem; font-weight: 700; }
.form-error.is-visible { display: block; }

.contact-ong-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-cards { display: grid; gap: .75rem; margin-top: 1.5rem; }
.contact-cards a, .contact-cards div { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-weight: 700; }
.contact-cards a:hover { background: rgba(255,255,255,.18); }
.contact-cards small { display: block; font-weight: 400; opacity: .85; }
.contact-cards .brand-icon { width: 1.5rem; height: 1.5rem; margin: 0; }
.ong-contact { background: var(--ong); color: #fff; }
.ong-contact .section-id { color: #fff; }
.ong-contact .section-id::before { background: var(--sun); }
.ong-contact h2 em { color: var(--ink); }
.ong-contact .lead { color: #fff4ea; }

/* ---------- Page projet : galeries ---------- */
.project-hero { --hero-img: none; }
.breadcrumb { font-size: .8rem; margin-bottom: 1.4rem; color: #f2e6dc; }
.breadcrumb a { color: #fff; font-weight: 700; }
.context-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.context-grid figure { margin: 0; }
.context-grid figure img { width: 100%; height: auto; box-shadow: var(--shadow); }
.context-grid figcaption { font-size: .76rem; color: #5f767b; margin-top: .6rem; }
.objectives { counter-reset: obj; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.objective { counter-increment: obj; padding: 1.5rem 1.4rem 1.5rem 4.4rem; background: #fff; position: relative; }
.objective::before { content: counter(obj, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.1rem; color: var(--ong); font: italic 2.2rem/1 var(--display); }
.objective h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.objective p { margin: 0; font-size: .9rem; }
.pathologies { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.pathologies span { padding: .5rem .75rem; border: 1.5px solid var(--ong); color: var(--ong-deep); font-weight: 700; font-size: .85rem; background: #fff; }

.phase { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.phase-head { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: end; margin-bottom: 2rem; }
.phase-num { font: italic clamp(4rem, 9vw, 7.5rem)/.8 var(--display); color: var(--ong); }
.phase-head h2 { margin-bottom: .6rem; }
.phase-head p { margin: 0; max-width: 62ch; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: .6rem; }
.gallery button { all: unset; position: relative; display: block; overflow: hidden; cursor: zoom-in; background: var(--ink); }
.gallery button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--motion-ease, ease), filter .5s ease; }
.gallery button:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .cap { position: absolute; inset: auto 0 0 0; padding: .9rem .8rem .6rem; color: #fff; font-size: .76rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.gallery button:hover .cap, .gallery button:focus-visible .cap { opacity: 1; transform: none; }
.gallery-band img { width: 100%; height: auto; display: block; }

.lightbox { position: fixed; inset: 0; z-index: 1100; display: none; place-items: center; padding: 3.5rem 4.5rem; background: rgba(8,20,24,.97); }
.lightbox.is-open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #e2eeea; font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: var(--ong); border-color: var(--ong); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 1.5rem; left: 1.5rem; color: #b9cfca; font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
body.lb-open { overflow: hidden; }

.press-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; margin-top: 2rem; }
.press-row a { display: block; text-decoration: none; background: #fff; box-shadow: var(--shadow); }
.press-row img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.press-row .doc-card { display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; aspect-ratio: auto; background: var(--earth); color: #fff; min-height: 100%; }
.press-row .doc-card svg { width: 3rem; height: 3rem; color: var(--sun); }
.press-row .doc-card h3 { font: 400 1.6rem/1.1 var(--display); margin: 1rem 0 .4rem; }
.press-row span.meta { display: block; padding: .8rem 1rem; font-size: .82rem; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .rubric-index ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rubric-index li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .about-grid, .contact-ong-grid, .context-grid, .feature-project, .partner-logos { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .domains, .news-grid, .support-grid, .partners, .mini-projects, .press-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.22); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
  .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); grid-auto-rows: 180px; }
  .feature-project figure { min-height: 300px; }
}
@media (max-width: 620px) {
  .ong-brand-text strong { font-size: .8rem; }
  .ong-emblem { width: 2.5rem; height: 2.5rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .rubric-index ol { grid-template-columns: 1fr 1fr; }
  .rubric-index a { padding: .9rem .8rem; }
  .vm-grid, .distinct, .values, .domains, .news-grid, .support-grid, .partners, .mini-projects, .objectives, .form-grid, .press-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .value { min-height: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 150px; }
  .gallery .big { grid-column: span 2; }
  .gallery .cap { opacity: 1; transform: none; }
  .phase-head { grid-template-columns: 1fr; gap: .5rem; }
  .lightbox { padding: 3.5rem .5rem 4.5rem; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 3.5rem); }
  .lightbox .lb-next { right: calc(50% - 3.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery img, .domain-media img, .news-card { transition: none !important; }
}
.phase-head h2 { max-width: 22ch; }
.press-row a:not(.doc-card) img { aspect-ratio: auto; height: auto; object-fit: contain; }
.ong-contact .button { border-color: #fff; color: #fff; }
.ong-contact .button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ong-contact .button.primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.ong-contact .form-panel .button { border-color: var(--ink); color: var(--ink); }
.ong-contact .form-panel .button.primary { background: var(--ong); border-color: var(--ong); color: #fff; }
.ong-contact .form-panel .button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   BLOC MARQUE ONG — en-tête et pied de page de référence repris du site
   (emblème + nom + devise, sommaire de rubrique, pied de page à 3 colonnes).
   Réutilisé tel quel par la clinique et par PRIORIS.
   ========================================================================== */
.ong-page .topline { background: var(--earth); border-bottom: 0; color: #f2e6dc; }
.ong-page .topline .container { align-items: center; }
.ong-page .topline span, .ong-page .topline a { color: #f2e6dc; }
.ong-page .topline a { border-bottom: 1px solid rgba(247,182,60,.5); padding-bottom: 1px; }
.ong-page .topline a:hover { color: var(--sun); border-color: var(--sun); }
.ong-page .header { background: rgba(247,249,245,.96); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(43,29,20,.06); }
.ong-page .header .container { min-height: 5.1rem; }
.ong-brand-text strong { font-family: var(--sans); font-weight: 800; font-size: .98rem; letter-spacing: -.01em; color: var(--earth); }
.ong-brand-text em { margin-top: .22rem; font-size: 1rem; color: var(--ong); }
.ong-page .footer .ong-brand-text strong { color: #fff; }
.ong-page .footer .ong-emblem { box-shadow: inset 0 0 0 2px rgba(255,255,255,.4), 0 4px 14px rgba(0,0,0,.35); }

/* Bandeau d'identification de rubrique sous l'en-tête */
.rubric-band { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1rem; margin: 0 0 1.4rem; padding: .45rem .9rem; border-left: 3px solid var(--ong); background: rgba(255,255,255,.07); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.rubric-band b { color: var(--sun); font-weight: 800; }
.rubric-band span { opacity: .9; }

/* ---------- Héros avec logo dans l'anneau (comme le cœur de l'ONG) ---------- */
.ong-hero .hero-orbit { position: absolute; z-index: 0; right: clamp(1rem, 6vw, 7rem); top: clamp(3rem, 7vw, 6rem); width: clamp(11rem, 17vw, 16.5rem); aspect-ratio: 1; display: grid; place-items: center; }
.ong-hero .hero-orbit::before { content: ""; position: absolute; inset: 0; border: clamp(12px, 1.6vw, 20px) solid var(--ong); border-radius: 50%; opacity: .6; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ong-hero .hero-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(247,182,60,.55); border-radius: 50%; animation: slow-orbit 34s linear infinite; }
.ong-hero .hero-orbit img { position: relative; z-index: 1; width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); }
.ong-hero .container { position: relative; z-index: 1; }
.ong-hero { padding-bottom: clamp(5rem, 10vw, 9rem); }

/* ---------- Domaines : cartes 01 / 02 / 03 ---------- */
.domains { gap: 1.4rem; }
.domain { position: relative; border-bottom: 4px solid var(--ong); transition: transform .35s var(--motion-ease, ease), box-shadow .35s ease; }
.domain:nth-child(2) { border-bottom-color: var(--aqua); }
.domain:nth-child(3) { border-bottom-color: var(--sun); }
.domain:hover { transform: translateY(-6px); }
.domain-media .num { left: auto; right: .9rem; top: .5rem; padding: 0 .45rem; background: rgba(43,29,20,.55); backdrop-filter: blur(4px); }
.domain-media figcaption, .domain-media .tag { position: absolute; left: .9rem; bottom: .8rem; padding: .3rem .6rem; background: var(--sun); color: var(--earth); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.domain-media.illustrated { background: radial-gradient(circle at 30% 30%, #f7b63c 0 18%, transparent 19%), radial-gradient(circle at 75% 70%, rgba(255,255,255,.18) 0 22%, transparent 23%), linear-gradient(135deg, var(--aqua) 0%, var(--ink) 100%); }
.domain-body h3 { font-size: 1.55rem; }
.domain-body ul { margin-top: .5rem; }
.domain-body ul li::marker { color: var(--ong); }

/* ---------- Sommaire de rubrique réutilisable (clinique, PRIORIS) ---------- */
.rubric-index ol.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.rubric-index ol.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .rubric-index ol.three, .rubric-index ol.four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .rubric-index ol.three, .rubric-index ol.four { grid-template-columns: 1fr 1fr; } }

/* ---------- Marque dans les pages sœurs ---------- */
/* Les logos de la clinique et de PRIORIS sont des logotypes complets (nom + armoiries) :
   on garde la même construction d'en-tête que l'ONG (topline, bloc marque, nav soulignée,
   bouton Menu mobile) mais la marque s'affiche sur une plaque lisible. */
.brand-plate { display: flex; align-items: center; padding: .35rem .55rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(43,29,20,.08); border-radius: .35rem; transition: box-shadow .3s ease, transform .3s ease; }
.ong-brand:hover .brand-plate { box-shadow: 0 8px 22px rgba(43,29,20,.16); transform: translateY(-1px); }
.brand-plate img { display: block; width: auto; }
.clinic-brand .brand-plate img { height: 2.6rem; }
.prioris-brand .brand-plate img { height: 2.3rem; }
.ong-page .footer .brand-plate { background: #fff; border-color: transparent; padding: .5rem .7rem; }
.ong-page .footer .clinic-brand .brand-plate img { height: 2.4rem; }
.ong-page .footer .prioris-brand .brand-plate img { height: 2.1rem; }
@media (max-width: 620px) {
  .clinic-brand .brand-plate img { height: 2rem; }
  .prioris-brand .brand-plate img { height: 1.85rem; }
}
.brand-official.brand-lockup { display: flex; align-items: center; gap: .7rem; }
.brand-lockup .ong-brand-text strong { font-size: .95rem; }
.brand-lockup .ong-brand-text em { font-size: .92rem; }
.clinic-brand .ong-emblem { background: #fff; }
.prioris-brand .ong-emblem { background: #fff; }
.prioris-brand .ong-brand-text em { color: var(--blue); }
@media (max-width: 620px) {
  .ong-emblem { width: 2.9rem; height: 2.9rem; padding: .3rem; }
  .brand-lockup .ong-brand-text strong { font-size: .78rem; }
  .brand-lockup .ong-brand-text em { font-size: .8rem; }
  .ong-hero .hero-orbit { display: none; }
}

@media (max-width: 1000px) { .ong-hero .hero-orbit { display: none; } }
