/* Stay In Africa — feuille de style du site public
   Couleurs du logo : orange et bleu, sur fond blanc. Filets fins, coins 4px, pas de dégradés. */

@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/public-sans.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-italic.woff2') format('woff2'); }

:root {
    --orange: #f26419;
    --orange-fonce: #d24e08;
    --orange-pale: #fff1e7;
    --bleu: #1669c4;
    --bleu-fonce: #0b3f7c;
    --bleu-nuit: #082d5a;
    --bleu-pale: #eaf3fc;
    --blanc: #ffffff;
    --encre: #0f2340;
    --texte: #2f3b4d;
    --gris: #5f6b7c;
    --filet: #dfe6ef;
    --filet-sombre: rgba(255, 255, 255, .22);
    --serif: 'Source Serif 4', Georgia, serif;
    --sans: 'Public Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --rayon: 4px;
    --largeur: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--texte); background: var(--blanc); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--encre); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.orange { color: var(--orange); }
.bleu { color: var(--bleu); }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 820px; }
.lien-evitement { position: absolute; left: -999px; top: 8px; background: var(--bleu); color: #fff; padding: 8px 14px; z-index: 100; }
.lien-evitement:focus { left: 8px; }

/* ---------- Bandeau supérieur ---------- */
.bandeau { background: var(--bleu); color: rgba(255,255,255,.92); font-size: .82rem; }
.bandeau .conteneur { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.bandeau a { text-decoration: none; }
.bandeau a:hover { color: #fff; text-decoration: underline; }
.bandeau-infos { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--filet); backdrop-filter: blur(6px); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-size: .94rem; font-weight: 600; color: var(--encre); padding: 8px 11px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--orange); }
.nav a.actif { color: var(--orange); border-bottom-color: var(--orange); }
.nav .bouton { margin-left: 10px; border-bottom: 0; }
.menu-bascule { display: none; background: none; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 9px 12px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--encre); }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff !important; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 14px 24px; border-radius: var(--rayon); border: 2px solid var(--orange); cursor: pointer; font-family: var(--sans); transition: background .15s, border-color .15s, color .15s; }
.bouton:hover { background: var(--orange-fonce); border-color: var(--orange-fonce); }
.bouton.bleu-plein { background: var(--bleu); border-color: var(--bleu); }
.bouton.bleu-plein:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); }
.bouton.secondaire { background: transparent; color: var(--bleu) !important; border-color: var(--bleu); }
.bouton.secondaire:hover { background: var(--bleu); color: #fff !important; }
.bouton.clair { background: transparent; color: #fff !important; border-color: #fff; }
.bouton.clair:hover { background: #fff; color: var(--bleu-fonce) !important; }
.bouton.blanc { background: #fff; color: var(--orange-fonce) !important; border-color: #fff; }
.bouton.blanc:hover { background: var(--bleu-nuit); border-color: var(--bleu-nuit); color: #fff !important; }
.lien-fleche { display: inline-block; font-weight: 700; color: var(--bleu); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.lien-fleche::after { content: ' →'; }
.lien-fleche:hover { color: var(--orange); }

.surtitre { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }

/* ---------- Accueil : héro ---------- */
.hero-accueil { background: var(--orange-pale); overflow: hidden; }
.hero-accueil .conteneur { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-accueil h1 { max-width: 13ch; }
.hero-accueil .chapeau { font-size: 1.2rem; color: var(--texte); max-width: 52ch; margin-bottom: 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-preuves { display: flex; gap: 32px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(15, 35, 64, .12); }
.hero-preuves strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--bleu); line-height: 1; letter-spacing: -.02em; }
.hero-preuves span { font-size: .88rem; color: var(--gris); }
.mosaique { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 540px; }
.mosaique .photo { border-radius: var(--rayon); }
.mosaique .m1 { grid-row: 1 / span 2; }
.carte-flottante { position: absolute; left: -32px; bottom: 34px; background: var(--bleu); color: #fff; padding: 18px 22px; border-radius: var(--rayon); max-width: 270px; box-shadow: 0 18px 40px rgba(11, 63, 124, .25); }
.carte-flottante strong { display: block; font-size: 1.05rem; font-weight: 800; }
.carte-flottante span { font-size: .88rem; color: rgba(255,255,255,.88); }

/* En-tête des pages intérieures */
.entete-page { background: var(--bleu-pale); border-bottom: 1px solid var(--filet); }
.entete-page .conteneur { padding-top: 64px; padding-bottom: 56px; }
.entete-page h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 22ch; }
.entete-page p { font-size: 1.15rem; max-width: 62ch; color: var(--gris); margin: 0; }
.fil { font-size: .85rem; color: var(--gris); margin-bottom: 22px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.compacte { padding: 64px 0; }
.section.creme { background: var(--bleu-pale); }
.section.sombre { background: var(--bleu-fonce); color: rgba(255,255,255,.9); }
.section.orange-vif { background: var(--orange); color: #fff; }
.section.sombre h2, .section.sombre h3, .section.orange-vif h2, .section.orange-vif h3 { color: #fff; }
.section.sombre .surtitre { color: #ffb382; }
.section.orange-vif .surtitre { color: #fff; opacity: .85; }
.titre-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 52px; }
.titre-section h2 { margin: 0; }
.titre-section p { margin: 0; color: var(--gris); }
.section.sombre .titre-section p { color: rgba(255,255,255,.78); }
.titre-section.seul { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.chiffre { padding: 34px 28px; border-left: 1px solid var(--filet); }
.chiffre:first-child { border-left: 0; padding-left: 0; }
.chiffre strong { display: block; font-size: clamp(2.3rem, 3.8vw, 3.2rem); font-weight: 800; color: var(--bleu); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.chiffre span { font-size: .95rem; color: var(--gris); }
.section.sombre .chiffres, .bande-chiffres .chiffres { border-color: var(--filet-sombre); }
.section.sombre .chiffre, .bande-chiffres .chiffre { border-color: var(--filet-sombre); }
.section.sombre .chiffre strong, .bande-chiffres .chiffre strong { color: #fff; }
.section.sombre .chiffre span, .bande-chiffres .chiffre span { color: rgba(255,255,255,.85); }

.bande-chiffres { background: var(--bleu); color: #fff; }
.bande-chiffres .chiffres { border: 0; }
.bande-chiffres .chiffre { padding-top: 40px; padding-bottom: 40px; }

/* ---------- Grilles ---------- */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.deux-colonnes.haut { align-items: start; }
.colonnes-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

.photo { border-radius: var(--rayon); overflow: hidden; background: var(--bleu-pale); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.paysage { aspect-ratio: 3 / 2; }
.legende { font-size: .85rem; color: var(--gris); margin-top: 10px; }

/* Axes numérotés (liste) */
.axes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.axes li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-top: 1px solid var(--filet); }
.axes .num { font-size: 1.05rem; color: var(--orange); font-weight: 800; padding-top: 2px; }
.axes h3 { font-size: 1.15rem; margin-bottom: 6px; }
.axes p { margin: 0; font-size: .96rem; color: var(--gris); }

/* Axes en cartes (accueil) */
.cartes-axes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.carte-axe { background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.carte-axe:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 35, 64, .09); }
.carte-axe .num { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; color: var(--orange); }
.carte-axe:nth-child(even) .num { color: var(--bleu); }
.carte-axe h3 { margin-bottom: 8px; }
.carte-axe p { margin: 0; font-size: .94rem; color: var(--gris); }
.carte-axe.appel-carte { background: var(--orange); border-color: var(--orange); color: #fff; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.carte-axe.appel-carte h3 { color: #fff; font-size: 1.35rem; }
.carte-axe.appel-carte span { font-weight: 700; }
.carte-axe.appel-carte:hover { background: var(--orange-fonce); }

/* Liste à filets */
.liste-filets { list-style: none; }
.liste-filets li { padding: 13px 0 13px 26px; border-top: 1px solid var(--filet); position: relative; }
.liste-filets li:last-child { border-bottom: 1px solid var(--filet); }
.liste-filets li::before { content: ''; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--orange); }
.section.sombre .liste-filets li, .section.orange-vif .liste-filets li { border-color: var(--filet-sombre); }
.section.orange-vif .liste-filets li::before { background: #fff; }

/* Citation */
.citation { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.42; color: var(--encre); font-style: italic; margin: 0 0 28px; }
.citation::before { content: '« '; color: var(--orange); }
.citation::after { content: ' »'; color: var(--orange); }
.citation.sans-guillemets::before, .citation.sans-guillemets::after { content: none; }
.signature-auteur strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--encre); }
.signature-auteur span { font-size: .92rem; color: var(--gris); }

/* Cartes */
.carte { border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 35, 64, .09); }
.carte .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.carte-corps { padding: 28px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.carte-corps p { color: var(--gris); font-size: .97rem; }
.carte-corps .lien-fleche { margin-top: auto; align-self: flex-start; }
.etiquette { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); margin-bottom: 8px; }

/* Bloc événement */
.evenement { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--rayon); overflow: hidden; background: var(--bleu-nuit); }
.evenement .photo { border-radius: 0; min-height: 360px; }
.evenement .photo img { object-position: center 75%; }
.evenement-corps { padding: 48px; }
.etapes { list-style: none; margin: 24px 0 32px; }
.etapes li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--filet-sombre); font-size: .95rem; }
.etapes strong { color: #ffb382; font-weight: 800; }
.section:not(.sombre):not(.orange-vif) .etapes li { border-color: var(--filet); }
.section:not(.sombre):not(.orange-vif) .etapes strong { color: var(--orange); }
.section.orange-vif .etapes strong { color: #fff; }

/* Accueil : bande internationale */
.villes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 34px; padding: 0; list-style: none; font-weight: 700; color: #fff; }
.villes li::after { content: '·'; margin-left: 26px; color: #ffb382; }
.villes li:last-child::after { content: none; }
.bande-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 72px; }
.bande-photos .photo { aspect-ratio: 1; }
.section.sombre .bande-photos { margin: 56px 0 0; }

/* Chronologie */
.chronologie { list-style: none; border-left: 2px solid var(--filet); margin-left: 6px; }
.chronologie li { position: relative; padding: 0 0 36px 34px; }
.chronologie li::before { content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; background: var(--orange); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--orange); }
.chronologie .annee { font-weight: 800; color: var(--bleu); font-size: 1.05rem; }
.chronologie h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.chronologie p { margin: 0; color: var(--gris); }

/* Tableaux */
.tableau-conteneur { overflow-x: auto; border-top: 2px solid var(--bleu); }
table.tableau { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tableau th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); font-weight: 700; padding: 14px 16px 12px 0; border-bottom: 1px solid var(--filet); }
.tableau td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau td:first-child { font-weight: 700; color: var(--encre); width: 40%; }
.tableau td.date { white-space: nowrap; color: var(--orange-fonce); font-weight: 600; }

/* Cadres d'engagement */
.cadre { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--filet); }
.cadre:first-of-type { border-top: 0; padding-top: 0; }
.cadre-titre h2 { font-size: 1.9rem; }
.cadre-titre p { color: var(--gris); font-size: .95rem; }
.compte { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--orange); margin-bottom: 8px; letter-spacing: -.04em; }

/* Réalisations */
.realisation { border-top: 1px solid var(--filet); padding-top: 22px; }
.realisation h3 { margin-bottom: 4px; }
.realisation .lieu { font-size: .9rem; color: var(--gris); margin-bottom: 14px; }
.realisation dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: .92rem; }
.realisation dt { color: var(--gris); }
.realisation dd { margin: 0; font-weight: 700; color: var(--encre); }
.realisation .statut { margin-top: 14px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1d8a4a; }

/* Partenaires */
.partenaire { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding: 40px 0; border-top: 1px solid var(--filet); }
.partenaire h3 { font-size: 1.25rem; }
.partenaire .nom-long { font-size: .9rem; color: var(--gris); }
.logos-partenaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); }
.partenaire-carte { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px; padding: 20px 16px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); text-align: center; text-decoration: none; transition: background .15s; }
a.partenaire-carte:hover { background: var(--bleu-pale); }
.partenaire-carte img { max-height: 64px; max-width: 140px; width: auto; object-fit: contain; }
.partenaire-nom { font-size: .8rem; font-weight: 700; color: var(--gris); }
.partenaire-sans-logo { font-weight: 800; color: var(--bleu-fonce); font-size: 1rem; line-height: 1.3; }

/* Actualités */
.actu { display: flex; flex-direction: column; text-decoration: none; }
.actu .photo { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.actu .photo img { transition: transform .4s; }
.actu:hover .photo img { transform: scale(1.04); }
.actu-meta { font-size: .82rem; color: var(--gris); margin-bottom: 8px; }
.actu-meta b { color: var(--orange); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; margin-right: 8px; }
.actu h3 { font-size: 1.18rem; transition: color .15s; }
.actu:hover h3 { color: var(--bleu); }
.actu p { font-size: .95rem; color: var(--gris); }

.article { font-size: 1.1rem; }
.article p:first-of-type { font-size: 1.22rem; color: var(--encre); }
.article-photo { margin: 0 0 40px; }
.article h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.article h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .35em; }
.article a { color: var(--bleu); }
.article blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--orange); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--encre); }
.article img { border-radius: var(--rayon); margin: 1.4em 0; height: auto; }

/* Galerie */
.galerie { columns: 3 300px; column-gap: 20px; }
.galerie figure { margin: 0 0 20px; break-inside: avoid; }
.galerie button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; border-radius: var(--rayon); overflow: hidden; }
.galerie img { width: 100%; height: auto; transition: transform .4s; }
.galerie button:hover img { transform: scale(1.03); }
.galerie figcaption { font-size: .85rem; color: var(--gris); padding-top: 8px; }
.visionneuse { position: fixed; inset: 0; background: rgba(6, 22, 45, .95); z-index: 200; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
.visionneuse.ouverte { display: flex; }
.visionneuse img { max-height: 80vh; max-width: 92vw; border-radius: var(--rayon); }
.visionneuse p { color: #fff; margin-top: 14px; text-align: center; }
.visionneuse button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: inherit; padding: 8px 14px; border-radius: var(--rayon); cursor: pointer; }
.visionneuse .fermer { top: 20px; right: 20px; }
.visionneuse .prec { left: 20px; top: 50%; }
.visionneuse .suiv { right: 20px; top: 50%; }

/* Formulaire */
.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-size: .88rem; font-weight: 700; color: var(--encre); }
.champ label small { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea { font: inherit; font-size: 1rem; color: var(--encre); padding: 12px 14px; border: 1px solid #c4cfdc; border-radius: var(--rayon); background: var(--blanc); width: 100%; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f2340' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.champ textarea { min-height: 170px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--bleu); outline-offset: 1px; border-color: var(--bleu); }
.champ .erreur { font-size: .85rem; color: #b42318; }
.champ-piege { position: absolute; left: -5000px; }
.alerte { padding: 16px 20px; border-radius: var(--rayon); margin-bottom: 28px; border: 1px solid; }
.alerte.succes { background: #eef8f1; border-color: #a7d7b6; color: #1b5e33; }
.alerte.erreur { background: #fdf0ee; border-color: #f0b8af; color: #8a2414; }

.coordonnees { list-style: none; }
.coordonnees li { padding: 18px 0; border-top: 1px solid var(--filet); }
.coordonnees span { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-bottom: 4px; }
.coordonnees a { text-decoration: none; font-weight: 700; color: var(--bleu); }
.coordonnees a:hover { color: var(--orange); }

/* Appel à l'action */
.appel { background: var(--orange); color: #fff; }
.appel .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.appel h2 { color: #fff; margin: 0 0 8px; max-width: 24ch; }
.appel p { margin: 0; color: rgba(255,255,255,.94); max-width: 58ch; }
.appel .bouton { background: #fff; border-color: #fff; color: var(--orange-fonce) !important; flex-shrink: 0; }
.appel .bouton:hover { background: var(--bleu-nuit); border-color: var(--bleu-nuit); color: #fff !important; }

/* ---------- Pied de page ---------- */
.pied { background: var(--bleu-nuit); color: rgba(255,255,255,.78); font-size: .93rem; }
.pied .conteneur { padding-top: 72px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.pied h4 { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.pied ul { list-style: none; }
.pied li { margin-bottom: 9px; }
.pied a { text-decoration: none; }
.pied a:hover { color: #ffb382; }
.pied-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--rayon); margin-bottom: 18px; }
.pied-logo img { height: 54px; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 92px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- Apparition au défilement ---------- */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .carte:hover, .carte-axe:hover { transform: none; } }

/* ---------- Adaptatif ---------- */
@media (max-width: 1080px) {
    .nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 24px; border-bottom: 1px solid var(--filet); display: none; max-height: calc(100vh - 84px); overflow-y: auto; }
    .nav.ouvert { display: flex; }
    .nav a { padding: 13px 0; border-bottom: 1px solid var(--filet); }
    .nav a.actif { border-bottom-color: var(--filet); }
    .nav .bouton { margin: 16px 0 0; justify-content: center; }
    .menu-bascule { display: block; }
    .pied-grille { grid-template-columns: 1fr 1fr; }
    .grille-4, .cartes-axes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-accueil .conteneur { grid-template-columns: 1fr; gap: 48px; }
    .carte-flottante { left: 16px; }
}
@media (max-width: 860px) {
    body { font-size: 16px; }
    .section { padding: 68px 0; }
    .titre-section, .deux-colonnes, .colonnes-contact, .evenement, .cadre, .partenaire { grid-template-columns: 1fr; gap: 28px; }
    .grille-3, .grille-2 { grid-template-columns: 1fr; }
    .axes { grid-template-columns: 1fr; }
    .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chiffre { padding: 24px 18px; }
    .chiffre:nth-child(3) { border-left: 0; padding-left: 0; }
    .chiffre:nth-child(n+3) { border-top: 1px solid var(--filet); }
    .section.sombre .chiffre:nth-child(n+3), .bande-chiffres .chiffre:nth-child(n+3) { border-top-color: var(--filet-sombre); }
    .bande-chiffres .chiffre { padding-top: 26px; padding-bottom: 26px; }
    .evenement-corps { padding: 32px 24px; }
    .evenement .photo { min-height: 240px; }
    .appel .conteneur { flex-direction: column; align-items: flex-start; }
    .hero-accueil .conteneur { padding-top: 48px; padding-bottom: 64px; }
    .mosaique { height: 380px; }
    .bande-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 48px; }
    .bandeau-infos span:last-child { display: none; }
}
@media (max-width: 560px) {
    .conteneur { padding: 0 16px; }
    .entete .conteneur { height: 72px; }
    .marque img { height: 50px; }
    .nav { inset: 72px 0 auto 0; }
    .formulaire { grid-template-columns: 1fr; }
    .pied-grille { grid-template-columns: 1fr; }
    .grille-4, .cartes-axes { grid-template-columns: 1fr; }
    .etapes li { grid-template-columns: 1fr; gap: 2px; }
    .bandeau { display: none; }
    .tableau td:first-child { width: auto; }
    .hero-preuves { gap: 22px; flex-wrap: wrap; }
    .mosaique { height: 300px; gap: 10px; }
    .carte-flottante { position: static; margin-top: 14px; max-width: none; grid-column: 1 / -1; }
    .mosaique { grid-template-rows: 1fr 1fr auto; height: auto; }
    .mosaique .photo { min-height: 140px; }
}

/* ---------- Accueil : bandeau défilant « En ce moment » ---------- */
.a-la-une { background: var(--bleu-nuit); color: #fff; padding: 48px 0 40px; }
.a-la-une .surtitre { color: #ffb382; margin: 0; }
.a-la-une-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.a-la-une-fleches { display: flex; gap: 8px; }
.a-la-une-fleches button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: var(--rayon); font-size: 1.1rem; cursor: pointer; transition: background .15s, border-color .15s; }
.a-la-une-fleches button:hover { background: var(--orange); border-color: var(--orange); }
.defileur { overflow: hidden; border-radius: var(--rayon); touch-action: pan-y; }
.defileur-piste { display: flex; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.diapo { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--bleu-fonce); min-height: 380px; }
.diapo-photo { display: block; position: relative; overflow: hidden; background: var(--bleu); }
.diapo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.diapo.courante .diapo-photo img { transform: scale(1.06); }
.diapo-texte { padding: 32px 40px; display: flex; flex-direction: column; justify-content: center; }
.diapo-texte .actu-meta { color: rgba(255,255,255,.75); }
.diapo-texte .actu-meta b { color: #ffb382; }
.diapo-texte h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); color: #fff; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.diapo-texte h2 a { text-decoration: none; }
.diapo-texte h2 a:hover { color: #ffb382; }
.diapo-texte p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.diapo-texte .bouton { align-self: flex-start; }
.defileur-reperes { display: flex; gap: 10px; margin-top: 18px; }
.defileur-reperes button { flex: 1; max-width: 120px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.defileur-reperes span { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.defileur-reperes span::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.defileur-reperes button.vu span::after { transform: scaleX(1); }
.defileur-reperes button.actif span::after { animation: remplir var(--delai-defile, 6.5s) linear forwards; }
.a-la-une.en-pause .defileur-reperes button.actif span::after { animation-play-state: paused; }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Accueil : mot du président (version courte) ---------- */
.president-court { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 980px; }
.president-court .photo { aspect-ratio: 1; }
.president-court .citation { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 20px; }
.president-court .pied-citation { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
    .diapo { grid-template-columns: 1fr; height: auto; }
    .diapo-photo { aspect-ratio: 16 / 9; }
    .diapo-texte { padding: 26px 22px 30px; }
    .president-court { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; }
}
@media (max-width: 560px) {
    .a-la-une { padding: 32px 0 28px; }
    .president-court { grid-template-columns: 1fr; }
    .president-court .photo { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    .defileur-piste, .diapo-photo img { transition: none; }
    .diapo.courante .diapo-photo img { transform: none; }
    .defileur-reperes button.actif span::after { animation: none; transform: scaleX(1); }
}

/* Mosaïque de l'accueil avec moins de 3 photos */
.mosaique.nb-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaique.nb-2 .photo:nth-child(2) { grid-row: 1 / span 2; }

/* Mention d'une diapositive du bandeau « À la une » */
.mention-bandeau { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; color: #fff; margin-bottom: 16px; }
.mention-bandeau.evenement { background: var(--orange); border-color: var(--orange); }
.galerie-article { columns: 2 220px; }

/* Réseaux sociaux (pied de page) */
.reseaux { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.reseaux a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--rayon); color: #fff; font-weight: 700; font-size: .88rem; transition: background .15s, border-color .15s; }
.reseaux a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Bouton WhatsApp flottant */
.bouton-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: #1fa855; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 13px 18px; border-radius: var(--rayon); box-shadow: 0 12px 28px rgba(8, 45, 90, .28); transition: background .15s, transform .15s; }
.bouton-whatsapp:hover { background: #178a45; transform: translateY(-2px); }
@media (max-width: 560px) {
    .bouton-whatsapp { right: 14px; bottom: 14px; padding: 13px; }
    .bouton-whatsapp span { display: none; }
}
@media print { .bouton-whatsapp { display: none; } }

/* Partage vers les réseaux sociaux (pages d'actualité) */
.partage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; }
.partage-titre { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.partage ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.partage a, .partage button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--filet); border-radius: var(--rayon); background: #fff; color: var(--bleu-nuit); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.partage a:hover, .partage button:hover, .partage a:focus-visible, .partage button:focus-visible { color: #fff; border-color: transparent; }
.partage .partage-facebook:hover, .partage .partage-facebook:focus-visible { background: #1877f2; }
.partage .partage-whatsapp:hover, .partage .partage-whatsapp:focus-visible { background: #1fa855; }
.partage .partage-linkedin:hover, .partage .partage-linkedin:focus-visible { background: #0a66c2; }
.partage .partage-x:hover, .partage .partage-x:focus-visible { background: #111; }
.partage .partage-telegram:hover, .partage .partage-telegram:focus-visible { background: #229ed9; }
.partage .partage-courriel:hover, .partage .partage-courriel:focus-visible,
.partage button:hover, .partage button:focus-visible { background: var(--orange); }
.partage-confirmation { font-size: .85rem; color: var(--bleu); }
.partage-confirmation:empty { display: none; }
.article-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--filet); }
.article-pied .partage { margin-top: 0; }

/* Médiathèque : bascule photos / vidéos et galerie vidéo */
.onglets-mediatheque { display: flex; gap: 28px; border-bottom: 1px solid var(--filet); margin-bottom: 36px; }
.onglets-mediatheque a { padding: 0 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; text-decoration: none; font-weight: 700; color: var(--gris); }
.onglets-mediatheque a span { font-weight: 400; }
.onglets-mediatheque a:hover { color: var(--bleu-nuit); }
.onglets-mediatheque a[aria-current="page"] { color: var(--bleu-nuit); border-bottom-color: var(--orange); }
.vide { color: var(--gris); max-width: 60ch; }
.video-vignette { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--bleu-nuit); border-radius: var(--rayon); overflow: hidden; cursor: pointer; }
.video-vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.video-vignette:hover img, .video-vignette:focus-visible img { transform: scale(1.03); opacity: .85; }
.video-lire { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 40px; background: var(--orange); color: #fff; border-radius: var(--rayon); transition: background .15s; }
.video-vignette:hover .video-lire, .video-vignette:focus-visible .video-lire { background: var(--bleu-nuit); }
.video-texte { padding-top: 16px; }
.video-texte h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.video-texte p { color: var(--gris); font-size: .95rem; margin: 0 0 12px; }
.lecteur-video { position: fixed; inset: 0; z-index: 200; background: rgba(6, 22, 45, .95); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 20px 24px; }
.lecteur-video[hidden] { display: none; }
.lecteur-cadre { width: min(1100px, 100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lecteur-cadre iframe { width: 100%; height: 100%; border: 0; display: block; }
.lecteur-video p { color: #fff; margin-top: 14px; text-align: center; }
.lecteur-video .fermer { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: inherit; padding: 8px 14px; border-radius: var(--rayon); cursor: pointer; }
