/* ==========================================================================
   FD Core — widgets Elementor et formulaires publics.
   Les jetons viennent du thème ; :where(:root) fournit des valeurs de secours
   (spécificité nulle) si un autre thème est actif.
   ========================================================================== */
:where(:root) {
  --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-ink: #1B2333; --fd-ink-2: #4A5468; --fd-muted: #6B7385; --fd-line: #E6E1D4;
  --fd-good: #127A46; --fd-bad: #B42318;
  --fd-font-display: "DM Serif Display", Georgia, serif; --fd-font-body: system-ui, sans-serif;
  --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-ease: cubic-bezier(.2, .7, .2, 1);
}
:where(.fd-container) { width: 100%; max-width: calc(var(--fd-container) + 2 * var(--fd-gutter)); margin-inline: auto; padding-inline: var(--fd-gutter); }
:where(.fd-icon) { width: 1.15em; height: 1.15em; flex: none; }
:where(.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-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
:where(.fd-btn--gold) { background: var(--fd-gold); color: var(--fd-navy-900); }
:where(.fd-btn--navy) { background: var(--fd-navy); color: #fff; }
:where(.fd-btn--light) { border-color: rgba(255, 255, 255, .7); color: #fff; }
:where(.fd-btn--outline) { border-color: var(--fd-navy); color: var(--fd-navy); }
:where(.fd-eyebrow) { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--fd-gold-600); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Section commune
   -------------------------------------------------------------------------- */
.fd-s { position: relative; color: var(--fd-ink); }
.fd-s--space-lg { padding-block: var(--fd-section-y); }
.fd-s--space-md { padding-block: calc(var(--fd-section-y) * .62); }
.fd-s--space-none { padding-block: 0; }
.fd-s--white { background: #fff; }
.fd-s--ivory { background: var(--fd-ivory); }
.fd-s--navy { background: var(--fd-navy); color: rgba(255, 255, 255, .82); }
.fd-s--navy::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 380px at 100% 0%, rgba(233, 178, 60, .16), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(24, 70, 163, .5), transparent 60%); }
.fd-s--navy > .fd-container { position: relative; }
.fd-s--navy .fd-s__title, .fd-s--navy h3 { color: #fff; }
.fd-s--navy .fd-eyebrow { color: var(--fd-gold); }
.fd-s--navy .fd-s__intro { color: rgba(255, 255, 255, .75); }

.fd-s__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.fd-s__head--center { text-align: center; }
.fd-s__head--center .fd-eyebrow { justify-content: center; }
.fd-s__head--left { margin-left: 0; }
.fd-s__title { margin: 0; font-family: var(--fd-font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.025em; color: var(--fd-navy); font-stretch: 92%;}
/* Les *mots* balisés dans les titres restent du texte normal, sans effet. */
.fd-s__title em, .fd-hero__title em, .fd-cta__title em, .fd-title__h em {
  font-style: normal;
  color: inherit;
}
.fd-s__intro { margin: 18px 0 0; color: var(--fd-ink-2); font-size: 18px; line-height: 1.6; }

.fd-editor-notice { display: flex; gap: 10px; align-items: center; margin: 16px; padding: 14px 18px; border: 1px dashed var(--fd-gold-600); border-radius: var(--fd-radius-sm); background: var(--fd-gold-50); color: var(--fd-ink); font: 14px/1.4 system-ui, sans-serif; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.fd-hero { --fd-hero-shade: 72%; position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; background: var(--fd-navy-900); color: #fff; }
.fd-hero__slides { position: relative; display: grid; flex: 1; }
.fd-hero--full .fd-hero__slides { min-height: min(80vh, 780px); }
.fd-hero--large .fd-hero__slides { min-height: 580px; }
.fd-hero--medium .fd-hero__slides { min-height: 420px; }

/* Diapositives superposées dans la même cellule : la hauteur suit la plus haute. */
.fd-hero__slide { grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .9s var(--fd-ease), visibility 0s linear .9s; }
.fd-hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition-delay: 0s; }
.fd-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(9 27 61 / var(--fd-hero-shade)) 0%, rgb(9 27 61 / calc(var(--fd-hero-shade) - 25%)) 55%, rgb(9 27 61 / calc(var(--fd-hero-shade) - 45%)) 100%),
    linear-gradient(0deg, rgb(9 27 61 / .85) 0%, transparent 45%);
}
.fd-hero .fd-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.fd-hero__slide.is-active .fd-hero__bg { transform: scale(1); }
.fd-hero__inner { width: 100%; padding-block: clamp(80px, 12vw, 140px) clamp(110px, 11vw, 140px); }
.fd-hero--single .fd-hero__inner { padding-bottom: clamp(48px, 6vw, 72px); }
.fd-hero--medium .fd-hero__inner { padding-top: clamp(72px, 9vw, 112px); }
.fd-hero__content { max-width: 720px; }
/* Entrée échelonnée du texte de la diapositive active. */
.fd-hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--fd-ease), transform .7s var(--fd-ease); }
.fd-hero__slide.is-active .fd-hero__content > * { opacity: 1; transform: none; }
.fd-hero__slide.is-active .fd-hero__content > :nth-child(1) { transition-delay: .15s; }
.fd-hero__slide.is-active .fd-hero__content > :nth-child(2) { transition-delay: .25s; }
.fd-hero__slide.is-active .fd-hero__content > :nth-child(3) { transition-delay: .35s; }
.fd-hero__slide.is-active .fd-hero__content > :nth-child(4) { transition-delay: .45s; }

/* Navigation centrée : flèches et indicateurs à progression. */
.fd-hero__nav { position: absolute; left: 50%; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(9, 27, 61, .5); backdrop-filter: blur(12px); transform: translateX(-50%); }
.fd-hero__arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.fd-hero__arrow:hover { background: rgba(255, 255, 255, .14); }
.fd-hero__arrow .fd-icon { width: 20px; height: 20px; }
.fd-hero__dots { display: flex; align-items: center; gap: 4px; padding: 0 6px; }
.fd-hero__dot { position: relative; width: 26px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .45s var(--fd-ease); }
.fd-hero__dot::before, .fd-hero__dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.fd-hero__dot::before { right: 0; background: rgba(255, 255, 255, .35); transition: background .2s; }
.fd-hero__dot:hover::before { background: rgba(255, 255, 255, .6); }
.fd-hero__dot::after { width: 0; background: var(--fd-gold); }
.fd-hero__dot[aria-current="true"] { width: 60px; }
.fd-hero__dot[aria-current="true"]::after { width: 100%; }
/* En lecture : la barre active se remplit sur la durée de la diapositive ; sa fin déclenche la suivante. */
.fd-hero.is-playing .fd-hero__dot[aria-current="true"]::after { animation: fd-hero-progress var(--fd-hero-interval, 7s) linear forwards; }
.fd-hero.is-hold .fd-hero__dot[aria-current="true"]::after { animation-play-state: paused; }
.fd-hero__arrow:focus-visible, .fd-hero__dot:focus-visible { outline: 2px solid var(--fd-gold); outline-offset: 2px; border-radius: 999px; }
@keyframes fd-hero-progress { from { width: 0; } to { width: 100%; } }
.fd-hero__chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 16px 7px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.fd-hero__chip .fd-icon { color: var(--fd-gold); }
.fd-hero__title { margin: 0; font-family: var(--fd-font-display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-stretch: 85%; color: #fff; text-wrap: balance; font-stretch: 92%;}
.fd-hero--medium .fd-hero__title { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.fd-hero__text { max-width: 600px; margin: 24px 0 0; color: rgba(255, 255, 255, .86); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.fd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.fd-hero__domains { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(9, 27, 61, .55); backdrop-filter: blur(8px); }
.fd-hero__domains ul { display: flex; justify-content: space-between; gap: 8px 24px; margin: 0; padding: 18px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.fd-hero__domains li { display: inline-flex; align-items: center; gap: 10px; flex: none; color: rgba(255, 255, 255, .9); font-weight: 600; font-size: 15px; }
.fd-hero__domains .fd-icon { width: 22px; height: 22px; color: var(--fd-gold); }

/* --------------------------------------------------------------------------
   Texte + média
   -------------------------------------------------------------------------- */
.fd-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.fd-about--reverse .fd-about__media { order: -1; }
.fd-about--contact .fd-about__grid, .fd-about--shortcode .fd-about__grid, .fd-about--newsletter .fd-about__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.fd-about__text .fd-s__title { margin-bottom: 22px; }
.fd-about__body { color: var(--fd-ink-2); font-size: 17.5px; line-height: 1.75; }
.fd-about__body p { margin: 0 0 1em; }
.fd-checklist { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.fd-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--fd-ink); }
.fd-checklist .fd-icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--fd-gold-50); color: var(--fd-gold-600); }
.fd-about__cta { margin: 32px 0 0; }

.fd-about__figure { position: relative; margin: 0; padding: 0 0 48px 0; }
.fd-about .fd-about__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--fd-radius-lg); box-shadow: var(--fd-shadow-lg); }
.fd-about__figure::before { content: ""; position: absolute; z-index: 0; top: -22px; right: -22px; width: 55%; height: 60%; border: 2px solid var(--fd-gold); border-radius: var(--fd-radius-lg); }
.fd-about .fd-about__img { position: relative; z-index: 1; }
.fd-about .fd-about__img2 { position: absolute; z-index: 2; left: -28px; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 6px solid #fff; border-radius: var(--fd-radius); box-shadow: var(--fd-shadow-lg); }
.fd-about__badge { position: absolute; z-index: 3; right: 20px; bottom: 76px; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 14px 18px; border-radius: var(--fd-radius); background: var(--fd-navy); color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.3; box-shadow: var(--fd-shadow-lg); }
.fd-about__badge .fd-icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--fd-gold); color: var(--fd-navy-900); }
.fd-about__panel { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--fd-line); border-radius: var(--fd-radius-lg); background: #fff; box-shadow: var(--fd-shadow-lg); }
.fd-about__panel-title { margin: 0 0 22px; font-family: var(--fd-font-display); font-weight: 800; font-size: 1.75rem; color: var(--fd-navy); font-stretch: 92%;}

/* --------------------------------------------------------------------------
   Mission & vision
   -------------------------------------------------------------------------- */
.fd-mission__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.fd-mission .fd-s__head { margin-bottom: 0; }
.fd-mission__figure { margin: 36px 0 0; }
.fd-mission .fd-mission__figure img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--fd-radius-lg); }
.fd-mission__cards { display: grid; gap: 22px; }
.fd-mission__card { position: relative; padding: clamp(26px, 3.5vw, 40px); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--fd-radius-lg); background: rgba(255, 255, 255, .05); backdrop-filter: blur(4px); transition: border-color .3s, background .3s; }
.fd-mission__card:hover { border-color: rgba(233, 178, 60, .55); background: rgba(255, 255, 255, .08); }
.fd-mission__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 16px; background: var(--fd-gold); color: var(--fd-navy-900); }
.fd-mission__icon .fd-icon { width: 26px; height: 26px; }
.fd-mission__card h3 { margin: 0 0 10px; font-family: var(--fd-font-display); font-weight: 800; font-size: 1.9rem; font-stretch: 92%;}
.fd-mission__card p { margin: 0; font-size: 17px; line-height: 1.7; }
.fd-s--white .fd-mission__card, .fd-s--ivory .fd-mission__card { border-color: var(--fd-line); background: #fff; box-shadow: var(--fd-shadow); }
.fd-s--white .fd-mission__card p, .fd-s--ivory .fd-mission__card p { color: var(--fd-ink-2); }
.fd-s--white .fd-mission__card h3, .fd-s--ivory .fd-mission__card h3 { color: var(--fd-navy); }

/* --------------------------------------------------------------------------
   Valeurs
   -------------------------------------------------------------------------- */
.fd-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.fd-values__item { position: relative; overflow: hidden; padding: 30px 28px 28px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; transition: transform .3s var(--fd-ease), box-shadow .3s var(--fd-ease), border-color .3s; }
.fd-values__item:hover { transform: translateY(-4px); border-color: var(--fd-gold); box-shadow: var(--fd-shadow-lg); }
.fd-values__num { position: absolute; top: 18px; right: 22px; font-family: var(--fd-font-display); font-size: 2.6rem; line-height: 1; color: var(--fd-gold-50); transition: color .3s; font-weight: 800; font-stretch: 92%;}
.fd-values__item:hover .fd-values__num { color: rgba(233, 178, 60, .35); }
.fd-values__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--fd-royal-50); color: var(--fd-royal); }
.fd-values__icon .fd-icon { width: 26px; height: 26px; }
.fd-values__name { margin: 0 0 8px; font-family: var(--fd-font-display); font-weight: 800; font-size: 1.6rem; color: var(--fd-navy); font-stretch: 92%;}
.fd-values__text { margin: 0; color: var(--fd-ink-2); font-size: 15.5px; line-height: 1.6; }
.fd-s--navy .fd-values__item { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.fd-s--navy .fd-values__name { color: #fff; }
.fd-s--navy .fd-values__text { color: rgba(255, 255, 255, .75); }

/* --------------------------------------------------------------------------
   Domaines
   -------------------------------------------------------------------------- */
.fd-domains__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.fd-domains--cards .fd-domains__item { grid-column: span 2; }
/* 5 cartes : 3 en haut, 2 centrées en bas */
.fd-domains--cards .fd-domains__item:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
.fd-domains__item { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; transition: transform .3s var(--fd-ease), box-shadow .3s var(--fd-ease); }
.fd-domains__item:hover { transform: translateY(-5px); box-shadow: var(--fd-shadow-lg); }
.fd-domains__media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--fd-navy), var(--fd-royal)); }
.fd-domains .fd-domains__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--fd-ease); }
.fd-domains__item:hover .fd-domains__media img { transform: scale(1.05); }
.fd-domains__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 0 26px 26px; }
.fd-domains__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; margin-bottom: 16px; border: 4px solid #fff; border-radius: 18px; background: var(--fd-gold); color: var(--fd-navy-900); box-shadow: var(--fd-shadow); }
.fd-domains__icon .fd-icon { width: 24px; height: 24px; }
.fd-domains__name { margin: 0 0 8px; font-family: var(--fd-font-display); font-weight: 800; font-size: 1.6rem; color: var(--fd-navy); font-stretch: 92%;}
.fd-domains__name a { color: inherit; text-decoration: none; }
.fd-domains__name a::after { content: ""; position: absolute; inset: 0; }
.fd-domains__text { margin: 0 0 16px; color: var(--fd-ink-2); font-size: 15.5px; line-height: 1.6; }
.fd-domains__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--fd-royal); font-weight: 700; font-size: 14.5px; }
.fd-domains__more .fd-icon { transition: transform .25s var(--fd-ease); }
.fd-domains__item:hover .fd-domains__more .fd-icon { transform: translateX(4px); }

.fd-domains--icons .fd-domains__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fd-domains--icons .fd-domains__item { text-align: center; }
.fd-domains--icons .fd-domains__body { align-items: center; padding: 30px 20px 26px; }
.fd-domains--icons .fd-domains__icon { margin-top: 0; border: 0; border-radius: 50%; width: 64px; height: 64px; }
.fd-domains--icons .fd-domains__name { font-size: 1.35rem; }
.fd-domains--icons .fd-domains__text { font-size: 14.5px; }
.fd-s--navy .fd-domains__item { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }
.fd-s--navy .fd-domains__name { color: #fff; }
.fd-s--navy .fd-domains__text { color: rgba(255, 255, 255, .75); }
.fd-s--navy .fd-domains__more { color: var(--fd-gold); }

/* --------------------------------------------------------------------------
   Chiffres clés
   -------------------------------------------------------------------------- */
.fd-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.fd-stats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fd-stats__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fd-stats__grid--1 { grid-template-columns: minmax(0, 1fr); }
.fd-stats__item { display: flex; flex-direction: column-reverse; gap: 6px; padding: 8px 28px; text-align: center; }
.fd-stats__item + .fd-stats__item { border-left: 1px solid rgba(255, 255, 255, .16); }
.fd-s--white .fd-stats__item + .fd-stats__item, .fd-s--ivory .fd-stats__item + .fd-stats__item { border-color: var(--fd-line); }
.fd-stats__value { margin: 0; font-family: var(--fd-font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--fd-gold); font-variant-numeric: tabular-nums; font-weight: 800; font-stretch: 92%;}
.fd-s--white .fd-stats__value, .fd-s--ivory .fd-stats__value { color: var(--fd-navy); }
.fd-stats__suffix { margin-left: 2px; color: var(--fd-gold); }
.fd-stats__label { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .78); }
.fd-s--white .fd-stats__label, .fd-s--ivory .fd-stats__label { color: var(--fd-ink-2); }

/* --------------------------------------------------------------------------
   Tuiles (projets, actualités) et filtres
   -------------------------------------------------------------------------- */
.fd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -16px 0 36px; }
.fd-chip { min-height: 42px; padding: 8px 18px; border: 1px solid var(--fd-line); border-radius: 999px; background: #fff; color: var(--fd-ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: .2s var(--fd-ease); }
.fd-chip:hover { border-color: var(--fd-navy); }
.fd-chip.is-active { background: var(--fd-navy); border-color: var(--fd-navy); color: #fff; }
.fd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.fd-tile[hidden] { display: none; }
.fd-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; box-shadow: var(--fd-shadow); transition: transform .3s var(--fd-ease), box-shadow .3s var(--fd-ease); }
.fd-tile:hover { transform: translateY(-4px); box-shadow: var(--fd-shadow-lg); }
.fd-tile__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--fd-navy), var(--fd-royal)); }
.fd-tile .fd-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fd-ease); }
.fd-tile:hover .fd-tile__media img { transform: scale(1.04); }
.fd-tile__status { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--fd-navy); font-size: 12.5px; font-weight: 700; }
.fd-tile__status--en_cours::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--fd-good); vertical-align: 1px; }
.fd-tile__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.fd-tile__body .fd-eyebrow { margin-bottom: 10px; font-size: 12px; }
.fd-tile__title { margin: 0 0 10px; font-family: var(--fd-font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.2; color: var(--fd-navy); font-stretch: 92%;}
.fd-tile__title a { color: inherit; text-decoration: none; }
.fd-tile__title a::after { content: ""; position: absolute; inset: 0; }
.fd-tile__text { margin: 0 0 16px; color: var(--fd-ink-2); font-size: 15.5px; line-height: 1.6; }
.fd-tile__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: auto 0 0; color: var(--fd-muted); font-size: 14px; }
.fd-tile__meta span { display: inline-flex; align-items: center; gap: 6px; }
.fd-tile__meta .fd-icon { color: var(--fd-gold-600); }
.fd-posts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.fd-posts__head .fd-s__head { margin: 0; }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.fd-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.fd-gallery--mosaic .fd-gallery__grid { grid-auto-rows: 200px; grid-auto-flow: dense; }
/* Groupes de 5 : une grande photo + 4 petites = 2 lignes pleines ; la grande alterne gauche/droite. */
.fd-gallery--mosaic .fd-gallery__item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.fd-gallery--mosaic .fd-gallery__item:nth-child(10n + 6) { grid-column: 3 / span 2; }
.fd-gallery--grid .fd-gallery__item { aspect-ratio: 4 / 3; }
.fd-gallery__item { position: relative; overflow: hidden; border-radius: var(--fd-radius); background: var(--fd-ivory); }
.fd-gallery__item a { display: block; height: 100%; }
.fd-gallery .fd-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--fd-ease), filter .4s; }
.fd-gallery__item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 27, 61, .5), transparent 50%); opacity: 0; transition: opacity .3s; }
.fd-gallery__item:hover img { transform: scale(1.05); }
.fd-gallery__item:hover a::after { opacity: 1; }
.fd-gallery__caption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 14px; font-weight: 600; pointer-events: none; }

/* --------------------------------------------------------------------------
   Appel au don
   -------------------------------------------------------------------------- */
.fd-cta__box { position: relative; isolation: isolate; overflow: hidden; display: grid; padding: clamp(40px, 7vw, 88px); border-radius: var(--fd-radius-lg); background: var(--fd-navy); color: rgba(255, 255, 255, .86); }
.fd-cta__box::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 100% 100%, rgba(233, 178, 60, .3), transparent 60%), linear-gradient(110deg, rgba(9, 27, 61, .96) 0%, rgba(14, 42, 92, .86) 50%, rgba(14, 42, 92, .45) 100%); }
.fd-cta .fd-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.fd-cta__content { max-width: 640px; }
.fd-cta .fd-eyebrow { color: var(--fd-gold); }
.fd-cta__title { margin: 0; font-family: var(--fd-font-display); font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; color: #fff; font-stretch: 92%;}
.fd-cta__text { margin: 20px 0 0; font-size: 18px; line-height: 1.65; }
.fd-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fd-cta__seal { position: absolute; right: clamp(-60px, -3vw, -20px); bottom: clamp(-60px, -3vw, -20px); z-index: -1; color: rgba(233, 178, 60, .18); }
.fd-cta__seal .fd-icon { width: clamp(180px, 26vw, 320px); height: auto; stroke-width: 1; }

/* --------------------------------------------------------------------------
   Coordonnées
   -------------------------------------------------------------------------- */
.fd-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.fd-contact__card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; box-shadow: var(--fd-shadow); }
.fd-contact__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 16px; background: var(--fd-navy); color: var(--fd-gold); }
.fd-contact__icon .fd-icon { width: 24px; height: 24px; }
.fd-contact__label { color: var(--fd-muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fd-contact__value { color: var(--fd-navy); font-size: 18px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.fd-contact__value a { color: inherit; text-decoration: none; }
.fd-contact__value a:hover { color: var(--fd-royal); }
.fd-contact__socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.fd-contact__socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--fd-line); border-radius: 50%; color: var(--fd-navy); }
.fd-contact__socials a:hover { background: var(--fd-navy); border-color: var(--fd-navy); color: var(--fd-gold); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.fd-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.fd-faq__head .fd-s__head { margin: 0; position: sticky; top: 120px; }
.fd-faq__list { display: grid; gap: 12px; }
.fd-faq__item { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.fd-faq__item[open] { border-color: var(--fd-gold); box-shadow: var(--fd-shadow); }
.fd-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 17px; color: var(--fd-navy); cursor: pointer; list-style: none; }
.fd-faq__item summary::-webkit-details-marker { display: none; }
.fd-faq__toggle { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--fd-ivory); color: var(--fd-navy); transition: transform .25s var(--fd-ease), background .2s; }
.fd-faq__item[open] .fd-faq__toggle { transform: rotate(45deg); background: var(--fd-gold); }
.fd-faq__answer { padding: 0 24px 22px; color: var(--fd-ink-2); line-height: 1.7; }
.fd-faq__answer p { margin: 0 0 .8em; }
.fd-faq__answer p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.fd-form { display: grid; gap: 20px; }
.fd-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fd-field { display: grid; gap: 8px; margin: 0; }
.fd-field--full { grid-column: 1 / -1; }
.fd-field label { color: var(--fd-navy); font-size: 14.5px; font-weight: 700; }
.fd-field label span[aria-hidden] { color: var(--fd-bad); }
.fd-field__opt { color: var(--fd-muted); font-weight: 400; }
.fd-field input, .fd-field select, .fd-field textarea, .fd-newsletter input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #D9D4C7;
  border-radius: 12px;
  background: #fff;
  color: var(--fd-ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.fd-field textarea { min-height: 150px; resize: vertical; }
.fd-field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230E2A5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat; }
.fd-field input:focus, .fd-field select:focus, .fd-field textarea:focus, .fd-newsletter input[type="email"]:focus { outline: none; border-color: var(--fd-royal); box-shadow: 0 0 0 4px var(--fd-royal-50); }
.fd-field.is-invalid input, .fd-field.is-invalid textarea { border-color: var(--fd-bad); }
.fd-field__error { color: var(--fd-bad); font-size: 13.5px; font-weight: 600; }
.fd-check { display: flex; gap: 12px; align-items: flex-start; color: var(--fd-ink-2); font-size: 14px; line-height: 1.5; cursor: pointer; }
.fd-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fd-navy); }
.fd-form__submit { justify-self: start; min-width: 220px; }
.fd-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fd-form__notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.fd-form__notice .fd-icon { flex: none; margin-top: 2px; }
.fd-form__notice--ok { background: #E8F6EE; color: var(--fd-good); }
.fd-form__notice--error { background: #FDEEEC; color: var(--fd-bad); }

.fd-newsletter { position: relative; display: grid; gap: 10px; }
.fd-newsletter__label { font-weight: 700; color: var(--fd-navy); }
.fd-newsletter__row { display: flex; gap: 8px; }
.fd-newsletter__row input[type="email"] { flex: 1; min-width: 0; }
.fd-newsletter__row .fd-btn { flex: none; }
.fd-newsletter__hint { margin: 0; color: var(--fd-muted); font-size: 13px; }
.fd-newsletter .fd-form__notice { padding: 10px 14px; font-size: 14px; }
/* Variante pied de page, sur fond bleu nuit */
.fd-newsletter--footer .fd-newsletter__label { color: #fff; font-size: 15px; }
.fd-newsletter--footer input[type="email"] { min-height: 48px; border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; }
.fd-newsletter--footer input[type="email"]::placeholder { color: rgba(255, 255, 255, .5); }
.fd-newsletter--footer input[type="email"]:focus { border-color: var(--fd-gold); box-shadow: 0 0 0 3px rgba(233, 178, 60, .25); }
.fd-newsletter--footer .fd-btn { min-height: 48px; padding-inline: 20px; }
.fd-newsletter--footer .fd-newsletter__hint { color: rgba(255, 255, 255, .55); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .fd-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-domains--icons .fd-domains__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-gallery--grid .fd-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fd-gallery--mosaic .fd-gallery__grid { grid-auto-rows: 160px; }
  .fd-stats__grid, .fd-stats__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .fd-stats__item:nth-child(odd) { border-left: 0 !important; }
}
@media (max-width: 900px) {
  .fd-about__grid, .fd-about--contact .fd-about__grid, .fd-about--shortcode .fd-about__grid, .fd-about--newsletter .fd-about__grid,
  .fd-mission__grid, .fd-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .fd-about--reverse .fd-about__media { order: 0; }
  .fd-about__figure { max-width: 560px; margin-inline: auto; }
  .fd-domains__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-domains--cards .fd-domains__item, .fd-domains--cards .fd-domains__item:nth-child(4):nth-last-child(2) { grid-column: auto; }
  .fd-domains--cards .fd-domains__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fd-faq__head .fd-s__head { position: static; }
  .fd-posts__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .fd-hero--full .fd-hero__slides { min-height: 0; }
  /* Texte sur toute la largeur de la photo : voile plus uniforme pour rester lisible. */
  .fd-hero__slide::after { background: linear-gradient(0deg, rgb(9 27 61 / .92) 0%, rgb(9 27 61 / .7) 60%, rgb(9 27 61 / .55) 100%); }
  .fd-hero__nav { bottom: 18px; }
  .fd-hero__arrow { display: none; }
  .fd-hero__inner { padding-bottom: 104px; }
  .fd-hero__actions .fd-btn, .fd-cta__actions .fd-btn { flex: 1 1 100%; }
  .fd-hero__domains ul { justify-content: flex-start; }
  .fd-values__grid, .fd-tiles, .fd-domains__grid, .fd-domains--icons .fd-domains__grid { grid-template-columns: minmax(0, 1fr); }
  .fd-domains--cards .fd-domains__item:last-child:nth-child(odd) { grid-column: auto; }
  .fd-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fd-gallery--mosaic .fd-gallery__grid { grid-auto-rows: 150px; }
  .fd-gallery--mosaic .fd-gallery__item:nth-child(10n + 6) { grid-column: span 2; }
  .fd-form__grid { grid-template-columns: minmax(0, 1fr); }
  .fd-form__submit { justify-self: stretch; }
  .fd-newsletter__row { flex-direction: column; }
  .fd-about .fd-about__img2 { left: -8px; width: 42%; }
  .fd-about__figure::before { right: -8px; top: -12px; }
  .fd-about__badge { right: 8px; bottom: 64px; max-width: 200px; font-size: 13px; }
  .fd-stats__item { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fd-hero .fd-hero__bg, .fd-hero__content > *, .fd-hero__slide { transition: none; transform: none; }
}

/* ==========================================================================
   Éléments (widgets à composer dans des conteneurs Elementor imbriqués)
   Le conteneur parent donne le contexte : classe « fd-on-dark » sur fond sombre.
   ========================================================================== */
:root {
  --fd-c-heading: var(--fd-navy);
  --fd-c-text: var(--fd-ink-2);
  --fd-c-strong: var(--fd-ink);
  --fd-c-eyebrow: var(--fd-gold-600);
  --fd-c-line: var(--fd-line);
}
.fd-on-dark {
  --fd-c-heading: #fff;
  --fd-c-text: rgba(255, 255, 255, .82);
  --fd-c-strong: #fff;
  --fd-c-eyebrow: var(--fd-gold);
  --fd-c-line: rgba(255, 255, 255, .16);
  color: var(--fd-c-text);
}

/* Les cartes remplissent la hauteur de leur cellule de grille. */
.elementor-widget-fd_card, .elementor-widget-fd_domain_card, .elementor-widget-fd_contact_card, .elementor-widget-fd_stat { align-self: stretch; }
.elementor-widget-fd_card > *, .elementor-widget-fd_domain_card > *, .elementor-widget-fd_contact_card > * { height: 100%; }

/* Titre */
.fd-title { max-width: 780px; }
.fd-title--center { margin-inline: auto; text-align: center; }
.fd-title--center .fd-eyebrow { justify-content: center; }
.fd-title .fd-eyebrow { color: var(--fd-c-eyebrow); }
.fd-title__h { margin: 0; font-family: var(--fd-font-display); font-weight: 800; font-stretch: 88%; line-height: 1.04; letter-spacing: -.025em; color: var(--fd-c-heading); text-wrap: balance; }
.fd-title--xl .fd-title__h { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-stretch: 85%; }
.fd-title--lg .fd-title__h { font-size: clamp(2rem, 3.6vw, 3rem); }
.fd-title--md .fd-title__h { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.fd-title__intro { margin: 16px 0 0; color: var(--fd-c-text); font-size: 19px; line-height: 1.6; }

/* Texte */
.fd-text { max-width: 68ch; color: var(--fd-c-text); font-size: 18px; line-height: 1.7; }
.fd-text p { margin: 0 0 1em; }
.fd-text > :last-child { margin-bottom: 0; }
.fd-text--lead { font-size: clamp(18px, 1.6vw, 20px); }
.fd-text--small { font-size: 15.5px; }
.fd-text a { color: inherit; text-decoration-color: var(--fd-gold); text-decoration-thickness: 2px; }
.fd-on-dark .fd-checklist li { color: #fff; }
.fd-on-dark .fd-checklist .fd-icon { background: rgba(233, 178, 60, .18); color: var(--fd-gold); }
.elementor-widget-fd_list .fd-checklist { margin: 0; }

/* Bouton */
.fd-btnwrap { display: flex; }
@media (max-width: 640px) { .fd-btnwrap--stretch, .fd-btnwrap--stretch .fd-btn { width: 100%; } .elementor-widget-fd_button:has(.fd-btnwrap--stretch) { width: 100%; } }

/* Carte */
.fd-card2 { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 28px; border-radius: var(--fd-radius); color: var(--fd-c-text); text-decoration: none; transition: transform .3s var(--fd-ease), box-shadow .3s var(--fd-ease), border-color .3s; }
.fd-card2--card { border: 1px solid var(--fd-line); background: #fff; }
.fd-card2--card:hover, a.fd-card2:hover { transform: translateY(-4px); border-color: var(--fd-gold); box-shadow: var(--fd-shadow-lg); }
.fd-card2--soft { background: var(--fd-ivory); }
.fd-card2--glass { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.fd-card2--glass:hover { border-color: rgba(233, 178, 60, .55); background: rgba(255, 255, 255, .08); }
.fd-card2--plain { padding: 0; }
.fd-card2--center { align-items: center; text-align: center; }
.fd-card2__num { position: absolute; top: 20px; right: 24px; font-family: var(--fd-font-display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; color: var(--fd-gold-600); }
.fd-card2__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 14px; }
.fd-card2__icon .fd-icon { width: 26px; height: 26px; }
.fd-card2__icon--blue { background: var(--fd-royal-50); color: var(--fd-royal); }
.fd-card2__icon--gold { background: var(--fd-gold); color: var(--fd-navy-900); }
.fd-card2__icon--navy { background: var(--fd-navy); color: var(--fd-gold); }
.fd-card2__title { margin: 0; font-family: var(--fd-font-display); font-weight: 800; font-stretch: 92%; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.015em; color: var(--fd-c-heading); }
.fd-card2--card .fd-card2__title, .fd-card2--soft .fd-card2__title { color: var(--fd-navy); }
.fd-card2__text { margin: 0; font-size: 16.5px; line-height: 1.6; }
.fd-card2--card .fd-card2__text, .fd-card2--soft .fd-card2__text { color: var(--fd-ink-2); }

/* Photo composée */
.fd-photo { position: relative; margin: 0; }
.fd-photo--duo { padding-bottom: 48px; }
.fd-photo .fd-photo__img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--fd-radius-lg); box-shadow: var(--fd-shadow-lg); }
.fd-photo--1-1 .fd-photo__img { aspect-ratio: 1; }
.fd-photo--3-2 .fd-photo__img { aspect-ratio: 3 / 2; }
.fd-photo--16-10 .fd-photo__img { aspect-ratio: 16 / 10; }
.fd-photo--frame::before { content: ""; position: absolute; z-index: 0; top: -22px; right: -22px; width: 55%; height: 60%; border: 2px solid var(--fd-gold); border-radius: var(--fd-radius-lg); }
.fd-photo .fd-photo__img2 { position: absolute; z-index: 2; left: -28px; bottom: 0; width: 46%; height: auto; aspect-ratio: 1; object-fit: cover; border: 6px solid #fff; border-radius: var(--fd-radius); box-shadow: var(--fd-shadow-lg); }
.fd-photo__badge { position: absolute; z-index: 3; right: 20px; bottom: 76px; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 14px 18px; border-radius: var(--fd-radius); background: var(--fd-navy); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; box-shadow: var(--fd-shadow-lg); }
.fd-photo:not(.fd-photo--duo) .fd-photo__badge { bottom: 20px; }
.fd-photo__badge .fd-icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--fd-gold); color: var(--fd-navy-900); }
@media (max-width: 640px) {
  .fd-photo .fd-photo__img2 { left: -8px; width: 42%; }
  .fd-photo--frame::before { right: -8px; top: -12px; }
  .fd-photo__badge { right: 8px; bottom: 64px; max-width: 200px; font-size: 13.5px; }
}

/* Chiffre clé */
.fd-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 12px; text-align: center; }
.fd-stat::before { content: ""; width: 36px; height: 3px; margin-bottom: 10px; border-radius: 3px; background: var(--fd-gold); }
.fd-stat__value { font-family: var(--fd-font-display); font-weight: 800; font-stretch: 85%; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; color: var(--fd-c-heading); font-variant-numeric: tabular-nums; }
.fd-stat__suffix { margin-left: 2px; color: var(--fd-gold); }
.fd-stat__label { font-size: 16px; font-weight: 600; color: var(--fd-c-text); }

/* Carte domaine */
.fd-dcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; transition: transform .3s var(--fd-ease), box-shadow .3s var(--fd-ease); }
.fd-dcard:hover { transform: translateY(-5px); box-shadow: var(--fd-shadow-lg); }
.fd-dcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--fd-navy), var(--fd-royal)); }
.fd-dcard .fd-dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--fd-ease); }
.fd-dcard:hover .fd-dcard__media img { transform: scale(1.05); }
.fd-dcard__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 0 26px 26px; }
.fd-dcard__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 16px; border: 4px solid #fff; border-radius: 18px; background: var(--fd-gold); color: var(--fd-navy-900); box-shadow: var(--fd-shadow); }
.fd-dcard__icon .fd-icon { width: 24px; height: 24px; }
.fd-dcard__name { margin: 0 0 8px; font-family: var(--fd-font-display); font-weight: 800; font-stretch: 92%; font-size: 1.4rem; letter-spacing: -.015em; color: var(--fd-navy); }
.fd-dcard__name a { color: inherit; text-decoration: none; }
.fd-dcard__name a::after { content: ""; position: absolute; inset: 0; }
.fd-dcard__text { margin: 0 0 16px; color: var(--fd-ink-2); font-size: 16px; line-height: 1.6; }
.fd-dcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--fd-royal); font-weight: 700; font-size: 15px; }
.fd-dcard--icon { text-align: center; }
.fd-dcard--icon .fd-dcard__body { align-items: center; padding: 30px 20px 26px; }
.fd-dcard--icon .fd-dcard__icon { margin: 0 0 16px; border: 0; border-radius: 50%; width: 64px; height: 64px; }
.fd-dcard--icon .fd-dcard__name { font-size: 1.25rem; }
.fd-dcard--icon .fd-dcard__text { font-size: 15px; }

/* Panneau de formulaire */
.fd-panel { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--fd-line); border-radius: var(--fd-radius-lg); background: #fff; box-shadow: var(--fd-shadow-lg); color: var(--fd-ink); }
.fd-panel--bare { padding: 0; border: 0; background: none; box-shadow: none; }
.fd-panel__title { margin: 0 0 22px; font-family: var(--fd-font-display); font-weight: 800; font-stretch: 92%; font-size: 1.6rem; letter-spacing: -.015em; color: var(--fd-navy); }

/* Bloc « appel au don » composé (conteneur avec photo de fond) */
.fd-cta-box .fd-title, .fd-cta-box .fd-text { max-width: 640px; }

/* Widget de section posé dans un conteneur (fond « Transparent ») : le conteneur gère largeur et marges. */
.fd-s--none { background: transparent; }
.fd-s--none > .fd-container { max-width: none; padding-inline: 0; }

/* ==========================================================================
   Titres de section « encadrés » : un rectangle de 1 px sur toute la largeur de
   la section, le sur-titre en petite étiquette à angles vifs. Style éditorial /
   documentation, sans effet décoratif.
   ========================================================================== */
:root { --fd-frame: #CFC8B4; }
.fd-s--navy, .fd-on-dark { --fd-frame: rgba(255, 255, 255, .28); }

.fd-s__head, .fd-title {
  max-width: none;
  margin-inline: 0;
  padding: clamp(26px, 3.6vw, 44px) clamp(22px, 4vw, 48px);
  border: 1px solid var(--fd-frame);
  border-radius: 2px;
}
.fd-s__head--center, .fd-title--center { text-align: center; }

/* Sur-titre : étiquette rectangulaire fine, texte en capitales discrètes. */
.fd-s__head .fd-eyebrow, .fd-title .fd-eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.3;
}
.fd-s__head--center .fd-eyebrow, .fd-title--center .fd-eyebrow { justify-content: center; }

/* Le cadre épouse le titre : pas d'espace perdu dans la boîte. */
.fd-s__head > :last-child, .fd-title > :last-child { margin-bottom: 0; }
.fd-s__head .fd-s__intro, .fd-title .fd-title__intro { max-width: 62ch; }
.fd-s__head--center .fd-s__intro, .fd-title--center .fd-title__intro { margin-inline: auto; }

/* Sections sur fond de couleur : bordure plus visible sur l'ivoire. */
.fd-s--ivory .fd-s__head { --fd-frame: #C9C1AA; }

/* Contextes particuliers */
.fd-posts__head .fd-s__head { flex: 1; }
@media (max-width: 640px) {
  .fd-s__head, .fd-title { padding: 24px 18px; }
}

/* ==========================================================================
   Cadre façon Stripe : filets très fins. Pour un titre placé au-dessus d'une grille,
   les traits du haut et du bas traversent toute la largeur de la section, et les
   traits verticaux tombent sur les bords du contenu (effet de quadrillage).
   ========================================================================== */
:root { --fd-hair: #E4DFD1; }
.fd-s--navy, .fd-on-dark { --fd-hair: rgba(255, 255, 255, .14); }
.fd-s--ivory { --fd-hair: #DDD6C4; }

.fd-s__head, .fd-title--center {
  position: relative;
  border: 0;
  border-inline: 1px solid var(--fd-hair);
  border-radius: 0;
}
.fd-s__head::before, .fd-s__head::after, .fd-title--center::before, .fd-title--center::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 1px;
  margin-left: -50vw;
  background: var(--fd-hair);
  pointer-events: none;
}
.fd-s__head::before, .fd-title--center::before { top: 0; }
.fd-s__head::after, .fd-title--center::after { bottom: 0; }

/* Titre dans une colonne (à côté d'une photo, d'un formulaire) : simple rectangle fin. */
.fd-title:not(.fd-title--center) { border: 1px solid var(--fd-hair); border-radius: 0; }

/* ==========================================================================
   Quadrillage façon Stripe, en vertical : deux filets de 1 px sur toute la hauteur
   de chaque section, aux bords du contenu. Le titre garde seulement un filet
   au-dessus et en dessous, entre ces deux rails.
   ========================================================================== */
section.e-con-boxed { --fd-rail: #E3DDCE; }
section.e-con-boxed.fd-on-dark { --fd-rail: rgba(255, 255, 255, .14); }
section.e-con-boxed::before, section.e-con-boxed::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  width: 1px;
  background: var(--fd-rail);
  pointer-events: none;
}
/* Le contenu boxed mesure min(1200 px, largeur − 2 × marge) et reste centré. */
section.e-con-boxed::before { left: max(32px, calc((100% - 1200px) / 2)); }
section.e-con-boxed::after  { right: max(32px, calc((100% - 1200px) / 2)); }
@media (max-width: 1024px) {
  section.e-con-boxed::before { left: max(24px, calc((100% - 1200px) / 2)); }
  section.e-con-boxed::after  { right: max(24px, calc((100% - 1200px) / 2)); }
}
@media (max-width: 767px) {
  section.e-con-boxed::before { left: 16px; }
  section.e-con-boxed::after  { right: 16px; }
}

/* Titre : plus de rectangle fermé ni de trait pleine largeur — filets haut et bas entre les rails. */
.fd-s__head, .fd-title, .fd-title--center, .fd-title:not(.fd-title--center) {
  border: 0;
  border-block: 1px solid var(--fd-hair);
  border-radius: 0;
}
.fd-s__head::before, .fd-s__head::after, .fd-title--center::before, .fd-title--center::after { display: none; }
section.e-con-boxed .fd-s__head, section.e-con-boxed .fd-title { position: relative; z-index: 1; }

/* Filets verticaux écartés du contenu (marge de 32 px, au minimum 10 px du bord de l'écran). */
section.e-con-boxed::before { left: max(10px, calc((100% - 1200px) / 2 - 32px)); }
section.e-con-boxed::after  { right: max(10px, calc((100% - 1200px) / 2 - 32px)); }
@media (max-width: 1024px) {
  section.e-con-boxed::before { left: max(10px, calc((100% - 1200px) / 2 - 32px)); }
  section.e-con-boxed::after  { right: max(10px, calc((100% - 1200px) / 2 - 32px)); }
}
@media (max-width: 767px) {
  section.e-con-boxed::before { left: 6px; }
  section.e-con-boxed::after  { right: 6px; }
}

/* Filets du titre : pleine largeur, ils croisent les filets verticaux. */
.fd-s__head, .fd-title, .fd-title--center, .fd-title:not(.fd-title--center) { border: 0; position: relative; }
.fd-s__head::before, .fd-s__head::after, .fd-title--center::before, .fd-title--center::after,
.fd-title:not(.fd-title--center)::before, .fd-title:not(.fd-title--center)::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 1px;
  margin-left: -50vw;
  background: var(--fd-hair);
  pointer-events: none;
}
.fd-s__head::before, .fd-title::before { top: 0; }
.fd-s__head::after, .fd-title::after { bottom: 0; }
/* Titre dans une colonne : les filets ne doivent pas traverser la colonne voisine. */
.fd-title:not(.fd-title--center)::before, .fd-title:not(.fd-title--center)::after { width: 100%; left: 0; margin-left: 0; }

/* Vérification anti-robot */
.fd-captcha:empty { display: none; }
.fd-captcha { min-height: 0; }
.fd-captcha__legal { margin: 8px 0 0; color: var(--fd-muted); font-size: 12.5px; line-height: 1.45; }
.fd-captcha__legal a { color: inherit; text-decoration-color: var(--fd-gold); }
.grecaptcha-badge { visibility: hidden; } /* mention légale affichée à la place (autorisé par Google) */
.fd-newsletter--footer .fd-captcha__legal { color: rgba(255, 255, 255, .55); }
/* reCAPTCHA v2 sur un don : le formulaire reste verrouillé tant que la case n'est pas cochée. */
.fd-gate__msg { margin: 0 0 12px; color: var(--fd-ink-2); font-weight: 600; }
.fd-gate.is-locked .fd-gate__form { opacity: .35; filter: grayscale(.5); pointer-events: none; user-select: none; }
.fd-gate:not(.is-locked) .fd-gate__msg, .fd-gate:not(.is-locked) .fd-captcha { display: none; }

/* Flèche « Lire plus » des tuiles d'actualités */
.fd-tile__more { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; display: inline-grid; place-items: center; color: var(--fd-gold-600); transition: transform .3s var(--fd-ease), color .3s; }
.fd-tile__more .fd-icon { width: 26px; height: 26px; }
.fd-tile:hover .fd-tile__more { transform: translateX(6px); color: var(--fd-navy); }
