/* ==========================================================================
   UNATR-CI : feuille de style globale
   Mobile d'abord. Toutes les couleurs et polices passent par les variables :root.
   Accent : #E8452C demandé, assombri en #D63A22 pour garantir un contraste
   de 4,6:1 avec le texte blanc (WCAG AA).
   ========================================================================== */

:root {
  /* Couleurs */
  --accent: #d63a22;
  --accent-hover: #b52e19;
  --accent-vif: #e8452c;
  --ink: #1e1e1e;
  --ink-2: #3a3a3a;
  --muted: #5c5c5c;
  --light: #f5f5f5;
  --white: #ffffff;
  --line: #e2e2e2;
  --overlay: rgb(20 20 20 / 0.62);
  --focus: #ffb703;

  /* Typographie */
  --font-title: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: var(--font-body);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.875rem, 3vw + 1rem, 2.75rem);
  --fs-hero: clamp(2.25rem, 4.5vw + 1rem, 4.25rem);

  /* Espacements et mise en page */
  --container: 1200px;
  --gutter: 20px;
  --section: clamp(64px, 8vw, 110px);
  --radius: 4px;
  --shadow: 0 10px 30px rgb(0 0 0 / 0.08);
  --header-h: 76px;

  /* Mouvement */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 240ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink-2); font: 400 var(--fs-body)/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-title); font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; overflow-wrap: break-word; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
a:hover { color: var(--accent); }
address { font-style: normal; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.icon { flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip:focus-visible { top: 16px; }

/* Badge des contenus à remplacer */
.exemple { display: inline-block; margin-left: 4px; padding: 1px 6px; border: 1px dashed currentColor; border-radius: 3px; font: 600 0.6875rem/1.5 var(--font-body); text-transform: none; letter-spacing: 0; vertical-align: middle; opacity: 0.8; white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 2px solid transparent; border-radius: 0; font: 700 1rem/1 var(--font-ui); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.btn--lg { min-height: 54px; padding: 0 32px; font-size: 1rem; }
.btn--block { width: 100%; }
/* Survol inversé : le plein devient contour, et inversement */
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--accent:hover { background: transparent; color: var(--accent); }
.hero .btn--accent:hover, .appel .btn--accent:hover, .rejoindre__card--dark .btn--accent:hover { color: var(--white); border-color: var(--white); }
.btn--ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font: 700 1rem/1 var(--font-ui); text-decoration: none; }
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 2px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.round-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.round-btn--sm { width: 44px; height: 44px; }

/* ---------- Titres de section ---------- */
.section { padding-block: var(--section); }
.section--light { background: var(--light); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.kicker { margin-bottom: 10px; color: var(--accent); font: 700 0.8125rem/1.2 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.kicker--light { color: var(--accent-vif); }
.section-title { font-size: var(--fs-h2); }
.section-title--light { color: var(--white); }
.lead { font-size: var(--fs-lead); }

/* ---------- 1. Barre du haut ---------- */
.topbar { background: var(--ink); color: #d6d6d6; font-size: var(--fs-sm); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.topbar__contact li { display: flex; align-items: center; gap: 6px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; }
.topbar__contact .icon { color: var(--accent-vif); }
.topbar__social { display: flex; }
.topbar__social a, .footer__social a { display: grid; place-items: center; width: 40px; height: 40px; text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.topbar__social a:hover { background: var(--accent); color: var(--white); }
.topbar__adresse { display: none !important; }

/* ---------- 2. En-tête collant ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow var(--dur) var(--ease); }
.header.is-scrolled { box-shadow: 0 6px 20px rgb(0 0 0 / 0.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo img { width: 52px; height: 52px; object-fit: contain; }
.logo__texte { display: grid; line-height: 1.1; }
.logo__texte strong { font: 700 1.375rem/1 var(--font-title); letter-spacing: 0.02em; }
.logo__texte small { margin-top: 3px; color: var(--accent); font: 600 0.6875rem/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.logo--light { color: var(--white); }
.logo--light img { padding: 3px; border-radius: 50%; background: var(--white); }
.logo--light .logo__texte small { color: var(--accent-vif); }

.burger { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

/* Menu mobile : panneau sous l'en-tête */
.nav { position: absolute; inset: 100% 0 auto; display: none; padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 3px solid var(--accent); box-shadow: var(--shadow); }
.nav.is-open { display: block; }
html:not(.js) .nav { position: static; display: block; box-shadow: none; border: 0; padding: 0; }
html:not(.js) .burger { display: none; }
html:not(.js) .header__inner { flex-wrap: wrap; }
.nav__list a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 1rem/1 var(--font-ui); text-decoration: none; }
.nav__list a[aria-current], .nav__list a:hover { color: var(--accent); }
.header__cta { width: 100%; margin-top: 16px; }

/* ---------- 3. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__track { display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: min(88svh, 760px); visibility: hidden; opacity: 0; transition: opacity 700ms var(--ease), visibility 0s linear 700ms; }
.hero__slide.is-active { visibility: visible; opacity: 1; transition: opacity 700ms var(--ease); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 20 20 / 0.82) 0%, var(--overlay) 55%, rgb(20 20 20 / 0.45) 100%); }
.hero__content { position: relative; padding-block: 96px 170px; }
.hero__title { max-width: 16ch; color: var(--white); font: 700 var(--fs-hero)/1.1 var(--font-title); letter-spacing: -0.01em; }
.hero__title::after { content: ""; display: block; width: 80px; height: 5px; margin-top: 20px; background: var(--accent-vif); }
.hero__text { max-width: 44ch; margin-top: 20px; font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem); color: #f0f0f0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Au-dessus du bandeau « Ce que nous faisons », qui chevauche le bas du hero de 48 px */
.hero__controls { position: absolute; left: 0; right: 0; bottom: 72px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero__controls[hidden] { display: none; }
.hero__arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid rgb(255 255 255 / 0.6); border-radius: 50%; background: rgb(0 0 0 / 0.25); color: var(--white); cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero__dots { display: flex; }
.hero__dot { display: grid; place-items: center; width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.hero__dot::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; color: var(--white); transition: background-color var(--dur) var(--ease); }
.hero__dot[aria-current="true"]::before { background: var(--accent-vif); border-color: var(--accent-vif); }

/* ---------- 4. Ce que nous faisons ---------- */
.missions { position: relative; z-index: 2; margin-top: -48px; }
.missions__grid { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); box-shadow: var(--shadow); }
.mission { padding: 36px 32px; border-top: 4px solid transparent; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.mission:hover { border-top-color: var(--accent); background: var(--light); }
.mission + .mission { border-left: 0; box-shadow: inset 0 1px 0 var(--line); }
.mission__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 50%; background: rgb(214 58 34 / 0.1); color: var(--accent); }
.mission__title { margin-bottom: 10px; font-size: var(--fs-h3); }
.mission .link-arrow { margin-top: 10px; }

/* ---------- 5. À propos ---------- */
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; margin: 0 0 24px; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge { position: absolute; right: -8px; bottom: -24px; display: grid; padding: 18px 24px; background: var(--accent); color: var(--white); text-align: center; }
.about__badge strong { font: 700 2.5rem/1 var(--font-title); }
.about__badge span { font-size: var(--fs-sm); font-weight: 600; }
.about__body .section-title { margin-bottom: 18px; }
.checklist { display: grid; gap: 12px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist .icon { margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--white); width: 22px; height: 22px; }

/* ---------- 6 & 13. Cartes ---------- */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgb(0 0 0 / 0.12); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__cat { position: absolute; left: 0; bottom: 0; padding: 6px 14px; background: var(--accent); color: var(--white); font: 700 0.75rem/1.4 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 26px; }
.card__title { font-size: var(--fs-h3); }
.card__more { margin-top: auto; }

.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-sm); color: var(--muted); }
.post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post__meta .icon { color: var(--accent); }
.post__link { text-decoration: none; }
/* Toute la carte est cliquable via le lien du titre */
.post { position: relative; }
.post__link::after { content: ""; position: absolute; inset: 0; }
.post:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.post__link:focus-visible { outline: none; }
.post .link-arrow { margin-top: auto; }

/* ---------- 7. Appel à l'action (parallaxe) ---------- */
.appel { position: relative; padding-block: clamp(90px, 12vw, 160px); background: var(--ink) var(--bg) center / cover no-repeat; color: var(--white); text-align: center; }
.appel__overlay { position: absolute; inset: 0; background: rgb(20 20 20 / 0.7); }
.appel__content { position: relative; display: grid; justify-items: center; gap: 32px; }
.appel__title { color: var(--white); font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }

/* ---------- 8. Compteurs ---------- */
.compteurs { background: var(--accent); color: var(--white); }
.compteurs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; padding-block: 56px; text-align: center; }
.compteur { display: grid; justify-items: center; gap: 6px; }
.compteur__valeur { font: 700 clamp(2.25rem, 3vw + 1rem, 3.25rem)/1 var(--font-title); font-variant-numeric: tabular-nums; }
.compteur__libelle { max-width: 22ch; font-weight: 600; font-size: 0.9375rem; }

/* ---------- 9. Événements ---------- */
.events { display: grid; gap: 18px; max-width: 980px; margin-inline: auto; }
.event { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 22px; align-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); transition: box-shadow var(--dur) var(--ease); }
.event:hover { box-shadow: var(--shadow); }
.event__date { display: grid; place-items: center; width: 76px; height: 76px; background: var(--ink); color: var(--white); text-align: center; line-height: 1; }
.event__date strong { font: 700 1.875rem/1 var(--font-title); }
.event__date span { font: 700 0.8125rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-vif); }
.event__title { font-size: 1.1875rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta .icon { color: var(--accent); }
.event .btn { grid-column: 1 / -1; }

/* ---------- 10. Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.member { background: var(--white); box-shadow: var(--shadow); text-align: center; }
.member__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.member__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 600ms var(--ease); }
.member:hover .member__media img { transform: scale(1.05); }
.member__placeholder { display: grid; place-items: center; height: 100%; color: rgb(255 255 255 / 0.3); font: 700 3rem/1 var(--font-title); }
.member__social { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 6px; padding: 12px; background: linear-gradient(transparent, rgb(0 0 0 / 0.7)); transform: translateY(100%); transition: transform var(--dur) var(--ease); }
.member:hover .member__social, .member__social:focus-within { transform: none; }
.member__social a { display: grid; place-items: center; width: 44px; height: 44px; background: var(--accent); color: var(--white); }
.member__social a:hover { background: var(--white); color: var(--accent); }
.member__body { padding: 18px 12px 22px; }
.member__name { font-size: 1.125rem; }
.member__role { margin-top: 4px; color: var(--accent); font-size: var(--fs-sm); font-weight: 600; }

/* ---------- 11. Témoignages ---------- */
.temoignages { background: var(--ink); color: #e6e6e6; text-align: center; }
.temoignages__inner { display: grid; justify-items: center; max-width: 860px; }
.temoignages__quote { color: var(--accent-vif); margin-bottom: 12px; }
.temoignages__track { display: grid; gap: 40px; margin-top: 32px; }
.js .temoignages__track { gap: 0; }
.js .temoignage { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 500ms var(--ease), visibility 0s linear 500ms; }
.js .temoignage.is-active { visibility: visible; opacity: 1; transition: opacity 500ms var(--ease); }
.temoignage { margin: 0; }
.temoignage blockquote { margin: 0; font-size: clamp(1.125rem, 1vw + 0.9rem, 1.4rem); font-style: italic; line-height: 1.6; color: var(--white); }
.temoignage figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; text-align: left; font-size: var(--fs-sm); }
.temoignage figcaption strong { color: var(--white); font-size: 1rem; }
.temoignage__avatar { display: grid; place-items: center; width: 64px; height: 64px; border: 3px solid var(--accent-vif); border-radius: 50%; background: var(--ink-2); color: var(--white); font: 700 1.25rem/1 var(--font-title); }
.temoignages__nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--white); }
.temoignages__nav[hidden] { display: none; }

/* ---------- 12. Galerie ---------- */
.masonry { columns: 2 160px; column-gap: 12px; }
.masonry__item { break-inside: avoid; margin-bottom: 12px; }
.masonry__item a { position: relative; display: block; overflow: hidden; background: var(--light); }
.masonry__item a::after { content: ""; position: absolute; inset: 0; background: rgb(214 58 34 / 0.35); opacity: 0; transition: opacity var(--dur) var(--ease); }
.masonry__item a:hover::after { opacity: 1; }
.masonry__item img { width: 100%; transition: transform 600ms var(--ease); }
.masonry__item a:hover img { transform: scale(1.05); }

.lightbox { width: 100vw; max-width: 100%; height: 100vh; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgb(10 10 10 / 0.94); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(10 10 10 / 0.6); }
.lightbox__figure { display: grid; justify-items: center; gap: 12px; margin: 0; padding: 72px 16px; }
.lightbox__figure img { max-width: min(1100px, 100%); max-height: 78vh; object-fit: contain; }
.lightbox__figure figcaption { max-width: 70ch; text-align: center; font-size: var(--fs-sm); color: #d0d0d0; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: var(--white); cursor: pointer; transition: background-color var(--dur) var(--ease); }
.lightbox__btn:hover { background: var(--accent); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- 14. Partenaires ---------- */
.partners { padding-block: 56px; border-top: 1px solid var(--line); }
.partners__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; }
.partners__title { font-size: 1.25rem; color: var(--muted); }
.partners__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners__track { display: flex; width: max-content; }
.partners__track li { flex: none; display: grid; place-items: center; width: 220px; height: 110px; padding: 0 28px; }
.partners__track img { max-height: 90px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.partners__track li:hover img { filter: none; opacity: 1; }
.js .partners__track { animation: defile 36s linear infinite; }
.partners.is-paused .partners__track, .partners__viewport:hover .partners__track { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Adhérer / Don ---------- */
.rejoindre__grid { display: grid; gap: 28px; }
.rejoindre__card { padding: clamp(28px, 4vw, 48px); background: var(--light); border-top: 5px solid var(--accent); }
.rejoindre__card .section-title { margin-bottom: 14px; font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem); }
.rejoindre__card--dark { background: var(--ink); color: #dcdcdc; }
.rejoindre__icon { color: var(--accent-vif); margin-bottom: 14px; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.field input, .field select, .newsletter input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #b9b9b9; border-radius: 0; background: var(--white); color: var(--ink); }
.field input:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .newsletter input:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
[aria-invalid="true"], [aria-invalid=""] { border: 2px solid var(--accent) !important; }
.field__error { color: var(--accent); font-size: var(--fs-sm); font-weight: 600; }
.field__error:empty { display: none; }
.form .btn { justify-self: start; }
.form__status { min-height: 1.5em; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.pay { display: grid; gap: 10px; margin: 22px 0 28px; }
.pay li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 16px; background: rgb(255 255 255 / 0.06); border-left: 3px solid var(--accent-vif); color: var(--white); }
.pay strong { min-width: 120px; font-family: var(--font-ui); }

/* ---------- 15. Newsletter ---------- */
.newsletter { background: var(--accent); color: var(--white); padding-block: 56px; }
.newsletter__inner { display: grid; gap: 24px; align-items: center; }
.newsletter__title { color: var(--white); font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem); margin-bottom: 6px; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 240px; border-color: var(--white); }
.newsletter .btn--dark:hover { color: var(--white); border-color: var(--white); }
.newsletter .field__error, .newsletter .form__status { margin-top: 8px; color: var(--white); }

/* ---------- 16. Pied de page ---------- */
.footer { background: #141414; color: #b8b8b8; font-size: 0.9375rem; }
.footer__grid { display: grid; gap: 40px; padding-block: 72px 48px; }
.footer__col > p { margin-top: 18px; }
.footer__title { margin-bottom: 20px; color: var(--white); font-size: 1.125rem; }
.footer__title::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 10px; background: var(--accent-vif); }
.footer__links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer__links a:hover, .footer__posts a:hover, .footer__contact a:hover { color: var(--accent-vif); }
.footer__posts { display: grid; gap: 16px; }
.footer__posts a { display: block; color: #e2e2e2; font-weight: 600; line-height: 1.45; text-decoration: none; }
.footer__posts time { font-size: var(--fs-sm); color: #8f8f8f; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact p { display: flex; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__contact p:has(a) { align-items: center; }
.footer__contact p:has(a) .icon { margin-top: 0; }
.footer__contact .icon { margin-top: 3px; color: var(--accent-vif); }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a { background: rgb(255 255 255 / 0.08); color: var(--white); }
.footer__social a:hover { background: var(--accent); color: var(--white); }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.08); font-size: var(--fs-sm); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; background: var(--accent); color: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur), background-color var(--dur) var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.to-top:hover { background: var(--ink); color: var(--white); }

/* ---------- Apparition au défilement (visible sans JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Points de rupture (mobile d'abord)
   ========================================================================== */
@media (min-width: 40rem) {
  :root { --gutter: 24px; }
  .topbar__adresse { display: flex !important; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event { grid-template-columns: auto minmax(0, 1fr) auto; }
  .event .btn { grid-column: auto; }
  .masonry { columns: 3; }
}

@media (min-width: 48rem) {
  .missions__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mission + .mission { box-shadow: inset 1px 0 0 var(--line); }
  .compteurs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rejoindre__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .newsletter__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry { columns: 4; }
}

@media (min-width: 64rem) {
  :root { --gutter: 32px; --header-h: 88px; }
  .burger { display: none; }
  .nav, html:not(.js) .nav { position: static; display: flex; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav__list { display: flex; gap: 22px; }
  .nav__list a { position: relative; min-height: var(--header-h); border: 0; font-size: 0.9375rem; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  .nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
  .header__cta { width: auto; margin: 0; }
  /* Le logo garde sa largeur ; le menu ne passe jamais sur deux lignes */
  .header .logo { flex-shrink: 0; }
  .logo__texte, .nav__list a { white-space: nowrap; }
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1.1fr); }
  /* Parallaxe : uniquement sur grand écran (iOS ne gère pas background-attachment: fixed) */
  .appel { background-attachment: fixed; }
}

/* Écrans de 1024 à 1280 px : menu de 8 entrées resserré */
@media (min-width: 64rem) and (max-width: 80rem) {
  .nav { gap: 16px; }
  .nav__list { gap: 14px; }
  .nav__list a { font-size: 0.875rem; }
  .header__cta { padding: 0 18px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .partners__track { animation: none; }
  .appel { background-attachment: scroll; }
  .hero__img { transform: none !important; }
}

/* ==========================================================================
   Pages internes
   ========================================================================== */

/* ---------- Bannière + fil d'Ariane ---------- */
.page-banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(280px, 38vw, 420px); overflow: hidden; background: var(--ink); color: var(--white); }
.page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(20 20 20 / 0.85), rgb(20 20 20 / 0.45)); }
.page-banner__content { position: relative; padding-block: 72px 40px; }
.page-banner__title { max-width: 20ch; color: var(--white); font-size: clamp(2.25rem, 3.5vw + 1rem, 3.5rem); }
.page-banner__title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 16px; background: var(--accent-vif); }
.page-banner__text { max-width: 56ch; margin-top: 16px; font-size: var(--fs-lead); color: #ececec; }
.breadcrumb ol { margin-bottom: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin-top: 24px; font-size: var(--fs-sm); font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-inline: 10px; color: rgb(255 255 255 / 0.5); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.breadcrumb a:hover { color: var(--accent-vif); }
.breadcrumb [aria-current="page"] { color: #cfcfcf; }

/* ---------- À propos : histoire ---------- */
.story { display: grid; gap: 48px; }
.story__intro .section-title { margin-bottom: 18px; }
.story__photo { margin: 28px 0 0; }
.story__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.timeline { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; border-left: 2px solid var(--line); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -37px; top: 4px; width: 16px; height: 16px; border: 3px solid var(--white); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.timeline__annee { color: var(--accent); font: 700 1.5rem/1.2 var(--font-title); }
.timeline__titre { margin: 4px 0 8px; font-size: var(--fs-h3); }

/* ---------- Mission / vision ---------- */
.mv { display: grid; gap: 24px; }
.mv__card { padding: clamp(28px, 4vw, 44px); background: var(--white); border-top: 5px solid var(--accent); box-shadow: var(--shadow); }
.mv__card h3 { margin: 18px 0 12px; font-size: 1.625rem; }
.mv__card p { font-size: var(--fs-lead); }
.mv__card--dark { background: var(--ink); color: #dedede; }
.mv__card--dark h3 { color: var(--white); }
.mv__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgb(214 58 34 / 0.12); color: var(--accent); }
.mv__card--dark .mv__icon { color: var(--accent-vif); background: rgb(232 69 44 / 0.15); }

/* ---------- Engagements ---------- */
.features { display: grid; gap: 28px 40px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; background: var(--accent); color: var(--white); }
.feature__titre { margin-bottom: 6px; font-size: 1.1875rem; }

/* ---------- Gouvernance ---------- */
.gouv { display: grid; gap: 40px; align-items: start; }
.gouv .section-title { margin-bottom: 28px; }
.organes { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.organes li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.organes li:first-child { border-top: 0; padding-top: 0; }
.organes__num { flex: none; color: var(--accent); font: 700 1.75rem/1 var(--font-title); }
.organes h3 { margin-bottom: 6px; font-size: 1.1875rem; }
.services-box { padding: 32px; background: var(--ink); color: #d6d6d6; }
.services-box__titre { margin-bottom: 20px; color: var(--white); font-size: 1.5rem; }
.services-box ul { display: grid; gap: 16px; margin-bottom: 28px; }
.services-box li { display: flex; gap: 12px; }
.services-box li .icon { margin-top: 4px; color: var(--accent-vif); }
.services-box strong { color: var(--white); }
.services-box p { font-size: 0.9375rem; }

/* ---------- Affiliations ---------- */
.affil { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
.affil__item { display: flex; gap: 24px; align-items: center; padding: 28px; border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.affil__sigle { flex: none; display: grid; place-items: center; min-width: 110px; height: 80px; padding: 0 12px; background: var(--light); color: var(--ink); font: 700 1.5rem/1 var(--font-title); }
.affil h3 { margin-bottom: 6px; font-size: 1.1875rem; }

@media (min-width: 48rem) {
  .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gouv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .services-box { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 30rem) {
  .affil__item { flex-direction: column; align-items: flex-start; }
}

/* ---------- Nos combats : liste ---------- */
.section-more { margin-top: 40px; text-align: center; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters[hidden] { display: none; }
.filter { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 600 0.9375rem/1 var(--font-ui); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.card[hidden] { display: none; }

/* ---------- Nos combats : détail ---------- */
.detail { display: grid; gap: 48px; align-items: start; }
.detail__body { min-width: 0; }
.detail__body > p { margin-bottom: 16px; font-size: 1.0625rem; max-width: 70ch; }
.detail__photo { margin: 0 0 36px; }
.detail__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail__h2 { margin: 40px 0 16px; font-size: 1.75rem; }
.detail__h2:first-of-type { margin-top: 0; }
.detail__quote { margin: 36px 0; padding: 28px 32px; background: var(--light); border-left: 5px solid var(--accent); }
.detail__quote .icon { color: var(--accent); }
.detail__quote blockquote { margin: 10px 0 0; font: 600 1.25rem/1.5 var(--font-title); color: var(--ink); }
.detail__quote figcaption { margin-top: 12px; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.detail .checklist { margin: 0; }
.sources { display: grid; gap: 14px; }
.sources li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--line); }
.sources a { font-weight: 600; color: var(--ink); }
.sources a:hover { color: var(--accent); }
.sources span { font-size: var(--fs-sm); color: var(--muted); }
.detail__aside { display: grid; gap: 24px; }
.aside-box { padding: 28px; background: var(--light); }
.aside-box--dark { background: var(--ink); color: #d6d6d6; }
.aside-box--dark .aside-box__titre { color: var(--white); }
.aside-box--dark p { margin-bottom: 20px; }
.aside-box__titre { margin-bottom: 16px; font-size: 1.25rem; }
.aside-box__mail { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--white); font-weight: 600; }
.aside-box__mail .icon { color: var(--accent-vif); }
.reperes { margin: 0; }
.reperes div { padding: 10px 0; border-top: 1px solid var(--line); }
.reperes div:first-child { border-top: 0; padding-top: 0; }
.reperes dt { font-size: var(--fs-sm); color: var(--muted); }
.reperes dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.share { display: flex; gap: 8px; }
.share a { display: grid; place-items: center; width: 48px; height: 48px; background: var(--white); color: var(--ink); border: 1px solid var(--line); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.share a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

@media (min-width: 64rem) {
  .detail { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Actualités : liste ---------- */
@media (min-width: 40rem) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .detail .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination__pages { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination__page, .pagination__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
a.pagination__page:hover, a.pagination__btn:hover { border-color: var(--accent); color: var(--accent); }
.pagination__page.is-current { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pagination__btn.is-disabled { opacity: 0.4; }

/* ---------- Barre latérale du blog ---------- */
.search input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #b9b9b9; background: var(--white); color: var(--ink); }
.search input:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
.search__status { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }
.search__status:empty { display: none; }
.aside-results { display: grid; gap: 10px; margin-top: 10px; }
.aside-results li { display: grid; padding-left: 12px; border-left: 3px solid var(--accent); }
.aside-results a { color: var(--ink); font-weight: 600; line-height: 1.4; }
.aside-results span { font-size: var(--fs-sm); color: var(--muted); }
.aside-cats li + li { border-top: 1px solid var(--line); }
.aside-cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.aside-cats a:hover, .aside-cats a[aria-current] { color: var(--accent); }
.aside-cats__n { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 6px; background: var(--white); color: var(--muted); font-size: var(--fs-sm); }
.aside-cats a[aria-current] .aside-cats__n { background: var(--accent); color: var(--white); }
.aside-recents { display: grid; gap: 16px; }
.aside-recents li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.aside-recents img { width: 72px; height: 56px; object-fit: cover; }
.aside-recents a { display: block; color: var(--ink); font-weight: 600; font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.aside-recents a:hover { color: var(--accent); }
.aside-recents time { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Actualités : article ---------- */
.article__meta { margin-bottom: 20px; align-items: center; }
.article__cat { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; background: var(--accent); color: var(--white); font: 700 0.75rem/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.article__cat:hover { background: var(--ink); color: var(--white); }
.prose { font-size: 1.0625rem; }
.prose p { max-width: 70ch; margin-bottom: 18px; }
.prose blockquote { margin: 28px 0; padding: 22px 26px; background: var(--light); border-left: 5px solid var(--accent); }
.prose blockquote p { margin: 0; font: 600 1.1875rem/1.55 var(--font-title); color: var(--ink); }
.prose a { color: var(--accent); }
.masonry--article { columns: 2 200px; }
.article__galerie { margin-top: 12px; }
.article__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-block: 20px; border-block: 1px solid var(--line); }
.article__share p { font-weight: 700; color: var(--ink); }
.article__nav { display: grid; gap: 16px; margin-top: 32px; }
.article__nav-link { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color var(--dur) var(--ease); }
.article__nav-link:hover { border-color: var(--accent); }
.article__nav-link span { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: var(--fs-sm); font-weight: 700; }
.article__nav-link strong { font-family: var(--font-title); line-height: 1.35; }
.article__nav-link--next { text-align: right; }
.article__nav-link--next span { justify-content: flex-end; }
@media (min-width: 40rem) { .article__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Événements ---------- */
.event__type { margin-bottom: 4px; color: var(--accent); font: 700 0.75rem/1.2 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.event__annee { margin-top: 4px; color: rgb(255 255 255 / 0.7) !important; font-size: 0.75rem !important; letter-spacing: 0.04em !important; }
.event--passe { border-left-color: var(--muted); }
.event--passe .event__date { background: var(--ink-2); height: auto; padding-block: 10px; }
.empty { max-width: 60ch; margin-inline: auto; padding: 28px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.notice { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 14px 18px; background: var(--light); border-left: 4px solid var(--muted); font-weight: 600; color: var(--ink); }
.notice--exemple { border-left-color: var(--accent); }
.detail__lieu { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-weight: 600; color: var(--ink); }
.detail__lieu .icon { color: var(--accent); }
.section-more--left { text-align: left; margin-top: 24px; }
.aside-box__btn { margin-top: 20px; }
.cta-strip { display: grid; gap: 20px; align-items: center; justify-items: start; padding: clamp(28px, 4vw, 44px); background: var(--ink); color: #d6d6d6; }
.cta-strip > .icon { color: var(--accent-vif); }
.cta-strip__titre { margin-bottom: 6px; color: var(--white); font-size: clamp(1.375rem, 1.5vw + 1rem, 1.875rem); }
@media (min-width: 48rem) { .cta-strip { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; } }

/* ---------- Formulaires : piège à robots (hors écran, ignoré par les lecteurs d'écran) et envoi en cours ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form[aria-busy="true"] button[type="submit"] { opacity: 0.6; cursor: progress; }

/* ---------- Bibliothèque ---------- */
.docs { display: grid; gap: 24px; }
.doc { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; align-items: start; padding: 22px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.doc__cover { aspect-ratio: 3 / 4; overflow: hidden; background: var(--light); border: 1px solid var(--line); }
.doc__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc__titre { font-size: 1.125rem; line-height: 1.3; }
.doc__resume { margin-top: 8px; font-size: 0.9375rem; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: var(--fs-sm); color: var(--muted); }
.doc__btn { margin-top: 16px; }
@media (min-width: 48rem) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doc { grid-template-columns: 140px minmax(0, 1fr); } }

/* ---------- Galerie ---------- */
.album { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.album:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.album[hidden] { display: none; }
.album__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.album__date { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: var(--fs-sm); color: var(--muted); }
.album__date .icon { color: var(--accent); }
.album__titre { max-width: 40ch; font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem); }
.album__meta { display: flex; align-items: center; gap: 16px; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 24px; }
.contact-card { padding: 32px 28px; background: var(--white); border-top: 4px solid var(--accent); box-shadow: var(--shadow); }
.contact-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: rgb(214 58 34 / 0.1); color: var(--accent); }
.contact-card__titre { margin-bottom: 10px; font-size: 1.375rem; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--accent); }
.contact-card .link-arrow { color: var(--accent); margin-top: 8px; }
.contact-card__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.contact-card__list span { color: var(--muted); }
.contact-card__list a, .annuaire a, .contact-card p > a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-card__note { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }

.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-form-box .section-title { margin-bottom: 10px; }
.form--contact { grid-template-columns: minmax(0, 1fr); }
.field textarea { width: 100%; padding: 12px 14px; border: 1px solid #b9b9b9; border-radius: 0; background: var(--white); color: var(--ink); font: inherit; resize: vertical; }
.field textarea:hover { border-color: var(--ink-2); }
.field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.field--check label { font-weight: 400; color: var(--ink-2); }
.field--check .field__error { grid-column: 1 / -1; }

.contact-map-box { padding: 28px; background: var(--white); box-shadow: var(--shadow); }
.contact-map-box__titre { margin-bottom: 6px; font-size: 1.5rem; }
.contact-map-box > p { margin-bottom: 16px; color: var(--muted); }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--light); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { display: grid; place-content: center; justify-items: center; gap: 12px; height: 100%; padding: 24px; text-align: center; color: var(--muted); }
.map__placeholder .icon { color: var(--accent); }
.map__placeholder p { max-width: 34ch; font-size: var(--fs-sm); }
.map__placeholder a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-social p { font-weight: 700; color: var(--ink); }

.annuaire { display: grid; gap: 20px; }
.annuaire__item { padding: 24px; border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.annuaire__item h3 { font-size: 1.1875rem; }
.annuaire__role { margin: 4px 0 10px; font-size: var(--fs-sm); color: var(--muted); }
.annuaire__item p:not(.annuaire__role) { display: flex; align-items: center; gap: 8px; }
.annuaire__item .icon { color: var(--accent); }
.annuaire a { color: var(--ink); font-weight: 600; }
.annuaire a:hover { color: var(--accent); }

@media (min-width: 40rem) {
  .form--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form--contact .field--full { grid-column: 1 / -1; }
  .annuaire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .contact-map-box { position: sticky; top: calc(var(--header-h) + 24px); }
  .annuaire { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
