/* =====================================================================
   FPDC — Fédération Professionnelle du Drone Civil
   Feuille de style principale
   ===================================================================== */

/* ---------- Polices (auto-hébergées, aucun appel à Google) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Variables ---------- */
:root {
  --navy: #002a54;
  --navy-900: #001a36;
  --navy-700: #0b3a6e;
  --navy-600: #1d4f8a;
  --navy-100: #dfe8f3;
  --navy-50: #f1f5fa;
  --red: #d2101a;
  --red-700: #a80c14;
  --red-50: #fdeced;
  --cyan: #00b5e2;
  --cyan-700: #006f8f;
  --grey-100: #f5f6f8;
  --grey-200: #e6e9ee;
  --grey-300: #d3d8e0;
  --grey-500: #6b7686;
  --grey-700: #3d4756;
  --ink: #16202e;
  --white: #fff;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 26, 54, .06), 0 1px 3px rgba(0, 26, 54, .08);
  --shadow: 0 4px 12px rgba(0, 26, 54, .08), 0 2px 4px rgba(0, 26, 54, .05);
  --shadow-lg: 0 18px 40px rgba(0, 26, 54, .14);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 750; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }
p { margin: 0 0 1em; }
main { display: block; outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Boutons ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--red { --bg: var(--red); }
.btn--red:hover { background: var(--red-700); border-color: var(--red-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn--ghost:hover { background: var(--navy-50); color: var(--navy); border-color: var(--navy); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--white:hover { background: var(--navy-50); border-color: var(--navy-50); color: var(--navy); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .875rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.02rem; }
.actions, .prose .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }
.prose a.btn { color: #fff; text-decoration: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-head); font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--back .icon { transform: rotate(180deg); }
.link-arrow--back:hover .icon { transform: rotate(180deg) translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy-900); color: #cfdbea; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar__motto { margin: 0 auto 0 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: #9fb3cc; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; }
.topbar a { white-space: nowrap; color: #e6edf6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__social { gap: 4px !important; padding-left: 16px !important; border-left: 1px solid rgba(255,255,255,.15); }
.topbar__social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 1060px) { .topbar__motto { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 640px) { .topbar__social, .topbar__hide-sm { display: none !important; } .topbar__links { gap: 14px !important; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 var(--grey-200); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 58px; width: auto; }
.tricolore { display: flex; height: 3px; }
.tricolore span { flex: 1; }
.tricolore span:nth-child(1) { background: var(--navy); }
.tricolore span:nth-child(2) { background: var(--grey-300); }
.tricolore span:nth-child(3) { background: var(--red); }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav__item { position: relative; }
.main-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 650; font-size: .92rem; color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.main-nav__link:hover, .main-nav__btn[aria-expanded="true"] { background: var(--navy-50); color: var(--navy); }
.main-nav__item.is-active > .main-nav__link { color: var(--red); }
.main-nav__link[aria-current="page"] { color: var(--red); }
.icon--chevron { width: 16px; height: 16px; transition: transform .2s; }
.main-nav__btn[aria-expanded="true"] .icon--chevron { transform: rotate(180deg); }
.sub-nav { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--grey-200); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub-nav::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav__btn[aria-expanded="true"] + .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub-nav a:hover { background: var(--navy-50); color: var(--navy); }
.sub-nav a[aria-current="page"] { background: var(--navy-50); color: var(--red); font-weight: 600; }
.main-nav__cta { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--grey-300); background: #fff; border-radius: 999px; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .9rem; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }

@media (min-width: 1061px) { .main-nav__cta .btn--ghost { display: none; } }
@media (max-width: 1180px) { .main-nav__link { padding: 10px 8px; font-size: .88rem; } }
@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 96px; overflow-y: auto; overscroll-behavior: contain; display: none; border-top: 1px solid var(--grey-200); }
  .main-nav.is-open { display: flex; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__item { border-bottom: 1px solid var(--grey-200); }
  .main-nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .main-nav__link:hover, .main-nav__btn[aria-expanded="true"] { background: none; }
  .sub-nav { position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 12px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .main-nav__btn[aria-expanded="true"] + .sub-nav { display: block; }
  .main-nav__cta { flex-direction: column; margin-top: 24px; }
  .main-nav__cta .btn, .main-nav__cta .btn--ghost { display: inline-flex; width: 100%; padding: 1em; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) { .nav-toggle__label { display: none; } }

/* ---------- Sections génériques ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--grey-100); }
.section--navy { background: var(--navy); color: #dbe5f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head p { margin: 0; color: var(--grey-700); font-size: 1.1rem; }
.section-title { margin-bottom: .4em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow { color: #ff8a90; }

/* ---------- Héros accueil ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(0,26,54,.94) 0%, rgba(0,42,84,.86) 38%, rgba(0,42,84,.45) 70%, rgba(0,26,54,.25) 100%); }
.hero__inner { padding-block: clamp(72px, 11vw, 150px) clamp(88px, 12vw, 160px); max-width: 760px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--red); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.75rem); line-height: 1.08; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: #fff; background: linear-gradient(transparent 70%, rgba(210,16,26,.85) 70%); padding: 0 .08em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dde7f3; max-width: 620px; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__devise { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 44px 0 0; padding: 0; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #b9c9dd; }
.hero__devise li { display: flex; align-items: center; gap: 22px; }
.hero__devise li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: -12px; margin-right: -8px; }

/* Bandeau annonce */
.announce { position: relative; z-index: 2; margin-top: -48px; }
.announce__card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px 28px; border-left: 5px solid var(--red); }
.announce__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.announce__icon .icon { width: 26px; height: 26px; }
.announce h2 { font-size: 1.2rem; margin: 0 0 .2em; }
.announce p { margin: 0; color: var(--grey-700); }
@media (max-width: 760px) { .announce__card { grid-template-columns: 1fr; text-align: left; } .announce__icon { display: none; } }

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--navy-100); }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 18px; }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar:nth-child(2) .pillar__icon { background: #e5f7fc; color: var(--cyan-700); }
.pillar:nth-child(3) .pillar__icon { background: var(--red-50); color: var(--red); }
.pillar:nth-child(4) .pillar__icon { background: #eef0f4; color: var(--grey-700); }
.pillar h3 { margin-bottom: .4em; }
.pillar p { margin: 0; color: var(--grey-700); font-size: .98rem; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Présentation (split) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 42%; height: 42%; border-right: 4px solid var(--red); border-bottom: 4px solid var(--red); border-radius: 0 0 var(--radius) 0; z-index: -1; }
.split__text p { color: var(--grey-700); }
.checklist { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--navy); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid rgba(255,255,255,.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1.1; }
.stat__label { display: block; color: #b9c9dd; font-size: .98rem; margin-top: 6px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 440px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; padding-left: 0; } }

/* ---------- Cartes d'actualité ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--grey-200); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; width: 100%; }
.card__link:hover { color: inherit; }
.card__media { position: relative; aspect-ratio: 16 / 9; background: var(--navy-50); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media .card__placeholder { object-fit: contain; padding: 18% 30%; opacity: .5; }
.card__badge { position: absolute; left: 12px; bottom: 12px; background: rgba(0,26,54,.85); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; font-family: var(--font-head); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .82rem; color: var(--grey-500); margin-bottom: 10px; }
.card__title { font-size: 1.1rem; margin-bottom: .5em; line-height: 1.3; }
.card:hover .card__title { color: var(--red); }
.card__excerpt { color: var(--grey-700); font-size: .95rem; margin: 0; }
.tag { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: var(--navy-50); border-radius: 999px; padding: 4px 10px; }

/* ---------- Tuiles services ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--grey-200); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--navy); box-shadow: var(--shadow); color: inherit; }
.tile__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.tile__icon .icon { width: 26px; height: 26px; }
.tile h3 { margin-bottom: .3em; }
.tile p { margin: 0 0 .8em; color: var(--grey-700); }
.tile .link-arrow { font-size: .92rem; }

/* ---------- Bandeau photo / CTA ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,26,54,.95), rgba(0,42,84,.78)); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe5f1; font-size: 1.1rem; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } }
.partner { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--grey-200); }
.partner__logo { height: 56px; display: flex; align-items: center; }
.partner__logo img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; }
.partner__logo span { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.15; color: var(--navy); letter-spacing: .04em; }
.partner p { color: var(--grey-700); margin: 0; font-size: .92rem; flex: 1; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%); color: #dbe5f1; padding-block: clamp(36px, 5vw, 64px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; border: 2px solid rgba(255,255,255,.07); box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); z-index: -1; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: var(--hero) center / cover no-repeat; opacity: .22; z-index: -2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 900px; }
.page-hero--article h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.page-hero__intro { font-size: 1.15rem; max-width: 760px; margin: 0; color: #dbe5f1; }
.page-hero .eyebrow { color: #ff9ca1; }
.breadcrumb ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: #a9bdd6; }
.breadcrumb li + li::before { content: "›"; color: #6f8bb0; }
.breadcrumb a { color: #dbe5f1; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #a9bdd6; }

.page-body { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.page-body--aside { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.page-body:not(.page-body--aside):not(.page-body--wide) .page-content { max-width: 860px; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.page-aside__title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.page-aside ul { list-style: none; margin: 0 0 24px; padding: 0; border-left: 2px solid var(--grey-200); }
.page-aside ul a { display: block; padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--grey-700); text-decoration: none; font-size: .95rem; }
.page-aside ul a:hover { color: var(--navy); border-left-color: var(--navy-100); }
.page-aside ul a[aria-current="page"] { color: var(--navy); border-left-color: var(--red); font-weight: 650; }
.aside-card { background: var(--navy-50); border-radius: var(--radius); padding: 20px; font-size: .95rem; }
.aside-card p { margin-bottom: 14px; }
@media (max-width: 900px) {
  .page-body--aside { grid-template-columns: 1fr; }
  .page-aside { position: static; order: 2; }
}

/* ---------- Contenu éditorial ---------- */
.prose { font-size: 1.0625rem; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; padding-top: .2em; }
.prose h3 { margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; color: var(--navy-700); }
.prose h2 + h3, .prose h3 + h4 { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; height: auto; max-height: 720px; width: auto; }
.prose p > img { margin: .5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--red); background: var(--grey-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose hr { border: 0; border-top: 1px solid var(--grey-200); margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--grey-200); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th, .prose tr:first-child td { background: var(--navy-50); color: var(--navy); font-weight: 700; }
.prose strong { color: var(--navy-900); }
.prose a:not(.btn) { word-break: break-word; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .88rem; color: var(--grey-500); margin-top: 8px; }
.lead { font-size: 1.2rem; color: var(--grey-700); }
.callout { background: var(--navy-50); border-radius: var(--radius); padding: 24px 28px; margin: 2em 0; border-left: 4px solid var(--navy); }
.callout--red { background: var(--red-50); border-left-color: var(--red); }
.callout > *:last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-top: 0 !important; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 1.5em 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 1.5em 0; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px; }
.box > *:last-child { margin-bottom: 0; }
.box h3 { margin-top: 0 !important; }

/* Vidéo / intégrations au clic (respect de la vie privée) */
.video, .embed { position: relative; aspect-ratio: 16 / 9; margin: 1.8em 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.embed--tall { aspect-ratio: 4 / 3; }
.video iframe, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--navy-900) center / cover no-repeat; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: inherit; text-align: center; }
.facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,26,54,.25), rgba(0,26,54,.7)); transition: background .2s; }
.facade:hover::before { background: linear-gradient(180deg, rgba(0,26,54,.15), rgba(0,26,54,.6)); }
.facade > * { position: relative; }
.facade__play { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s; }
.facade:hover .facade__play { transform: scale(1.08); }
.facade__play svg { width: 30px; height: 30px; margin-left: 4px; }
.facade__label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.facade__note { font-size: .78rem; color: #c9d6e6; max-width: 420px; padding: 0 16px; }

/* ---------- Équipe ---------- */
.team-group + .team-group { margin-top: 56px; }
.team-group__title { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; margin-bottom: 24px; }
.team-group__title::after { content: ""; flex: 1; height: 1px; background: var(--grey-200); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.person { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.person__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--navy-100); background: var(--navy-50); }
.person__initials { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 2rem; margin-bottom: 16px; }
.person__name { font-size: 1.05rem; margin: 0 0 4px; }
.person__role { color: var(--red); font-weight: 600; font-size: .9rem; margin: 0 0 8px; line-height: 1.4; }
.person__deps { font-size: .82rem; color: var(--grey-500); margin: 0 0 8px; }
.person__mail { font-size: .82rem; word-break: break-all; margin: auto 0 0; }
.person__mail a { color: var(--navy-600); }
.team--compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.team--compact .person__photo, .team--compact .person__initials { width: 96px; height: 96px; font-size: 1.6rem; }

/* ---------- Annuaire ---------- */
.dir-tools { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 760px) { .dir-tools { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field__label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.input, select.input, textarea.input { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.input:focus { border-color: var(--navy); outline: 3px solid rgba(0,181,226,.35); outline-offset: 0; }
.input-search { position: relative; }
.input-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--grey-500); }
.input-search .input { padding-left: 42px; }
.dir-count { color: var(--grey-500); font-size: .95rem; margin-bottom: 20px; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.member { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.member[hidden] { display: none; }
.member__head { display: flex; gap: 14px; align-items: center; }
.member__photo, .member__initials { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; }
.member__initials { display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-family: var(--font-head); font-weight: 800; }
.member__company { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; margin: 0; line-height: 1.3; }
.member__name { margin: 0; font-size: .9rem; color: var(--grey-700); }
.member__place { font-size: .88rem; color: var(--grey-500); margin: 0; display: flex; align-items: center; gap: 6px; }
.member__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.member__tags li { font-size: .74rem; background: var(--grey-100); color: var(--grey-700); border-radius: 999px; padding: 3px 9px; }
.member__tags li.is-label { background: var(--red-50); color: var(--red-700); font-weight: 600; }
.member__contact { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--grey-200); font-size: .88rem; }
.member__contact a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.member__contact a:hover { text-decoration: underline; }
.dir-empty { padding: 40px; text-align: center; background: var(--grey-100); border-radius: var(--radius); }

/* ---------- Liste actualités / filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--grey-300); background: #fff; color: var(--grey-700); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--grey-300); text-decoration: none; color: var(--navy); font-weight: 600; }
.pagination a:hover { border-color: var(--navy); background: var(--navy-50); }
.pagination [aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Article ---------- */
.article__meta { display: flex; gap: 14px; align-items: center; font-size: .92rem; color: #b9c9dd; margin-bottom: 14px; }
.article__meta .tag { background: rgba(255,255,255,.12); color: #fff; }
.article__body { padding-block: 48px 72px; }
.article__cover { margin: 0 0 36px; }
.article__cover img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: contain; background: var(--grey-100); }
.article__footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--grey-200); }
.share { display: flex; align-items: center; gap: 8px; color: var(--grey-500); font-size: .9rem; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.share a:hover { background: var(--navy); color: #fff; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form textarea.input { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--grey-700); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.req { color: var(--red); }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; }
.alert--ok { background: #e7f6ec; color: #145c2e; border: 1px solid #b5e0c3; }
.alert--err { background: var(--red-50); color: var(--red-700); border: 1px solid #f5c2c5; }
.alert[hidden] { display: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); flex: none; }
.contact-list .ci .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); font-family: var(--font-head); }
.contact-list span, .contact-list a { color: var(--grey-700); }

/* Adhésion */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 2em 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 32px 28px; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 24px; background: var(--red); color: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin-top: 0 !important; }
.plan p { color: var(--grey-700); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .checklist { margin: .5em 0 1.6em; }
.plan .checklist .icon { background: var(--red); }

/* Documents */
.docs { list-style: none; padding: 0 !important; margin: 1.5em 0; display: grid; gap: 12px; }
.docs li { margin: 0 !important; }
.docs a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); font-weight: 600; background: #fff; }
.docs a:hover { border-color: var(--navy); background: var(--navy-50); color: var(--navy); }
.docs .icon { width: 22px; height: 22px; color: var(--red); }
.docs small { display: block; color: var(--grey-500); font-weight: 400; }

/* Liens utiles (réglementation) */
.link-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.link-list li { margin: 0 !important; }
.link-list a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--grey-100); text-decoration: none; color: var(--ink); }
.link-list a:hover { background: var(--navy-50); color: var(--navy); }
.link-list .icon { color: var(--navy-600); margin-top: 4px; }
.link-list strong { display: block; color: var(--navy); }
.link-list small { color: var(--grey-500); word-break: break-all; }

/* Pays (contacts européens) */
.countries { display: grid; gap: 12px; }
.country { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: #fff; }
.country summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.country summary::-webkit-details-marker { display: none; }
.country summary::after { content: "+"; font-size: 1.4rem; color: var(--red); line-height: 1; }
.country[open] summary::after { content: "–"; }
.country__body { padding: 0 20px 16px; }
.country__body h4 { margin: 1em 0 .4em; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.country__body ul { margin: 0; padding-left: 1.1em; }
.country__body li { font-size: .92rem; }

/* Questions fréquentes */
.faq { margin-top: 48px; display: grid; gap: 12px; }
.faq h2 { margin-bottom: 8px; }
.faq__item { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: #fff; }
.faq__item summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--red); line-height: 1; flex: none; }
.faq__item[open] summary::after { content: "–"; }
.faq__reponse { padding: 0 20px 16px; }
.faq__reponse > :first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #b9c9dd; font-size: .95rem; }
.footer-cta { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding-block: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta__title { color: #fff; font-size: 1.45rem; margin-bottom: .3em; }
.footer-cta p { margin: 0; }
@media (max-width: 860px) { .footer-cta { grid-template-columns: 1fr; } }
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input[type="email"] { flex: 1 1 240px; font: inherit; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.newsletter input[type="email"]::placeholder { color: #9fb3cc; }
.newsletter input[type="email"]:focus { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.newsletter__legal { flex-basis: 100%; font-size: .78rem; color: #8aa0bc; margin: 4px 0 0 !important; }
.newsletter__legal a { color: #b9c9dd; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 56px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #dbe5f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { margin-top: 4px; color: #ff8a90; }
.footer-social { list-style: none; display: flex; gap: 8px; padding: 0; margin: 20px 0 0; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--red); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Divers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.muted { color: var(--grey-500); }
.error-page { text-align: center; padding-block: 96px; }
.error-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); color: var(--navy-100); line-height: 1; margin: 0; }
.sitemap-list { columns: 2 280px; }
.sitemap-list li { break-inside: avoid; }

@media print {
  .topbar, .site-header, .site-footer, .page-aside, .share, .facade { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero h1 { color: #000; }
  a { color: #000; }
}

/* Composants insérés dans .prose : on neutralise les styles éditoriaux */
.prose .team, .prose .members, .prose .cards, .prose .tiles, .prose .plans, .prose .docs, .prose .link-list, .prose .countries { padding-left: 0; list-style: none; }
.prose .team li, .prose .members li { margin: 0; }
.prose .person__photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 0 16px; max-height: none; }
.prose .team--compact .person__photo { width: 96px; height: 96px; }
.prose .member__photo { width: 56px; height: 56px; border-radius: 50%; margin: 0; }
.prose .person__name { margin-top: 0; }
.prose .card__media img { margin: 0; border-radius: 0; max-height: none; width: 100%; height: 100%; }
.prose .tile h3, .prose .box h3, .prose .plan h3 { margin-top: 0; }
.prose .tile p { margin: 0 0 .8em; }
.prose .partner__logo img { margin: 0; }
.prose .member__tags li::marker, .prose .team li::marker { content: none; }
.prose .box h3 .icon { color: var(--red); margin-right: 6px; }
.prose .docs a { font-size: 1rem; }
.prose img.illus { float: right; width: 150px; margin: 0 0 16px 28px; }
.prose h2 { clear: both; }
@media (max-width: 600px) { .prose img.illus { width: 96px; margin-left: 16px; } }

/* ---------- Carte des membres ---------- */
.dir-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.dir-bar .dir-count { margin: 0; }
.view-switch { display: inline-flex; background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: 999px; padding: 4px; }
.view-switch__btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 650; font-size: .92rem; color: var(--grey-700); background: none; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.view-switch__btn[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.dir-map { margin-bottom: 32px; }
.members-map { height: min(640px, 72vh); border-radius: var(--radius); border: 1px solid var(--grey-200); overflow: hidden; background: var(--navy-50); z-index: 0; }
.dir-map__note { font-size: .88rem; color: var(--grey-500); margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.map-legend { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); margin-left: 8px; }
.map-legend--label { background: var(--red); margin-left: 0; }
.map-pin span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.map-pin--label span { background: var(--red); }
.map-pop { font-family: var(--font-body); min-width: 200px; }
.map-pop p { margin: 0 0 4px !important; }
.map-pop__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1rem; }
.map-pop__name, .map-pop__place { color: var(--grey-700); font-size: .88rem; }
.map-pop__label { color: var(--red-700); font-weight: 600; font-size: .82rem; }
.map-pop__acts { color: var(--grey-500); font-size: .8rem; }
.map-pop__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px !important; font-size: .88rem; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(0,42,84,.25) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--navy) !important; color: #fff !important; font-family: var(--font-head); font-weight: 700; }
.leaflet-container a.leaflet-popup-close-button { color: var(--grey-500); }
.marker-cluster { border-radius: 50%; }
.marker-cluster div { width: 30px; height: 30px; margin: 5px 0 0 5px; border-radius: 50%; text-align: center; font-size: .8rem; }
.marker-cluster span { line-height: 30px; }

/* ---------- Connexion espace adhérents ---------- */
.login { min-height: 70vh; display: grid; place-items: center; padding: 56px var(--gutter); background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); }
.login__card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 40px 36px; }
.login__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--red-50); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.login__icon .icon { width: 28px; height: 28px; }
.login h1 { font-size: 1.8rem; margin-bottom: .3em; }
.login__intro { color: var(--grey-700); }
.login .btn { width: 100%; }
.login__help { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--grey-200); font-size: .92rem; color: var(--grey-700); }
.login__help p { margin-bottom: .6em; }
.logout-bar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.prose img[src*="/2023/01/"][src$="-1024x1024.png"] { float: right; width: 150px; margin: 0 0 16px 28px; }
.prose img[src*="logo"] { max-width: 320px; }
.prose img.logo-partenaire { display: block; max-height: 120px; max-width: 240px; width: auto; margin: 2em 0 .5em; border-radius: 0; }
.login__links { margin: 16px 0 0; font-size: .95rem; text-align: center; }
.alert p:last-child { margin-bottom: 0; }

/* ---------- Espace adhérents : ma fiche ---------- */
.fiche-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .fiche-grid { grid-template-columns: 1fr; } }
.fiche-main { display: grid; gap: 24px; }
.fiche-main fieldset { margin: 0; min-width: 0; }
.fiche-main legend { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; padding: 0 6px; }
.fiche-main .field { margin-bottom: 16px; }
.fiche-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.fiche-actions { display: grid; gap: 10px; }
.fiche-actions .alert { margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 16px; }
.checks .check { font-size: .95rem; color: var(--ink); }
.img-field { align-items: flex-start; gap: 10px; }
.img-preview { background: var(--grey-100); border: 1px dashed var(--grey-300); display: grid; place-items: center; overflow: hidden; font-size: .85rem; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview--rond { width: 120px; height: 120px; border-radius: 50%; }
.img-preview--rond img { object-fit: contain; background: #fff; }
.img-preview--large { width: 100%; aspect-ratio: 16 / 7; border-radius: var(--radius-sm); }
.tile--accent { border-color: var(--red); background: var(--red-50); }
.tile--accent .tile__icon { background: var(--red); }
fieldset.box { border: 1px solid var(--grey-200); }

/* Fiche membre : bandeau et présentation */
.member__cover { margin: -20px -20px 4px; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--grey-100); }
.member__cover img { width: 100%; height: 100%; object-fit: cover; }
.member__desc { font-size: .9rem; color: var(--grey-700); margin: 0; white-space: pre-line; }
.member__more summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--navy-600); }
.member__more p { margin: 6px 0 0; }
.member--apercu { box-shadow: var(--shadow); }
.member__photo { object-fit: contain; background: #fff; border: 1px solid var(--grey-200); }
.member__desc--clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.member:has(.member__more[open]) .member__desc--clamp { display: none; }
.member__more[open] summary { margin-bottom: 4px; }
.prose a.btn--ghost { color: var(--navy); }
.prose a.btn--ghost:hover { color: var(--navy); }
.tile--admin { border-color: var(--navy); background: var(--navy-50); }
.tile[hidden] { display: none; }
.tile__badge { position: absolute; top: -11px; right: 20px; background: var(--red); color: #fff; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* ---------- Mes avantages ---------- */
.chantier { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px; border: 2px dashed var(--red); border-radius: var(--radius); background: var(--red-50); margin: 0 0 2em; }
.chantier__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; }
.chantier__icon .icon { width: 28px; height: 28px; }
.chantier__badge { display: inline-block; margin: 0 0 .6em; background: var(--red); color: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.prose .chantier h2 { margin: 0 0 .4em; }
.chantier p:last-child { margin-bottom: 0; }
.chantier--mini { display: block; padding: 14px 20px; border-width: 1px; }
.chantier--mini .chantier__badge { margin: 0 8px 0 0; }
.avantages { display: grid; gap: 20px; margin: 0 0 2em; }
.avantage { display: grid; gap: 24px; }
.avantage--apercu { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.avantage__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.avantage__corps p { margin: 0 0 .6em; }
.avantage__apercu { display: block; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.avantage__apercu:hover { transform: translateY(-2px); }
.avantage__apercu img { display: block; width: 100%; height: auto; margin: 0; }
@media (max-width: 760px) { .avantage--apercu { grid-template-columns: 1fr; } }
.avantage__logo { max-height: 56px; width: auto; margin: 0 0 8px; }
.avantage__code strong { font-family: ui-monospace, monospace; background: var(--navy-50); padding: 2px 8px; border-radius: 6px; }
.avantage__cond { font-size: .85rem; margin: 0; }
.avantage .btn { margin-top: .4em; }
@media (max-width: 560px) { .chantier { grid-template-columns: 1fr; padding: 22px; } }
