/* ==========================================================================
   Fondation Disciple — thème
   Jetons de la charte (repris par les widgets FD Core), structure, blog.
   ========================================================================== */

/* Polices hébergées localement (aucun appel à Google : conforme RGPD).
   Ordre important : « latin-ext » AVANT « latin ». Les plages se chevauchent (œ, ı…) et le navigateur
   retient la dernière police déclarée : ainsi « latin » gagne et « latin-ext » (60 Ko) ne se charge pas. */
   Archivo (titres, axes graisse + largeur) et Source Sans 3 (texte). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin.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: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-normal-latin.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: "Source Sans 3"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-italic-latin.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; }
:root {
  /* Couleurs — tirées du sceau bleu et or */
  --fd-navy: #0E2A5C;
  --fd-navy-900: #091B3D;
  --fd-royal: #1846A3;
  --fd-royal-50: #EAF0FB;
  --fd-gold: #E9B23C;
  --fd-gold-600: #B9861A;
  --fd-gold-50: #FDF5E2;
  --fd-ivory: #F7F5EF;
  --fd-white: #FFFFFF;
  --fd-ink: #1B2333;
  --fd-ink-2: #4A5468;
  --fd-muted: #6B7385;
  --fd-line: #E6E1D4;
  --fd-good: #127A46;
  --fd-bad: #B42318;

  /* Typographie */
  --fd-font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --fd-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Mise en page */
  --fd-container: 1200px;
  --fd-gutter: clamp(16px, 4vw, 32px);
  --fd-section-y: clamp(64px, 9vw, 112px);
  --fd-radius-sm: 10px;
  --fd-radius: 18px;
  --fd-radius-lg: 28px;
  --fd-shadow: 0 1px 2px rgba(14, 42, 92, .06), 0 8px 24px rgba(14, 42, 92, .06);
  --fd-shadow-lg: 0 24px 60px rgba(9, 27, 61, .16);
  --fd-header-h: 84px;
  --fd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--fd-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  background: var(--fd-white);
  color: var(--fd-ink);
  font-family: var(--fd-font-body);
  font-size: var(--fd-base, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--fd-royal); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--fd-ease); }
a:hover { color: var(--fd-navy); }
:focus-visible { outline: 3px solid var(--fd-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--fd-gold); color: var(--fd-navy-900); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--fd-font-display); font-weight: 800; line-height: 1.06; color: var(--fd-navy); letter-spacing: -.025em; font-stretch: 92%;}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.fd-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
.fd-skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 20px; background: var(--fd-gold); color: var(--fd-navy-900); font-weight: 700; border-radius: var(--fd-radius-sm); text-decoration: none; }
.fd-skip-link:focus { top: 16px; }
.fd-main:focus { outline: none; }

.fd-container { width: 100%; max-width: calc(var(--fd-container) + 2 * var(--fd-gutter)); margin-inline: auto; padding-inline: var(--fd-gutter); }
.fd-container--narrow { max-width: calc(760px + 2 * var(--fd-gutter)); }
.fd-section { padding-block: var(--fd-section-y); }
.fd-section--ivory { background: var(--fd-ivory); }

.fd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--fd-gold-600);
  font-family: var(--fd-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--fd-btn-radius, 999px);
  font-family: var(--fd-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--fd-ease), color .2s var(--fd-ease), border-color .2s var(--fd-ease), transform .2s var(--fd-ease), box-shadow .2s var(--fd-ease);
}
.fd-btn:hover { transform: translateY(-1px); }
.fd-btn .fd-icon { width: 18px; height: 18px; }
.fd-btn--gold { background: var(--fd-gold); color: var(--fd-navy-900); box-shadow: 0 6px 18px rgba(233, 178, 60, .35); }
.fd-btn--gold:hover { background: #F2C45E; color: var(--fd-navy-900); }
.fd-btn--navy { background: var(--fd-navy); color: #fff; }
.fd-btn--navy:hover { background: var(--fd-royal); color: #fff; }
.fd-btn--outline { border-color: var(--fd-navy); color: var(--fd-navy); background: transparent; }
.fd-btn--outline:hover { background: var(--fd-navy); color: #fff; }
.fd-btn--light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.fd-btn--light:hover { background: #fff; color: var(--fd-navy); border-color: #fff; }

/* --------------------------------------------------------------------------
   Barre de contact et en-tête
   -------------------------------------------------------------------------- */
.fd-topbar { background: var(--fd-navy-900); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.fd-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.fd-topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.fd-topbar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.fd-topbar a:hover { color: var(--fd-gold); }
.fd-topbar .fd-icon { color: var(--fd-gold); }

.fd-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fd-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.fd-socials a:hover { background: var(--fd-gold); border-color: var(--fd-gold); color: var(--fd-navy-900); }
.fd-socials--sm a { width: 30px; height: 30px; border: 0; color: rgba(255, 255, 255, .78); }
.fd-socials--sm .fd-icon { width: 15px; height: 15px; }

.fd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--fd-ease), border-color .25s var(--fd-ease);
}
.admin-bar .fd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fd-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .fd-header { top: 0; } }
.fd-header.is-scrolled { border-color: var(--fd-line); box-shadow: 0 6px 24px rgba(9, 27, 61, .07); }
.fd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--fd-header-h); }

.fd-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fd-navy); text-decoration: none; min-width: 0; }
.fd-brand:hover { color: var(--fd-navy); }
.fd-brand__logo { width: 56px; height: 56px; object-fit: cover; flex: none; border-radius: 50%; background: #fff; }
.fd-brand__text { display: grid; line-height: 1.15; min-width: 0; }
.fd-brand__name { font-family: var(--fd-font-display); font-size: 22px; font-weight: 800; font-stretch: 92%;}
.fd-brand__tagline { font-size: 12.5px; color: var(--fd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }

.fd-nav { display: flex; align-items: center; gap: 28px; }
.fd-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fd-nav__list > li { position: relative; }
.fd-nav__list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--fd-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
/* Entrée active : petite flèche ^ sous le lien (à la place d'une barre). */
.fd-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--fd-gold);
  border-left: 2px solid var(--fd-gold);
  transform: translateX(-50%) translateY(4px) rotate(45deg);
  opacity: 0;
  transition: opacity .2s var(--fd-ease), transform .25s var(--fd-ease);
}
.fd-nav__list > li > a:hover::after { opacity: .55; transform: translateX(-50%) translateY(0) rotate(45deg); }
.fd-nav__list > .current-menu-item > a::after,
.fd-nav__list > .current-menu-ancestor > a::after,
.fd-nav__list > .current_page_parent > a::after { opacity: 1; transform: translateX(-50%) translateY(0) rotate(45deg); }
.fd-nav__list .current-menu-item > a { color: var(--fd-navy); }
.fd-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); box-shadow: var(--fd-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--fd-ease); }
.fd-nav__list li:hover > .sub-menu, .fd-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.fd-nav__list .sub-menu a { border-radius: 8px; }
.fd-nav__list .sub-menu a:hover { background: var(--fd-ivory); }
.fd-nav__cta { min-height: 46px; padding: 10px 22px; }

.fd-nav-toggle { display: none; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--fd-line); border-radius: 12px; background: #fff; color: var(--fd-navy); cursor: pointer; }
.fd-nav-toggle .fd-icon { width: 24px; height: 24px; }
.fd-nav-toggle__close { display: none; }
.fd-nav-toggle[aria-expanded="true"] .fd-nav-toggle__open { display: none; }
.fd-nav-toggle[aria-expanded="true"] .fd-nav-toggle__close { display: grid; }

@media (max-width: 1100px) {
  :root { --fd-header-h: 72px; }
  .fd-brand__logo { width: 46px; height: 46px; }
  .fd-brand__name { font-size: 20px; }
  .fd-brand__tagline { display: none; }
  .fd-nav-toggle { display: grid; }
  .fd-nav {
    position: fixed;
    inset: var(--fd-nav-top, var(--fd-header-h)) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--fd-gutter) 40px;
    background: #fff;
    border-top: 1px solid var(--fd-line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--fd-ease), transform .25s var(--fd-ease), visibility 0s linear .25s;
  }
  .fd-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .fd-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .fd-nav__list a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--fd-line); }
  .fd-nav__list > li > a::after { display: none; }
  .fd-nav__list .current-menu-item > a { color: var(--fd-royal); }
  .fd-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .fd-nav__cta { width: 100%; min-height: 54px; font-size: 16px; }
  body.fd-nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .fd-topbar { display: none; }
}

/* --------------------------------------------------------------------------
   Bandeau de titre (pages classiques, blog, archives)
   -------------------------------------------------------------------------- */
.fd-page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); background: var(--fd-navy); color: #fff; }
.fd-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1000px 400px at 90% -10%, rgba(233, 178, 60, .22), transparent 60%), linear-gradient(180deg, rgba(9, 27, 61, .2), rgba(9, 27, 61, .55)); }
.fd-page-hero--image::after { background: linear-gradient(90deg, rgba(9, 27, 61, .92) 0%, rgba(9, 27, 61, .72) 55%, rgba(9, 27, 61, .45) 100%); }
.fd-page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.fd-page-hero__title { max-width: 860px; margin: 0; color: #fff; }
.fd-page-hero__intro { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: 19px; }
.fd-page-hero__intro p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   Grilles, cartes d'articles, états vides
   -------------------------------------------------------------------------- */
.fd-grid { display: grid; gap: 28px; }
.fd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .fd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fd-grid--3 { grid-template-columns: minmax(0, 1fr); } }

.fd-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); box-shadow: var(--fd-shadow); transition: transform .3s var(--fd-ease), box-shadow .3s var(--fd-ease); }
.fd-card:hover { transform: translateY(-4px); box-shadow: var(--fd-shadow-lg); }
.fd-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fd-ivory); }
.fd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fd-ease); }
.fd-card:hover .fd-card__media img { transform: scale(1.04); }
.fd-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--fd-gold); }
.fd-card__placeholder .fd-icon { width: 40px; height: 40px; }
.fd-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.fd-card__title { margin: 0 0 10px; font-size: 1.45rem; }
.fd-card__title a { color: inherit; text-decoration: none; }
.fd-card__title a:hover { color: var(--fd-royal); }
.fd-card__text { color: var(--fd-ink-2); font-size: 15.5px; }
.fd-card .fd-post-meta { margin-top: auto; }

.fd-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--fd-muted); font-size: 14px; }
.fd-post-meta .fd-icon { color: var(--fd-gold-600); }

.fd-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.fd-empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 22px; background: var(--fd-gold-50); color: var(--fd-gold-600); }
.fd-empty__icon .fd-icon { width: 32px; height: 32px; }
.fd-empty__code { display: block; font-family: var(--fd-font-display); font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--fd-gold); font-weight: 800; font-stretch: 92%;}
.fd-empty p { color: var(--fd-ink-2); }
.fd-empty .fd-search { margin: 24px auto; }

.fd-search { display: flex; gap: 8px; max-width: 480px; }
.fd-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 1px solid var(--fd-line); border-radius: 999px; font: inherit; font-size: 16px; }
.fd-search input:focus { outline: none; border-color: var(--fd-royal); box-shadow: 0 0 0 3px var(--fd-royal-50); }

.fd-pagination { margin-top: 56px; }
.fd-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.fd-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px; border: 1px solid var(--fd-line); border-radius: 999px; color: var(--fd-navy); font-weight: 600; text-decoration: none; }
.fd-pagination .page-numbers.current, .fd-pagination a.page-numbers:hover { background: var(--fd-navy); border-color: var(--fd-navy); color: #fff; }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.fd-prose { font-size: 18px; }
.fd-prose > * + * { margin-top: 1.1em; }
.fd-prose h2 { margin-top: 1.8em; font-size: 2rem; }
.fd-prose h3 { margin-top: 1.6em; }
.fd-prose ul, .fd-prose ol { padding-left: 1.3em; }
.fd-prose li + li { margin-top: .4em; }
.fd-prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--fd-gold); font-family: var(--fd-font-display); font-size: 1.5rem; line-height: 1.35; color: var(--fd-navy); font-weight: 800; font-stretch: 92%;}
.fd-prose img { border-radius: var(--fd-radius); }
.fd-prose figcaption { margin-top: 8px; color: var(--fd-muted); font-size: 14px; text-align: center; }
.fd-prose .alignwide { width: min(1100px, 100vw - 2 * var(--fd-gutter)); max-width: none; margin-left: 50%; transform: translateX(-50%); }

.fd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.fd-tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--fd-royal-50); color: var(--fd-royal); font-size: 14px; font-weight: 600; text-decoration: none; }
.fd-post-nav .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fd-post-nav a { display: grid; gap: 4px; height: 100%; padding: 20px 22px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); color: var(--fd-navy); font-weight: 600; text-decoration: none; }
.fd-post-nav a:hover { border-color: var(--fd-gold); }
.fd-post-nav .nav-next { text-align: right; }
.fd-post-nav .nav-next .fd-eyebrow { justify-content: flex-end; }
.fd-post-nav .fd-eyebrow { margin: 0; }

.fd-comments { margin-bottom: var(--fd-section-y); padding-top: 40px; border-top: 1px solid var(--fd-line); }
.fd-comments__list { padding: 0; list-style: none; }
.fd-comments textarea, .fd-comments input[type="text"], .fd-comments input[type="email"], .fd-comments input[type="url"] { width: 100%; padding: 12px 14px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); font: inherit; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.fd-footer { background: var(--fd-navy-900); color: rgba(255, 255, 255, .74); font-size: 15.5px; }
.fd-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.fd-footer a:hover { color: var(--fd-gold); }
.fd-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.3fr); gap: 48px; padding-block: 80px 56px; }
.fd-footer .fd-brand { color: #fff; margin-bottom: 20px; }
.fd-footer .fd-brand__logo { width: 64px; height: 64px; padding: 3px; box-shadow: 0 0 0 2px rgba(233, 178, 60, .55); }
.fd-footer__about p { max-width: 340px; margin-bottom: 24px; }
.fd-footer__title { margin: 6px 0 20px; color: var(--fd-gold); font-family: var(--fd-font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fd-footer__links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fd-footer__info { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.fd-footer__info li { display: flex; gap: 12px; align-items: flex-start; }
.fd-footer__info .fd-icon { margin-top: 4px; color: var(--fd-gold); }
.fd-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.fd-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; }
.fd-footer__bottom p { margin: 0; }
.fd-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1100px) {
  .fd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fd-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 56px 40px; }
}

/* --------------------------------------------------------------------------
   Pages Elementor : le thème laisse toute la place aux sections.
   -------------------------------------------------------------------------- */
.fd-is-builder .fd-main > .elementor { overflow-x: clip; }
.elementor-widget-shortcode .elementor-shortcode > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Fiche projet
   -------------------------------------------------------------------------- */
.fd-project { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.fd-project__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; padding: 0; list-style: none; }
.fd-project__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--fd-radius-sm); }
.fd-project__aside { position: sticky; top: calc(var(--fd-header-h) + 24px); display: grid; gap: 20px; }
.fd-project__facts { display: grid; gap: 0; margin: 0; padding: 8px 24px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; }
.fd-project__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--fd-line); }
.fd-project__facts div:first-child { border-top: 0; }
.fd-project__facts dt { color: var(--fd-muted); font-size: 14px; }
.fd-project__facts dd { margin: 0; color: var(--fd-navy); font-weight: 600; text-align: right; }
.fd-project__support { padding: 26px; border-radius: var(--fd-radius); background: var(--fd-navy); color: rgba(255, 255, 255, .85); }
.fd-project__support p { margin: 0 0 18px; font-family: var(--fd-font-display); font-size: 1.35rem; line-height: 1.3; color: #fff; font-weight: 800; font-stretch: 92%;}
.fd-project__support .fd-btn { width: 100%; }
@media (max-width: 900px) {
  .fd-project { grid-template-columns: minmax(0, 1fr); }
  .fd-project__aside { position: static; }
  .fd-project__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Sélecteur de langue GTranslate inséré dans le menu principal
   -------------------------------------------------------------------------- */
.fd-nav__list .menu-item-gtranslate > a { display: inline-flex; align-items: center; gap: 8px; }
.fd-nav__list .menu-item-gtranslate img { display: inline-block; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.fd-nav__list .menu-item-gtranslate .sub-menu { left: auto; right: 0; min-width: 180px; }
.fd-nav__list .menu-item-gtranslate .sub-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14.5px; }
.fd-nav__list .menu-item-gtranslate > a::after { display: none; }
@media (max-width: 1100px) {
  .fd-nav__list .menu-item-gtranslate .sub-menu { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0 0; }
  .fd-nav__list .menu-item-gtranslate .sub-menu a { border: 1px solid var(--fd-line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
}

/* Ordinateurs portables : menu resserré, jamais de libellé sur deux lignes. */
.fd-nav__list a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1300px) {
  .fd-brand__tagline { display: none; }
  .fd-nav { gap: 16px; }
  .fd-nav__list a { padding-inline: 10px; }
  .fd-nav__cta { padding-inline: 18px; }
}

/* Flou d'en-tête réservé au bureau : backdrop-filter ferait de l'en-tête le bloc
   conteneur du panneau de menu mobile (position: fixed), qui serait alors rogné. */
@media (min-width: 1101px) {
  .fd-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); }
}

/* ==========================================================================
   Article : en-tête éditorial, colonne de lecture + barre latérale
   ========================================================================== */
.fd-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.admin-bar .fd-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .fd-progress { top: 46px; } }
@media (max-width: 600px) { .admin-bar .fd-progress { top: 0; } }
.fd-progress span { display: block; width: 100%; height: 100%; background: var(--fd-gold); transform: scaleX(0); transform-origin: left; }

.fd-article__head { padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px); background: var(--fd-ivory); border-bottom: 1px solid var(--fd-line); }
.fd-article__head-inner { max-width: 860px; margin-top: clamp(28px, 4vw, 48px); }
.fd-article__head .fd-eyebrow { margin-bottom: 18px; text-decoration: none; }
.fd-article__title { margin: 0 0 20px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.fd-article__lead { margin: 0 0 28px; max-width: 62ch; color: var(--fd-ink-2); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; }

.fd-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; color: var(--fd-muted); font-size: 14px; }
.fd-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--fd-line); }
.fd-crumbs a { color: inherit; text-decoration: none; }
.fd-crumbs a:hover { color: var(--fd-royal); }
.fd-crumbs [aria-current] { color: var(--fd-ink-2); }

.fd-avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s, 44px); height: var(--s, 44px); overflow: hidden; border-radius: 50%; background: var(--fd-navy); color: var(--fd-gold); font-family: var(--fd-font-display); font-weight: 800; font-size: calc(var(--s, 44px) * .36); }
.fd-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fd-byline { display: flex; align-items: center; gap: 14px; }
.fd-byline__text { display: grid; gap: 2px; line-height: 1.3; }
.fd-byline__name { font-weight: 700; color: var(--fd-navy); }
.fd-byline__meta { color: var(--fd-muted); font-size: 14.5px; }
.fd-byline__meta span { margin: 0 2px; }

.fd-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.fd-article__main { min-width: 0; }
.fd-article__cover { margin: 0 0 clamp(28px, 4vw, 44px); }
.fd-article__cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--fd-radius-lg); }
.fd-article__cover figcaption { margin-top: 10px; color: var(--fd-muted); font-size: 14px; }
.fd-article__content { max-width: 720px; }
.fd-article__content h2, .fd-article__content h3 { scroll-margin-top: calc(var(--fd-header-h) + 24px); }
.fd-article__content > p:first-child { color: var(--fd-ink); font-size: 1.12em; line-height: 1.65; }
.fd-article__foot { max-width: 720px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--fd-line); }

/* Partage */
.fd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 32px; }
.fd-share__label { color: var(--fd-muted); font-size: 14px; font-weight: 600; }
.fd-share ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fd-share a, .fd-share button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--fd-line); border-radius: 50%; background: #fff; color: var(--fd-navy); cursor: pointer; transition: .2s var(--fd-ease); }
.fd-share a:hover, .fd-share button:hover { border-color: var(--fd-navy); background: var(--fd-navy); color: var(--fd-gold); }
.fd-share .fd-icon { width: 18px; height: 18px; }

/* Auteur */
.fd-authorbox { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 32px; padding: 24px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: var(--fd-ivory); }
.fd-authorbox p { margin: 0; }
.fd-authorbox__label { color: var(--fd-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fd-authorbox__name { font-family: var(--fd-font-display); font-weight: 800; font-size: 1.25rem; color: var(--fd-navy); }
.fd-authorbox__bio { margin-top: 6px !important; color: var(--fd-ink-2); font-size: 16px; line-height: 1.6; }

/* Barre latérale */
/* Collante seulement si la colonne tient dans l'écran (classe posée par theme.js) ; sinon elle défile avec la page. */
.fd-side__sticky { display: grid; gap: 20px; }
.fd-side__sticky.is-fit { position: sticky; top: calc(var(--fd-header-h) + 24px); }
.admin-bar .fd-side__sticky.is-fit { top: calc(var(--fd-header-h) + 56px); }
.fd-side-card { padding: 24px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; }
.fd-side-card__title { margin: 0 0 16px; font-family: var(--fd-font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fd-muted); }
.fd-side-card p { margin: 0 0 14px; color: var(--fd-ink-2); font-size: 15.5px; line-height: 1.55; }
.fd-side-card .fd-search { max-width: none; }
.fd-side-card .fd-search input { min-height: 44px; }
.fd-side-card .fd-search .fd-btn { min-height: 44px; padding: 8px 14px; }
.fd-side-card .fd-search .fd-btn span { display: none; }

.fd-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--fd-line); }
.fd-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; color: var(--fd-ink-2); font-size: 15px; line-height: 1.35; text-decoration: none; transition: color .2s, border-color .2s; }
.fd-toc a:hover { color: var(--fd-navy); }
.fd-toc .fd-toc__l3 a { padding-left: 30px; font-size: 14.5px; }
.fd-toc a.is-active { border-left-color: var(--fd-gold); color: var(--fd-navy); font-weight: 600; }

.fd-side-donate { position: relative; overflow: hidden; border: 0; background: var(--fd-navy); color: rgba(255, 255, 255, .82); }
.fd-side-donate::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 178, 60, .3), transparent 70%); pointer-events: none; }
.fd-side-donate p { color: inherit; }
.fd-side-donate__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--fd-gold); color: var(--fd-navy-900); }
.fd-side-donate__title { margin: 0 0 10px; font-family: var(--fd-font-display); font-weight: 800; font-stretch: 92%; font-size: 1.45rem; line-height: 1.1; color: #fff; letter-spacing: -.02em; }
.fd-side-donate .fd-btn { width: 100%; position: relative; z-index: 1; }

.fd-side-posts, .fd-side-cats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fd-side-posts a { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; }
.fd-side-posts__thumb { display: grid; place-items: center; flex: none; width: 68px; height: 68px; overflow: hidden; border-radius: 12px; background: var(--fd-ivory); color: var(--fd-gold); }
.fd-side-posts__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fd-side-posts__text { display: grid; gap: 4px; min-width: 0; }
.fd-side-posts__title { font-weight: 700; color: var(--fd-navy); line-height: 1.25; font-size: 15.5px; }
.fd-side-posts a:hover .fd-side-posts__title { color: var(--fd-royal); }
.fd-side-posts time { color: var(--fd-muted); font-size: 13px; }
.fd-side-cats { gap: 0; }
.fd-side-cats li + li { border-top: 1px solid var(--fd-line); }
.fd-side-cats a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--fd-ink); font-weight: 600; text-decoration: none; }
.fd-side-cats a:hover { color: var(--fd-royal); }
.fd-side-cats__n { min-width: 26px; padding: 0 8px; border-radius: 999px; background: var(--fd-ivory); color: var(--fd-muted); font-size: 13px; font-weight: 600; text-align: center; line-height: 24px; }

.fd-side-news { background: var(--fd-ivory); }
.fd-newsletter--side .fd-newsletter__label { display: none; }
.fd-newsletter--side .fd-newsletter__row { flex-direction: column; }
.fd-newsletter--side .fd-newsletter__row .fd-btn { width: 100%; }

/* À lire aussi */
.fd-related { padding-block: clamp(56px, 7vw, 88px); background: var(--fd-ivory); border-top: 1px solid var(--fd-line); }
.fd-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.fd-related__head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }

@media (max-width: 1000px) {
  .fd-article__layout { grid-template-columns: minmax(0, 1fr); }
  .fd-side__sticky, .fd-side__sticky.is-fit { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .fd-toc { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fd-side__sticky { grid-template-columns: minmax(0, 1fr); }
  .fd-authorbox { flex-direction: column; }
  .fd-related__head { flex-direction: column; align-items: flex-start; }
}

/* Commentaires alignés sur la colonne de lecture ; étiquette de catégorie comme les titres de section. */
.fd-article__main .fd-comments { max-width: 720px; margin-bottom: 0; }
.fd-article__head .fd-eyebrow { padding: 5px 12px; border: 1px solid currentColor; border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.3; }
.fd-article__head .fd-eyebrow::before { content: none; }

@media (max-width: 1000px) { .fd-toc { display: none; } }
@media (max-width: 640px) { .fd-post-nav .nav-links { grid-template-columns: minmax(0, 1fr); } .fd-post-nav .nav-next { text-align: left; } .fd-post-nav .nav-next .fd-eyebrow { justify-content: flex-start; } }

/* Options du Customizer */
.fd-header-static .fd-header { position: relative; top: auto; }
.fd-article__layout--solo { grid-template-columns: minmax(0, 1fr); max-width: calc(820px + 2 * var(--fd-gutter)); }
.fd-article__layout--solo .fd-article__content, .fd-article__layout--solo .fd-article__foot, .fd-article__layout--solo .fd-comments { margin-inline: auto; }
.fd-prose { font-size: var(--fd-base, 18px); }

/* Bouton « Retour en haut » : apparaît après un peu de défilement, anneau = progression de la page. */
.fd-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--fd-navy); color: #fff; box-shadow: 0 8px 24px rgba(9, 27, 61, .28); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.92); transition: opacity .25s var(--fd-ease), transform .25s var(--fd-ease), visibility 0s linear .25s, background .2s, color .2s; }
.fd-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fd-top:hover { background: var(--fd-gold); color: var(--fd-navy-900); }
.fd-top:focus-visible { outline: 3px solid var(--fd-gold); outline-offset: 3px; }
.fd-top__arrow { position: relative; width: 20px; height: 20px; transition: transform .25s var(--fd-ease); }
.fd-top:hover .fd-top__arrow { transform: translateY(-2px); }
.fd-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.fd-top__ring circle { stroke: var(--fd-gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--fd-top-progress, 0)); }
.fd-top:hover .fd-top__ring circle { stroke: var(--fd-navy-900); }
@media (max-width: 640px) { .fd-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .fd-top, .fd-top__arrow { transition: none; } }
@media print { .fd-top { display: none; } }

/* Ligne de crédit du pied de page */
.fd-footer__credit { margin: 0; color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.fd-footer__credit a { color: rgba(255, 255, 255, .86); text-decoration: underline; text-decoration-color: rgba(233, 178, 60, .6); text-underline-offset: 3px; }
.fd-footer__credit a:hover { color: var(--fd-gold); }
.fd-footer__credit span { margin: 0 4px; }
