/* Page antenne : bandeau, « Le pays en bref » (texte + carte discrète), « L'antenne », « Projets ». Mêmes couleurs, arrondis et typographies que le reste du site. */
.antenne-page { background: var(--c-white); }
.ant-hero { position: relative; padding: calc(var(--header-h) + var(--space-3)) 0 var(--space-4); background: var(--c-mist); border-bottom: 1px solid var(--c-border); overflow: hidden; }
/* Plus de formes décoratives dans l’en-tête : fond uni */
.ant-hero .container { position: relative; z-index: 1; }
.ant-hero__kicker { margin: 0 0 .25rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); }
.ant-hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.15; } /* Suite 199 : même taille que le titre des pages projets */
.ant-hero .antenne__status { margin: var(--space-2) 0 0; }
.ant-hero .chip { background: var(--c-white); border: 1px solid var(--c-terracotta); }
.ant-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.ant-jump 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; background: var(--c-white); }
.ant-jump a:hover { background: var(--c-blue-ink); color: var(--c-white); }

.ant-section { padding-block: var(--space-5); scroll-margin-top: calc(var(--header-h) + 1rem); }
.ant-section--tint { background: var(--c-bg-light); }
.ant-section--projects { background: var(--c-bg-soft); }
.ant-section__title { margin: 0 0 var(--space-3); }
.ant-section__title::after { content: ""; display: block; width: 3.2rem; height: .3rem; margin-top: .6rem; border-radius: 99px; background: var(--c-magenta); }
.ant-sub { margin: var(--space-4) 0 var(--space-2); font-size: 1.35rem; color: var(--c-primary); }

/* Le pays en bref */
.ant-country { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 900px) { .ant-country { grid-template-columns: 7fr 5fr; gap: var(--space-5); } }
.ant-country__lead { margin: 0 0 var(--space-3); max-width: 38rem; font-size: 1.2rem; }
.ant-facts { display: grid; gap: .75rem; margin: 0 0 var(--space-2); max-width: 38rem; }
.ant-facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--space-2); padding: .85rem 1.1rem; background: var(--c-white); border-radius: var(--radius-sm); border-left: 4px solid var(--c-primary); }
.ant-facts dt { font-weight: 700; color: var(--c-blue-ink); }
.ant-facts dd { margin: 0; }
.ant-source { margin: 0; font-size: .85rem; color: var(--c-slate); opacity: .85; }
@media (max-width: 520px) { .ant-facts > div { grid-template-columns: 1fr; gap: .15rem; } }

/* Petite carte discrète : fond de carte désaturé, teinté aux couleurs PAGAWY, non interactive */
.ant-map { margin: 0; }
.ant-map__canvas { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 20rem; border-radius: var(--radius) .5rem var(--radius) .5rem; overflow: hidden; background: var(--c-white); box-shadow: 0 0 0 3px var(--c-white), 0 0 0 5px var(--c-blue-grey); }
.ant-map__canvas .leaflet-tile-pane { filter: grayscale(1) contrast(.85) brightness(1.08); opacity: .8; }
.ant-map__canvas::after { content: ""; position: absolute; inset: 0; z-index: 450; background: var(--c-blue-pale); mix-blend-mode: multiply; opacity: .55; pointer-events: none; }
.ant-map__canvas .leaflet-control-attribution { font-size: .62rem; opacity: .75; }
.ant-map__canvas.is-empty { display: flex; align-items: center; justify-content: center; padding: var(--space-2); text-align: center; font-size: .9rem; color: var(--c-slate); background: repeating-linear-gradient(45deg, var(--c-white), var(--c-white) 12px, var(--c-mist) 12px, var(--c-mist) 24px); }
.ant-map__cap { margin-top: .5rem; font-size: .85rem; color: var(--c-slate); }

/* L'antenne */
.ant-objectives { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .ant-objectives { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ant-objectives li { padding: 1rem 1.2rem; background: var(--c-white); border: 1px solid var(--c-border); border-top: 4px solid var(--c-terracotta); border-radius: var(--radius-sm); }
.ant-section .antenne__lead { max-width: 46rem; }
.ant-section .antenne-gallery { margin-top: var(--space-4); }

/* Bloc « Nos activités » : chiffres clés et distinctions numérotées */
.ant-figures { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: var(--space-3) 0 0; padding: 0; }
@media (min-width: 800px) { .ant-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ant-figures li { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; background: var(--c-white); border: 1px solid var(--c-border); border-top: 4px solid var(--c-primary); border-radius: var(--radius-sm); }
.ant-figures strong { font-family: var(--font-display, inherit); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--c-blue-ink); }
.ant-figures span { font-size: .95rem; color: var(--c-slate); }
.ant-awards { counter-reset: prize; list-style: none; display: grid; gap: .6rem; margin: 0; padding: 0; }
.ant-awards li { counter-increment: prize; display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-weight: 700; color: var(--c-blue-ink); }
.ant-awards li::before { content: counter(prize); flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-magenta); color: var(--c-white); font-weight: 800; }
.ant-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: var(--space-4) 0 0; }

/* Un seul projet dans la liste : carte large à hauteur raisonnable (sinon la photo verticale occupe tout l'écran) */
@media (min-width: 801px) {
  #antenne-grid .project-card.is-wide:only-child .project-card__media { height: 24rem; }
  #antenne-grid .project-card.is-wide:only-child .project-card__media img { min-height: 0; }
}
/* le bouton « Dévoiler le reste » doit rester masqué quand il n'y a rien à dévoiler */
.projects__reveal [hidden], .projects__reveal:has(> [hidden]:only-child) { display: none; }

@media (min-width: 800px) { .ant-figures--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ant-figures--3 strong { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* Emplacement d'objectif encore vide (Burkina Faso) */
.ant-objectives .ant-objectives__empty { background: transparent; border: 2px dashed var(--c-border); border-top: 4px solid var(--c-terracotta); color: var(--c-slate); font-style: italic; display: flex; align-items: center; min-height: 4.2rem; }

/* Contexte géopolitique et institutionnel (Le pays en bref) */
.ant-context { margin-top: var(--space-4); padding: 1.1rem 1.3rem; background: var(--c-white); border-radius: var(--radius-sm); border-left: 4px solid var(--c-blue-ink); max-width: 56rem; }
.ant-context .ant-sub { margin-top: 0; }
.ant-context__list { margin: 0 0 var(--space-2); padding-left: 1.2rem; list-style: disc; display: grid; gap: .5rem; }

/* Fond « pays » : pas de voile bleu sur la mini-carte */
.ant-map__canvas.is-geo::after { display: none; }
.ant-map__canvas.is-geo { background: #284D63; }

/* Suite 117 — section « L'antenne » centrée (France) : titre, texte et légendes */
.ant-section--center .ant-section__title, .ant-section--center .project-page__sub { text-align: center; }
.ant-section--center .ant-section__title::after { margin-inline: auto; }
.ant-section--center .antenne__lead { margin-inline: auto; text-align: center; }
.ant-section--center figcaption { text-align: center; }

/* Suite 121 — France : 3 sections d'espaces (Fablab, Artistes/artisans, Salle) : 1 grande photo à gauche + 2 petites empilées à droite */
.ant-space { margin-bottom: var(--space-4); padding: var(--space-3); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); }
.ant-space:last-child { margin-bottom: 0; }
.ant-space__head { display: grid; gap: .5rem; justify-items: start; margin-bottom: var(--space-3); max-width: 46rem; }
.ant-space__head h3 { margin: 0; font-size: 1.5rem; }
.ant-space__head p { margin: 0; }
.ant-space__photos { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, clamp(8rem, 16vw, 14rem)); gap: .75rem; }
.ant-space__ph { margin: 0; position: relative; overflow: hidden; border-radius: .6rem; background: linear-gradient(150deg, #cfe6ea, #9ccbd3); }
.ant-space__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ant-space__ph--1 { grid-row: 1 / 3; border-radius: 2rem .6rem .6rem .6rem; }
.ant-space__ph--empty { display: grid; place-items: center; font-weight: 700; color: var(--c-blue-ink); }
@media (max-width: 599px) { .ant-space { padding: var(--space-2); } .ant-space__photos { grid-template-rows: repeat(2, 7rem); } }

/* Suite 122 — France : Contact (gauche) + Se rendre à La Rampe (droite) */
.ant-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: start; }
.ant-contact .ant-sub, .ant-venir .ant-sub { margin-top: 0; }
.ant-venir p { margin: 0 0 var(--space-1); }
.ant-venir .esp-venir__map { margin-top: var(--space-2); }
.ant-venir #espace-map { height: 16rem; }
@media (max-width: 820px) { .ant-contact-row { grid-template-columns: 1fr; } }

.ant-venir__sub { margin: var(--space-2) 0 .4rem; font-size: 1rem; color: var(--c-blue-ink); }
.ant-venir__places { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.ant-venir__todo { font-style: italic; color: var(--c-slate); }

/* Suite 195 : le bloc « contexte » occupe 75 % de la largeur de la page (ordinateur et tablette) */
/* Suite 196 : le bloc contexte prend toute la largeur disponible */
.ant-context { max-width: none; }
/* Description de l'antenne : texte à gauche, cadre photo vide à droite */
.ant-about { display: grid; gap: var(--space-4); align-items: stretch; }
.ant-about__text p { margin: 0 0 var(--space-2); }
.ant-about__photo { min-height: 14rem; border: 2px dashed var(--c-blue-ink); border-radius: var(--radius-sm); background: var(--c-white); opacity: .6; }
@media (min-width: 900px) { .ant-about { grid-template-columns: 7fr 5fr; gap: var(--space-5); } }

/* Suite 197 : contexte dépliable, galerie 50/50, logos partenaires */
.ant-context__summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; }
.ant-context__summary::-webkit-details-marker { display: none; }
.ant-context__summary::after { content: '+ Afficher'; font-size: .85rem; font-weight: 700; color: var(--c-blue-ink); white-space: nowrap; }
.ant-context[open] .ant-context__summary::after { content: '− Masquer'; }
.ant-context[open] .ant-context__summary { margin-bottom: var(--space-3); }
.ant-context__summary:focus-visible { outline: 3px solid var(--c-blue-ink); outline-offset: 3px; }
.ant-about__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-content: start; }
.ant-about__fig { margin: 0; }
.ant-about__fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.ant-about__fig--wide { grid-column: 1 / -1; }
.ant-about__fig--wide img { aspect-ratio: 16 / 9; }
.ant-about__fig figcaption { margin-top: .3rem; font-size: .85rem; }
.ant-about__gallery .ant-about__photo { grid-column: 1 / -1; }
@media (min-width: 900px) { .ant-about { grid-template-columns: 1fr 1fr; } }
.ant-section--partners .partner-list { justify-content: center; gap: 1.25rem 2.5rem; }
.ant-section--partners .partner-list__logo { height: 4.5rem; max-width: 9rem; object-fit: contain; }
.ant-section--partners .partner-list li { flex-direction: column; text-align: center; gap: .5rem; }

/* Suite 198 : titres de section au format des titres des pages projets ; « Le contexte » en casse normale */
.ant-section__title { font-size: 1.4rem; }

/* « L'antenne PAGAWY » : texte (avec titre) à gauche, carrousel photo pleine hauteur à droite, aligné sur le titre */
.ant-about { align-items: stretch; }
.ant-car { position: relative; min-height: 18rem; height: 100%; }
.ant-car__track { display: flex; height: 100%; min-height: inherit; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-sm); }
.ant-car__track::-webkit-scrollbar { display: none; }
.ant-car__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.ant-car__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ant-car__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem .7rem; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); text-align: left; }
.ant-car__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-blue-ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ant-car__btn--prev { left: .6rem; } .ant-car__btn--next { right: .6rem; }
.ant-car__btn:focus-visible, .ant-car__track:focus-visible { outline: 3px solid var(--c-blue-ink); outline-offset: 2px; }
@media (max-width: 899px) { .ant-car { height: 16rem; } }
@media (prefers-reduced-motion: reduce) { .ant-car__track { scroll-behavior: auto; } }

/* Suite 200 : « Le contexte » en capitales, titres du contexte à la taille des titres de La Rampe ; menu déplié ≤ 50 % de la fenêtre ; lien projets centré sur fond blanc */

.ant-context__summary { text-transform: none; }
.ant-context__body { max-height: 50vh; overflow-y: auto; padding-right: .5rem; }
.ant-section--projects { background: var(--c-white); }
.ant-section--center .ant-links { justify-content: center; }

/* Suite 201 : « Contexte géopolitique » = ligne dépliable dans la colonne du texte, sous « Démographie », même style que les lignes de faits */
.ant-context { margin: 0 0 var(--space-2); max-width: 38rem; padding: .85rem 1.1rem; border-left: 4px solid var(--c-primary); }
.ant-context__summary { font-size: 1rem; font-weight: 700; color: var(--c-blue-ink); font-family: inherit; }
.ant-context[open] .ant-context__summary { margin-bottom: var(--space-2); }
.ant-context__body { max-height: 50vh; }
.ant-section--partners .ant-section__title { text-align: left; }
.ant-section--partners .ant-section__title::after { margin-inline: 0; }

/* Suite 204 : « Contexte géopolitique » = même police et taille que les libellés Capitale / Langues / Démographie */
.ant-context__summary { font-size: inherit; font-family: inherit; line-height: inherit; font-weight: 700; }

/* Suite 205 : « Le contexte » à la taille des autres titres de section ; le fond de la dernière section rejoint le pied de page (plus de bande blanche) */
.site-footer { margin-top: 0; }

/* Suite 206 : Partenaires et lien « projets » resserrés ; fond de Contact = fond du bandeau de l'antenne */
#partenaires { padding-bottom: var(--space-2); }
#projets { padding-top: var(--space-2); padding-bottom: var(--space-4); }
#projets .ant-links { margin-top: 0; }
section#contact { background: var(--c-mist); }

/* Suite 208 : les noms sans logo restent alignés en bas, avec les autres noms */
.ant-section--partners .partner-list li { justify-content: flex-end; }

/* Suite 212 : partenaires en défilement (comme l'accueil) ; nom seul quand il n'y a pas de logo */
.ant-section--partners .partners__list { margin: 0; padding: 0; list-style: none; }
.partners__name { font-weight: 700; text-align: center; color: var(--c-blue-ink); line-height: 1.25; font-size: .95rem; }
.ant-section--partners .partners__marquee { margin-top: var(--space-2); }

/* Suite 214 : 1 ou 2 partenaires = logos fixes, sans défilement ni points */
.partners__marquee--static .partners__list { justify-content: flex-start; }
.partners__marquee--static .partners__list li { flex: 0 0 12.5rem; }

/* Suite 221 : « Se rendre à l'antenne » comme La Rampe ; cadres « À venir » tant que l'adresse n'est pas fournie */
.ant-venir .ant-venir__soon { min-height: 3.5rem; margin-bottom: var(--space-1); }
.ant-venir .ant-venir__mapsoon { min-height: 16rem; }
.ant-venir .esp-venir__map:has(.ant-venir__mapsoon) { background: none; border: 0; }

/* Suite 376 : photos « dézoomées » (fit: 'contain' dans data.js) : photo entière, fond = même photo floutée */
.ant-car__slide img.ant-car__bg { filter: blur(22px) brightness(.8); transform: scale(1.15); }
.ant-car__slide img.ant-car__img--contain { object-fit: contain; }

/* Suite 470 : la pastille de statut s'affiche en entier (retour à la ligne dans un seul cadre arrondi), surtout sur mobile */
.ant-hero .antenne__status .chip { display: inline-block; max-width: 100%; box-sizing: border-box; white-space: normal; line-height: 1.35; padding: .35rem .9rem; border-radius: 1.1rem; }
